Fix another x86 sys/ucontext.h namespace issue (bug 21457).
[glibc.git] / ChangeLog
blob9a82a2b0fd89d31cdd22c4ec0521542a3c642aea
1 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21457]
4         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
5         _libc_xmmreg): Use __ctx in defining field.
7         [BZ #21597]
8         * signal/signal.h (siginterrupt): Make declaration conditional on
9         [__USE_XOPEN_EXTENDED || __USE_MISC].
11         [BZ #21584]
12         * signal/signal.h: Make includes of <bits/sigstack.h> and
13         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
14         __USE_MISC].
15         (sigaltstack): Make declaration conditional on
16         [__USE_XOPEN_EXTENDED || __USE_MISC].
18         [BZ #21575]
19         * resource/bits/types/struct_rusage.h: New file.
20         * include/bits/types/struct_rusage.h: Likewise.
21         * bits/resource.h (struct rusage): Include
22         <bits/types/struct_rusage.h> instead of defining here.
23         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
24         Likewise.
25         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
26         Likewise.
27         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
28         Likewise.
29         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
30         Likewise.
31         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
32         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
33         Include <bits/types/struct_rusage.h>
35 2017-06-19  Florian Weimer  <fweimer@redhat.com>
37         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
39 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
41         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
43 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
45         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
47 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
49         [BZ #21537]
50         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
51         Check SHARED instead of PIC.
52         (SYSCALL_PIC_SETUP): Add missing semicolons.
53         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
54         Check SHARED instead of PIC.
55         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
56         (__makecontext_ret): Adjust code to jump to exit.
58 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
60         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
61         Simplify code by always using SVC 0 instead of EX.
62         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
66         * elf/Versions (ld): Remove _dl_out_of_memory.
68 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
70         * timezone/private.h: Update from tzcode 2017b.
71         * timezone/tzfile.h: Likewise.
72         * timezone/tzselect.ksh: Likewise.
73         * timezone/zdump.c: Likewise.
74         * timezone/zic.c: Likewise.
75         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
76         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
77         * time/tzset.c (SECSPERDAY): New macro.
79 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
81         * manual/string.texi (strdup): Complete header and standards
82         annotation.
83         (strncpy): Likewise.
85 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
87         * manual/arith.texi (FP_NAN): Add or complete header and standard
88         annotations.
89         (FP_INFINITE): Likewise.
90         (FP_ZERO): Likewise.
91         (FP_SUBNORMAL): Likewise.
92         (FP_NORMAL): Likewise.
93         (SNAN): Likewise.
94         (SNANL): Likewise.
95         (totalorderf): Likewise.
96         (totalorderl): Likewise.
97         (totalordermagf): Likewise.
98         (totalordermagl): Likewise.
99         (_Complex_I): Likewise.
100         (I): Likewise.
102 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
104         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
105         standard annotation.
106         (ARGP_HELP_SHORT_USAGE): Likewise.
107         (ARGP_HELP_SEE): Likewise.
108         (ARGP_HELP_LONG): Likewise.
109         (ARGP_HELP_PRE_DOC): Likewise.
110         (ARGP_HELP_POST_DOC): Likewise.
111         (ARGP_HELP_DOC): Likewise.
112         (ARGP_HELP_BUG_ADDR): Likewise.
113         (ARGP_HELP_LONG_ONLY): Likewise.
114         (ARGP_HELP_EXIT_ERR): Likewise.
115         (ARGP_HELP_EXIT_OK): Likewise.
116         (ARGP_HELP_STD_ERR): Likewise.
117         (ARGP_HELP_STD_USAGE): Likewise.
118         (ARGP_HELP_STD_HELP): Likewise.
120 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
122         * manual/Makefile: Generate summary.texi with summary.pl.  Force
123         use of the C locale.  Update Perl dependency comment.
124         * manual/header.texi: Update reference to summary.awk.
125         * manual/macros.texi: Refer authors to `summary.pl --help'.
126         * manual/summary.awk: Remove file.
127         * manual/summary.pl: New file.  Generate summary.texi, and check
128         for @standards-related syntax errors.
129         * manual/argp.texi: Convert header and standards @comments to
130         @standards.
131         * manual/arith.texi: Likewise.
132         * manual/charset.texi: Likewise.
133         * manual/conf.texi: Likewise.
134         * manual/creature.texi: Likewise.
135         * manual/crypt.texi: Likewise.
136         * manual/ctype.texi: Likewise.
137         * manual/debug.texi: Likewise.
138         * manual/errno.texi: Likewise.
139         * manual/filesys.texi: Likewise.
140         * manual/getopt.texi: Likewise.
141         * manual/job.texi: Likewise.
142         * manual/lang.texi: Likewise.
143         * manual/llio.texi: Likewise.
144         * manual/locale.texi: Likewise.
145         * manual/math.texi: Likewise.
146         * manual/memory.texi: Likewise.
147         * manual/message.texi: Likewise.
148         * manual/pattern.texi: Likewise.
149         * manual/pipe.texi: Likewise.
150         * manual/process.texi: Likewise.
151         * manual/resource.texi: Likewise.
152         * manual/search.texi: Likewise.
153         * manual/setjmp.texi: Likewise.
154         * manual/signal.texi: Likewise.
155         * manual/socket.texi: Likewise.
156         * manual/startup.texi: Likewise.
157         * manual/stdio.texi: Likewise.
158         * manual/string.texi: Likewise.
159         * manual/sysinfo.texi: Likewise.
160         * manual/syslog.texi: Likewise.
161         * manual/terminal.texi: Likewise.
162         * manual/threads.texi: Likewise.
163         * manual/time.texi: Likewise.
164         * manual/users.texi: Likewise.
166 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
168         * manual/macros.texi (@standards): New macro.  Provide placeholder
169         for header and standards annotations.
170         (@standardsx): New macro.  Likewise, for lists of @*x elements.
172 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
174         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
175         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
176         rule.
177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
178         sync_file_range.
180          * support/support_test_main.c (support_test_main):  Use optstring
181          member for option string in getopt_long.
182          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
183          (CMDLINE_OPTSTRING): New define.
184          * support/test-driver.h (test_config): Add optstring member.
186 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
189         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
190         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
191         Check USE_AS_STRPBRK instead of STRPBRK_P.
192         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
193         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
194         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
195         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
196         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
197         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
198         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
199         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
200         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
201         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
202         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
203         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
204         and "#endif".
206 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
208         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
209         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
211 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
214         strcat-sse2.
215         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
216         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
217         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
218         * sysdeps/x86_64/multiarch/strcat.S: Removed.
219         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
221 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
222             Erich Elsen  <eriche@google.com>
224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
225         memcmp-sse2.
226         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
227         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
228         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
229         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
230         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
231         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
233 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
234             Erich Elsen  <eriche@google.com>
236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
237         memset-sse2-unaligned-erms, and memset_chk-nonshared.
238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
239         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
240         Update comments.
241         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
242         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
243         * sysdeps/x86_64/multiarch/memset.c: Likewise.
244         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
245         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
246         * sysdeps/x86_64/multiarch/memset.S: Removed.
247         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
248         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
249         (__memset_chk_erms): New function.
251 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
253         * configure.ac(--enable-tunables): Enable by default.
254         * configure: Regenerate.
255         * NEWS: Mention change.
256         * manual/install.texi (enable-tunables): Adjust documentation.
257         * INSTALL: Regenerate.
259 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
261         [BZ #18988]
262         * benchtests/thread_create-inputs: New file.
263         * benchtests/thread_create-source.c: Likewise.
264         * support/xpthread_attr_setguardsize.c: Likewise.
265         * support/Makefile (libsupport-routines): Add
266         xpthread_attr_setguardsize object.
267         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
268         * benchtests/Makefile (bench-pthread): Add thread_create.
269         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
270         then mprotect the required area.
271         (guard_position): New function.
272         (setup_stack_prot): Likewise.
274 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
275             Erich Elsen  <eriche@google.com>
276             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
278         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
279         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
280         mempcpy_chk-nonshared and memmove_chk-nonshared.
281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
282         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
283         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
284         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
285         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
286         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
287         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
288         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
289         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
290         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
291         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
292         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
293         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
294         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
295         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
296         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
297         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
298         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
299         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
300         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
301         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
302         (__mempcpy_chk_erms): New function.
303         (__memmove_chk_erms): Likewise.
304         (__memcpy_chk_erms): New alias.
306 2017-06-14  Florian Weimer  <fweimer@redhat.com>
308         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
309         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
311 2017-06-14  Zack Weinberg  <zackw@panix.com>
313         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
314         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
315         defined, don't declare anything other than the E-constants.
317         * include/errno.h: Change conditional for exposing internal
318         declarations to (not _ISOMAC and not __ASSEMBLER__).
319         * bits/errno.h: Remove logic for __need_Emath.  Document
320         requirements for a port-specific bits/errno.h.
322         * sysdeps/unix/sysv/linux/bits/errno.h
323         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
324         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
325         * sysdeps/unix/sysv/linux/mips/bits/errno.h
326         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
327         Add multiple-include guard and check against improper inclusion.
328         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
329         constants are defined as simple integer literals.  Consistent
330         formatting.
331         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
332         enum __error_t_codes if __ASSEMBLER__ is not defined.
333         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
335         * argp/argp.h, string/argz.h: Don't define __need_error_t before
336         including errno.h.
337         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
338         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
339         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
340         * sysdeps/x86_64/fpu/s_cosf.S
341         * sysdeps/x86_64/fpu/s_sincosf.S
342         * sysdeps/x86_64/fpu/s_sinf.S:
343         Just include errno.h; don't define __need_Emath or include
344         bits/errno.h directly.
346 2017-06-14  Zack Weinberg  <zackw@panix.com>
348         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
349         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
350         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
352         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
353         for IOV_MAX.
354         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
355         Don't install bits/uio.h.
356         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
357         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
358         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
360         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
361         and __need_IOV_MAX.  Don't define IOV_MAX at all.
362         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
365         Include bits/types/struct_iovec.h, not bits/uio.h.
366         Use __ssize_t, not ssize_t, in function prototypes.
367         Don't use hard TAB for double space after period in comments.
369 2017-06-14  Alan Modra  <amodra@gmail.com>
371         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
372         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
373         refsym and sym parameters.  Adjust callers.
374         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
375         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
376         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
377         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
378         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
379         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
380         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
381         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
382         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
383         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
384         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
385         Likewise.
386         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
387         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
388         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
390         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
391         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
392         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
393         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
394         (_dl_reloc_overflow): Increase buffser size.  Formatting.
395         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
396         Delete reloc param, add refsym and sym.  Check optimized plt
397         call stubs for localentry:0 functions.  Adjust callers.
398         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
399         and sym parameters.  Adjust callers.
400         (_dl_reloc_overflow): Move attribute.
401         (_dl_error_localentry): Declare.
402         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
403         refsym and sym to elf_machine_fixup_plt.
404         * elf/testobj6.c (preload): Call printf.
406 2017-06-14  Alan Modra  <amodra@gmail.com>
408         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
409         (NOPS, ENTRY_3): New macros.
410         (ENTRY): Rewrite.
411         (ENTRY_TOCLESS): Define.
412         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
413         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
414         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
415         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
416         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
417         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
418         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
419         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
422         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
423         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
424         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
425         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
426         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
427         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
428         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
429         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
430         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
431         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
432         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
433         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
434         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
435         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
436         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
437         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
438         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
439         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
440         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
441         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
442         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
443         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
444         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
445         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
446         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
447         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
449         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
450         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
451         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
452         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
453         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
454         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
455         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
456         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
457         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
458         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
459         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
460         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
461         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
462         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
463         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
464         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
465         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
466         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
467         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
468         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
469         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
471         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
472         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
473         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
474         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
475         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
476         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
477         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
478         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
479         Likewise.
480         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
481         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
482         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
483         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
485         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
486         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
487         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
488         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
489         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
490         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
491         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
492         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
493         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
494         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
495         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
496         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
497         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
498         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
499         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
500         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
501         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
502         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
503         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
504         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
505         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
506         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
507         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
508         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
509         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
510         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
511         add nop when SHARED.
512         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
513         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
514         define.
515         (ENTRY_TOCLESS): Define.
516         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
517         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
518         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
520 2017-06-14  Alan Modra  <amodra@gmail.com>
522         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
523         MEMSET_is_local.
524         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
525         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
526         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
527         Define MEMSET.
528         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
529         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
530         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
531         nop after local calls.
532         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
533         Don't add nop after local call.
534         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
535         CALL_MCOUNT.
537 2017-06-14  Alan Modra  <amodra@gmail.com>
539         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
540         (FUNC_LABEL): Rename from DOT_LABEL.
541         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
542         Use .p2align rather than .align.
543         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
544         (ABORT_TRANSACTION): Likewise.
545         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
546         particularly at end.  Add semicolon at invocation as necessary.
547         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
548         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
549         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
550         END): Adjust to suit.
552 2017-06-14  Alan Modra  <amodra@gmail.com>
554         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
555         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
556         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
557         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
558         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
560         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
562 2017-06-14  Alan Modra  <amodra@gmail.com>
564         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
565         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
567 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
569         [BZ #21548]
570         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
571         8 and use it when copying general purpose registers.
572         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
573         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
574         mips o32.
575         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
576         new test for mips o32.
577         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
578         8 and use it when copying general purpose registers.
579         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
581 2017-06-13  Florian Weimer  <fweimer@redhat.com>
583         * configure.ac (find_cxx_header): Suppress compiler error message.
585 2017-06-13  Florian Weimer  <fweimer@redhat.com>
587         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
588         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
589         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
590         begin/end.
591         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
592         dynarray_int_end.
593         (test_str): Test dynarray_str_begin, dynarray_str_end.
595 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
597         [BZ #21573]
598         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
599         $(common-objpfx)bits/std_abs.h.
600         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
601         New target.
602         * config.make.in (c++-bits-std_abs-h): New.
603         * configure.ac (find_cxx_header): Use "\,$1," with sed.
604         (CXX_BITS_STD_ABS_H): New.
605         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
606         * configure: Regenerated.
608 2017-06-13  Zack Weinberg  <zackw@panix.com>
610         * posix/bits/cpu-set.h: Correct indentation of preprocessor
611         directives.
613 2017-06-12  Zack Weinberg  <zackw@panix.com>
615         * bits/sched.h: Remove __need_schedparam logic and replace with a
616         normal multiple-include guard.  Change field name in struct
617         sched_param from __sched_priority to sched_priority.  Delete
618         everything under #ifndef __cpu_set_t_defined.
619         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
620         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
622         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
623         For compatibility, #define sched_priority to itself, and #define
624         __sched_priority as sched_priority.
625         * posix/bits/cpu-set.h: New file containing, verbatim, the code
626         that was under #ifndef __cpu_set_t_defined in
627         sysdeps/unix/sysv/linux/bits/sched.h.
628         * include/bits/cpu-set.h: New wrapper.
629         * posix/Makefile: Install bits/cpu-set.h.
631 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
632             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
633             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
635         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
636         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
637         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
638         * math/libm-test-isfinite.inc (finite_test): Likewise.
639         * math/libm-test-lgamma.inc (gamma_test): Likewise.
640         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
641         (nexttoward_test_data}: Likewise.
642         * math/libm-test-remainder.inc (drem_test): Likewise.
643         * math/libm-test-scalb.inc (scalb_test): Likewise.
644         (scalb_test_data): Likewise.
645         * math/libm-test-significand.inc (significand_test): Likewise.
646         (significand_test_data): Likewise.
647         * math/libm-test-support.c (check_complex): Replace __complex__
648         FLOAT with CFLOAT to get the support for old compiler.
649         * math/libm-test-support.h (check_complex): Likewise.
650         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
651         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
652         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
653         * math/test-float128.h: New file.
654         * math/test-math-floatn.h: New file.
656 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
658         * include/float.h: Allow the definition of macros prefixed with
659         FLT128 even if _ISOMAC is defined, but provided that
660         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
662 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
664         * manual/math.texi (Mathematics): Add description for _FloatN and
665         _FloatNx types and mentions that they are not support in glibc for
666         any architecture, so far.
667         * manual/arith.texi (wcstof, wcstold): Replace the mention to
668         stdlib.h with wchar.h.
669         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
670         (Printing of Floats): Add description for strfromfN.
672 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
673             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
674             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
676         * include/gmp.h (__mpn_construct_float128): New declaration.
677         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
678         (__strtof128_l): New declaration.
679         (__strtof128_nan): Likewise.
680         (__wcstof128_nan): Likewise.
681         (__strtof128_internal): Likewise.
682         (____strtof128_l_internal): Likewise.
683         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
684         (__wcstof128_l): New declaration.
685         (__wcstof128_internal): Likewise.
687         * stdlib/Makefile (bug-strtod2): Link libm too.
689         * stdlib/stdlib.h (strtof128): New declaration.
690         (strtof128_l): Likewise.
692         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
693         tst-strtod.h macros to ensure float128 gets tested too.
695         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
697         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
698         tests.
699         (IF_FLOAT128): New macro.
700         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
701         the tests.
702         (STRTOD_TEST_FOREACH): Likewise.
704         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
705         wcstof128 functions into libc.
707         * sysdeps/ieee754/float128/Versions: Add exports for the above
708         new functions.
710         * sysdeps/ieee754/float128/mpn2float128.c: New file.
711         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
712         * sysdeps/ieee754/float128/strtof128.c: New file.
713         * sysdeps/ieee754/float128/strtof128_l.c: New file.
714         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
715         * sysdeps/ieee754/float128/wcstof128.c: New file.
716         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
717         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
718         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
719         (CFLAGS-wcstof128_l): Likewise.
721         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
722         (wcstof128): New declaration.
723         (wcstof128_l): Likewise.
725 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
727         [BZ #21552]
728         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
729         not [__USE_XOPEN].
730         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
732         [BZ #21550]
733         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
735 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
738         strcpy-sse2 and stpcpy-sse2.
739         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
740         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
741         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
742         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
743         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
744         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
745         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
746         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
747         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
748         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
749         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
750         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
751         (libc_hidden_def): Always defined as empty.
752         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
753         Always Defined as empty.
755 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
757         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
759 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
761         [BZ #15105]
762         [BZ #19463]
763         * include/string.h: Add internal redirect for __stpcpy.
764         * string/Makefile: Remove bits/string2.h.
765         * string/string.h: Update comment.
766         * string/string-inlines.c: Remove bits/string2.h include and comment.
767         * string/bits/string2.h: Remove file.
769 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
771         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
772         * sunrpc/clnt_gen.c (clnt_create): Likewise.
773         * sunrpc/des_impl.c (_des_crypt): Likewise.
774         * sunrpc/key_call.c (key_gendes): Likewise.
775         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
776         * sunrpc/svc_simple.c (universal): Likewise.
777         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
778         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
779         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
781 2017-06-10  Zack Weinberg  <zackw@panix.com>
783         * stdlib/errno.h: Correct an outdated comment.
785 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
787         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
788         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
789         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
790         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
791         New file.  Invoke newly supported sysconf values for powerpc,
792         and report results.  If none are supported, report so.
793         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
794         tst-sysconf.
796 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
798         * include/sys/auxv.h (__getauxval): Add a prototype and its
799         libc_hidden_proto.
800         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
802 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
804         [BZ #21561]
805         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
806         [__USE_XOPEN_EXTENDED].
807         (id_t): Likewise.
808         (include of <bits/types/siginfo_t.h): Likewise.
809         (waitid): Likewise.
810         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
811         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
812         (WEXITED): Likewise.
813         (WCONTINUED): Likewise.
814         (WNOWAIT): Likewise.
815         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
816         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
817         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
819         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
820         libc.so PLT entry optional.
821         (__gtsf2): Likewise.
822         (__unorddf2): Likewise.
823         (__unordsf2): Likewise.
824         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
825         New optional libc.so PLT entry.
827         [BZ #21554]
828         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
829         not [__USE_XOPEN].
831         [BZ #21560]
832         * posix/sys/wait.h: Condition include of <signal.h> on
833         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
834         unconditionally.
835         [!__pid_t_defined] (pid_t): Define typedef.
837 2017-06-09  Zack Weinberg  <zackw@panix.com>
839         * include/errno.h (__errno_location): Use __attribute_const__
840         instead of bare __attribute__.
842 2017-06-09  Zack Weinberg  <zackw@panix.com>
844         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
845         (common-generated): Add libc-modules.h and libc-modules.stmp in a
846         more appropriate location. Also add dl-tunable-list.h and
847         dl-tunable-list.stmp.
849 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
853 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
856         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
858         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
859         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
860         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
861         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
862         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
863         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
864         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
865         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
867 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
870         memrchr-sse2 and memrchr-avx2.
871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
872         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
873         __memrchr_sse2.
874         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
875         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
876         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
878 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
881         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
882         wcschr-sse2 and wcschr-avx2.
883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
884         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
885         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
886         __wcschr_sse2.
887         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
888         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
889         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
890         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
891         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
892         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
893         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
894         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
895         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
896         * sysdeps/x86_64/multiarch/strchr.S: Removed.
898 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
901         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
902         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
904         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
905         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
906         __wcslen_sse2 and __wcsnlen_avx2.
907         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
908         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
909         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
910         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
911         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
912         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
913         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
914         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
915         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
916         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
917         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
918         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
919         vzeroupper is preferred and AVX unaligned load is fast.
921 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
923         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
924         USE_AS_WMEMCHR is defined.
925         (PCMPEQ): Likewise.
926         (memchr): Renamed to ...
927         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
928         Replace pcmpeqb with PCMPEQ.
929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
930         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
931         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
932         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
933         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
934         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
935         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
936         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
937         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
938         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
939         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
940         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
941         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
943         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
944         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
945         __wmemchr_sse2.
947 2017-06-09  Florian Weimer  <fweimer@redhat.com>
949         * malloc/Makefile (test-srcs): Remove tst-dynarray,
950         tst-dynarray-fail.
952 2017-06-09  Florian Weimer  <fweimer@redhat.com>
954         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
955         * support/support_test_verify_impl.c
956         (support_test_verify_exit_impl): Split from
957         support_test_verify_impl.
958         * support/check.h (TEST_VERIFY): Drop status argument from
959         support_test_verify_impl call.
960         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
961         (support_test_verify_impl): Remove status argument.
962         (support_test_verify_exit_impl): Declare.
964 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
966         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
967         mention of magic numbers in comments.
968         (_dl_procinfo): Fix undefined behavior
970 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
972         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
973         [XPG4].
974         (WEXITED): Likewise.
975         (WSTOPPED): Likewise.
976         (WCONTINUED): Likewise.
977         (WNOHANG): Likewise.
978         (WNOWAIT): Likewise.
979         (idtype_t): Likewise.
980         (P_ALL): Likewise.
981         (P_PID): Likewise.
982         (P_PGID): Likewise.
983         (id_t): Likewise.
984         (siginfo_t): Likewise.
985         (wait3): Likewise.
986         (waitid): Likewise.
987         (signal.h): Do not allow header for [XPG4].
988         (sys/resource.h): Likewise.
989         (si_*): Do not allow for [XPG4].
990         (W*): Likewise.
991         (P_*): Likewise.
992         (BUS_): Likewise.
993         (CLD_): Likewise.
994         (FPE_): Likewise.
995         (ILL_): Likewise.
996         (POLL_): Likewise.
997         (SEGV_): Likewise.
998         (SI_): Likewise.
999         (TRAP_): Likewise.
1000         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1001         variable.
1003 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1005         [BZ #21528]
1006         * elf/dl-minimal.c (__strtoul_internal): Removed.
1007         (strtoul): Likewise.
1008         * elf/dl-misc.c (_dl_strtoul): New function.
1009         * elf/dl-tunables.c (tunables_strtoul): Removed.
1010         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1011         * elf/rtld.c (process_envvars): Likewise.
1012         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1013         Likewise.
1014         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1016 2017-06-08  Zack Weinberg  <zackw@panix.com>
1018         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1019         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1020         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1021         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1022         between wctype.h and wchar.h.
1024         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1025         Install them.
1027         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1028         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1029         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1030         New wrappers.
1031         * include/stdio.h, include/wchar.h, include/wctype.h:
1032         No need to handle __need macros.
1034         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1035         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1036         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1037         * wcsmbs/wchar.h, wctype/wctype.h
1038         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1039         Use the new files instead of __need macros.
1041 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1043         * string/test-memrchr.c (test_main): Add tests for len == 0
1044         and tests for positions close to the beginning, which are
1045         equivalent to positions close to the end for memchr.
1047 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1050         comments.
1051         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1052         instead of wmemset.h.
1053         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1054         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1055         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1057 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1059         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1060         spec->info.is_binary128 to zero.
1061         * stdio-common/printf.h (printf_info): Add new member is_binary128
1062         to indicate that the number being converted to string is compatible
1063         with the IEC 60559 binary128 format.
1064         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1065         _Float128 numbers.
1066         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1067         ldbl-128/printf_fphex_macros.h
1068         (__printf_fphex): Add code to deal with _Float128 numbers.
1069         * stdio-common/printf_size.c (__printf_size): Likewise.
1070         * stdio-common/vfprintf.c (process_arg): Initialize member
1071         info.is_binary128 to zero.
1072         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1073         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1074         (strfromf128): New declaration.
1075         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1076         to one.
1077         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1078         * sysdeps/ieee754/float128/Versions: Likewise.
1079         * sysdeps/ieee754/float128/strfromf128.c: New file.
1081 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1083         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1084         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1085         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1086         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1087         (PRINT_FPHEX): New function-like macro that can be used for long
1088         double, as well as for _Float128
1090 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1092         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1093         (__printf_fp_l): Use the new macro to avoid duplicating code.
1094         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1095         (__printf_fphex): Use the new macro to avoid duplicating code.
1096         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1097         (__printf_size): Use the new macro to avoid duplicating code.
1099 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1101         * include/gmp.h: Include bits/floatn.h
1102         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1103         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1104         including stack-alloc.h.  It could have been defined by other header
1105         which not necessarily defines HAVE_ALLOCA.
1106         * sysdeps/ieee754/float128/Makefile: New file.
1107         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1108         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1109         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1110         redefine __mpn_extract_long_double to __mpn_extract_float128.
1111         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1112         _Float128 to allow float128_private.h overrides.
1114 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1116         * stdlib/fpioconst.h: Include bits/floatn.h.
1117         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1118         power of ten table should be.
1119         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1120         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1121         to include larger tables when _Float128 support is enabled.
1122         (_fpioconst_pow10): Likewise.
1124 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1126         * include/bits/types/clock_t.h: Use #include <path> instead of
1127         #include "../../path".
1128         * include/bits/types/clockid_t.h: Likewise.
1129         * include/bits/types/struct_iovec.h: Likewise.
1130         * include/bits/types/struct_itimerspec.h: Likewise.
1131         * include/bits/types/struct_osockaddr.h: Likewise.
1132         * include/bits/types/struct_sigstack.h: Likewise.
1133         * include/bits/types/struct_timespec.h: Likewise.
1134         * include/bits/types/struct_timeval.h: Likewise.
1135         * include/bits/types/struct_tm.h: Likewise.
1136         * include/bits/types/time_t.h: Likewise.
1137         * include/bits/types/timer_t.h: Likewise.
1139         [BZ #14096]
1140         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1141         America/New_York.
1143 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1145         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1146         into ...
1147         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1148         ifunc-sse4_1.h.
1150 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1152         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1153         Remove check for NULL 'buf'.
1154         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1156 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1158         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1159         include test-skeleton.c.
1160         Include support/check.h and support/test-driver.c.
1162 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1164         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1165         (_dl_aarch64_cap_flags): New array.
1166         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1167         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1168         functions.
1170         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1171         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1172         Likewise.
1173         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1174         up hwcap and hwcap_mask.
1176         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1177         (init_cpu_features): Use glibc.tune.hwcap_mask.
1178         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1180         * elf/dl-hwcaps.h: New file.
1181         * elf/dl-hwcaps.c: Include it.
1182         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1183         glibc.tune.hwcap_mask.
1184         * elf/dl-cache.c: Include dl-hwcaps.h.
1185         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1186         glibc.tune.hwcap_mask.
1187         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1188         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1189         _dl_hwcap_mask.
1190         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1191         _dl_hwcap_mask.
1192         (process_envvars)[HAVE_TUNABLES]: Likewise.
1193         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1194         Likewise.
1195         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1196         initialize dl_hwcap_mask when tunables are enabled.
1198         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1199         guard.
1200         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1202         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1203         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1204         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1206         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1207         * elf/dl-tunables.c: Likewise.
1208         (do_tunable_update_val): New function.
1209         (__tunable_set_val): New function.
1210         (__tunable_get_val): Call CB only if the tunable was externally
1211         initialized.
1212         (tunables_strtoul): Replace strval with initialized.
1213         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1214         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1215         prevent collision.
1216         (__tunable_set_val): New function.
1217         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1218         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1219         (TUNABLE_SET_VAL): Remove.
1220         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1221         * README.tunables: Document the new macros.
1222         * malloc/arena.c (ptmalloc_init): Adjust.
1224 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1227         wcsnlen-sse4_1 and wcsnlen-c.
1228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1229         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1230         __wcsnlen_sse2.
1231         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1232         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1233         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1234         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1235         * sysdeps/x86_64/wcsnlen.S: Removed.
1237 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1240         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1241         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1242         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1244 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1246         * NEWS: Mention new spinlock implementation.
1247         * include/atomic.h:
1248         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1249         (atomic_exchange_acq): Likewise.
1250         (atomic_load_relaxed): Likewise.
1251         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1252         * nptl/pthread_spin_init.c (pthread_spin_init):
1253         Use atomic_store_relaxed.
1254         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1255         Use C11-like atomic macros.
1256         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1257         Likewise.
1258         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1259         Use atomic_store_release.
1260         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1261         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1262         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1263         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1264         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1265         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1266         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1267         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1268         * sysdeps/alpha/atomic-machine.h: Likewise.
1269         * sysdeps/arm/atomic-machine.h: Likewise.
1270         * sysdeps/i386/atomic-machine.h: Likewise.
1271         * sysdeps/ia64/atomic-machine.h: Likewise.
1272         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1273         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1274         * sysdeps/microblaze/atomic-machine.h: Likewise.
1275         * sysdeps/mips/atomic-machine.h: Likewise.
1276         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1277         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1278         * sysdeps/s390/atomic-machine.h: Likewise.
1279         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1280         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1281         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1282         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1283         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1284         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1285         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1286         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1287         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1288         * sysdeps/x86_64/atomic-machine.h: Likewise.
1290 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1292         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1293         and use it instead of dl_x86_cpu_features.
1294         (handle_intel): Replace maxidx with cpu_features.  Pass
1295         cpu_features to intel_check_word.
1296         (__cache_sysconf): Pass cpu_features to handle_intel.
1297         (init_cacheinfo): Likewise.  Use cpu_features instead of
1298         dl_x86_cpu_features.
1300 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1302         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1304         memcmp-avx2 and wmemcmp-avx2.
1305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1306         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1307         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1308         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1309         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1310         2 machines if AVX unaligned load is fast and vzeroupper is
1311         preferred.
1312         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1313         2 machines if AVX unaligned load is fast and vzeroupper is
1314         preferred.
1316 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1318         * include/wchar.h (__wmemset_chk): New.
1319         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1320         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1321         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1322         (WMEMSET_CHK_SYMBOL): Likewise.
1323         (WMEMSET_SYMBOL): Likewise.
1324         (__wmemset): Add hidden definition.
1325         (wmemset): Add weak hidden definition.
1326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1327         wmemset_chk-nonshared.
1328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1329         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
1330         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
1331         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
1332         and __wmemset_chk_avx512_unaligned.
1333         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
1334         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1335         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1336         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1337         (WMEMSET_SYMBOL): Likewise.
1338         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
1339         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
1340         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
1341         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1342         (WMEMSET_SYMBOL): Likewise.
1343         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
1344         (WMEMSET_CHK_SYMBOL): New.
1345         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
1346         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
1347         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
1348         (libc_hidden_builtin_def): Also define __GI_wmemset and
1349         __GI___wmemset.
1350         (weak_alias): New.
1351         * sysdeps/x86_64/multiarch/wmemset.c: New file.
1352         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
1353         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
1354         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1355         * sysdeps/x86_64/wmemset.c: Likewise.
1356         * sysdeps/x86_64/wmemset_chk.c: Likewise.
1358 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1359             H.J. Lu  <hongjiu.lu@intel.com>
1361         * sysdeps/x86/init-arch.h (PASTER1): New.
1362         (EVALUATOR1): Likewise.
1363         (PASTER2): Likewise.
1364         (EVALUATOR2): Likewise.
1365         (REDIRECT_NAME): Likewise.
1366         (OPTIMIZE): Likewise.
1367         (IFUNC_SELECTOR): Likewise.
1369 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1371         * sysdeps/x86_64/strlen.S (PMINU): New.
1372         (PCMPEQ): Likewise.
1373         (SHIFT_RETURN): Likewise.
1374         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
1375         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
1376         pminub with PCMPEQ and PMINU.
1377         * sysdeps/x86_64/wcsnlen.S: New file.
1379 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1381         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
1382         the lower 32 bits.  Remove redundant instructions.
1384 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
1387         0 as the high part of offset.
1388         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
1390 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
1392         [BZ #21538]
1393         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
1394         [__USE_UNIX98].
1395         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
1396         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
1397         Likewise.
1398         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
1399         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
1400         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
1401         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
1402         Likewise.
1404         [BZ #21517]
1405         * bits/types/stack_t.h (stack_t): Remove struct tag.
1406         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
1407         Likewise.
1408         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
1409         Likewise.
1410         * debug/segfault.c (install_handler): Use stack_t instead of
1411         struct sigaltstack.
1412         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
1413         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
1414         * include/signal.h (__sigaltstack): Likwise.
1415         * signal/sigaltstack.c (__sigaltstack): Likewise.
1416         * signal/signal.h (sigaltstack): Likewise.
1417         * sysdeps/mach/hurd/i386/signal-defines.sym
1418         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
1419         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
1420         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
1421         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1422         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
1423         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
1424         elf_prstatus): Likewise.
1425         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
1426         Likewise.
1427         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
1428         Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
1430         Likewise.
1431         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
1432         elf_prstatus): Likewise.
1433         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
1434         Likewise.
1435         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
1436         Likewise.
1438 2017-06-04  Zack Weinberg  <zackw@panix.com>
1440         * sysdeps/gnu/errlist.c: Regenerate.
1442 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
1444         * benchtests/bench-memchr.c (do_test): Print out both length
1445         and position.
1446         (test_main): Also test the position close to the beginning for
1447         memrchr.
1449 2017-06-04  Zack Weinberg  <zackw@panix.com>
1451         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
1452         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
1453         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
1454         * nis/nis_destroygroup.c, nis/nis_domain_of.c
1455         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
1456         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
1457         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
1458         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
1459         * nis/nis_print_group_entry.c, nis/nis_remove.c
1460         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
1461         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
1462         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
1463         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
1464         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
1465         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
1466         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
1467         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
1468         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
1469         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
1470         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
1471         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
1472         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
1473         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
1474         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
1475         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
1476         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
1477         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
1478         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
1479         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
1481         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
1482         abi-versions.h as well as shlib-compat.h.
1483         * sunrpc/get_myaddr.c: Remove obsolete comment.
1484         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
1485         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
1486         * resolv/res_libc.c: Include shlib-compat.h only once.
1488 2017-06-03  Florian Weimer  <fweimer@redhat.com>
1490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
1491         of strdup.
1493 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1495         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
1496         Set to the 3/4 of the total shared cache size.
1498 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
1500         * manual/errno.texi: Remove redundant error strings.
1501         * manual/macros.texi (@errno): Render the error string in every
1502         description.
1504 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
1506         [BZ #21543]
1507         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
1508         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
1509         [__USE_XOPEN_EXTENDED].
1511 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1513         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
1514         strdupa.
1515         (getcanonname): Use __strdup instead of strdup.
1517 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1519         * misc/Makefile (CFLAGS-preadv2.c): New rule.
1520         (CFLAGS-preadv64v2.c): Likewise.
1521         (CFLAGS-pwritev2.c): Likewise.
1522         (CFLAGS-pwritev64v2.c): Likewise.
1524 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1526         Test res_init with several configuration files.
1527         * resolv/Makefile [build-shared] (tests-internal): Add
1528         tst-resolv-res_init, tst-resolv-res_init-thread.
1529         (tst-resolv-res_init): Link against libdl, libresolv.
1530         (tst-resolv-res_init-thread): Link against libdl, libresolv,
1531         libpthread.
1532         * resolv/tst-resolv-res_init.c: New file.
1533         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
1534         * resolv/tst-resolv-res_init-thread.c: Likewise.
1535         * support/Makefile (libsupport-routines): Add support-xstat,
1536         support_can_chroot, support_capture_subprocess_check,
1537         support_isolate_in_subprocess, support_shared_allocate,
1538         support_write_file_string, xchroot, xmkdir, xopen.
1539         * support/capture_subprocess.h (enum support_capture_allow): Define.
1540         (support_capture_subprocess_check): Declare.
1541         * support/namespace.h (support_can_chroot)
1542         (support_isolate_in_subprocess): Declare.
1543         * support/support-xstat.c: New file.
1544         * support/support.h (support_shared_allocate, support_shared_free)
1545         (support_write_file_string): Declare.
1546         * support/support_can_chroot.c: New file.
1547         * support/support_capture_subprocess_check.c: Likewise.
1548         * support/support_isolate_in_subprocess.c: Likewise.
1549         * support/support_shared_allocate.c: Likewise.
1550         * support/support_write_file_string.c: Likewise.
1551         * support/xchroot.c: Likwise.
1552         * support/xmkdir.c: Likwise.
1553         * support/xopen.c: Likwise.
1554         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
1556 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1558         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
1559         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
1561 2017-06-02  Florian Weimer  <fweimer@redhat.com>
1563         * malloc/Makefile (routines): Add dynarray_at_failure,
1564         dynarray_emplace_enlarge, dynarray_finalize.
1565         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
1566         tst-dynarray-at-fail.
1567         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
1568         (tests-special): Add tst-dynarray-mem.out,
1569         tst-dynarray-mem-fail.out.
1570         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
1571         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
1572         mtrace.
1573         * malloc/Versions (__libc_dynarray_at_failure)
1574         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
1575         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
1576         GLIBC_PRIVATE.
1577         * malloc/dynarray.h: New file.
1578         * malloc/dynarray-skeleton.c: Likewise.
1579         * malloc/dynarray_at_failure.c: Likewise.
1580         * malloc/dynarray_emplace_enlarge.c: Likewise.
1581         * malloc/dynarray_finalize.c: Likewise.
1582         * malloc/dynarray_resize.c: Likewise.
1583         * malloc/dynarray_resize_clear.c: Likewise.
1584         * malloc/tst-dynarray.c: Likewise.
1585         * malloc/tst-dynarray-fail.c: Likewise.
1586         * malloc/tst-dynarray-at-fail.c: Likewise.
1587         * malloc/tst-dynarray-shared.h: Likewise.
1588         * support/Makefile (libsupport-routines): Add
1589         support_capture_subprocess, xdup2, xpipe.
1590         (tests): Add tst-support_capture_subprocess.
1591         * support/capture_subprocess.h: New file.
1592         * support/support_capture_subprocess.c: Likewise.
1593         * support/tst-support_capture_subprocess.c: Likewise.
1594         * support/xdup2.c: Likewise.
1595         * support/xpipe.c: Likewise.
1596         * support/xunistd.h (xdup2, xpipe): Declare.
1598 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1600         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
1601         macros MAX and MIN.
1603 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1605         * conform/data/signal.h-data (sa_sigaction): Do not expect for
1606         [XPG4].
1607         (SA_SIGINFO): Likewise.
1608         (SA_ONSTACK): Likewise.
1609         (SA_RESETHAND): Likewise.
1610         (SA_RESTART): Likewise.
1611         (SA_NOCLDWAIT): Likewise.
1612         (SA_NODEFER): Likewise.
1613         (SS_ONSTACK): Likewise.
1614         (SS_DISABLE): Likewise.
1615         (MINSIGSTKSZ): Likewise.
1616         (SIGSTKSZ): Likewise.
1617         (ucontext_t): Likewise.
1618         (stack_t): Likewise.
1619         (struct sigstack): Likewise.
1620         (SI_USER): Do not expect for [XPG4 || XPG42].
1621         (SI_QUEUE): Likewise.
1622         (SI_TIMER): Likewise.
1623         (SI_ASYNCIO): Likewise.
1624         (SI_MESGQ): Likewise.
1625         (bsd_signal): Do not expect for [XPG4].
1626         (killpg): Likewise.
1627         (sigaltstack): Likewise.
1628         (sighold): Likewise.
1629         (sigignore): Likewise.
1630         (siginterrupt): Likewise.
1631         (sigpause): Likewise.
1632         (sigrelse): Likewise.
1633         (sigset): Likewise.
1634         (sigwait): Do not expect for [XPG4 || XPG42].
1636 2017-06-01  Zack Weinberg  <zackw@panix.com>
1638         [BZ #21514]
1639         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
1640         pointing to the generated file in <builddir>/misc/bits/syscall.h.
1642 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
1644         [BZ #21457]
1645         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
1646         NGREG to __NGREG if [__USE_MISC].
1647         (gregset_t): Define using __NGREG.
1648         (__ctx): New macro.
1649         (mcontext_t): Use __ctx in defining fields.
1650         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
1651         define NGREG to __NGREG if [__USE_MISC].
1652         (gregset_t): Define using __NGREG.
1653         (__ctx): New macro.
1654         (__ctxt): Likewise.
1655         (fpregset_t): Use __ctx and __ctxt in defining fields.
1656         (mcontext_t): Likewise.
1657         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
1658         define NGREG to __NGREG if [__USE_MISC].
1659         (gregset_t): Define using __NGREG.
1660         (__ctx): New macro.
1661         (mcontext_t): Use __ctx in defining fields.
1662         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
1663         define NGREG to __NGREG if [__USE_MISC].
1664         (gregset_t): Define using __NGREG.
1665         (__ctx): New macro.
1666         (fpregset_t): Use __ctx in defining fields.
1667         (mcontext_t): Likewise.
1668         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
1669         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1670         (gregset_t): Define using __NGREG.
1671         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1672         [__USE_MISC].
1673         (fpregset_t): Define using __NFPREG.
1674         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
1675         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1676         (gregset_t): Define using __NGREG.
1677         (__ctx): New macro.
1678         (fpregset_t): Use __ctx in defining fields.
1679         (mcontext_t): Likewise.
1680         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
1681         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1682         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1683         [__USE_MISC].
1684         (gregset_t): Define using __NGREG.
1685         (__ctx): New macro.
1686         (fpregset_t): Use __ctx in defining fields.
1687         (mcontext_t): Likewise.
1688         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
1689         (mcontext_t): Use __ctx in defining fields.
1690         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
1691         macro.
1692         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
1693         __NGREG if [__USE_MISC].
1694         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
1695         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
1696         (mcontext_t): Likewise.
1697         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
1698         __NGREG if [__USE_MISC].
1699         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
1700         to __NFPREG if [__USE_MISC].
1701         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
1702         to __NVRREG if [__USE_MISC].
1703         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
1704         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
1705         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
1706         [__WORDSIZE != 32] (vrregset_t): Likewise.
1707         [__WORDSIZE != 32] (mcontext_t): Likewise.
1708         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
1709         (__psw_t): Use __ctx in defining fields.
1710         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
1711         [__USE_MISC].
1712         (gregset_t): Define using __NGREG.
1713         (fpreg_t): Use __ctx in defining fields.
1714         (fpregset_t): Likewise.
1715         (mcontext_t): Likewise.
1716         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
1717         __NGREG and define NGREG to __NGREG if [__USE_MISC].
1718         (gregset_t): Define using __NGREG.
1719         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
1720         [__USE_MISC].
1721         (fpregset_t): Define using __NFPREG.
1722         (__ctx): New macro.
1723         (mcontext_t): Use __ctx in defining fields.
1724         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
1725         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1726         __NGREG if [__USE_MISC].
1727         [__x86_64__] (gregset_t): Define using __NGREG.
1728         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
1729         [__x86_64__] (struct _libc_fpstate): Likewise.
1730         [__x86_64__] (mcontext_t): Likewise.
1731         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
1732         __NGREG if [__USE_MISC].
1733         [!__x86_64__] (gregset_t): Define using __NGREG.
1734         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
1735         [!__x86_64__] (struct _libc_fpstate): Likewise.
1736         [!__x86_64__] (mcontext_t): Likewise.
1738 2017-06-01  Zack Weinberg  <zackw@panix.com>
1740         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
1741         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
1742         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
1743         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
1744         libpthread.so no longer references __errno_location.
1746 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1748         * NEWS: Add note about pwritev2 and preadv2 inclusion.
1749         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
1750         pwritev64v2.
1751         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
1752         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
1753         pwritev64v2.
1754         * misc/preadv2.c: New file.
1755         * misc/preadv64v2.c: Likewise.
1756         * misc/pwritev2.c: Likewise.
1757         * misc/pwritev64v2.c: Likewise.
1758         * misc/tst-preadvwritev2.c: Likewise.
1759         * misc/tst-preadvwritev64v2.c: Likewise.
1760         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
1761         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
1762         prototype.
1763         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
1764         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
1765         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
1766         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
1767         (PWRITEV): Likewise.
1768         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
1769         ENOSYS.
1770         * nptl/tst-cancel4.c (tf_pwritev2): New test.
1771         (tf_preadv2): Likewise.
1772         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
1773         * sysdeps/posix/preadv2.c: Likewise.
1774         * sysdeps/posix/preadv64v2.c: Likewise.
1775         * sysdeps/posix/pwritev2.c: Likewise.
1776         * sysdeps/posix/pwritev64v2.c: Likewise.
1777         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
1778         support in kernel.
1779         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
1780         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
1781         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
1782         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
1783         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
1784         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1785         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1786         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1787         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
1788         support flags on Linux.
1789         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
1790         preadv2, preadv64v2, pwritev2, pwritev64v2.
1791         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
1792         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
1793         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
1794         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1795         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1796         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1797         Likewise.
1798         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1799         Likewise.
1800         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1801         Likewise.
1802         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1803         Likewise.
1804         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1805         Likewise.
1806         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1807         Likewise.
1808         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1809         Likewise.
1810         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1812         (GLIBC_2.26): Likewise.
1813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1814         (GLIBC_2.26): Likewise.
1815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1816         Likewise.
1817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1818         (GLIBC_2.26): Likewise.
1819         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1820         Likewise.
1821         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1822         Likewise.
1823         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1824         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1827         Likewise.
1828         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1829         Likewise.
1830         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1835         Likewise.
1836         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1837         Likewise.
1839 2017-05-31  Andreas Schwab  <schwab@suse.de>
1841         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1842         (main): Rename to do_test and make static.
1844 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1846         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1847         ARCH_INIT_CPU_FEATURES.
1848         (LIBC_START_MAIN): Call it.
1849         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1850         (__libc_start_main): Remove.
1851         (ARCH_INIT_CPU_FEATURES): New macro.
1852         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1853         (ARCH_INIT_CPU_FEATURES): New macro.
1855 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1856             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1858         * include/stdlib.h (__libc_reallocarray): New declaration.
1859         * malloc/Makefile (routines): Add reallocarray.
1860         (tests): Add tst-reallocarray.c.
1861         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1862         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1863         function.
1864         * malloc/malloc.h (reallocarray): New declaration.
1865         * stdlib/stdlib.h (reallocarray): Likewise.
1866         * malloc/reallocarray.c: New file.
1867         * malloc/tst-reallocarray.c: New test file.
1868         * manual/memory.texi: Document reallocarray.
1869         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1870         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1874         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1875         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1876         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1884         Likewise.
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1886         Likewise.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1890         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1891         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1892         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1893         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1896         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1897         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1898         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1900 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1902         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1903         the lower 32 bits.
1905 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1907         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1908         $(build-pie-default) = yes]: Define.
1910 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1912         * string/test-memchr.c (test_main): Add tests for n == 0.
1914 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1916         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1917         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1918         (tests-internal): ... here.
1920 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1921              H.J. Lu  <hongjiu.lu@intel.com>
1923         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1924         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1925         (__tunable_set_val): Likewise.
1927 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1929         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1930         dl-tunables.list in subdirectories.
1932 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1933             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1934             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1936         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1937         (SNANF128): New macro.
1938         * math/e_sqrtf128.c: New file.
1939         * math/s_fmaxmag_template.c: Include math_private.h in order to
1940         make inline expansion of fabs128().
1941         * math/s_fminmag_template.c: Likewise.
1943         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1944         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1945         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1946         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1947         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1948         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1949         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1950         * sysdeps/ieee754/float128/e_expf128.c: New file.
1951         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1952         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1953         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1954         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1955         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1956         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1957         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1958         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1959         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1960         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1961         * sysdeps/ieee754/float128/e_logf128.c: New file.
1962         * sysdeps/ieee754/float128/e_powf128.c: New file.
1963         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1964         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1965         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1966         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1967         * sysdeps/ieee754/float128/float128_private.h: New file.
1968         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1969         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1970         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1971         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1972         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1973         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1974         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1975         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1976         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1977         * sysdeps/ieee754/float128/s_atanf128.c: New file.
1978         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1979         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1980         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1981         * sysdeps/ieee754/float128/s_cosf128.c: New file.
1982         * sysdeps/ieee754/float128/s_erff128.c: New file.
1983         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1984         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1985         * sysdeps/ieee754/float128/s_finitef128.c: New file.
1986         * sysdeps/ieee754/float128/s_floorf128.c: New file.
1987         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1988         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1989         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1990         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1991         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1992         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1993         * sysdeps/ieee754/float128/s_isinff128.c: New file.
1994         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1995         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1996         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1997         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1998         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1999         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2000         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2001         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2002         * sysdeps/ieee754/float128/s_modff128.c: New file.
2003         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2004         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2005         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2006         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2007         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2008         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2009         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2010         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2011         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2012         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2013         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2014         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2015         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2016         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2017         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2018         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2019         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2020         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2021         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2022         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2023         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2024         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2025         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2026         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2027         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2029         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2030         (__iscanonicalf128): Define as a macro.
2032 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2034         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2035         (memmove): Use MEMMOVE for name.
2036         (memcpy): Use MEMCPY for name.  Change internal labels
2037         to external labels.
2038         * sysdeps/aarch64/multiarch/Makefile: New file.
2039         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2040         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2041         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2042         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2043         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2044         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2046 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2048         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2049         (_dl_arm_cap_flags): Fix array subscript.
2050         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2051         Fix count.
2053 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2055         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2057 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2059         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2060         (is_amd): Likewise.
2061         (max_cpuid): Likewise.
2062         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2063         (init_cacheinfo): Likewise.
2065 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2067         [BZ #21511]
2068         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2069         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2070         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2071         !__USE_XOPEN2K) || __USE_MISC].
2072         * conform/data/signal.h-data (struct sigstack): Expect type only
2073         if [!XOPEN2K8 && !POSIX2008].
2074         (sigstack): Expect function only if [XPG42 || UNIX98].
2076         [BZ #21457]
2077         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2078         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2079         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2080         <bits/types/__sigset_t.h>.
2081         (ucontext_t): Use sigset_t instead of __sigset_t.
2082         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2083         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2084         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2085         <bits/types/__sigset_t.h>.
2086         (ucontext_t): Use sigset_t instead of __sigset_t.
2087         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2088         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2089         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2090         <bits/types/__sigset_t.h>.
2091         (ucontext_t): Use sigset_t instead of __sigset_t.
2092         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2093         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2094         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2095         <bits/types/__sigset_t.h>.
2096         (ucontext_t): Use sigset_t instead of __sigset_t.
2097         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2098         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2099         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2100         <bits/types/__sigset_t.h>.
2101         (ucontext_t): Use sigset_t instead of __sigset_t.
2102         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2103         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2104         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2105         <bits/types/__sigset_t.h>.
2106         (ucontext_t): Use sigset_t instead of __sigset_t.
2107         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2108         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2109         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2110         <bits/types/__sigset_t.h>.
2111         (ucontext_t): Use sigset_t instead of __sigset_t.
2112         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
2113         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2114         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2115         <bits/types/__sigset_t.h>.
2116         (ucontext_t): Use sigset_t instead of __sigset_t.
2117         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
2118         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2119         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2120         <bits/types/__sigset_t.h>.
2121         (ucontext_t): Use sigset_t instead of __sigset_t.
2122         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
2123         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2124         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
2125         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2126         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2127         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2128         <bits/types/__sigset_t.h>.
2129         (ucontext_t): Use sigset_t instead of __sigset_t.
2130         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2131         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2132         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2133         <bits/types/__sigset_t.h>.
2134         (ucontext_t): Use sigset_t instead of __sigset_t.
2135         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2136         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2137         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2138         <bits/types/__sigset_t.h>.
2139         (ucontext_t): Use sigset_t instead of __sigset_t.
2140         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2141         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2142         <bits/ss_flags.h>.
2143         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2144         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2145         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2146         <bits/types/__sigset_t.h>.
2147         (ucontext_t): Use sigset_t instead of __sigset_t.
2148         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2149         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2150         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2151         <bits/types/__sigset_t.h>.
2152         (ucontext_t): Use sigset_t instead of __sigset_t.
2153         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2154         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2155         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2156         <bits/types/__sigset_t.h>.
2157         (ucontext_t): Use sigset_t instead of __sigset_t.
2158         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2159         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2160         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2161         <bits/types/__sigset_t.h>.
2162         (ucontext_t): Use sigset_t instead of __sigset_t.
2163         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2164         <bits/types.h>.
2165         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2166         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2167         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2168         <bits/types/__sigset_t.h>.
2169         (ucontext_t): Use sigset_t instead of __sigset_t.
2171 2017-05-22  Zack Weinberg  <zackw@panix.com>
2173         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2174         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2175         bits/siginfo-arch.h, only if not already defined.
2176         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2177         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2178         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2179         Likewise.
2181         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2182         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2184         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2185         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2186         Unconditionally define __SI_* macros.
2188 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2190         [BZ #21393]
2191         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2192         and add a check for dup3 failure.
2193         * libio/freopen64.c (freopen64): Likewise.
2194         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2195         libsupport.
2196         (do_test_bz21398): New test.
2197         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2199 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2201         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2202         Remove invalid comment.
2204 2017-05-21  Zack Weinberg  <zackw@panix.com>
2206         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2208 2017-05-20  Zack Weinberg  <zackw@panix.com>
2210         * bits/sigevent-consts.h
2211         * bits/siginfo-consts.h
2212         * bits/types/__sigset_t.h
2213         * bits/types/sigevent_t.h
2214         * bits/types/siginfo_t.h
2215         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2216         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2217         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2218         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2219         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2220         New system-dependent bits headers.
2222         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2223         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2224         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2225         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2226         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2227         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2228         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2229         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2230         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2231         New Linux-only system-dependent bits headers.
2233         * signal/bits/types/sig_atomic_t.h
2234         * signal/bits/types/sigset_t.h
2235         * signal/bits/types/sigval_t.h:
2236         New non-system-dependent bits headers.
2238         * sysdeps/generic/sigsetops.h
2239         * sysdeps/unix/sysv/linux/sigsetops.h:
2240         New internal headers.
2242         * include/bits/types/sig_atomic_t.h
2243         * include/bits/types/sigset_t.h
2244         * include/bits/types/sigval_t.h:
2245         New wrappers.
2247         * signal/sigsetops.h
2248         * bits/siginfo.h
2249         * bits/sigset.h
2250         * sysdeps/unix/sysv/linux/bits/siginfo.h
2251         * sysdeps/unix/sysv/linux/bits/sigset.h
2252         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2253         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2254         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2255         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2256         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2257         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2258         Deleted.
2260         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2261         Update lists of installed headers.
2263         * posix/bits/types.h: Define __sig_atomic_t here.
2264         * signal/signal.h: Use the new bits headers; no need to handle
2265         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2266         to define sigmask.
2267         * include/signal.h: No need to handle __need_sig_atomic_t
2268         nor __need_sigset_t.  Don't define __sigemptyset.
2270         * io/sys/poll.h, setjmp/setjmp.h
2271         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2272         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2273         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2274         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2275         * sysdeps/pthread/bits/sigthread.h
2276         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2277         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2278         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2279         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2280         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2281         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2282         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2283         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2284         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2285         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2286         Use bits/types/__sigset_t.h.
2288         * misc/sys/select.h, posix/spawn.h
2289         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2290         * sysdeps/unix/sysv/linux/sys/epoll.h
2291         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2292         Use bits/types/sigset_t.h.
2294         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2295         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2296         * socket/sys/socket.h: Don't include bits/sigset.h.
2298         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2299         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2300         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2301         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2302         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2303         * sysdeps/unix/sysv/linux/nptl-signals.h:
2304         Include sigsetops.h.
2306         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2307         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2308         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2309         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2310         now return no value.
2312         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2313         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2314         "sigsetops.h".
2316         * signal/sigsetops.c: Explicitly define __sigismember,
2317         __sigaddset, and __sigdelset as compatibility symbols.
2319         * signal/Versions: Correct commentary on __sigpause,
2320         __sigaddset, __sigdelset, __sigismember.
2322         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2323         __sigblock/__sigsetmask to use __sigprocmask and friends.
2325         * resolv/resolv.h: Remove __need_res_state logic.
2326         Move definition of res_state and related constants to ...
2327         * resolv/bits/types/res_state.h: ...this new file.
2328         * resolv/Makefile: Install bits/types/res_state.h.
2329         * include/bits/types/res_state.h: New wrapper.
2330         * include/list.h: Remove __need_list_t logic.
2331         Move definition of list_t to ...
2332         * include/list_t.h: ...this new file.
2334         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2335         instead of list.h and resolv.h.
2337         * resolv/resolv.h: Remove __need_res_state logic.
2338         Move definition of res_state and related constants to ...
2339         * resolv/bits/types/res_state.h: ...this new file.
2340         * resolv/Makefile: Install bits/types/res_state.h.
2341         * include/bits/types/res_state.h: New wrapper.
2342         * include/list.h: Remove __need_list_t logic.
2343         Move definition of list_t to ...
2344         * include/list_t.h: ...this new file.
2346         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
2347         instead of list.h and resolv.h.
2349 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
2351         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
2353 2017-05-20  Zack Weinberg  <zackw@panix.com>
2355         * sysdeps/arm/sysdep.h
2356         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
2358         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
2359         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
2360         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
2361         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
2362         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
2363         * sysdeps/arm/armv6t2/strlen.S
2364         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
2365         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
2366         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
2367         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
2368         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
2369         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
2371 2017-05-20  Zack Weinberg  <zackw@panix.com>
2373         Remove the NaCl port.
2374         * sysdeps/arm/nacl: Remove directory and contents.
2375         * sysdeps/nacl: Remove directory and contents.
2376         * abi-tags: Remove .*-.*-nacl.* entry.
2378 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
2380         * manual/errno.texi: Convert @comment-based errno documentation to
2381         @errno.
2382         * manual/macros.texi (@errno): New macro.  Consolidate errors,
2383         their values, and messages, adding the error string to the Concept
2384         Index.  Provide a warning in the comment about external (to the
2385         manual) dependencies.
2386         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
2387         * sysdeps/mach/hurd/errnos.awk: Likewise.
2389 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2391         * bits/ss_flags.h: New file.
2392         * bits/types/stack_t.h: Likewise.
2393         * include/bits/types/struct_sigstack.h: Likewise.
2394         * signal/bits/types/struct_sigstack.h: Likewise.
2395         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
2396         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
2397         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
2398         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
2399         bits/types/stack_t.h and bits/ss_flags.h.
2400         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
2401         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2402         <bits/ss_flags.h>.
2403         * bits/sigstack.h (struct sigstack): Remove.
2404         (stack_t): Likewise.
2405         (SS_ONSTACK): Likewise.
2406         (SS_DISABLE): Likewise.
2407         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2408         (struct sigstack): Likewise.
2409         (stack_t): Likewise.
2410         (SS_ONSTACK): Likewise.
2411         (SS_DISABLE): Likewise.
2412         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
2413         Likewise.
2414         (stack_t): Likewise.
2415         (SS_ONSTACK): Likewise.
2416         (SS_DISABLE): Likewise.
2417         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
2418         Likewise.
2419         (stack_t): Likewise.
2420         (SS_ONSTACK): Likewise.
2421         (SS_DISABLE): Likewise.
2422         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
2423         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
2424         Likewise.
2425         (stack_t): Likewise.
2426         (SS_ONSTACK): Likewise.
2427         (SS_DISABLE): Likewise.
2428         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2429         (struct sigstack): Likewise.
2430         (stack_t): Likewise.
2431         (SS_ONSTACK): Likewise.
2432         (SS_DISABLE): Likewise.
2433         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
2434         Likewise.
2435         (stack_t): Likewise.
2436         (SS_ONSTACK): Likewise.
2437         (SS_DISABLE): Likewise.
2438         * sysdeps/arm/sys/ucontext.h: Include
2439         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
2440         <bits/ss_flags.h>.
2441         * sysdeps/generic/sys/ucontext.h: Likewise.
2442         * sysdeps/i386/sys/ucontext.h: Likewise.
2443         * sysdeps/m68k/sys/ucontext.h: Likewise.
2444         * sysdeps/mips/sys/ucontext.h: Likewise.
2445         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
2446         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
2447         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
2448         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
2449         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
2450         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
2451         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
2452         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
2453         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
2454         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2455         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
2456         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
2457         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
2458         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
2459         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
2461 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
2463         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
2464         "edx + ecx - 16" to avoid possible addition overflow.
2465         * sysdeps/x86_64/memchr.S (memchr): Likewise.
2467 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2469         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
2470         (CFLAGS-splice.c): Likewise.
2471         (CFLAGS-open_by_handle_at.c): Likewise.
2472         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
2473         (CFLAGS-splice.c): Likewise.
2474         (CFLAGS-open_by_handle_at.c): Likewise.
2476 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
2478         * scripts/versions.awk: Generate ldbl-compat-choose.h.
2479         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
2480         <ldbl-compat-choose.h>.
2481         (maybe_long_double_symbol): New macro.
2482         [!declare_mgen_alias] (declare_mgen_alias): Use
2483         maybe_long_double_symbol.
2484         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
2485         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2486         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2487         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
2488         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2489         * Makerules [$(build-shared) = yes && !avoid-generated]
2490         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
2491         [$(build-shared) = yes && !avoid-generated]
2492         ($(common-objpfx)ldbl-compat-choose.h): New target.
2494         * scripts/versions.awk: Generate first-versions.h.
2495         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
2496         <first-versions.h>.
2497         (LDOUBLE_cabsl_libm_version): Remove macro.
2498         (LDOUBLE_cargl_libm_version): Likewise.
2499         (LDOUBLE_cimagl_libm_version): Likewise.
2500         (LDOUBLE_conjl_libm_version): Likewise.
2501         (LDOUBLE_creall_libm_version): Likewise.
2502         (LDOUBLE_cacosl_libm_version): Likewise.
2503         (LDOUBLE_cacoshl_libm_version): Likewise.
2504         (LDOUBLE_ccosl_libm_version): Likewise.
2505         (LDOUBLE_ccoshl_libm_version): Likewise.
2506         (LDOUBLE_casinl_libm_version): Likewise.
2507         (LDOUBLE_csinl_libm_version): Likewise.
2508         (LDOUBLE_casinhl_libm_version): Likewise.
2509         (LDOUBLE_csinhl_libm_version): Likewise.
2510         (LDOUBLE_catanl_libm_version): Likewise.
2511         (LDOUBLE_catanhl_libm_version): Likewise.
2512         (LDOUBLE_ctanl_libm_version): Likewise.
2513         (LDOUBLE_ctanhl_libm_version): Likewise.
2514         (LDOUBLE_cexpl_libm_version): Likewise.
2515         (LDOUBLE_clogl_libm_version): Likewise.
2516         (LDOUBLE_cprojl_libm_version): Likewise.
2517         (LDOUBLE_csqrtl_libm_version): Likewise.
2518         (LDOUBLE_cpowl_libm_version): Likewise.
2519         (LDOUBLE_clog10l_libm_version): Likewise.
2520         (LDOUBLE___clog10l_libm_version): Likewise.
2521         (LDOUBLE_fdiml_libm_version): Likewise.
2522         (LDOUBLE_fmaxl_libm_version): Likewise.
2523         (LDOUBLE_fminl_libm_version): Likewise.
2524         (LDOUBLE_ilogbl_libm_version): Likewise.
2525         (LDOUBLE_nanl_libm_version): Likewise.
2526         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
2527         FIRST_VERSION_libm_* macros.
2528         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
2529         * Makerules [$(build-shared) = yes && !avoid-generated]
2530         (before-compile): Add $(common-objpfx)first-versions.h.
2531         [$(build-shared) = yes && !avoid-generated]
2532         ($(common-objpfx)first-versions.h): New target.
2533         ($(common-objpfx)sysd-versions): Depend on and change to rule for
2534         building $(common-objpfx)versions.stmp.
2536 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2538         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
2539         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
2540         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
2541         auto-generation list.
2543         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
2544         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
2545         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
2546         from auto-generation list.
2548         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2549         open_by_handle_at.
2550         (CFLAGS-open_by_handle_at.c): New flag.
2551         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
2552         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
2553         file.
2554         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
2556         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
2557         (CFLAGS-splice.c): New flag.
2558         * sysdeps/unix/sysv/linux/splice.c: New file.
2559         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
2560         auto-generation syscall list.
2561         * misc/Makefile (CFLAGS-splice.c): New rule.
2563         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
2564         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
2565         auto-generation syscall list.
2566         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
2567         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
2569         * misc/Makefile (CFLAGS-fsync.c): New flag.
2570         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
2571         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
2572         syscall list.
2573         * sysdeps/unix/sysv/linux/fsync.c: New file.
2574         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
2575         (__errno_location): Remove.
2577         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
2578         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
2579         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
2580         list.
2581         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
2583         * misc/Makefile (CFLAGS-msync.c): New rule.
2584         * nptl/Makefile (CFLAGS-msync.c): Likewise.
2585         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
2586         * sysdeps/unix/sysv/linux/msync.c: New file.
2588         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
2589         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
2590         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
2591         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2592         (CFLAGS-sigsuspend.c): Remove rule.
2594         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
2595         (CFLAGS-tee.c): New rule.
2596         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
2597         auto-generated list.
2598         * sysdeps/unix/sysv/linux/tee.c: New file.
2600         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
2601         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
2602         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
2603         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
2604         auto-generated list.
2606         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
2607         auto-generated list.
2608         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
2609         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
2610         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
2611         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2612         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2614         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
2615         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
2616         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
2617         (__NR_pause): Undefine.
2618         * sysdeps/unix/sysv/linux/pause.c: New file.
2619         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
2620         auto-generation list.
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
2622         Remove rule.
2623         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
2625 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
2627         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
2628         comments.
2630 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2632         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
2633         LD_HWCAP_MASK.
2635 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2637         * manual/conf.texi: Convert @tables of annotated @items to
2638         @vtables.
2639         * manual/lang.texi: Likewise.
2640         * manual/pattern.texi: Likewise.
2641         * manual/resource.texi: Likewise.
2642         * manual/socket.texi: Likewise.
2644 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
2646         * manual/crypt.texi: Move a comment out of an @*x list.
2647         * manual/filesys.texi: Refactor some comments, one of which looks
2648         like a standard.  Fix incorrectly separated standards.
2649         * manual/locale.texi: Invert an annotation.
2650         * manual/resource.texi: Fix incorrectly separated standards.
2651         * manual/time.texi: Refactor a @vtable that obscures an
2652         annotation.
2653         * manual/users.texi: Refactor multiple headers to occupy a single
2654         @comment.
2656 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2658         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2659         (sysdep_routines): Add memcmp-power8.
2660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2661         (memcmp): Add __memcmp_power8 to list of memcmp functions.
2662         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
2663         (memcmp): Add __memcmp_power8 to ifunc list.
2664         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
2665         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
2667 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2668             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2670         * math/math.h (__MATH_TG): Extend the conditions to add
2671         _Float128 support.
2672         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
2674 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
2676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2677         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
2678         s_cosf-ppc64.
2679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
2680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
2681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
2682         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2684 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2686         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
2687         (gen-libm-calls): Add e_exp2F to use the template.
2688         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
2689         * math/e_exp2_template.c: New file, renamed from
2690         math/e_exp2l.c, and made into a template.
2691         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
2693 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2695         * elf/dl-tunable-types.h (tunable_type_code_t): New type
2696         TUNABLE_TYPE_UINT_64.
2697         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
2698         Simplify computation of overflow.
2699         (tunable_set_val_if_valid_range_signed,
2700         tunable_set_val_if_valid_range_unsigned): Remove and replace
2701         with this...
2702         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
2703         (tunable_initialize): Adjust.  Add uint64_t support.
2704         (__tunable_set_val): Add uint64_t support.
2705         * README.tunables: Document it.
2707         * scripts/gen-tunables.awk: Recognize 'default' keyword in
2708         dl-tunables.list.
2709         * README.tunables: Document it.
2711 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2713         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
2714         * sysdeps/posix/preadv64.c: Likewise.
2715         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2716         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
2717         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
2718         * sysdeps/posix/pwritev64.c: Likewise.
2719         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2720         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
2721         * sysdeps/posix/preadv_common.c: New file.
2722         * sysdeps/posix/pwritev_common.c: Likewise.
2724 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2726         * sysdeps/generic/math-type-macros-float128.h
2727         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
2728         wrapper templates.
2730 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2731             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2733         * include/complex.h (__kernel_casinhf128): New declaration.
2734         * include/float.h: New file.
2735         * include/math.h (__finitef128): Add a hidden def.
2736         (__isinff128): Likewise.
2737         (__isnanf128): Likewise.
2738         (__fpclassify): Likewise.
2739         (__issignalling): Likewise.
2740         (__expf128): Likewise.
2741         (__expm1f128): Likewise.
2743         * sysdeps/generic/fix-fp-int-convert-overflow.h:
2744         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
2745         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
2747         * sysdeps/generic/math-type-macros-float128.h: New file.
2749         * sysdeps/generic/math_private.h: Include bits/floatn.h and
2750         math_private_calls.h for _Float128.
2751         (__isinff128): New inline implementation used when GCC < 7.0,
2752         since in this case __builtin_isinf_sign is broken.
2753         (fabsf128): New inline implementation that calls the builtin.
2754         (__EXPR_FLT128): New macro.
2755         (min_of_type): Optionally include _Float128 types too.
2757         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
2758         Declare for _Float128.
2759         (__kernel_rem_pio2): Likewise.
2761         * sysdeps/ieee754/ldbl-opt/s_sin.c:
2762         (__DECL_SIMD_sincos_disablef128): New macro.
2764 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2766         * math/math.h: Include bits/math-finite.h for float128.
2767         (__MATH_DECLARING_FLOATN): Define to control declaration of
2768         float128 functions.
2769         * math/bits/math-finite.h (pow10): Do not declare for float128.
2770         (gamma): Likewise.
2771         (scalb): Likewise.
2773 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2774             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2776         * bits/floatn.h: New file.
2777         * bits/huge_val_flt128.h: Likewise.
2779         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
2780         (__DECL_SIMD_sinf128): Likewise.
2781         (__DECL_SIMD_sincosf128): Likewise.
2782         (__DECL_SIMD_logf128): Likewise.
2783         (__DECL_SIMD_expf128): Likewise.
2784         (__DECL_SIMD_powf128): Likewise.
2786         * math/Makefile (headers): Install bits/floatn.h and
2787         bits/huge_val_flt128.h.
2789         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
2790         defined.
2792         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
2793         (isnan, gamma, nexttoward, scalb): Only define if not
2794         __MATH_DECLARING_FLOATN.
2795         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2796         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2797         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2798         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2800         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2801         Include bits/cmathcalls.h to get the declarations of _Float128
2802         versions of complex functions.
2803         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2804         Define macro.
2806         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2807         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2808         get the declarations of _Float128 versions of math functions.
2809         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2810         _FloatN types.
2811         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2812         is type-generic, so use it without __MATH_TG.
2813         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2814         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2815         _Float128 type and GCC < 7.0, otherwise use the builtin.
2816         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2817         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2818         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2819         New _GNU_SOURCE enabled macros.
2821 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2823         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2824         (signbitf): Likewise.
2825         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2826         Likewise.
2827         (signbitl): Likewise.
2828         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2829         Likewise.
2830         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2831         (signbitl): Likewise.
2832         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2834 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2836         [BZ #21386]
2837         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2838         parent PID.  The assertion in the child is incorrect with PID
2839         namespaces.
2841 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2843         * sysdeps/unix/sysv/linux/kernel-features.h
2844         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2845         * sysdeps/unix/sysv/linux/internal_statvfs.c
2846         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2848 2017-05-11  Zack Weinberg  <zackw@panix.com>
2850         * Makerules: New subdir configuration variables 'tests-internal'
2851         and 'test-internal-extras'.  Test files in these categories will
2852         still be compiled with MODULE_NAME=nonlib.  Test files in the
2853         existing categories (tests, xtests, test-srcs, test-extras) are
2854         now compiled with MODULE_NAME=testsuite.
2855         New subdir configuration variable 'modules-names-tests'.  Files
2856         which are in both 'modules-names' and 'modules-names-tests' will
2857         be compiled with MODULE_NAME=testsuite instead of
2858         MODULE_NAME=extramodules.
2859         (gen-as-const-headers): Move to tests-internal.
2860         (do-tests-clean, common-mostlyclean): Support tests-internal.
2861         * Makeconfig (built-modules): Add testsuite.
2862         * Makefile: Change libof-check-installed-headers-c and
2863         libof-check-installed-headers-cxx to 'testsuite'.
2864         * Rules: Likewise.  Support tests-internal.
2865         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2866         Remove extra-modules.mk.
2868         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2869         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2870         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2871         very top of the file and rationalize their order.
2872         If MODULE_NAME is not defined at all, define IS_IN to always be
2873         false, and don't define _ISOMAC.
2874         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2875         true, define _ISOMAC and suppress everything else in this file,
2876         starting with the inclusion of config.h.
2877         Do check for inappropriate definitions of __OPTIMIZE__ and
2878         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2879         Correct some out-of-date commentary.
2881         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2882         and _Mlong_double_ before including math.h.
2883         * include/string.h: If _ISOMAC is defined, don't expose
2884         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2885         location.
2887         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2888         * include/time.h, include/unistd.h, include/wchar.h: No need to
2889         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2891         * misc/sys/cdefs.h (__NTHNL): New macro.
2892         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2893         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2895         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2896         defined, for HAVE_TUNABLES.
2897         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2898         * intl/tst-gettext2.c: Provide own definition of N_.
2899         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2900         * math/test-signgam-main.c: No need to define _ISOMAC.
2901         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2902         * stdlib/tst-strtod1i.c: ...this new file.
2903         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2904         Split tests of __strtod_internal to...
2905         * stdlib/tst-strtod5i.c: ...this new file.
2906         * string/test-string.h: Include stdint.h. Duplicate definition of
2907         inhibit_loop_to_libcall here (from libc-symbols.h).
2908         * string/test-strstr.c: Provide dummy definition of
2909         libc_hidden_builtin_def when including strstr.c.
2910         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2911         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2912         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2913         Don't include init-arch.h.
2914         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2915         Don't include init-arch.h.
2917         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2918         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2919         unload, unload2, circleload1, neededtest, neededtest2,
2920         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2921         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2922         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2923         ifunc tests to tests-internal.
2924         Don't add $(modules-names) to test-extras.
2925         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2926         Add tst-deadline to tests-static-internal.
2927         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2928         tests-internal.
2929         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2930         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2931         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2932         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2933         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2934         Link tests-internal with libpthread also.
2935         Don't add $(modules-names) to test-extras.
2936         * nss/Makefile: Move tst-field to tests-internal.
2937         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2938         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2939         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2940         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2941         tests-internal.
2942         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2943         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2944         test-get_hwcap-static to tests-internal.
2945         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2946         tests-internal.
2947         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2948         modules-names-tests.
2950 2017-05-11  Zack Weinberg  <zackw@panix.com>
2952         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2953         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2954         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2955         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2956         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2957         already defined.
2958         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2959         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2960         appropriately.
2961         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2962         Define _IO_lock_t_defined after defining _IO_lock_t.
2964 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2966         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2967         void* for argument type and use VDSO_SYMBOL macro.
2968         (is_sigtramp_address_rt): Likewise.
2969         (__backtrace): Setup expected frame pointer address for signal
2970         handling.
2971         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2972         void* for argumetn type and use VSDO_SYMBOL macro.
2973         (__backtrace): Setup expected frame pointer address for signal
2974         handling.
2976         * sysdeps/unix/sysv/linux/writev.c: New file.
2978         * sysdeps/unix/sysv/linux/readv.c: New file.
2980         * include/unistd.h (write): Add hidden proto.
2981         * io/Makefile (CFLAGS-write.c): New define.
2982         * nptl/Makefile (CFLAGS-write.c): Likewise.
2983         * sysdeps/unix/sysv/linux/write.c: New file.
2985         [BZ #21428]
2986         * include/unistd.h (read): Add hidden proto.
2987         * io/Makefile (CFLAGS-read.c): New define.
2988         * nptl/Makefile (CFLAGS-read.c): Likewise.
2989         * sysdeps/unix/sysv/linux/read.c: New file.
2991         * io/Makefile (CFLAGS-creat.c): New rule.
2992         (CFLAGS-creat64.c): Likewise.
2993         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2994         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2995         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2996         * sysdeps/unix/sysv/linux/creat.c: New file.
2997         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2998         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2999         auto-generated list.
3000         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3002         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3003         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3004         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3005         * sysdeps/unix/sysv/linux/open.c: New file.
3006         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3007         iff __WORDSIZE != 64 and use __NR_openat when available.
3008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3009         from auto-generated list.
3011         * nptl/Makefile (CFLAGS-close.c): New flag.
3012         * sysdeps/unix/sysv/linux/close.c: New file.
3014 2017-05-11  DJ Delorie  <dj@redhat.com>
3016         * MAINTAINERS: New.  Points to wiki.
3018 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3020         * scripts/gen-tunables.awk: Add attribute_relro to
3021         tunable_list.
3023 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3025         [BZ #21457]
3026         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3027         (R1): Likewise.
3028         (R2): Likewise.
3029         (R3): Likewise.
3030         (R4): Likewise.
3031         (R5): Likewise.
3032         (R6): Likewise.
3033         (R7): Likewise.
3034         (R8): Likewise.
3035         (R9): Likewise.
3036         (R10): Likewise.
3037         (R11): Likewise.
3038         (R12): Likewise.
3039         (R13): Likewise.
3040         (R14): Likewise.
3041         (R15): Likewise.
3042         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3043         (REG_FS): Likewise.
3044         (REG_ES): Likewise.
3045         (REG_DS): Likewise.
3046         (REG_EDI): Likewise.
3047         (REG_ESI): Likewise.
3048         (REG_EBP): Likewise.
3049         (REG_ESP): Likewise.
3050         (REG_EBX): Likewise.
3051         (REG_EDX): Likewise.
3052         (REG_ECX): Likewise.
3053         (REG_EAX): Likewise.
3054         (REG_TRAPNO): Likewise.
3055         (REG_ERR): Likewise.
3056         (REG_EIP): Likewise.
3057         (REG_CS): Likewise.
3058         (REG_EFL): Likewise.
3059         (REG_UESP): Likewise.
3060         (REG_SS): Likewise.
3061         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3062         (R_D1): Likewise.
3063         (R_D2): Likewise.
3064         (R_D3): Likewise.
3065         (R_D4): Likewise.
3066         (R_D5): Likewise.
3067         (R_D6): Likewise.
3068         (R_D7): Likewise.
3069         (R_A0): Likewise.
3070         (R_A1): Likewise.
3071         (R_A2): Likewise.
3072         (R_A3): Likewise.
3073         (R_A4): Likewise.
3074         (R_A5): Likewise.
3075         (R_A6): Likewise.
3076         (R_A7): Likewise.
3077         (R_SP): Likewise.
3078         (R_PC): Likewise.
3079         (R_PS): Likewise.
3080         (fpregset_t): Likewise.
3081         (MCONTEXT_VERSION): Likewise.
3082         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3083         (CTX_AT): Likewise.
3084         (CTX_V0): Likewise.
3085         (CTX_V1): Likewise.
3086         (CTX_A0): Likewise.
3087         (CTX_A1): Likewise.
3088         (CTX_A2): Likewise.
3089         (CTX_A3): Likewise.
3090         (CTX_T0): Likewise.
3091         (CTX_T1): Likewise.
3092         (CTX_T2): Likewise.
3093         (CTX_T3): Likewise.
3094         (CTX_T4): Likewise.
3095         (CTX_T5): Likewise.
3096         (CTX_T6): Likewise.
3097         (CTX_T7): Likewise.
3098         (CTX_S0): Likewise.
3099         (CTX_S1): Likewise.
3100         (CTX_S2): Likewise.
3101         (CTX_S3): Likewise.
3102         (CTX_S4): Likewise.
3103         (CTX_S5): Likewise.
3104         (CTX_S6): Likewise.
3105         (CTX_S7): Likewise.
3106         (CTX_T8): Likewise.
3107         (CTX_T9): Likewise.
3108         (CTX_K0): Likewise.
3109         (CTX_K1): Likewise.
3110         (CTX_GP): Likewise.
3111         (CTX_SP): Likewise.
3112         (CTX_S8): Likewise.
3113         (CTX_RA): Likewise.
3114         (CTX_MDLO): Likewise.
3115         (CTX_MDHI): Likewise.
3116         (CTX_CAUSE): Likewise.
3117         (CTX_EPC): Likewise.
3118         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3119         inclusion of <sys/procfs.h> on [__USE_MISC].
3120         (greg_t): Condition on [__USE_MISC].
3121         (gregset_t): Likewise.
3122         (fpregset_t): Likewise.
3123         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3124         (NGREG): Likewise.
3125         (gregset_t): Likewise.
3126         (REG_R0): Likewise.
3127         (REG_R1): Likewise.
3128         (REG_R2): Likewise.
3129         (REG_R3): Likewise.
3130         (REG_R4): Likewise.
3131         (REG_R5): Likewise.
3132         (REG_R6): Likewise.
3133         (REG_R7): Likewise.
3134         (REG_R8): Likewise.
3135         (REG_R9): Likewise.
3136         (REG_R10): Likewise.
3137         (REG_R11): Likewise.
3138         (REG_R12): Likewise.
3139         (REG_R13): Likewise.
3140         (REG_R14): Likewise.
3141         (REG_R15): Likewise.
3142         (struct _libc_fpstate): Likewise.
3143         (fpregset_t): Likewise.
3144         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3145         (NFPREG): Likewise.
3146         (gregset_t): Likewise.
3147         (fpregset_t): Likewise.
3148         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3149         (R_D1): Likewise.
3150         (R_D2): Likewise.
3151         (R_D3): Likewise.
3152         (R_D4): Likewise.
3153         (R_D5): Likewise.
3154         (R_D6): Likewise.
3155         (R_D7): Likewise.
3156         (R_A0): Likewise.
3157         (R_A1): Likewise.
3158         (R_A2): Likewise.
3159         (R_A3): Likewise.
3160         (R_A4): Likewise.
3161         (R_A5): Likewise.
3162         (R_A6): Likewise.
3163         (R_A7): Likewise.
3164         (R_SP): Likewise.
3165         (R_PC): Likewise.
3166         (R_PS): Likewise.
3167         (fpregset_t): Likewise.
3168         (MCONTEXT_VERSION): Likewise.
3169         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3170         Likewise.
3171         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3172         (REG_R1): Likewise.
3173         (REG_R2): Likewise.
3174         (REG_R3): Likewise.
3175         (REG_R4): Likewise.
3176         (REG_R5): Likewise.
3177         (REG_R6): Likewise.
3178         (REG_R7): Likewise.
3179         (REG_R8): Likewise.
3180         (REG_R9): Likewise.
3181         (REG_R10): Likewise.
3182         (REG_R11): Likewise.
3183         (REG_R12): Likewise.
3184         (REG_R13): Likewise.
3185         (REG_R14): Likewise.
3186         (REG_R15): Likewise.
3187         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3188         of <arch/abi.h> on [__USE_MISC].
3189         (greg_t): Condition on [__USE_MISC].
3190         (NGREG): Likewise.
3191         (gregset_t): Likewise.
3193 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3195         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3196         (__pthread_rwlock_arch_t): Remove __data definition.
3197         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3198         (__pthread_rwlock_arch_t): Likewise.
3200 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3202         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3203         internal_function on static functions.
3205 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3207         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3208         from format_ai_flags.
3209         (format_ai_flags): New function.  Incorporate flag formatting code
3210         from format_ai_one.
3211         (format_ai_canonname): New function.
3212         (format_ai_one): Remove flags parameter.
3213         (format_ai_family): Likewise.
3214         (support_format_addrinfo): Call format_ai_flags,
3215         format_ai_canonname.
3216         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3217         check_ai.
3218         (check_ai): Call check_ai_hints.
3219         (do_test): Add AI_CANONNAME tests.
3221 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3223         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3224         (gaih_inet): Likewise.
3226 2017-05-10  Andreas Schwab  <schwab@suse.de>
3228         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3229         (main): Rename to do_test and make static.
3231 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3233         * string/rawmemchr.c: Include <libc-diag.h>.
3234         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3235         with size (size_t)-1.
3237 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3239         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3240         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3241         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3243         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3244         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3245         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3246         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3247         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3248         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3249         * sysdeps/unix/sysv/linux/kernel-features.h
3250         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3251         socket syscalls.
3252         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3253         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3254         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3255         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3256         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3258         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3259         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3260         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3261         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3262         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3263         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3264         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3265         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3266         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3268 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3270         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3271         thread-shared-types.h.
3272         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3273         specific thread definition.
3274         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3275         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3276         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3277         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3278         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3279         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3280         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3281         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3282         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3283         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3284         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3285         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3286         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3287         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3288         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3289         thread definition between POSIX and C11.
3290         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3291         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3292         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3293         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3294         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3295         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3296         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3297         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3298         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3299         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3300         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3301         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3302         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3303         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3304         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3305         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3306         definitions shared across all architectures.
3308 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3310         * sysdeps/unix/sysv/linux/kernel-features.h
3311         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3312         (__ASSUME_SENDMMSG): Likewise.
3313         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3314         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3315         sendmmsg syscall if that can be assumed to be present, socketcall
3316         otherwise, with no fallback for runtime failure.
3318         * sysdeps/unix/sysv/linux/kernel-features.h
3319         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3320         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3321         (__ASSUME_RECVMMSG): Likewise.
3322         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3323         recvmmsg syscall if it can be assumed to be present, socketcall
3324         otherwise, with no fallback for runtime failure.
3326 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3327             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3329         * bits/libc-header-start.h:
3330         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
3331         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
3332         * manual/creature.texi: Likewise.
3334 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3335             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3337         * math/Makefile:
3338         (type-float128-suffix): New variable
3339         (type-float128-routines): Likewise
3340         (type-float128-yes): Likewise
3341         (types): Append float128 if supported
3342         (types-basic): New variable to control the use of templates for
3343         float, double, and long double, but not for float128 or newer types.
3344         (type-basic-foreach): Likewise.
3346         * sysdeps/ieee754/float128/Makeconfig: New file.
3347         * sysdeps/ieee754/float128/Versions: New file.
3349 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3351         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
3352         Remove macro.
3353         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
3354         prlimit64 is always available and does not give an ENOSYS error.
3355         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
3356         unconditional.
3357         [!__NR_prlimit64]: Remove conditional code.
3358         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
3359         prlimit64 is always available and does not give an ENOSYS error.
3360         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
3362 2017-05-09  Zack Weinberg  <zackw@panix.com>
3364         * sunrpc/tst-xdrmem2.c: Include stdint.h.
3366 2017-05-09  Florian Weimer  <fweimer@redhat.com>
3368         [BZ #21474]
3369         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
3370         (__res_maybe_init): Likewise.
3372 2017-05-09  Zack Weinberg  <zackw@panix.com>
3374         * extra-modules.mk: Delete file.
3375         * cppflags-iterator.mk: Rename to ...
3376         * libof-iterator.mk: ...this.  Adjust comments.
3378         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
3379         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
3380         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
3381         Use libof-iterator.mk instead of cppflags-iterator.mk or
3382         extra-modules.mk.
3384         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
3385         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
3387 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3389         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3391 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
3393         * stdio-common/vfprintf.c (EXTSIZ): Define.
3394         (vfprintf): Use EXTSIZ.
3395         (printf_positional): Likewise.
3397 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3399         * sysdeps/unix/sysv/linux/kernel-features.h
3400         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
3401         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
3402         <kernel-features.h>.
3403         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
3405         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3406         (__ASSUME_GETCPU_SYSCALL): Remove macro.
3408 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3410         Prevent multiple deletion of temporary files.
3411         * support/temp_file.c (struct temp_name_list): Add owner member.
3412         (add_temp_file): Record owner.
3413         (support_delete_temp_files): Delete file only if owner matches.
3414         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
3415         (do_prepare): Use create_temp_file instead of add_temp_file.
3416         Initialize temp_fd1, temp_fd2.
3417         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
3418         framework remove the temporary files.
3419         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
3420         (do_prepare): Use create_temp_file instead of add_temp_file.
3421         Initialize temp_fd1, temp_fd2, temp_fd3.
3422         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
3423         the test framework remove the temporary files.
3424         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
3425         deletion.
3426         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
3427         temporary directory.  It is removed by the test framework.
3428         * dirent/tst-scandir.c (do_test): Likewise.
3430 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3432         Delete temporary files in LIFO order.
3433         * support/temp_file.c (struct temp_name_list): Replace q member
3434         with next.
3435         (add_temp_file): Add new file to front of linked list.
3436         (support_delete_temp_files): Use next member.
3437         (support_print_temp_files): Likewise.
3439 2017-05-08  Florian Weimer  <fweimer@redhat.com>
3441         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3442         sys/ultrasound.h.
3443         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
3445 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
3447         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3448         Remove.
3449         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3450         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3451         (arch_minimum_kernel): Remove.
3452         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3453         * README: Update statement about Linux kernel requirements.
3455 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3457         * manual/llio.texi: Add preadv and pwritev documentation.
3459 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3461         [BZ #21455]
3462         * bits/stdint-intn.h: New file.
3463         * bits/stdint-uintn.h: Likewise.
3464         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
3465         bits/stdint-uintn.h.
3466         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
3467         <stdint.h>.
3468         * posix/sys/types.h: Include <bits/stdint-intn.h>.
3469         (__int8_t_defined): Do not define here.
3470         (int8_t): Likewise.
3471         (int16_t): Likewise.
3472         (int32_t): Likewise.
3473         (int64_t): Likewise.
3474         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
3475         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
3476         <stdint.h>.
3477         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
3478         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
3479         <bits/stdint-uintn.h>.
3480         (int8_t): Do not define here.
3481         (int16_t): Likewise.
3482         (int32_t): Likewise.
3483         (int64_t): Likewise.
3484         (uint8_t): Likewise.
3485         (uint16_t): Likewise.
3486         (uint32_t): Likewise.
3487         (uint64_t): Likewise.
3488         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
3489         variable.
3490         (test-xfail-XPG42/netdb.h/conform): Likewise.
3491         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
3492         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3493         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3494         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3496 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3498         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
3499         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
3500         the above.
3501         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3502         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3504 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3506         [BZ #21445]
3507         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
3509         [BZ #21457]
3510         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3511         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
3512         __glibc_reserved1.
3513         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
3514         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
3515         (struct _fpxreg): Likewise.
3516         [!__x86_64__] (struct _fpstate): Rename field reserved to
3517         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
3518         [__x86_64__] (struct _fpstate): Rename field padding to
3519         __glibc_reserved1.
3520         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
3521         Rename field reserved2 to __glibc_reserved2.
3522         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
3523         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
3524         __glibc_reserved1.
3525         [__x86_64__] (struct _libc_fpstate): Rename field padding to
3526         __glibc_reserved1.
3528 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3530         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
3531         variable name.
3533 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
3535         [BZ #21391]
3536         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
3537         Only call init_cpu_features.
3538         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
3539         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3540         * sysdeps/i386/dl-procinfo.h: Removed.
3541         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
3542         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
3543         <sysdeps/x86/dl-procinfo.h>.
3544         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
3545         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
3546         Include <sysdeps/x86/dl-procinfo.h> instead of
3547          <sysdeps/generic/dl-procinfo.h>.
3548         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
3549         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
3550         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
3551         (bit_cpu_MOVBE): Likewise.
3552         (bit_cpu_BMI1): Likewise.
3553         (bit_cpu_BMI2): Likewise.
3554         (index_cpu_BMI1): Likewise.
3555         (index_cpu_BMI2): Likewise.
3556         (index_cpu_LZCNT): Likewise.
3557         (index_cpu_MOVBE): Likewise.
3558         (index_cpu_POPCNT): Likewise.
3559         (reg_BMI1): Likewise.
3560         (reg_BMI2): Likewise.
3561         (reg_LZCNT): Likewise.
3562         (reg_MOVBE): Likewise.
3563         (reg_POPCNT): Likewise.
3564         * sysdeps/x86/dl-hwcap.h: New file.
3565         * sysdeps/x86/dl-procinfo.h: Likewise.
3566         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
3567         (_dl_x86_platforms): Likewise.
3569 2017-05-03  DJ Delorie  <dj@redhat.com>
3571         [BZ #21411]
3572         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
3574 2017-05-03  Phil Blundell  <pb@pbcl.net>
3576         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
3577         comments.
3579 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
3581         [BZ #20116]
3582         * nptl/pthread_create.c: Expand comments to describe
3583         semaphore-like and mutex-like uses of PD->lock.
3585 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3587         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
3588         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
3589         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
3590         auto-generation list.
3591         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3592         epoll_wait.
3593         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
3594         Remove epoll_wait.
3596         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3597         osf_select.
3598         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
3599         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
3600         osf_select from auto-generation list.
3601         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3602         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3603         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
3604         * sysdeps/unix/sysv/linux/select.c: New file.
3606         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
3607         * sysdeps/unix/sysv/linux/poll.c: New file.
3608         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
3609         auto-generation list.
3611 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
3613         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
3614         New macro.
3616 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
3618         [BZ #21179]
3619         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
3620         R_SPARC_REGISTER relocations.
3622 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3624         * include/unistd.h (__pread): Add libc_hidden_proto.
3625         (__pread64): Likewise.
3626         (__pwrite): Likewise.
3627         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
3628         (__pread64): Remove.
3629         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
3630         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
3631         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
3633 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3637 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3639         * nptl/tst-cancel4-common.c: Use libsupport.
3640         * nptl/tst-cancel4-common.h: Likewise.
3641         * nptl/tst-cancel4.c (tf_read): Likewise.
3642         (tf_readv): Likewise.
3643         (tf_write): Likewise.
3644         (tf_writev): Likewise.
3645         (tf_sleep): Likewise.
3646         (tf_usleep): Likewise.
3647         (tf_nanosleep): Likewise.
3648         (tf_select): Likewise.
3649         (tf_pselect): Likewise.
3650         (tf_poll): Likewise.
3651         (tf_ppoll): Likewise.
3652         (tf_wait): Likewise.
3653         (tf_waitpid): Likewise.
3654         (tf_waitid): Likewise.
3655         (tf_sigpause): Likewise.
3656         (tf_sigsuspend): Likewise.
3657         (tf_sigwait): Likewise.
3658         (tf_sigwaitinfo): Likewise.
3659         (tf_sigtimedwait): Likewise.
3660         (tf_pause): Likewise.
3661         (tf_accept): Likewise.
3662         (tf_send): Likewise.
3663         (tf_recv): Likewise.
3664         (tf_recvfrom): Likewise.
3665         (tf_recvmsg): Likewise.
3666         (tf_open): Likewise.
3667         (tf_close): Likewise.
3668         (tf_pread): Likewise.
3669         (tf_pwrite): Likewise.
3670         (tf_preadv): Likewise.
3671         (tf_pwritev): Likewise.
3672         (tf_fsync): Likewise.
3673         (tf_fdatasync): Likewise.
3674         (tf_msync): Likewise.
3675         (tf_sendto): Likewise.
3676         (tf_sendmsg): Likewise.
3677         (tf_creat): Likewise.
3678         (tf_connect): Likewise.
3679         (tf_tcdrain): Likewise.
3680         (tf_msgrcv): Likewise.
3681         (tf_msgsnd): Likewise.
3682         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
3683         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
3685         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
3686         expected arguments.
3687         (do_test): Adapt to use libsupport.
3689 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
3691         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
3693         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
3694         (PF_MAX): Set to 44.
3695         (AF_SMC): New macro.
3697         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3698         kernel version to 4.11.
3700 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3702         [BZ #21280]
3703         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
3704         signal of subnormals and adjust the exponent of power of 2 down
3705         when low part has opposite sign.
3707 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3709         * sysdeps/powerpc/powerpc64le/Implies: New file.
3710         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
3711         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
3712         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
3713         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
3714         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
3715         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
3716         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
3717         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
3718         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
3719         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
3720         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
3721         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
3722         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
3723         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
3724         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
3725         * sysdeps/powerpc/preconfigure: New file.
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
3727         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
3729 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
3731         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
3732         inclusion.
3733         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
3734         Remove.
3736 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
3738         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
3739         (XPG3): Rename standard to XPG4.
3740         * conform/Makefile: Likewise.
3741         * conform/list-header-symbols.pl: Likewise.
3742         * conform/data/aio.h-data: Likewise.
3743         * conform/data/arpa/inet.h-data: Likewise.
3744         * conform/data/complex.h-data: Likewise.
3745         * conform/data/ctype.h-data: Likewise.
3746         * conform/data/dlfcn.h-data: Likewise.
3747         * conform/data/fcntl.h-data: Likewise.
3748         * conform/data/fenv.h-data: Likewise.
3749         * conform/data/float.h-data: Likewise.
3750         * conform/data/fmtmsg.h-data: Likewise.
3751         * conform/data/ftw.h-data: Likewise.
3752         * conform/data/grp.h-data: Likewise.
3753         * conform/data/inttypes.h-data: Likewise.
3754         * conform/data/iso646.h-data: Likewise.
3755         * conform/data/langinfo.h-data: Likewise.
3756         * conform/data/libgen.h-data: Likewise.
3757         * conform/data/limits.h-data: Likewise.
3758         * conform/data/locale.h-data: Likewise.
3759         * conform/data/math.h-data: Likewise.
3760         * conform/data/mqueue.h-data: Likewise.
3761         * conform/data/ndbm.h-data: Likewise.
3762         * conform/data/net/if.h-data: Likewise.
3763         * conform/data/netdb.h-data: Likewise.
3764         * conform/data/netinet/in.h-data: Likewise.
3765         * conform/data/poll.h-data: Likewise.
3766         * conform/data/pthread.h-data: Likewise.
3767         * conform/data/pwd.h-data: Likewise.
3768         * conform/data/sched.h-data: Likewise.
3769         * conform/data/search.h-data: Likewise.
3770         * conform/data/semaphore.h-data: Likewise.
3771         * conform/data/signal.h-data: Likewise.
3772         * conform/data/spawn.h-data: Likewise.
3773         * conform/data/stdbool.h-data: Likewise.
3774         * conform/data/stdint.h-data: Likewise.
3775         * conform/data/stdio.h-data: Likewise.
3776         * conform/data/stdlib.h-data: Likewise.
3777         * conform/data/string.h-data: Likewise.
3778         * conform/data/strings.h-data: Likewise.
3779         * conform/data/stropts.h-data: Likewise.
3780         * conform/data/sys/mman.h-data: Likewise.
3781         * conform/data/sys/resource.h-data: Likewise.
3782         * conform/data/sys/select.h-data: Likewise.
3783         * conform/data/sys/socket.h-data: Likewise.
3784         * conform/data/sys/stat.h-data: Likewise.
3785         * conform/data/sys/statvfs.h-data: Likewise.
3786         * conform/data/sys/time.h-data: Likewise.
3787         * conform/data/sys/timeb.h-data: Likewise.
3788         * conform/data/sys/types.h-data: Likewise.
3789         * conform/data/sys/uio.h-data: Likewise.
3790         * conform/data/sys/un.h-data: Likewise.
3791         * conform/data/sys/wait.h-data: Likewise.
3792         * conform/data/syslog.h-data: Likewise.
3793         * conform/data/termios.h-data: Likewise.
3794         * conform/data/tgmath.h-data: Likewise.
3795         * conform/data/time.h-data: Likewise.
3796         * conform/data/ucontext.h-data: Likewise.
3797         * conform/data/unistd.h-data: Likewise.
3798         * conform/data/utmpx.h-data: Likewise.
3799         * conform/data/varargs.h-data: Likewise.
3800         * conform/data/wchar.h-data: Likewise.
3801         * conform/data/wctype.h-data: Likewise.
3803 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3805         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3806         version to 7 branch.
3808 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3810         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3811         earlyclobber to output operand of sqrt insn.
3812         (__ieee754_sqrtf): Ditto.
3814 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3816         [BZ #21426]
3817         * misc/bits/types/struct_iovec.h: New file.
3818         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3819         * include/bits/types/struct_iovec.h: New file.
3820         * bits/uio.h (struct iovec): Replace by inclusion of
3821         <bits/types/struct_iovec.h>.
3822         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3823         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3824         of <sys/uio.h>.
3825         * nptl/tst-cancel4.c: Include <sys/uio.h>
3826         * posix/test-errno.c: Likewise.
3827         * support/resolv_test.c: Likewise.
3828         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3829         Remove.
3830         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3831         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3832         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3834         * conform/data/sys/socket.h-data (*_t): Allow.
3836 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3838         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3839         assignment.
3841 2017-04-24  Daurnimator  <quae@daurnimator.com>
3842             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3844         [BZ #21340]
3845         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3846         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3847         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3848         valid flags.
3849         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3850         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3851         POSIX_SPAWN_SETSID.
3852         * sysdeps/posix/spawni.c (__spawni): Likewise.
3853         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3854         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3856 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3858         * sysdeps/generic/math_private.h: Move the declaration of many
3859         functions to sysdeps/generic/math_private_calls.h.
3860         * sysdeps/generic/math_private_calls.h: New file with the
3861         declarations of the functions removed from math_private.h
3862         macroized by floating-point type.
3864 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3866         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3867         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3868         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3869         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3870         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3871         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3873 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3875         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3876         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3877         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3878         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3879         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3880         New Define.
3882 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3884         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3885         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3886         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3887         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3888         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3889         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3891 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3893         * sysdeps/s390/multiarch/ifunc-resolve.h
3894         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3895         * sysdeps/s390/multiarch/8bit-generic.c
3896         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3897         define ifunc resolvers.
3899 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3901         [BZ #20424]
3902         * manual/memory.texi (Replacing malloc): New section.
3903         (Allocating Storage For Program Data): Reference it.
3904         (The GNU Allocator): Likewise.
3906 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3908         * stdlib/Versions (__strtod_internal): List explicitly, not as
3909         wildcard.
3910         (__strtof_internal): Likewise.
3911         (__strtold_internal): Likewise.
3912         (__strtol_internal): Likewise.
3913         (__strtoll_internal): Likewise.
3914         (__strtoul_internal): Likewise.
3915         (__strtoull_internal): Likewise.
3916         (__strtoq_internal): Likewise.
3917         (__strtouq_internal): Likewise.
3918         * wcsmbs/Versions (__wcstod_internal): Likewise.
3919         (__wcstof_internal): Likewise.
3920         (__wcstold_internal): Likewise.
3921         (__wcstol_internal): Likewise.
3922         (__wcstoll_internal): Likewise.
3923         (__wcstoul_internal): Likewise.
3924         (__wcstoull_internal): Likewise.
3926 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3928         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3929         struct timespec definition.
3931 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3933         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3935 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3937         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3938         * inet/rexec.c (rexec_af): Likewise.
3940 2017-04-19  Zack Weinberg  <zackw@panix.com>
3942         * posix/tst-mmap-offset.c: Include stdint.h.
3943         * resolv/tst-ns_name_compress.c: Include string.h.
3944         * resolv/tst-resolv-edns.c: Include resolv.h.
3946 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3948         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3949         with __glibc_likely.
3950         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3951         Replace __builtin_expect with __glibc_unlikely.
3952         * resolv/res_init.c (__res_vinit): Likewise.
3953         * resolv/res_query.c (__libc_res_nquery): Likewise.
3954         * resolv/res_send.c (__libc_res_nsend): Likewise.
3956 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3958         [BZ #15722]
3959         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3960         with SOCK_CLOEXEC.
3961         * resolv/res_send.c (send_vc, reopen): Likewise.
3962         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3963         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3966         * inet/rexec.c (rexec_af): Add comment.
3967         * inet/rcmd.c (rresvport_af): Likewise.
3969 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3971         * nscd/connections.c (have_accept4): Removed definition.
3972         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3973         accept4 works.
3974         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3975         ia64 because that was the first version with accept4 support.
3976         * support/Makefile (libsupport-routines): Add xaccept4.
3977         * support/xsocket.h (xaccept4): Declare.
3978         * support/xaccept4.c: New file.
3979         * socket/tst-accept4.c: New file.
3980         * socket/Makefile (tests): Add tst-accept4.
3981         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3982         definition.
3983         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3984         comment.
3985         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3986         implementation is available.
3987         (accept4): Use the system call if available, otherwise use the
3988         socket call.
3989         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3990         Set to 3.2.18.
3991         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3992         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3993         accept4 is unconditionally available in later 3.2 stable kernels.
3994         (__ASSUME_ACCEPT4_SYSCALL): Define.
3995         * sysdeps/unix/sysv/linux/kernel-features.h
3996         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3997         definitions.
3998         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3999         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4001 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4003         * conform/Makefile (tests-special): Do not make addition of
4004         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4005         (generated): Do not make addition of $(conformtest-header-base)
4006         conditional on [$(cross-compiling) = no].
4008         [BZ #21267]
4009         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4010         if defined by <asm/socket.h> and not previously defined.
4011         (IOCSIZE_SHIFT): Likewise.
4012         (IOC_IN): Likewise.
4013         (IOC_INOUT): Likewise.
4014         (IOC_OUT): Likewise.
4016 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4018         [BZ #21396]
4019         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4020         Prefer_No_AVX512 if AVX512ER isn't available.
4021         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4022         (index_arch_Prefer_No_AVX512): Likewise.
4023         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4024         AVX512 version if Prefer_No_AVX512 is set.
4025         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4026         Likewise.
4027         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4028         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4029         Likewise.
4030         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4031         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4032         Likewise.
4033         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4034         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4035         Likewise.
4037 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4039         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4040         Prefer_No_VZEROUPPER if AVX512ER is available.
4041         * sysdeps/x86/cpu-features.h
4042         (bit_cpu_AVX512PF): New.
4043         (bit_cpu_AVX512ER): Likewise.
4044         (bit_cpu_AVX512CD): Likewise.
4045         (bit_cpu_AVX512BW): Likewise.
4046         (bit_cpu_AVX512VL): Likewise.
4047         (index_cpu_AVX512PF): Likewise.
4048         (index_cpu_AVX512ER): Likewise.
4049         (index_cpu_AVX512CD): Likewise.
4050         (index_cpu_AVX512BW): Likewise.
4051         (index_cpu_AVX512VL): Likewise.
4052         (reg_AVX512PF): Likewise.
4053         (reg_AVX512ER): Likewise.
4054         (reg_AVX512CD): Likewise.
4055         (reg_AVX512BW): Likewise.
4056         (reg_AVX512VL): Likewise.
4058 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4060         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4061         O_CLOEXEC is defined.
4062         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4063         * io/Makefile (aux): Remove.
4064         * io/have_o_cloexec.c: Remove file.
4065         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4066         defined and works.
4067         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4068         defined.
4069         * login/utmp_file.c (O_flags): Remove definition.
4070         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4071         O_CLOEXEC works.
4072         (pututline_file): Likewise.
4073         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4074         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4075         definition.
4076         (internal_setgrent): Assume that O_CLOEXEC works.
4077         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4078         Remove definition.
4079         (internal_setgrent): Assume that O_CLOEXEC works.
4080         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4081         definition.
4082         (internal_setpwent): Assume that O_CLOEXEC works.
4083         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4084         definition.
4085         (internal_setspent): Assume that O_CLOEXEC works.
4086         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4087         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4088         O_CLOEXEC is defined and works.
4089         * nss/Makefile (libnss_files-routines): Remove
4090         files-have_o_cloexec.
4091         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4092         defined.
4093         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4094         O_CLOEXEC is defined and works.
4095         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4096         * nss/nss_files/files-have_o_cloexec.c: Remove.
4097         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4098         defined.
4099         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4100         and works.
4101         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4102         definition.
4103         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4104         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4105         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4106         (__opendirat, __opendir): Adjust opendir_oflags call.
4107         (check_have_o_cloexec): Remove.
4108         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4109         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4110         defined.
4111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4112         Remove definition.
4114 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4116         * include/unistd.h (__have_dup3): Remove declaration.
4117         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4118         dup3 is available.
4119         * libio/freopen64.c (freopen64): Likewise.
4120         * socket/Makefile (aux): Remove have_sock_cloexec.
4121         * socket/have_sock_cloexec.c: Remove file.
4122         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4123         definition.
4124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4125         Likewise.
4126         * sysdeps/nacl/kernel-features.h: Update comment.
4128 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4130         * include/unistd.h (__have_pipe2): Remove declaration.
4131         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4132         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4133         available.
4134         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4135         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4136         Remove definition.
4138 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4140         * malloc/malloc.c (cfree): Turn into compat symbol.
4141         (__cfree): Remove alias.
4142         * stdlib/stdlib.h (cfree): Remove declaration.
4143         * malloc/malloc.h (cfree): Likewise.
4144         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4145         * malloc/Versions (GLIBC_2.26): Add.
4147 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4149         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4150         (sysdep_routines): Add strrchr-power8.
4151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4152         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4153         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4154         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4155         (strrchr): Add __strrchr_power8 to ifunc list.
4156         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4158 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4160         [BZ #21357]
4161         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4162         Call free() outside of mutex.
4164 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4166         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4167         is defined.
4168         * elf/rtld.c (process_envvars): Likewise.
4169         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4170         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4171         O_NOFOLLOW directly.
4172         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4174 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4176         [BZ #21369]
4177         Remove EDNS fallback.
4178         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4179         handling.
4180         * resolv/res_send.c (send_dg): Likewise.
4181         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4182         "tcp." prefixes.
4183         (do_test): Send a "formerr."-prefixed query in an attempt to
4184         trigger EDNS fallback.
4186 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4188         [BZ #21361]
4189         Limit EDNS buffer size to 1200 bytes.
4190         * include/resolv.h (__res_nopt): Remove declaration.
4191         * resolv/Makefile (tests): tst-resolv-edns.
4192         (tst-resolv-edns): Link with -lresolv, -lpthread.
4193         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4194         interval [512, 1200].
4195         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4196         we can resize the buffer.
4197         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4198         (__res_nopt): Declare.
4199         * resolv/tst-resolv-edns.c: New file.
4200         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4201         (struct resolv_response_context): Add edns member.
4202         * resolv/resolv_test.c (struct query_info): Add edns member.
4203         (parse_query): Extract EDNS information from the query.
4204         (server_thread_udp_process_one): Propagate EDNS data.
4205         (server_thread_tcp_client): Likewise.
4207 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4209         [BZ #21359]
4210         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4211         byte in the destination buffer.  Avoid out-of-bounds pointer
4212         arithmetic.
4213         * resolv/Makefile (tests): Add tst-ns_name_compress.
4214         (tst-ns_name_compress): Link with -lresolv.
4215         * resolv/tst-ns_name_compress.c: New file.
4216         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4217         (response): Recognize LONG_NAME.
4218         (do_test): Add LONG_NAME tests.
4219         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4220         for ns_name_unpack.  Add tests for ns_name_pton and
4221         ns_name_compress.
4223 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4225         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4226         (res_nisourserver): Remove definition.
4227         (p_section, res_npquery, res_nisourserver): Remove declaration.
4228         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4229         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4230         ... here.
4231         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4232         <resolv.h>.
4233         * resolv/res_query.c: Likewise.
4234         * resolv/res_debug.c (p_section): Define as static.
4236 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4238         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4239         strncat-power8.
4240         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4241         __strncat_power8 to ifunc list.
4242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4243         (strncat): Add __strncat_power8 to list of strncat functions.
4244         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4246 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4248         [BZ #21270]
4249         * posix/tst-mmap-offset.c (do_prepare): New function.
4250         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4251         (do_test_bz21270): New function.
4252         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4253         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4254         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4255         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4256         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4257         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4258         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4259         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4260         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4261         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4262         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4263         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4264         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4265         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4266         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4267         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4268         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4269         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4270         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4271         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4272         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4273         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4274         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4275         from auto-generation list.
4276         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4278         * sysdeps/unix/sysv/linux/mmap.c: New file.
4279         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4280         offsets and support for mmap2 syscall.
4282         * posix/globtest.sh: Add cleanup routine on trap 0.
4284 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4286         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4287         implementation-specific function name and remove unneeded
4288         macros definition.
4289         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4290         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4291         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4292         name if not defined and pass as parameter to macros accordingly.
4293         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4294         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4297         implementation-specific function name and remove unneeded
4298         macros definition.
4299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4300         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4301         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4302         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4303         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4304         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4305         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4306         name if not defined and pass as parameter to macros accordingly.
4307         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4308         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4309         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4310         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4311         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4312         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4314         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4315         implementation-specific function name and remove unneeded macros
4316         definition.
4317         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4318         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4319         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4320         function name if not defined and pass as parameter to macros
4321         accordingly.
4322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4323         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4325         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4326         implementation-specific function name and remove unneeded macros
4327         definition.
4328         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4329         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4330         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
4331         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4332         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
4333         not defined and pass as parameter to macros accordingly.
4334         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4335         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4336         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4337         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
4339         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
4340         strcasestr implementation name and remove unneeded macros definition.
4341         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
4342         strstr implementation name and remove unneeded macros definition.
4343         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
4344         name if not defined and pass as parameter to macros accordingly.
4345         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
4347         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
4348         implementation-specific function name and remove unneeded macros
4349         definition.
4350         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
4351         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
4352         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
4353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
4354         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
4355         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
4356         function name if not defined and pass as parameter to macros
4357         accordingly.
4358         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
4359         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
4360         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
4361         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
4363         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
4364         the strlen implementation name and remove unneeded macros definition.
4365         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
4366         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4367         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
4368         the strnlen implementation name and remove unneeded macros definition.
4369         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
4370         name if not defined and pass as parameter to macros accordingly.
4371         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
4372         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
4373         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
4376         the implementation-specific function name and remove unneeded
4377         macros definition.
4378         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
4379         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
4380         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
4381         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4382         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
4383         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
4384         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
4385         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
4386         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4387         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
4388         name if not defined and pass as parameter to macros accordingly.
4389         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
4390         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4391         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
4392         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
4393         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
4394         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
4395         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
4396         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
4399         implementation-specific function name and remove unneeded macros
4400         definition.
4401         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
4402         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
4403         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
4404         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
4405         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
4406         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
4407         function name if not defined.
4408         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
4409         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
4411 2017-04-11  Paul Clarke  <pc@us.ibm.com>
4413         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
4414         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
4415         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
4416         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
4418 2017-04-11  Florian Weimer  <fweimer@redhat.com>
4419             Zack Weinberg  <zackw@panix.com>
4421         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
4422         readdir64 as thread-safe.  Update warning about readdir_r.
4424 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4426         * sysdeps/unix/sysv/linux/x86/Implies: New file.
4427         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
4428         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
4429         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
4430         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
4431         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
4432         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4434 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
4436         * sysdeps/i386/dl-procinfo.c: Include
4437         <sysdeps/x86/dl-procinfo.c>.
4438         * sysdeps/x86_64/dl-procinfo.c: Likewise.
4439         * sysdeps/x86/dl-procinfo.c: New file.
4441 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4443         * sysdeps/generic/math_private.h: Remove declarations of
4444         many functions that are already declared in math.h.
4445         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
4446         declaration for __frexpl.
4447         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
4448         the declarations for __scalbnl and fabsl.
4450 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
4452         [BZ #20831]
4453         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
4454         of __mprotect to change protection on the excess portion
4455         to disallow all access.
4457 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
4459         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
4460         HAS_CPU_FEATURE to check for SSE.
4461         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4462         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
4463         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
4464         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
4465         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
4466         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
4467         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
4468         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
4469         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4470         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
4471         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4472         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4473         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
4474         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
4475         (index_cpu_SSE): Likewise.
4476         (reg_SSE): Likewise.
4478 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4480         * posix/getopt1.c: Include <config.h>, not "config.h".
4482 2017-04-07  Zack Weinberg  <zackw@panix.com>
4484         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
4485         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
4486         Mention in top-of-file boilerplate that these files are shared
4487         with gnulib.
4488         * posix/getopt.h, posix/bits/getopt_posix.h:
4489         Mention in top-of-file boilerplate that these files are NOT shared
4490         with gnulib, unlike the rest of the getopt implementation.
4492         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
4493         New files, intended to be shared with gnulib.
4494         * posix/bits/getopt_posix.h:
4495         New file, not intended to be shared with gnulib.
4496         * posix/getopt.h: Now just includes features.h,
4497         bits/getopt_core.h, and bits/getopt_ext.h.  Will
4498         no longer be shared with gnulib.
4499         * include/bits/getopt_core.h, include/bits/getopt_ext.h
4500         * include/bits/getopt_posix.h: New wrappers.
4501         * posix/Makefile: Install new headers.
4502         * posix/unistd.h, libio/stdio.h:
4503         Include bits/getopt_posix.h instead of getopt.h.
4505         * include/libc-symbols.h: For gnulib compatibility, define
4506         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
4507         _GL_ATTRIBUTE_CONST.
4508         * posix/getopt.c (_getopt_initialize): Mark argc and argv
4509         parameters with _GL_UNUSED.
4511         * posix/getopt.c: When used standalone, define __libc_use_alloca
4512         as always false and alloca to abort if called.
4513         (process_long_option): Rewrite handling of ambiguous long options
4514         to use a single boolean vector, not a linked list; use
4515         __libc_use_alloca to decide whether to allocate this using alloca.
4516         * posix/tst-getopt_long1.c: Adjust text of expected error message.
4518         * posix/getopt.c (process_long_option): New function split out
4519         from _getopt_internal_r.
4520         (_getopt_internal_r): Replace both copies of the long-option
4521         processing code with calls to process_long_option.
4522         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
4523         (do_test): Differentiate argv[0] in the two subtests.
4525         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
4526         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
4527         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
4529         * posix/getopt.h: Add backup definition of __nonnull for
4530         consistency with gnulib.  Define __getopt_argv_const to const
4531         if not already defined.
4532         (getopt): Update doc comment from gnulib.  Prototype
4533         unconditionally.  Add __nonnull annotation.
4534         (__posix_getopt): Add __nonnull annotation.
4535         (getopt_long, getopt_long_only): Use __getopt_argv_const in
4536         prototypes for consistency with gnulib.  Add __nonnull
4537         annotations.
4538         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
4539         (getopt_internal): Change 'argv' argument to type 'char **'.
4540         Remove now-unnecessary casts.
4541         (getopt, __posix_getopt): Eliminate repetition with a macro.
4542         Cast 'argv' to 'char **' when calling _getopt_internal.
4543         * posix/getopt1.c (getopt_long, getopt_long_only):
4544         Use __getopt_argv_const for consistency with gnulib.
4545         Cast 'argv' to 'char **' when calling _getopt_internal.
4546         (_getopt_long_r, _getopt_long_only_r):
4547         Change 'argv' argument to type 'char **'.
4548         (main): Constify 'long_options'.
4549         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
4550         (_getopt_long_r, _getopt_long_only_r):
4551         Change 'argv' argument to type 'char **'.
4553         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
4554         (locked_vfxprintf): New helper function. Handle arbitrary
4555         multibyte strings, not just ASCII.
4556         * include/stdio.h: Declare __fxprintf_nocancel.
4557         * posix/getopt.c: When _LIBC is defined, define fprintf to
4558         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
4559         to _IO_funlockfile.  When neither _LIBC nor
4560         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
4561         funlockfile as no-ops.
4562         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
4563         the standalone error-printing code can now be used for libc as
4564         well.  Add an flockfile/funlockfile pair around one case where
4565         the error message is printed in several chunks.  Don't use fputc.
4566         * posix/tst-getopt-cancel.c: New test.
4567         * posix/Makefile: Run it.
4569         * posix/getopt.c (_getopt_internal_r): Don't increment
4570         d->optind a second time when reporting ambiguous -W options.
4572         * posix/getopt_int.h: Include getopt.h.
4573         Use impl-namespace names for all arguments to _getopt_internal and
4574         _getopt_internal_r.
4575         Declare __ordering enum outside the struct.
4576         Harmonize comments with gnulib.
4577         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
4578         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
4579         #ifdef TEST block and make unconditional.  Do not define NULL.
4580         * posix/getopt.c: Partial merge from gnulib, covering the
4581         initial includes and global declarations, commentary, and
4582         a couple of semantically-neutral code changes.
4584         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
4585         Use '...' instead of `...' for quotation marks inside
4586         comments and strings.
4588         * config.h.in (USE_NONOPTION_FLAGS): Remove.
4589         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
4590         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4591         * posix/getopt_int.h: Likewise.
4592         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
4593         __libc_argc and __libc_argv externs, which were only used by
4594         #ifdef USE_NONOPTION_FLAGS blocks.
4595         * posix/getopt_init.c: Remove file.
4596         * posix/Makefile (routines): Remove getopt_init.
4597         * include/getopt.h: Don't declare __getopt_initialize_environment.
4598         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
4599         a comment.
4601 2017-04-07  Florian Weimer  <fweimer@redhat.com>
4603         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
4605 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4607         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
4608         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
4609         to __wrap_.udiv.
4610         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
4611         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
4613         * sysdeps/i386/symbol-hacks.h: New file.
4614         * sysdeps/m68k/symbol-hacks.h: New file.
4615         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
4616         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
4617         * sysdeps/unix/sysv/linux/i386/Makefile
4618         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
4619         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4620         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4621         * sysdeps/unix/sysv/linux/m68k/Makefile
4622         [$(subdir) = csu] (sysdep_routines): Likewise.
4623         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4624         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4626         [$(subdir) = csu] (sysdep_routines): Likewise.
4627         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4628         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4629         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4630         [$(subdir) = csu] (sysdep_routines): Likewise.
4631         [$(subdir) = csu] (sysdep-only-routines): Likewise.
4632         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
4633         * sysdeps/wordsize-32/Makefile: Remove file.
4634         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
4635         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
4637 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
4639         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
4640         (TEST_FUNCTION_ARGV): New.
4642 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4644         * elf/next.c: Import support/test-driver.c instead of
4645         test-skeleton.c and delete TEST_FUNCTION macro definition.
4646         * elf/nodelete.c: Likewise.
4647         * elf/order2.c: Likewise.
4648         * elf/tst-_dl_addr_inside_object.c: Likewise.
4649         * elf/tst-addr1.c: Likewise.
4650         * elf/tst-align.c: Likewise.
4651         * elf/tst-align2.c: Likewise.
4652         * elf/tst-audit11.c: Likewise.
4653         * elf/tst-audit12.c: Likewise.
4654         * elf/tst-audit2.c: Likewise.
4655         * elf/tst-audit9.c: Likewise.
4656         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
4657         * elf/tst-deep1.c: Likewise.
4658         * elf/tst-dl-iter-static.c: Likewise.
4659         * elf/tst-dlmodcount.c: Likewise.
4660         * elf/tst-dlmopen1.c: Likewise.
4661         * elf/tst-dlmopen2.c: Likewise.
4662         * elf/tst-dlmopen3.c: Likewise.
4663         * elf/tst-dlopen-aout.c: Likewise.
4664         * elf/tst-dlopenrpath.c: Likewise.
4665         * elf/tst-dlsym-error.c: Likewise.
4666         * elf/tst-execstack-needed.c: Likewise.
4667         * elf/tst-execstack-prog.c: Likewise.
4668         * elf/tst-execstack.c: Likewise.
4669         * elf/tst-global1.c: Likewise.
4670         * elf/tst-gnu2-tls1.c: Likewise.
4671         * elf/tst-latepthread.c: Likewise.
4672         * elf/tst-leaks1.c: Likewise.
4673         * elf/tst-linkall-static.c: Likewise.
4674         (do_test): New function.
4675         * elf/tst-nodelete-opened.c: Likewise.
4676         * elf/tst-nodelete.cc: Likewise.
4677         * elf/tst-nodelete2.c: Likewise.
4678         * elf/tst-noload.c: Likewise.
4679         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
4680         * elf/tst-order-main.c: Likewise.
4681         * elf/tst-pathopt.c: Likewise.
4682         * elf/tst-pie2.c: Likewise.
4683         * elf/tst-piemod1.c: Likewise.
4684         * elf/tst-prelink.c: Likewise.
4685         * elf/tst-protected1a.c: Likewise.
4686         * elf/tst-protected1b.c: Likewise.
4687         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
4688         and define _GNU_SOURCE macro.
4689         (cmdline_process_function): New function.
4690         * elf/tst-relsort1.c: Likewise.
4691         * elf/tst-stackguard1.c: Likewise, import getopt.h,
4692         and define _GNU_SOURCE macro.
4693         (cmdline_process_function): New function.
4694         * elf/tst-thrlock.c: Likewise.
4695         * elf/tst-tls-dlinfo.c: Likewise.
4696         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
4697         * elf/tst-tls1.c: Likewise.
4698         * elf/tst-tls10.c: Likewise.
4699         * elf/tst-tls11.c: Likewise.
4700         * elf/tst-tls12.c: Likewise.
4701         * elf/tst-tls13.c: Likewise.
4702         * elf/tst-tls14.c: Likewise.
4703         * elf/tst-tls15.c: Likewise.
4704         * elf/tst-tls16.c: Likewise.
4705         * elf/tst-tls17.c: Likewise.
4706         * elf/tst-tls18.c: Likewise.
4707         * elf/tst-tls19.c: Likewise.
4708         * elf/tst-tls2.c: Likewise.
4709         * elf/tst-tls3.c: Likewise.
4710         * elf/tst-tls4.c: Likewise.
4711         * elf/tst-tls5.c: Likewise.
4712         * elf/tst-tls6.c: Likewise.
4713         * elf/tst-tls7.c: Likewise.
4714         * elf/tst-tls8.c: Likewise.
4715         * elf/tst-tls9.c: Likewise.
4716         * elf/tst-tlsalign-extern.c: Likewise.
4717         * elf/tst-tlsalign.c: Likewise.
4718         * elf/tst-unique1.c: Likewise.
4719         * elf/tst-unique2.c: Likewise.
4720         * elf/vismain.c: Likewise.
4722 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4724         * string/test-strnlen.c (do_page_tests): New function
4725         to check length of strings ending at the page boundary.
4726         (test_main): Added call to the do_page_tests function.
4728 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4729             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4731         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4732         (sysdep_routines): Add strnlen-power8.
4733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4734         (strnlen): Add __strnlen_power8 to list of strnlen functions.
4735         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
4736         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
4737         (__strnlen): Add __strnlen_power8 to ifunc list.
4738         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
4740 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4742         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
4743         the TEST_FUNCTION macro definition.
4744         * wcsmbs/tst-mbrtowc2.c: Likewise.
4745         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4746         * wcsmbs/tst-wchar-h.c: Likewise.
4747         * wcsmbs/tst-wcpncpy.c: Likewise.
4748         * wcsmbs/tst-wcrtomb.c: Likewise.
4749         * wcsmbs/tst-wcsnlen.c: Likewise.
4750         * wcsmbs/tst-wcstof.c: Likewise.
4752 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4754         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
4755         CALL_THREAD_FCT macro usage.
4756         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
4757         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
4758         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
4760         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
4761         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4762         (__ASSUME_REQUEUE_PI): Likewise.
4763         * sysdeps/unix/sysv/linux/kernel-features.h
4764         (__ASSUME_REQUEUE_PI): Likewise.
4765         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4766         (__ASSUME_REQUEUE_PI): Likewise.
4767         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4768         (__ASSUME_REQUEUE_PI): Likewise.
4769         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4770         (__ASSUME_REQUEUE_PI): Likewise.
4772 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4774         * resolv/tst-resolv-canonname.c: New file.
4775         * resolv/Makefile (tests): Add tst-resolv-canonname.
4776         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
4778 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4780         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
4781         Declare.
4782         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
4783         (NS_MAXCDNAME): Remove definition.
4784         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4785         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
4786         (NS_MAXCDNAME): Remove definition.
4787         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
4789 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4791         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
4792         call whose result is not used.
4794 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4796         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4797         * resolv/Makefile (tests): Add tst-ns_name.
4798         (tst-ns_name): Link with -lresolv.
4799         (tst-ns_name.out): Depend on the input data file.
4801 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4803         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4804         Clobber also r14.
4806 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4808         [BZ #21253]
4809         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4810         slack space by 32KiB.
4812 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4814         [BZ #21338]
4815         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4816         instead of incorrect do_set_arena_test
4818 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4820         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4821         * math/bits/math-finite.h: Likewise.
4823 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4825         [BZ #21289]
4826         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4828 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4830         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4831         non expected inotify_add_watch and quotactl return.
4833 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4835         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4836         to int32_t.
4837         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4838         as returning int32_t.
4840 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4842         * math/math.h: Include bits/math-finite.h once per
4843         floating-point type.
4844         * math/bits/math-finite.h: Macroize all declarations by
4845         floating-point type.
4847 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4849         [BZ #21182]
4850         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4851         near end of a page.
4852         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4853         overflow calculation.
4855 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4857         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4858         (IMPL) Call with 1 instead of 0 as argument.
4860 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4862         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4863         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4864         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4865         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4866         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4867         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4868         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4869         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4870         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4871         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4872         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4873         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4874         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4875         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4876         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4877         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4878         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4879         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4880         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4881         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4882         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4883         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4884         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4885         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4886         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4887         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4888         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4889         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4890         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4891         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4892         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4893         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4894         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4895         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4896         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4897         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4898         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4899         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4900         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4901         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4902         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4903         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4904         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4905         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4906         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4907         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4908         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4909         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4910         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4911         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4912         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4913         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4914         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4915         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4916         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4917         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4918         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4919         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4920         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4921         defined.
4922         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4923         __NR_setgroups32 if defined.
4924         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4925         if defined.
4926         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4927         __NR_setresgid32 is defined.
4928         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4929         __NR_setresuid32 if defined.
4930         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4931         __NR_setreuid32 if defined.
4932         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4933         defined.
4934         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4935         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4936         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4937         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4938         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4939         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4940         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4941         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4942         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4943         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4944         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4945         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4946         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4947         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4948         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4949         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4950         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4951         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4952         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4953         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4954         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4955         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4956         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4957         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4958         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4959         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4960         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4961         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4962         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4963         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4964         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4965         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4966         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4967         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4968         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4969         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4970         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4971         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4972         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4973         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4974         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4975         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4976         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4977         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4978         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4979         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4980         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4981         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4982         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4983         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4984         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4985         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4986         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4987         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4988         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4989         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4990         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4991         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4992         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4993         defined.
4994         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4995         __NR_setgroups32 if defined.
4996         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4997         if defined.
4998         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4999         __NR_setresgid32 is defined.
5000         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5001         __NR_setresuid32 if defined.
5002         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5003         __NR_setreuid32 if defined.
5004         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5005         defined.
5007 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5009         [BZ #21277]
5010         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5011         unconditionally.
5012         (IMAXBEL): Likewise.
5013         (IUTF8): Likewise.
5015 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5017         * sysdeps/aarch64/libm-test-ulps: Update.
5019 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5021         * README.tunables: Updated descriptions.
5022         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5023         * scripts/gen-tunables.awk: Updated the code related to the
5024         commit.
5026 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5028         * benchtests/Makefile (string-benchset): Add memcpy-random.
5029         * benchtests/bench-memcpy-random.c: New file.
5031 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5033         * stdio-common/printf.h (register_printf_modifier): Change the
5034         order of __wur and __THROW.
5035         (register_printf_type): Likewise.
5037 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5039         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5040         test_main ().
5041         (CMDLINE_PROCESS): Use function instead of defined macro.
5042         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5043         <suppport/support.h> to use set_fortify_handler().
5044         * string/bug-envz1.c: Import support/test-driver.c instead of
5045         test-skeleton.c.
5046         * string/bug-strcoll2.c: Likewise.
5047         * string/bug-strtok1.c: Likewise.
5048         * string/stratcliff.c: Likewise.
5049         * string/test-ffs.c: Likewise.
5050         * string/test-memccpy.c: Likewise.
5051         * string/test-memchr.c: Likewise.
5052         * string/test-memcmp.c: Likewise.
5053         * string/test-memcpy.c: Likewise.
5054         * string/test-memmem.c: Likewise.
5055         * string/test-memmove.c: Likewise.
5056         * string/test-memrchr.c: Likewise.
5057         * string/test-memset.c: Likewise.
5058         * string/test-rawmemchr.c: Likewise.
5059         * string/test-strcasecmp.c: Likewise.
5060         * string/test-strcasestr.c: Likewise.
5061         * string/test-strcat.c: Likewise.
5062         * string/test-strchr.c: Likewise.
5063         * string/test-strcmp.c: Likewise.
5064         * string/test-strcpy.c: Likewise.
5065         * string/test-string.h: Likewise.
5066         * string/test-strlen.c: Likewise.
5067         * string/test-strncasecmp.c: Likewise.
5068         * string/test-strncat.c: Likewise.
5069         * string/test-strncmp.c: Likewise.
5070         * string/test-strncpy.c: Likewise.
5071         * string/test-strnlen.c: Likewise.
5072         * string/test-strpbrk.c: Likewise.
5073         * string/test-strrchr.c: Likewise.
5074         * string/test-strspn.c: Likewise.
5075         * string/test-strstr.c: Likewise.
5076         * string/tst-bswap.c: Likewise.
5077         * string/tst-cmp.c: Likewise.
5078         * string/tst-endian.c: Likewise.
5079         * string/tst-inlcall.c: Likewise.
5080         * string/tst-strcoll-overflow.c: Likewise.
5081         * string/tst-strfry.c: Likewise.
5082         * string/tst-strlen.c: Likewise.
5083         * string/tst-strtok.c: Likewise.
5084         * string/tst-strtok_r.c: Likewise.
5085         * string/tst-strxfrm.c: Likewise.
5086         * string/tst-strxfrm2.c: Likewise.
5087         * string/tst-svc.c: Likewise.
5088         * string/tst-svc2.c: Likewise.
5090 2017-03-22  Zack Weinberg  <zackw@panix.com>
5092         * stdio-common/bug25.c: Include stdlib.h.
5093         * support/tst-support_format_dns_packet.c: Include stdio.h,
5094         stdlib.h, and string.h.
5095         * support/tst-support_record_failure.c: Include string.h.
5096         * support/tst-support_record_failure-2.sh: Adjust line number
5097         expectations and correct a typo in an error message.
5099 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5101         [BZ #21258]
5102         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5103         Define only if _dl_runtime_resolve is defined to
5104         _dl_runtime_resolve_sse_vex.
5105         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5106         Fallthrough to _dl_runtime_resolve_sse_vex.
5108 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5110         * INSTALL: Regenerated.
5112 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5114         * config.h.in: Add LINK_OBSOLETE_NSL.
5115         * config.make.in: Add build-obsolete-nsl.
5116         * configure.ac: Add obsolete-nsl option.
5117         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5118         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5119         * include/rpcsvc/nislib.h: Likewise.
5120         * include/rpcsvc/ypclnt.h: Likewise.
5121         * manual/install.texi: Document --enable-obsolete-nsl.
5122         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5123         * nis/nis_add.c: Replace libnsl_hidden_def with
5124         libnsl_hidden_nolink_def.
5125         * nis/nis_addmember.c: Likewise.
5126         * nis/nis_call.c: Likewise.
5127         * nis/nis_clone_obj.c: Likewise.
5128         * nis/nis_defaults.c: Likeise.
5129         * nis/nis_domain_of_r.c: Likewise.
5130         * nis/nis_error.c: Likewise.
5131         * nis/nis_file.c: Likewise.
5132         * nis/nis_free.c: Likewise.
5133         * nis_local_names.c: Likewise.
5134         * nis/nis_lookup.c: Likewise.
5135         * nis/nis_modify.c: Likewise.
5136         * nis/nis_print.c: Likewise.
5137         * nis/nis_remove.c: Likewise.
5138         * nis/nis_table.c: Likewise.
5139         * nis/nis_util.c: Likewise.
5140         * nis/nis_xdr.c: Likewise.
5141         * nis/yp_xdr.c: Likewise.
5142         * nis/ypclnt.c: Likewise.
5143         * nis/ypupdate_xdr.c: Likewise.
5144         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5145         * nis/nis_clone_dir.c: Likewise.
5146         * nis/nis_clone_res.c: Likewise.
5147         * nis/nis_creategroup.c: Likewise.
5148         * nis/nis_destroygroup.c: Likewise.
5149         * nis/nis_domain_of.c: Likewise.
5150         * nis/nis_getservlist.c: Likewise.
5151         * nis/nis_ismember.c: Likewise.
5152         * nis/nis_mkdir.c: Likewise.
5153         * nis/nis_ping.c: Likewise.
5154         * nis/nis_print_group_entry.c: Likewise.
5155         * nis/nis_removemember.c: Likewise.
5156         * nis/nis_rmdir.c: Likewise.
5157         * nis/nis_server.c: Likewise.
5158         * nis/nis_subr.c: Likewise.
5159         * nis/nis_verifygroup.c: Likewise.
5161 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5163         * malloc/tst-interpose-aux.c (check_for_allocations):
5164         Move compiler barrier before free.
5166 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5168         [BZ #21279]
5169         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5170         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5171         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5172         x86_64-x32-linux.
5173         (mq_attr.mq_maxmsg): Likewise.
5174         (mq_attr.mq_msgsize): Likewise.
5175         (mq_attr.mq_curmsgs): Likewise.
5177         [BZ #21278]
5178         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5179         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5180         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5181         mips-o32-linux.
5183         [BZ #21268]
5184         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5185         if [__USE_MISC]
5186         (NL3): Likewise.
5188 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5190         [BZ #21275]
5191         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5192         __stack to __stackbase.
5193         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5194         checks so we can include defined(__ia64__) first.
5196 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5198         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5199         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5200         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5201         Call is_pty when the link does not exist or does not match, fail
5202         with ENODEV when it returns true.
5203         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5204         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5205         Call is_pty when the link does not exist or does not match, fail
5206         with ENODEV when it returns true.
5208 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5210         [BZ #16437]
5211         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5212         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5213         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5214         x86_64-x32-linux.
5215         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5216         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5217         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5219         [BZ #21261]
5220         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5221         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5222         names for all fields.
5223         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5224         for jmp_buf field renaming.
5225         (_JMPBUF_UNWINDS_ADJ): Likewise.
5227         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5228         with allow-header.
5230 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5232         * malloc/malloc.c (unlink): Add consistency check between size and
5233         next->prev->size, to further harden against 1-byte overflows.
5235 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5237         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5238         CPU_FEATURES_CPU_P.
5240 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5242         [BZ #21259]
5243         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5244         unconditionally, not just for [__USE_MISC].
5246         [BZ #17786]
5247         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5248         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5249         mips-o32-linux.
5251         [BZ #21260]
5252         * sysdeps/unix/sysv/linux/alpha/Makefile
5253         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5254         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5256         * conform/conformtest.pl ($cross): New variable.
5257         (--cross): New command-line option.
5258         (runtest): Skip test execution when cross-compiling.
5259         * conform/Makefile (conformtest-cross): New variable.
5260         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5261         conformtest.pl.
5263         * conform/conformtest.pl ($xfail_str): New variable.
5264         (--xfail=): New command-line option.
5265         (top level): Handle expectations starting xfail[cond]-.
5266         * conform/Makefile (conformtest-xfail): New variable.
5267         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5268         conformtest.pl.
5270 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5272         * conform/conformtest.pl: Use compilation instead of execution
5273         tests for testing values of constants and usability in #if.
5275 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5277         * math/auto-libm-test-in: Mark some catan and catanh as
5278         xfail-rounding:ibm128-libgcc.
5279         * math/auto-libm-test-out-catan: Regenerate.
5280         * math/auto-libm-test-out-catanh: Likewise.
5282 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5284         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5285         (__END_NAMESPACE_STD): Likewise.
5286         (__USING_NAMESPACE_STD): Likewise.
5287         (__BEGIN_NAMESPACE_C99): Likewise.
5288         (__END_NAMESPACE_C99): Likewise.
5289         (__USING_NAMESPACE_C99): Likewise.
5290         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5291         undefine macro.
5292         (_Mdouble_END_NAMESPACE): Likewise.
5293         * ctype/ctype.h: Do not handle C++ namespaces.
5294         * libio/bits/stdio-ldbl.h: Likewise.
5295         * libio/stdio.h: Likewise.
5296         * locale/locale.h: Likewise.
5297         * math/bits/mathcalls.h: Likewise.
5298         * setjmp/setjmp.h: Likewise.
5299         * signal/signal.h: Likewise.
5300         * stdlib/bits/stdlib-float.h: Likewise.
5301         * stdlib/bits/stdlib-ldbl.h: Likewise.
5302         * stdlib/stdlib.h: Likewise.
5303         * string/string.h: Likewise.
5304         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5305         * time/bits/types/clock_t.h: Likewise.
5306         * time/bits/types/struct_tm.h: Likewise.
5307         * time/bits/types/time_t.h: Likewise.
5308         * time/time.h: Likewise.
5309         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5310         * wcsmbs/uchar.h: Likewise.
5311         * wcsmbs/wchar.h: Likewise.
5312         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5313         * wctype/wctype.h: Do not handle C++ namespaces.
5314         * scripts/begin-end-check.pl: Remove.
5315         * Makefile (installed-headers): Likewise.
5316         (tests-special): Do not add $(objpfx)begin-end-check.out.
5317         ($(objpfx)begin-end-check.out): Remove.
5319 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5320             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5322         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5323         (DL_PLATFORM_INIT): New define.
5324         (dl_platform_init): New function.
5325         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5326         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5327         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
5328         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
5329         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
5331 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
5333         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
5334         instead of PIC.
5336 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5338         [BZ #21094]
5339         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5340         24+24+24-bit pi for wider range of values around pi/2.
5341         * math/auto-libm-test-in: Add more tests of cos and tan.
5342         * math/auto-libm-test-out-cos: Regenerated.
5343         * math/auto-libm-test-out-tan: Likewise.
5345 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
5347         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
5348         (RTLD_START): Don't record stack end address in _dl_start_user.
5350 2017-03-15  Alexey Neyman  <stilor@att.net>
5352         [BZ #21088]
5353         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
5354         around definitions match those around use.
5356 2017-03-15  Alexey Neyman  <stilor@att.net>
5358         * configure.ac: Avoid empty subexpression in grep.
5359         * configure: Regenerate.
5361 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5363         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
5364         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
5365         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
5366         (test_wrp_rv): Fix format.
5367         (test_wrp_rv2): New macro.
5368         (do_test): Handle mlock return on 64 bits kernels with 32 bits
5369         binaries.
5371 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
5373         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
5374         Use a union when storing pointers.
5375         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
5376         cast result when passing to INIT_VEC_PTRS_LOOP.
5377         (VECTOR_WRAPPER_fFF_3): Likewise.
5378         (VECTOR_WRAPPER_fFF_4): Likewise.
5380 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5382         * include/bits/mathcalls-helper-functions.h: New file.
5383         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
5384         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
5385         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
5386         math/bits/mathcalls-helper-functions.h.
5387         * math/bits/mathcalls-helper-functions.h: New file.
5388         * math/math.h: Include bits/mathcalls-helper-functions.h for
5389         float, double, and long double.
5391 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5393         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
5394         instead of feraiseexcept.
5396 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5398         [BZ #21243]
5399         * support/temp_file.c (support_delete_temp_files): Add comment
5400         about ignored errors.
5402 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5404         [BZ #21244]
5405         * support/xclose.c: New file.
5406         * support/Makefile (libsupport-routines): Add xclose.
5407         * support/xunistd.h (xclose): Declare.
5408         * support/resolv_test.c (server_thread_tcp_client)
5409         (server_thread_tcp, make_server_sockets, resolv_test_start)
5410         (resolv_test_end): Call xclose instead of close.
5411         * support/support_enter_network_namespace.c
5412         (support_enter_network_namespace): Likewise.
5413         * support/support_run_diff.c (write_to_temp_file): Likewise.
5415 2017-03-15  Florian Weimer  <fweimer@redhat.com>
5417         * support/support_format_dns_packet.c (support_format_dns_packet):
5418         Handle CNAME records in the response.  Extract RDATA names from
5419         rdata, not the whole packet.  Check AAAA record length.
5420         * support/tst-support_format_dns_packet.c: New file.
5421         * support/Makefile (tests): Add tst-support_format_dns_packet.
5422         (tst-support_format_dns_packet): Link against libresolv.
5424 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5426         [BZ #21232]
5427         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
5428         posix_fadvise64 weak_alias for static build.
5430 2017-03-14  Andreas Schwab  <schwab@suse.de>
5432         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
5433         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
5434         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
5435         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
5436         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
5437         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
5438         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
5439         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
5441 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5443         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
5444         posix error code.
5445         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5447 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5449         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
5450         no_isolate usage for SH.
5452 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
5454         [BZ #15105]
5455         [BZ #19463]
5456         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
5457         * inet/rcmd.c (rcmd_af): Likewise.
5458         * inet/rexec.c   (rexec_af): Likewise.
5459         * intl/dcigettext.c (_LIBC): Likewise.
5460         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
5461         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
5462         * locale/setlocale.c (setlocale): Likewise.
5463         * posix/spawn_faction_addopen.c
5464         (posix_spawn_file_actions_addopen): Likewise.
5465         * stdlib/putenv.c (putenv): Use __strndup.
5466         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
5467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
5468         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
5469         (__Need_M_And_C) Remove define/undef.
5470         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
5471         (__malloc_and_calloc_defined): Remove define.
5472         * string/bits/string2.h (__strdup): Remove define.
5473         (strdup): Likewise.
5474         (__strndup): Likewise.
5475         (strndup): Likewise.
5477 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
5479         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
5480         macro.
5481         (IPV6_ADDR_PREFERENCES): Likewise.
5482         (IPV6_MINHOPCOUNT): Likewise.
5483         (IPV6_ORIGDSTADDR): Likewise.
5484         (IPV6_RECVORIGDSTADDR): Likewise.
5485         (IPV6_TRANSPARENT): Likewise.
5486         (IPV6_UNICAST_IF): Likewise.
5487         (IPV6_RECVFRAGSIZE): Likewise.
5489 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
5491         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
5493 2017-03-12  Alexey Neyman <stilor@att.net>
5495         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
5496         in R_SH_DIR32 case is always false when inlined from
5497         dl-conflict.c. Ifdef out to prevent GCC from insertin an
5499 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
5501         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5502         (__ASSUME_RECV_SYSCALL): Replace duplicate by
5503         __ASSUME_SEND_SYSCALL.
5505 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
5507         * sunrpc/Makefile: don't build and install rpcsvc header
5508         files, rpcgen and librpcsvc.a by default.
5510 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
5512         * math/auto-libm-test-out-catan: Regenerated.
5513         * math/auto-libm-test-out-catanh: Likewise.
5514         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5516 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
5518         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
5519         for long double with corrected test expectations.
5521 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5523         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
5524         Define.
5525         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5526         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
5527         * sysdeps/unix/sysv/linux/nios2/sysdep.h
5528         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5529         * sysdeps/unix/sysv/linux/tile/sysdep.h
5530         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
5531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5532         (__ASSUME_RECV_SYSCALL): Define.
5533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5534         (__ASSUME_RECV_SYSCALL): Likewise.
5535         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5536         (__ASSUME_RECV_SYSCALL): Likewise.
5537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5538         (__ASSUME_RECV_SYSCALL): Likewise.
5539         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5540         (__ASSUME_RECV_SYSCALL): Likewise.
5541         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5542         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
5543         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5544         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5545         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5546         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5547         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
5548         auto-generation list.
5549         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5550         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5551         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
5552         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5553         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5554         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
5555         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
5556         __ASSUME_SENDTO_SYSCALL.
5557         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
5558         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
5559         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
5561         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
5562         auto-generation list.
5563         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5564         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5565         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5566         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5567         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5568         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5569         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5570         * sysdeps/unix/sysv/linux/kernel-features.h
5571         (__ASSUME_SENDTO_SYSCALL): Define by default.
5572         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5573         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
5574         __NR_sendto.
5575         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5576         (__ASSUME_SENDTO_SYSCALL): Likewise.
5577         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5578         (__ASSUME_SENDTO_SYSCALL): Likewise.
5579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5580         (__ASSUME_SENDTO_SYSCALL): Remove definition.
5581         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5582         (__ASSUME_SENDTO_SYSCALL): Likewise.
5583         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
5584         (__ASSUME_SENDTO_SYSCALL): Likewise.
5585         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
5587         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
5588         auto-generation list.
5589         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5590         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5591         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5592         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5593         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5594         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5595         (__ASSUME_RECV_SYSCALL): New define.
5596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5597         (__ASSUME_RECV_SYSCALL): Likewise.
5598         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5599         (__ASSUME_RECV_SYSCALL): Likewise.
5600         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5601         (__ASSUME_RECV_SYSCALL): Likewise.
5602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5603         (__ASSUME_RECV_SYSCALL): Likewise.
5604         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5605         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5606         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5607         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5608         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5609         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
5610         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
5611         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
5612         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
5613         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
5614         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
5615         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
5617         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
5618         auto-generation list.
5619         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5620         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5621         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5622         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5623         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5624         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5625         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5626         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5627         (__ASSUME_RECVFROM_SYSCALL): Define by default.
5628         * sysdeps/unix/sysv/linux/kernel-features.h
5629         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
5630         __NR_recvfrom.
5631         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5632         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5633         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5634         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5636         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
5637         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5638         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5639         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5640         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5641         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5642         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5643         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
5645         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
5646         auto-generation list.
5647         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5648         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5649         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5650         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5651         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5652         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5653         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5654         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
5655         * sysdeps/unix/sysv/linux/kernel-features.h
5656         (__ASSUME_CONNECT_SYSCALL): Define.
5657         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5658         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
5659         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5660         (__ASSUME_CONNECT_SYSCALL): Likewise.
5661         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5662         (__ASSUME_CONNECT_SYSCALL): Likewise.
5663         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5664         (__ASSUME_CONNECT_SYSCALL): Likewise.
5666         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
5667         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
5668         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
5669         auto-generation list.
5670         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
5671         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
5672         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
5673         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
5674         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
5675         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5676         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5677         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5678         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5679         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5680         * sysdeps/unix/sysv/linux/kernel-features.h
5681         (__ASSUME_ACCEPT_SYSCALL): New define.
5682         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5683         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5684         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
5685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5686         (__ASSUME_ACCEPT_SYSCALL): Define.
5687         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5688         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5689         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5690         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
5691         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5692         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5693         (__ASSUME_ACCEPT_SYSCALL): Undefine.
5694         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5695         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
5697 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
5698             Zack Weinberg  <zackw@panix.com>
5700         * posix/test-errno.c: New file.
5701         * posix/Makefile (tests): Add test-errno.
5702         * sysdeps/unix/sysv/linux/test-errno.c: New file.
5703         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
5705 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
5707         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5709 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5711         * time/tzset.c (compute_offset): Open-code min macro.
5712         (min, max, sign): Remove.
5714 2017-03-07  Florian Weimer  <fweimer@redhat.com>
5716         [BZ #15576]
5717         Remove TZNAME_MAX limit from sysconf.
5718         * include/time.h (__tzname_cur_max, __tzname_max): Remove
5719         declaration.
5720         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
5721         compute_tzname_max.
5722         (compute_tzname_max): Remove.
5723         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
5724         (update_vars): Do not update __tzname_cur_max.
5725         (tzset_internal): Remove argument.
5726         (__tzset): Adjust call to tzset_internal.
5727         (__tz_convert): Likewise.
5729         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
5730         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5731         * manual/conf.texi (Sysconf Definition): Update comment.
5733 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5735         [BZ #21209]
5736         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5737         AT_SECURE processes.
5738         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
5739         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
5740         (test_child): Likewise.
5741         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
5743 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5745         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
5747 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5749         * sysdeps/s390/atomic-machine.h
5750         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
5751         (__arch_compare_and_exchange_val_8_acq,
5752         __arch_compare_and_exchange_val_16_acq,
5753         __arch_compare_and_exchange_val_32_acq,
5754         __arch_compare_and_exchange_val_64_acq):
5755         Delete macro.
5756         (atomic_compare_and_exchange_val_acq,
5757         atomic_compare_and_exchange_val_rel,
5758         atomic_compare_and_exchange_bool_acq,
5759         catomic_compare_and_exchange_bool_acq,
5760         atomic_exchange_acq, atomic_exchange_rel,
5761         atomic_exchange_and_add_acq,
5762         atomic_exchange_and_add_rel,
5763         catomic_exchange_and_add, atomic_or_val,
5764         atomic_or, catomic_or, atomic_bit_test_set,
5765         atomic_and_val, atomic_and, catomic_and):
5766         Define macros with help of C11 atomic builtins.
5768 2017-03-03  Justus Winter <justus@gnupg.org>
5770         * sysdeps/mach/hurd/ftruncate64.c: New file.
5771         * sysdeps/mach/hurd/truncate64.c: Likewise.
5773 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5775         * time/tzfile.c (NOID): Do not define.
5776         * time/tzset.c (NOID): Likewise.
5778 2017-03-03  Florian Weimer  <fweimer@redhat.com>
5780         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
5782 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5784         * elf/get-dynamic-info.h: Remove header file inclusion guard.
5786 2017-03-02  Florian Weimer  <fweimer@redhat.com>
5788         [BZ #21015]
5789         * manual/install.texi (Configuring and compiling): Document
5790         --enable-bind-now.
5791         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
5792         (build-shlib-helper): Use $(LDFLAGS-lib.so).
5793         (format.lds): Likewise.
5794         [bind-now] (LDFLAGS-c.so): Remove.
5795         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5796         be R_X86_64_GLOB_DAT.
5797         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5798         relocation can be R_386_GLOB_DAT.
5799         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5800         relocaiton can be R_ALPHA_GLOB_DAT.
5801         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5803 2017-03-01  Zack Weinberg  <zackw@panix.com>
5805         * include/libc-pointer-arith.h: New file.  Define
5806         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5807         PTR_ALIGN_DOWN here.
5808         * include/libc-internal.h: Definitions of above macros
5809         moved from here.  Don't include libc-diag.h anymore either.
5810         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5811         Don't include libc-internal.h.
5813         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5814         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5815         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5816         * string/strcoll_l.c, sysdeps/nacl/brk.c
5817         * sysdeps/unix/clock_settime.c
5818         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5819         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5820         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5821         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5822         Don't include libc-internal.h.
5824         * elf/get-dynamic-info.h, iconv/loop.c
5825         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5826         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5827         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5828         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5829         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5831         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5832         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5833         * sysdeps/ieee754/ldbl-128/k_tanl.c
5834         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5835         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5836         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5837         Include libc-diag.h instead of libc-internal.h.
5839         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5840         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5841         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5842         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5843         * sysdeps/unix/sysv/linux/spawni.c
5844         * sysdeps/x86_64/nptl/tls.h:
5845         Include libc-pointer-arith.h instead of libc-internal.h.
5847         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5848         * sysdeps/x86_64/atomic-machine.h:
5849         Add multiple include guard.
5851         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5852         * string/strcasestr.c: No need to include config.h.
5853         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5854         sys/auxv.h. Don't include sysdep.h.
5855         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5857         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5858         DL_LOOKUP_ADDRESS.
5859         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5860         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5861         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5862         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5863         of ARTIFICIAL_LIMIT.
5864         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5865         declaration of __clone2.
5867 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5869         * scripts/backport-support.sh (latest_commit): New file.
5871 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5873         [BZ #20257]
5874         * inet/Makefile (routines): Add deadline.
5875         (tests-static): Add tst-deadline.
5876         * inet/net-internal.h (struct deadline_current_time)
5877         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5878         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5879         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5880         * inet/deadline.c: New file.
5881         * inet/tst-deadline.c: Likewise.
5882         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5883         tst-udp-timeout, tst-udp-garbage.
5884         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5885         explicitly.
5886         (tst-udp-garbage): Likewise.  Also link against thread library.
5887         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5888         struct layout is part of the ABI.
5889         (clntudp_call): Rework timeout handling.
5890         * sunrpc/tst-udp-garbage.c: New file.
5891         * sunrpc/tst-udp-nonblocking.c: Likewise.
5892         * sunrpc/tst-udp-timeout.c: Likewise.
5894 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5896         [BZ #5010]
5897         * sunrpc/svc.c (svc_is_mapped): Remove.
5898         (svc_unregister): Obtain mapped status while the service is still
5899         registered.
5900         * sunrpc/Makefile [have-thread-library] (tests): Add
5901         tst-svc_register.
5902         (tst-svc_register): Link against libc.so explicitly and the thread
5903         library.
5904         * sunrpc/tst-svc_register.c: New file.
5906 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5908         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5909         * sysdeps/pthread/bits/sigthread.h: Likewise.
5911 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5913         [BZ #21115]
5914         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5915         * sunrpc/Makefile (tests): Add tst-udp-error.
5916         (tst-udp-error): Link against libc.so explicitly.
5917         * sunrpc/tst-udp-error: New file.
5919 2017-02-25  Zack Weinberg  <zackw@panix.com>
5921         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5922         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5924         * sysdeps/generic/math_ldbl.h
5925         * sysdeps/ia64/fpu/math_ldbl.h
5926         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5928         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5929         * sysdeps/powerpc/fpu/math_ldbl.h
5930         * sysdeps/x86_64/fpu/math_ldbl.h:
5931         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5932         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5933         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5934         Add copyright notices.
5936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5937         Don't use EXTRACT_WORDS64.
5939         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5940         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5941         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5942         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5943         Include math_ldbl.h, not math_private.h.
5945 2017-02-25  Zack Weinberg  <zackw@panix.com>
5947         * include/libc-diag.h: New file.  Define ignore_value,
5948         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5949         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5951         * include/libc-internal.h: Definitions of above macros moved from
5952         here.  Include libc-diag.h.  Add copyright notice.
5954         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5955         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5956         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5957         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5958         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5959         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5960         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5961         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5962         Include libc-diag.h instead of libc-internal.h.
5964         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5965         call to unsetenv (NULL).
5966         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5967         call to pthread_mutexattr_destroy (NULL).
5969 2017-02-25  Zack Weinberg  <zackw@panix.com>
5971         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5972         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5973         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5974         gets was removed from C++ in C++14.
5975         * include/stdio.h: Remove redundant declaration of gets.
5976         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5977         be declared, since we are testing it.
5978         * stdio-common/Makefile (tst-gets.c): Compile with
5979         -Wno-deprecated-declarations.
5980         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5981         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5982         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5983         Compile with -Wno-deprecated-declarations.
5985 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5987         * math/libm-test-support.c (check_ulp): Use LIT() around literal
5988         numbers.
5990 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5992         * resolv/tst-resolv-qtypes.c (domain):
5993         Change type to const pointer to const char.
5995 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
5997         * math/Makefile (libm-tests-generated): Remove variable.
5998         (libm-tests-base-normal): New variable.
5999         (libm-tests-base-finite): Likewise.
6000         (libm-tests-base-inline): Likewise.
6001         (libm-tests-base): Likewise.
6002         (libm-tests-normal): Likewise.
6003         (libm-tests-finite): Likewise.
6004         (libm-tests-inline): Likewise.
6005         (libm-tests-vector): Likewise.
6006         (libm-tests): Define in terms of these new variables.
6007         (libm-tests-for-type): New variable.
6008         (libm-tests.o): Move definition.
6009         (tests): Move addition of $(libm-tests).
6010         (generated): Update for new and removed libm test files.
6011         ($(objpfx)libm-test.c): Remove target.
6012         ($(objpfx)libm-have-vector-test.h): Likewise.
6013         (CFLAGS-test-double-vlen2.c): Remove variable.
6014         (CFLAGS-test-double-vlen4.c): Likewise.
6015         (CFLAGS-test-double-vlen8.c): Likewise.
6016         (CFLAGS-test-float-vlen4.c): Likewise.
6017         (CFLAGS-test-float-vlen8.c): Likewise.
6018         (CFLAGS-test-float-vlen16.c): Likewise.
6019         (CFLAGS-test-float.c): Likewise.
6020         (CFLAGS-test-float-finite.c): Likewise.
6021         (CFLAGS-libm-test-support-float.c): Likewise.
6022         (CFLAGS-test-double.c): Likewise.
6023         (CFLAGS-test-double-finite.c): Likewise.
6024         (CFLAGS-libm-test-support-double.c): Likewise.
6025         (CFLAGS-test-ldouble.c): Likewise.
6026         (CFLAGS-test-ldouble-finite.c): Likewise.
6027         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6028         (libm-test-inline-cflags): New variable.
6029         (CFLAGS-test-ifloat.c): Remove variable.
6030         (CFLAGS-test-idouble.c): Likewise.
6031         (CFLAGS-test-ildouble.c): Likewise.
6032         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6033         dependencies.
6034         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6035         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6036         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6037         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6038         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6039         Likewise.
6040         (dependencies on libm-test-support-*.o): Remove.
6041         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6042         rules using iterators.
6043         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6044         Likewise.
6045         ($(objpfx)libm-test-support-$(o).o): Likewise.
6046         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6047         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6048         instead.
6049         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6050         define rule instead.
6051         * math/README.libm-test: Update.
6052         * math/libm-test-acos.inc: Include libm-test-driver.c.
6053         (do_test): New function.
6054         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6055         (do_test): New function.
6056         * math/libm-test-asin.inc: Include libm-test-driver.c.
6057         (do_test): New function.
6058         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6059         (do_test): New function.
6060         * math/libm-test-atan.inc: Include libm-test-driver.c.
6061         (do_test): New function.
6062         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6063         (do_test): New function.
6064         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6065         (do_test): New function.
6066         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6067         (do_test): New function.
6068         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6069         (do_test): New function.
6070         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6071         (do_test): New function.
6072         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6073         (do_test): New function.
6074         * math/libm-test-carg.inc: Include libm-test-driver.c.
6075         (do_test): New function.
6076         * math/libm-test-casin.inc: Include libm-test-driver.c.
6077         (do_test): New function.
6078         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6079         (do_test): New function.
6080         * math/libm-test-catan.inc: Include libm-test-driver.c.
6081         (do_test): New function.
6082         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6083         (do_test): New function.
6084         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6085         (do_test): New function.
6086         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6087         (do_test): New function.
6088         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6089         (do_test): New function.
6090         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6091         (do_test): New function.
6092         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6093         (do_test): New function.
6094         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6095         (do_test): New function.
6096         * math/libm-test-clog.inc: Include libm-test-driver.c.
6097         (do_test): New function.
6098         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6099         (do_test): New function.
6100         * math/libm-test-conj.inc: Include libm-test-driver.c.
6101         (do_test): New function.
6102         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6103         (do_test): New function.
6104         * math/libm-test-cos.inc: Include libm-test-driver.c.
6105         (do_test): New function.
6106         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6107         (do_test): New function.
6108         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6109         (do_test): New function.
6110         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6111         (do_test): New function.
6112         * math/libm-test-creal.inc: Include libm-test-driver.c.
6113         (do_test): New function.
6114         * math/libm-test-csin.inc: Include libm-test-driver.c.
6115         (do_test): New function.
6116         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6117         (do_test): New function.
6118         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6119         (do_test): New function.
6120         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6121         (do_test): New function.
6122         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6123         (do_test): New function.
6124         * math/libm-test-erf.inc: Include libm-test-driver.c.
6125         (do_test): New function.
6126         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6127         (do_test): New function.
6128         * math/libm-test-exp.inc: Include libm-test-driver.c.
6129         (do_test): New function.
6130         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6131         (do_test): New function.
6132         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6133         (do_test): New function.
6134         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6135         (do_test): New function.
6136         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6137         (do_test): New function.
6138         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6139         (do_test): New function.
6140         * math/libm-test-floor.inc: Include libm-test-driver.c.
6141         (do_test): New function.
6142         * math/libm-test-fma.inc: Include libm-test-driver.c.
6143         (do_test): New function.
6144         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6145         (do_test): New function.
6146         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6147         (do_test): New function.
6148         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6149         (do_test): New function.
6150         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6151         (do_test): New function.
6152         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6153         (do_test): New function.
6154         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6155         (do_test): New function.
6156         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6157         (do_test): New function.
6158         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6159         (do_test): New function.
6160         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6161         (do_test): New function.
6162         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6163         (do_test): New function.
6164         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6165         (do_test): New function.
6166         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6167         (do_test): New function.
6168         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6169         (do_test): New function.
6170         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6171         (do_test): New function.
6172         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6173         (do_test): New function.
6174         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6175         (do_test): New function.
6176         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6177         (do_test): New function.
6178         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6179         (do_test): New function.
6180         * math/libm-test-isless.inc: Include libm-test-driver.c.
6181         (do_test): New function.
6182         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6183         (do_test): New function.
6184         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6185         (do_test): New function.
6186         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6187         (do_test): New function.
6188         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6189         (do_test): New function.
6190         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6191         (do_test): New function.
6192         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6193         (do_test): New function.
6194         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6195         (do_test): New function.
6196         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6197         (do_test): New function.
6198         * math/libm-test-j0.inc: Include libm-test-driver.c.
6199         (do_test): New function.
6200         * math/libm-test-j1.inc: Include libm-test-driver.c.
6201         (do_test): New function.
6202         * math/libm-test-jn.inc: Include libm-test-driver.c.
6203         (do_test): New function.
6204         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6205         (do_test): New function.
6206         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6207         (do_test): New function.
6208         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6209         (do_test): New function.
6210         * math/libm-test-llround.inc: Include libm-test-driver.c.
6211         (do_test): New function.
6212         * math/libm-test-log.inc: Include libm-test-driver.c.
6213         (do_test): New function.
6214         * math/libm-test-log10.inc: Include libm-test-driver.c.
6215         (do_test): New function.
6216         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6217         (do_test): New function.
6218         * math/libm-test-log2.inc: Include libm-test-driver.c.
6219         (do_test): New function.
6220         * math/libm-test-logb.inc: Include libm-test-driver.c.
6221         (do_test): New function.
6222         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6223         (do_test): New function.
6224         * math/libm-test-lround.inc: Include libm-test-driver.c.
6225         (do_test): New function.
6226         * math/libm-test-modf.inc: Include libm-test-driver.c.
6227         (do_test): New function.
6228         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6229         (do_test): New function.
6230         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6231         (do_test): New function.
6232         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6233         (do_test): New function.
6234         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6235         (do_test): New function.
6236         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6237         (do_test): New function.
6238         * math/libm-test-pow.inc: Include libm-test-driver.c.
6239         (do_test): New function.
6240         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6241         (do_test): New function.
6242         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6243         (do_test): New function.
6244         * math/libm-test-rint.inc: Include libm-test-driver.c.
6245         (do_test): New function.
6246         * math/libm-test-round.inc: Include libm-test-driver.c.
6247         (do_test): New function.
6248         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6249         (do_test): New function.
6250         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6251         (do_test): New function.
6252         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6253         (do_test): New function.
6254         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6255         (do_test): New function.
6256         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6257         (do_test): New function.
6258         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6259         (do_test): New function.
6260         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6261         (do_test): New function.
6262         * math/libm-test-significand.inc: Include libm-test-driver.c.
6263         (do_test): New function.
6264         * math/libm-test-sin.inc: Include libm-test-driver.c.
6265         (do_test): New function.
6266         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6267         (do_test): New function.
6268         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6269         (do_test): New function.
6270         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6271         (do_test): New function.
6272         * math/libm-test-tan.inc: Include libm-test-driver.c.
6273         (do_test): New function.
6274         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6275         (do_test): New function.
6276         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6277         (do_test): New function.
6278         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6279         (do_test): New function.
6280         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6281         (do_test): New function.
6282         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6283         (do_test): New function.
6284         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6285         (do_test): New function.
6286         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6287         (do_test): New function.
6288         * math/libm-test-y0.inc: Include libm-test-driver.c.
6289         (do_test): New function.
6290         * math/libm-test-y1.inc: Include libm-test-driver.c.
6291         (do_test): New function.
6292         * math/libm-test-yn.inc: Include libm-test-driver.c.
6293         (do_test): New function.
6294         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6295         (HAVE_VECTOR): Remove macro.
6296         (START): Do not call HAVE_VECTOR.
6297         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6298         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6299         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6300         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6301         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6302         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6303         * math/test-math-vector.h (FUNC_TEST): New macro.
6304         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6305         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6306         (double-vlen4-funcs): Likewise.
6307         (double-vlen4-avx2-funcs): Likewise.
6308         (double-vlen8-funcs): Likewise.
6309         (float-vlen4-funcs): Likewise.
6310         (float-vlen8-funcs): Likewise.
6311         (float-vlen8-avx2-funcs): Likewise.
6312         (float-vlen16-funcs): Likewise.
6313         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6314         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6315         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6316         macro.
6317         (TEST_VECTOR_sin): Likewise.
6318         (TEST_VECTOR_sincos): Likewise.
6319         (TEST_VECTOR_log): Likewise.
6320         (TEST_VECTOR_exp): Likewise.
6321         (TEST_VECTOR_pow): Likewise.
6322         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6323         Likewise.
6324         (TEST_VECTOR_sin): Likewise.
6325         (TEST_VECTOR_sincos): Likewise.
6326         (TEST_VECTOR_log): Likewise.
6327         (TEST_VECTOR_exp): Likewise.
6328         (TEST_VECTOR_pow): Likewise.
6329         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
6330         Likewise.
6331         (TEST_VECTOR_sinf): Likewise.
6332         (TEST_VECTOR_sincosf): Likewise.
6333         (TEST_VECTOR_logf): Likewise.
6334         (TEST_VECTOR_expf): Likewise.
6335         (TEST_VECTOR_powf): Likewise.
6336         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
6337         Likewise.
6338         (TEST_VECTOR_sinf): Likewise.
6339         (TEST_VECTOR_sincosf): Likewise.
6340         (TEST_VECTOR_logf): Likewise.
6341         (TEST_VECTOR_expf): Likewise.
6342         (TEST_VECTOR_powf): Likewise.
6343         * math/gen-libm-have-vector-test.sh: Remove file.
6344         * math/libm-test.inc: Likewise.
6345         * math/libm-test-support-double.c: Likewise.
6346         * math/libm-test-support-float.c: Likewise.
6347         * math/libm-test-support-ldouble.c: Likewise.
6348         * math/test-double-finite.c: Likewise.: Likewise.
6349         * math/test-double.c: Likewise.
6350         * math/test-float-finite.c: Likewise.
6351         * math/test-float.c: Likewise.
6352         * math/test-idouble.c: Likewise.
6353         * math/test-ifloat.c: Likewise.
6354         * math/test-ildouble.c: Likewise.
6355         * math/test-ldouble-finite.c: Likewise.
6356         * math/test-ldouble.c: Likewise.
6357         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6358         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
6359         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6360         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6361         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6362         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6363         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6364         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
6365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6366         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6368 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6369            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6371         * math/Makefile: Add wrappers to gen-libm-calls.
6372         * math/w_acos_template.c: New file.
6373         * math/w_acosh_template.c: Likewise.
6374         * math/w_asin_template.c: Likewise.
6375         * math/w_atan2_template.c: Likewise.
6376         * math/w_atanh_template.c: Likewise.
6377         * math/w_cosh_template.c: Likewise.
6378         * math/w_exp10_template.c: Likewise.
6379         * math/w_exp2_template.c: Likewise.
6380         * math/w_exp_template.c: Likewise.
6381         * math/w_fmod_template.c: Likewise.
6382         * math/w_hypot_template.c: Likewise.
6383         * math/w_j0_template.c: Likewise.
6384         * math/w_j1_template.c: Likewise.
6385         * math/w_jn_template.c: Likewise.
6386         * math/w_lgamma_r_template.c: Likewise.
6387         * math/w_lgamma_template.c: Likewise.
6388         * math/w_log10_template.c: Likewise.
6389         * math/w_log2_template.c: Likewise.
6390         * math/w_log_template.c: Likewise.
6391         * math/w_pow_template.c: Likewise.
6392         * math/w_remainder_template.c: Likewise.
6393         * math/w_sinh_template.c: Likewise.
6394         * math/w_sqrt_template.c: Likewise.
6395         * math/w_tgamma_template.c: Likewise.: Likewise.
6396         * sysdeps/generic/math-type-macros-double.h
6397         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
6398         the new wrappers.
6399         * sysdeps/generic/math-type-macros-float.h: Likewise.
6400         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6402 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
6404         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
6405         New enum constant and macro.
6407         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6408         kernel version to 4.10.
6410 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
6412         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
6414 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6418 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6420         * sysdeps/powerpc/tst-set_ppr.c: New file.
6421         Implement test cases for __ppc_set_ppr_* functions.
6422         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
6423         in the list of tests.
6425 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6427         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
6428         instead of test-skeleton.c.
6429         (do_test): Replaced pthread_create and pthread_join with
6430         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
6431         Removed unneeded status variable.
6432         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
6433         instead of test-skeleton.c.
6434         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
6436 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
6438         [BZ #20313]
6439         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6440         201605L, for Unicode 9.
6442 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
6444         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
6445         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6446         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6447         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6448         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6449         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6451 2017-02-19  Zack Weinberg  <zackw@panix.com>
6453         * rt/tst-mqueue4.c: Include stdint.h.
6455 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6457         * sysdeps/arm/libm-test-ulps: Update.
6458         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6459         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6460         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6462 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6464         [BZ #21029]
6465         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
6466         * sysdeps/unix/sysv/linux/i386/Makefile
6467         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
6468         (uses-6-syscall-arguments): Remove.
6469         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
6470         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
6471         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
6472         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
6473         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
6474         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
6475         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
6476         [$(subdir) = misc] (cflags-pselect.o): Likewise.
6477         [$(subdir) = misc] (cflags-pselect.os): Likewise.
6478         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
6479         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
6480         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
6481         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
6482         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
6483         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
6484         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
6485         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
6486         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
6487         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
6488         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
6489         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
6490         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
6491         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
6492         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
6493         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
6494         Likewise.
6495         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
6496         Likewise.
6497         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
6498         Likewise.
6499         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
6500         Likewise.
6501         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
6502         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
6503         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
6504         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
6505         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
6506         ebp on inline assembly.
6507         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
6508         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6509         Set if CAN_USE_REGISTER_ASM_EBP is set.
6511 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
6513         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
6514         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
6516 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
6518         * math/auto-libm-test-in: Add tests of catan and catanh.
6519         * math/auto-libm-test-out-catan: New generated file.
6520         * math/auto-libm-test-out-catanh: Likewise.
6521         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
6522         Move tests with finite inputs, except divide-by-zero cases, to
6523         auto-libm-test-in.
6524         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
6525         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
6526         (libm-test-funcs-noauto): Remove catan and catanh.
6527         * sysdeps/i386/fpu/libm-test-ulps: Update.
6528         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6531         * math/auto-libm-test-in: Add tests of casin and casinh.
6532         * math/auto-libm-test-out-casin: New generated file.
6533         * math/auto-libm-test-out-casinh: Likewise.
6534         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
6535         Move tests with finite inputs to auto-libm-test-in.
6536         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
6537         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
6538         (libm-test-funcs-noauto): Remove casin and casinh.
6539         * sysdeps/i386/fpu/libm-test-ulps: Update.
6540         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
6541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6543         * math/auto-libm-test-in: Add tests of cacos and cacosh.
6544         * math/auto-libm-test-out-cacos: New generated file.
6545         * math/auto-libm-test-out-cacosh: Likewise.
6546         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
6547         Move tests with finite inputs to auto-libm-test-in.
6548         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
6549         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
6550         (libm-test-funcs-noauto): Remove cacos and cacosh.
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         Revert:
6556         2017-02-16  Zack Weinberg  <zackw@panix.com>
6558         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6559         Don't include init-arch.h.
6560         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6561         Don't include init-arch.h.
6563 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6565         [BZ #21171]
6566         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
6567         +Inf and raise divide-by-zero when x is negative.
6568         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
6569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
6570         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
6571         -Inf and raise divide-by-zero when x = +-0.
6572         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6573         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
6574         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
6575         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
6576         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6577         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6578         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6580 2017-02-16  Zack Weinberg  <zackw@panix.com>
6582         * scripts/build-many-glibcs.py (bot_build_mail): If the
6583         bot_config does not contain all of the necessary email-
6584         related settings, just print a warning and continue.
6586 2017-02-16  Zack Weinberg  <zackw@panix.com>
6588         * crypt/md5.h: Test _LIBC with #if defined, not #if.
6589         * dirent/opendir-tst1.c: Include sys/stat.h.
6590         * dirent/tst-fdopendir.c: Include sys/stat.h.
6591         * dirent/tst-fdopendir2.c: Include stdlib.h.
6592         * dirent/tst-scandir.c: Include stdbool.h.
6593         * elf/tst-auditmod1.c: Include link.h and stddef.h.
6594         * elf/tst-tls15.c: Include stdlib.h.
6595         * elf/tst-tls16.c: Include stdlib.h.
6596         * elf/tst-tls17.c: Include stdlib.h.
6597         * elf/tst-tls18.c: Include stdlib.h.
6598         * iconv/tst-iconv6.c: Include endian.h.
6599         * iconvdata/bug-iconv11.c: Include limits.h.
6600         * io/test-utime.c: Include stdint.h.
6601         * io/tst-faccessat.c: Include sys/stat.h.
6602         * io/tst-fchmodat.c: Include sys/stat.h.
6603         * io/tst-fchownat.c: Include sys/stat.h.
6604         * io/tst-fstatat.c: Include sys/stat.h.
6605         * io/tst-futimesat.c: Include sys/stat.h.
6606         * io/tst-linkat.c: Include sys/stat.h.
6607         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
6608         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
6609         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
6610         * io/tst-openat.c: Include stdbool.h.
6611         * io/tst-readlinkat.c: Include sys/stat.h.
6612         * io/tst-renameat.c: Include sys/stat.h.
6613         * io/tst-symlinkat.c: Include sys/stat.h.
6614         * io/tst-unlinkat.c: Include stdbool.h.
6615         * libio/bug-memstream1.c: Include stdlib.h.
6616         * libio/bug-wmemstream1.c: Include stdlib.h.
6617         * libio/tst-fwrite-error.c: Include stdlib.h.
6618         * libio/tst-memstream1.c: Include stdlib.h.
6619         * libio/tst-memstream2.c: Include stdlib.h.
6620         * libio/tst-memstream3.c: Include stdlib.h.
6621         * malloc/tst-interpose-aux.c: Include stdint.h.
6622         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
6623         * nptl/tst-basic7.c: Include limits.h.
6624         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
6625         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
6626         * nptl/tst-cancel4_1.c: Include stddef.h.
6627         * nptl/tst-cancel4_2.c: Include stddef.h.
6628         * nptl/tst-cond16.c: Include limits.h.
6629         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6630         * nptl/tst-cond18.c: Include limits.h.
6631         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
6632         * nptl/tst-cond4.c: Include stdint.h.
6633         * nptl/tst-cond6.c: Include stdint.h.
6634         * nptl/tst-stack2.c: Include limits.h.
6635         * nptl/tst-stackguard1.c: Include stddef.h.
6636         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
6637         * nptl/tst-tls4moda.c: Include stddef.h.
6638         Don't include stdio.h, unistd.h, or tls.h.
6639         * nptl/tst-tls4modb.c: Include stddef.h.
6640         Don't include stdio.h, unistd.h, or tls.h.
6641         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
6642         * posix/tst-getaddrinfo2.c: Include stdio.h.
6643         * posix/tst-getaddrinfo5.c: Include stdio.h.
6644         * posix/tst-pathconf.c: Include sys/stat.h.
6645         * posix/tst-posix_fadvise-common.c: Include stdint.h.
6646         * posix/tst-preadwrite-common.c: Include sys/stat.h.
6647         * posix/tst-regex.c: Include stdint.h.
6648         Don't include spawn.h or spawn_int.h.
6649         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
6650         * posix/tst-vfork3.c: Include sys/stat.h.
6651         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
6652         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
6653         * resolv/tst-resolv-search.c: Include stdlib.h.
6654         * stdio-common/tst-fmemopen2.c: Include stdint.h.
6655         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
6656         * stdlib/test-canon.c: Include sys/stat.h.
6657         * stdlib/tst-tls-atexit.c: Include stdbool.h.
6658         * string/test-memchr.c: Include stdint.h.
6659         * string/tst-cmp.c: Include stdint.h.
6660         * sysdeps/pthread/tst-timer.c: Include stdint.h.
6661         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
6662         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
6663         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
6664         Don't include init-arch.h.
6665         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
6666         Don't include init-arch.h.
6667         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
6668         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
6669         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
6670         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
6671         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
6672         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
6673         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
6674         * time/clocktest.c: Include stdint.h.
6675         * time/tst-posixtz.c: Include stdint.h.
6676         * timezone/tst-timezone.c: Include stdint.h.
6678 2017-02-16  Zack Weinberg  <zackw@panix.com>
6680         * string/string.h [__USE_MISC]: Include strings.h.
6681         (__bzero, bcmp, bcopy, bzero, index, rindex)
6682         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
6683         (ffs, ffsl, ffsll): Don't declare.
6684         * string/strings.h: Do not suppress the file if string.h has
6685         already been included.
6686         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
6687         annotations.
6688         (index, rindex): Define inline forwarders even if
6689         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
6690         (ffs): Use __attribute_const__.
6691         (ffsl, ffsll): Declare here.
6692         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
6693         have now been standardized.
6694         * include/string.h (__bzero): Declare here.
6696         * bits/types.h: Move to posix/bits.
6697         * include/bits/types.h: New wrapper.
6699 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6701         * string/bits/string2.h (strcmp): Remove define.
6702         (__strcmp_cg): Likewise.
6703         (strncmp): Likewise.
6705 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
6707         * include/string.h: Add __cplusplus check.
6709 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6711         [BZ #21134]
6712         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
6713         "divide by zero" exception when the input is zero.
6714         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
6715         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
6716         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
6717         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
6718         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6720 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
6722         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
6723         and include ...
6724         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
6725         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
6726         to, and include ...
6727         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
6728         file.
6729         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
6730         and include ...
6731         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
6732         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
6733         and include ...
6734         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
6735         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
6736         and include ...
6737         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
6738         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
6739         and include ...
6740         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
6741         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
6742         to, and include ...
6743         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
6744         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
6745         and include ...
6746         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
6748 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
6750         * math/libm-test-support.h: Do not include <math-tests-arch.h>
6751         here.
6752         * math/libm-test-support.c (libm_test_init): Do not call
6753         INIT_ARCH_EXT here.
6754         * math/libm-test-driver.c: Include <math-tests-arch.h>.
6755         (main): Call INIT_ARCH_EXT.
6757 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6759         [BZ #21130]
6760         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
6761         with the "invalid" exception raised when x is -Inf.
6762         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6764 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
6766         * string/bits/string2.h (strchr): Remove define.
6768 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
6770         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
6771         tst-avx512.
6772         (test-extras): Add tst-avx-aux and tst-avx512-aux.
6773         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
6774         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
6775         ($(objpfx)tst-sse): New rule.
6776         ($(objpfx)tst-avx): Likewise.
6777         ($(objpfx)tst-avx512): Likewise.
6778         (CFLAGS-tst-avx-aux.c): New.
6779         (CFLAGS-tst-avxmod.c): Likewise.
6780         (CFLAGS-tst-avx512-aux.c): Likewise.
6781         (CFLAGS-tst-avx512mod.c): Likewise.
6782         * sysdeps/x86_64/tst-avx-aux.c: New file.
6783         * sysdeps/x86_64/tst-avx.c: Likewise.
6784         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
6785         * sysdeps/x86_64/tst-avx512.c: Likewise.
6786         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
6787         * sysdeps/x86_64/tst-avxmod.c: Likewise.
6788         * sysdeps/x86_64/tst-sse.c: Likewise.
6789         * sysdeps/x86_64/tst-ssemod.c: Likewise.
6791 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6793         * math/auto-libm-test-in: Add more tests of csin and csinh.
6794         * math/auto-libm-test-out-csin: Regenerated.
6795         * math/auto-libm-test-out-csinh: Likewise.
6796         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6797         auto-libm-test-in.
6798         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6800 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6802         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6803         libm-compat-calls-auto.
6804         (libm-compat-calls): Likewise.
6805         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6806         w_lgamma_compatF and k_standardF (merged from the items above).
6807         (libm-routines): Use libm-compat-calls, instead of
6808         libm-compat-calls-auto, with type-foreach.
6810 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6812         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6813         macro.
6814         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6815         (CFLAGS-test-ifloat.c): ... this.  Remove
6816         -U__LIBC_INTERNAL_MATH_INLINES.
6817         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6818         (CFLAGS-test-idouble.c): ... this.  Remove
6819         -U__LIBC_INTERNAL_MATH_INLINES.
6820         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6821         (CFLAGS-test-ildouble.c): ... this.  Remove
6822         -U__LIBC_INTERNAL_MATH_INLINES.
6824 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6826         * math/libm-test-support.c: New file.  Content from
6827         math/libm-test-driver.c.
6828         * math/libm-test-support.h: Likewise.
6829         * math/libm-test-support-double.c: New file.
6830         * math/libm-test-support-float.c: Likewise.
6831         * math/libm-test-support-ldouble.c: Likewise.
6832         * math/libm-test-driver.c: Remove main comment and header
6833         includes.  Include libm-test-support.h.
6834         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6835         (flag_test_errno): Remove static.
6836         (flag_test_exceptions): Likewise.
6837         (flag_test_finite): Likewise.
6838         (flag_test_inline): Likewise.
6839         (flag_test_mathvec): Likewise.
6840         (test_msg): Likewise.
6841         (NO_EXCEPTION): Remove.
6842         (INVALID_EXCEPTION): Likewise.
6843         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6844         (OVERFLOW_EXCEPTION): Likewise.
6845         (UNDERFLOW_EXCEPTION): Likewise.
6846         (INEXACT_EXCEPTION): Likewise.
6847         (INVALID_EXCEPTION_OK): Likewise.
6848         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6849         (OVERFLOW_EXCEPTION_OK): Likewise.
6850         (UNDERFLOW_EXCEPTION_OK): Likewise.
6851         (NO_INEXACT_EXCEPTION): Likewise.
6852         (EXCEPTIONS_OK): Likewise.
6853         (IGNORE_ZERO_INF_SIGN): Likewise.
6854         (TEST_NAN_SIGN): Likewise.
6855         (TEST_NAN_PAYLOAD): Likewise.
6856         (NO_TEST_INLINE): Likewise.
6857         (XFAIL_TEST): Likewise.
6858         (ERRNO_UNCHANGED): Likewise.
6859         (ERRNO_EDOM): Likewise.
6860         (ERRNO_ERANGE): Likewise.
6861         (IGNORE_RESULT): Likewise.
6862         (NON_FINITE): Likewise.
6863         (TEST_SNAN): Likewise.
6864         (NO_TEST_MATHVEC): Likewise.
6865         (__CONCATX): Likewise.
6866         (TYPE_MIN): Likewise.
6867         (TYPE_TRUE_MIN): Likewise.
6868         (TYPE_MAX): Likewise.
6869         (MIN_EXP): Likewise.
6870         (MAX_EXP): Likewise.
6871         (MANT_DIG): Likewise.
6872         (FSTR_MAX): Likewise.
6873         (ulp_idx): Likewise.
6874         (qtype_str): Remove static.
6875         (TEST_COND_binary32): Remove.
6876         (TEST_COND_binary64): Likewise.
6877         (TEST_COND_binary128): Likewise.
6878         (TEST_COND_ibm128): Likewise.
6879         (TEST_COND_intel96): Likewise.
6880         (TEST_COND_m68k96): Likewise.
6881         (TEST_COND_ibm128_libgcc): Likewise.
6882         (XFAIL_IBM128_LIBGCC): Likewise.
6883         (PAYLOAD_DIG): Likewise.
6884         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6885         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6886         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6887         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6888         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6889         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6890         (TEST_COND_long32): Likewise.
6891         (TEST_COND_long64): Likewise.
6892         (TEST_COND_before_rounding): Likewise.
6893         (TEST_COND_after_rounding): Likewise.
6894         (ulps_file_name): Likewise.
6895         (ulps_file): Likewise.
6896         (output_ulps): Likewise.
6897         (output_dir): Likewise.
6898         (noErrors): Likewise.
6899         (noTests): Likewise.
6900         (noExcTests): Likewise.
6901         (noErrnoTests): Likewise.
6902         (verbose): Likewise.
6903         (output_max_error): Likewise.
6904         (output_points): Likewise.
6905         (ignore_max_ulp): Likewise.
6906         (max_error): Likewise.
6907         (real_max_error): Likewise.
6908         (imag_max_error): Likewise.
6909         (prev_max_error): Likewise.
6910         (prev_real_max_error): Likewise.
6911         (prev_imag_max_error): Likewise.
6912         (max_valid_error): Likewise.
6913         (TYPE_DECIMAL_DIG): Likewise.
6914         (TYPE_HEX_DIG): Likewise.
6915         (fmt_ftostr): Likewise.
6916         (compare_ulp_data): Likewise.
6917         (find_ulps): Likewise.
6918         (init_max_error): Likewise.
6919         (set_max_error): Likewise.
6920         (print_float): Likewise.
6921         (print_screen): Likewise.
6922         (print_screen_max_error): Likewise.
6923         (update_stats): Likewise.
6924         (print_function_ulps): Likewise.
6925         (print_complex_function_ulps): Likewise.
6926         (fpstack_test): Likewise.
6927         (print_max_error): Likewise.
6928         (print_complex_max_error): Likewise.
6929         (test_single_exception): Likewise.
6930         (test_exceptions): Likewise.
6931         (test_single_errno): Likewise.
6932         (test_errno): Likewise.
6933         (ULPDIFF): Likewise.
6934         (ulp): Likewise.
6935         (check_float_internal): Likewise.
6936         (check_float): Likewise.
6937         (check_complex): Likewise.
6938         (check_int): Likewise.
6939         (check_long): Likewise.
6940         (check_bool): Likewise.
6941         (check_longlong): Likewise.
6942         (check_intmax_t): Likewise.
6943         (check_uintmax_t): Likewise.
6944         (enable_test): Likewise.
6945         (matherr): Likewise.
6946         (initialize): Likewise.
6947         (options): Likewise.
6948         (doc): Remove static.
6949         (argp): Likewise.
6950         (parse_opt): Remove.
6951         (check_ulp): Likewise.
6952         (libm_test_init): Likewise.
6953         (libm_test_finish): Likewise.
6954         * math/Makefile (libm-test-support): New variable.
6955         (test-extras): Add libm-test-support files.
6956         (extra-test-objs): Likewise.
6957         (CFLAGS-libm-test-support-float.c): New variable.
6958         (CFLAGS-libm-test-support-double.c): Likewise.
6959         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6960         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6961         libm-test-support objects.
6963 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6965         * math/Makefile (libm-calls): Move w_exp...
6966         (libm-compat-calls-auto): Here.
6968         * math/w_expl.c: Add suffix "_compat" to filename.
6969         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6970         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6971         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6972         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6973         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6974         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6975         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6976         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6978         * math/w_expl_compat.c: New file, copied from above.
6979         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6980         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6981         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6982         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6983         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6984         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6985         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6986         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6988         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6989         to filename.
6990         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6992         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6993         copied from above and adjusted for the new filenames.
6994         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6996 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6998         * math/Makefile (libm-calls): Move w_lgammaF...
6999         (libm-compat-calls-auto): Here.
7001         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7002         * math/w_lgammaf.c: Likewise.
7003         * math/w_lgammal.c: Likewise.
7005         * math/w_lgamma_compat2.c: New file, copied from above.
7006         * math/w_lgammaf_compat2.c: Likewise.
7007         * math/w_lgammal_compat2.c: Likewise.
7009 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7011         * math/Makefile (libm-calls): Move w_lgammaF_r...
7012         (libm-compat-calls-auto): Here.
7014         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7015         * math/w_lgammaf_r.c: Likewise.
7016         * math/w_lgammal_r.c: Likewise.
7017         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7018         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7019         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7021         * math/w_lgamma_r_compat.c: New file, copied from above.
7022         * math/w_lgammaf_r_compat.c: Likewise.
7023         * math/w_lgammal_r_compat.c: Likewise.
7024         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7025         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7026         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7028         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7029         to filename.
7030         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7032         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7033         copied from above and adjusted for the new filenames.
7034         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7036 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7038         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7039         calculation in SYSCALL_ERROR_HANDLER().
7041 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7043         * manual/contrib.texi: Fix typo.
7045 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7047         [BZ #21109]
7048         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7049         tunable_val_t as argument.
7050         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7051         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7052         argument.
7053         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7055 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7057         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7058         Add PTRACE_EVENT_STOP.
7059         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7060         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7062         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7063         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7064         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7066 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7068         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7069         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7070         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7071         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7072         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7073         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7074         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7075         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7076         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7077         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7079         [BZ #21112]
7080         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7081         12 bits zero.
7082         (cp_l): Update for new value of cp_h.
7083         * math/auto-libm-test-in: Add another test of pow.
7084         * math/auto-libm-test-out-pow: Regenerated.
7086 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7088         * manual/contrib.texi: Fix typo.
7090 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7092         [BZ #15998]
7093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7094         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7097 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7099         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7100         STRCHR as __strchr_power8.
7101         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7102         strlen as __strlen_power8.
7104 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7106         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7107         unaligned load for shorter strings.
7108         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7110 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7112         * math/libm-test-driver.c (flag_test_errno): New variable.
7113         (flag_test_exceptions): Likewise.
7114         (flag_test_finite): Likewise.
7115         (flag_test_inline): Likewise.
7116         (flag_test_mathvec): Likewise.
7117         (test_msg): Likewise.
7118         (ulp_idx): Likewise.
7119         (qtype_str): Likewise.
7120         (ULP_IDX): Remove macro.
7121         (QTYPE_STR): Likewise.
7122         (find_ulps): Use ulp_idx not ULP_IDX.
7123         (print_function_ulps): Use qtype_str, printed with %s, not
7124         QTYPE_STR, printed with concatentation to format string.
7125         (print_complex_function_ulps): Likewise.
7126         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7127         (test_errno): Use flag_test_errno not TEST_ERRNO.
7128         (enable_test): Use flag_test_inline, flag_test_finite and
7129         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7130         TEST_MATHVEC.
7131         (libm_test_init): New function.  Factored out of main.
7132         (libm_test_finish): Likewise.
7133         (main): Call libm_test_init and libm_test_finish and move most
7134         code to those functions.
7136         * math/libm-test-driver.c (STRX): New macro.
7137         (STR): Likewise.
7138         (STR_FLOAT): Likewise.
7139         (STR_VEC_LEN): Likewise.
7140         (TEST_MSG): Likewise.  Define here instead of expecting to be
7141         defined by including file.
7142         * math/test-double-finite.c (TEST_MSG): Remove macro.
7143         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7144         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7145         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7146         * math/test-double.c (TEST_MSG): Likewise.
7147         * math/test-float-finite.c (TEST_MSG): Likewise.
7148         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7149         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7150         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7151         * math/test-float.c (TEST_MSG): Likewise.
7152         * math/test-idouble.c (TEST_MSG): Likewise.
7153         * math/test-ifloat.c (TEST_MSG): Likewise.
7154         * math/test-ildouble.c (TEST_MSG): Likewise.
7155         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7156         * math/test-ldouble.c (TEST_MSG): Likewise.
7158         * math/libm-test.inc: Move all tests of individual functions to
7159         libm-test-*.inc and #include libm-test-*.c files.
7160         (acos_test_data): Remove.
7161         (acos_test): Likewise.
7162         (acosh_test_data): Likewise.
7163         (acosh_test): Likewise.
7164         (asin_test_data): Likewise.
7165         (asin_test): Likewise.
7166         (asinh_test_data): Likewise.
7167         (asinh_test): Likewise.
7168         (atan_test_data): Likewise.
7169         (atan_test): Likewise.
7170         (atanh_test_data): Likewise.
7171         (atanh_test): Likewise.
7172         (atan2_test_data): Likewise.
7173         (atan2_test): Likewise.
7174         (cabs_test_data): Likewise.
7175         (cabs_test): Likewise.
7176         (cacos_test_data): Likewise.
7177         (cacos_test): Likewise.
7178         (cacosh_test_data): Likewise.
7179         (cacosh_test): Likewise.
7180         (canonicalize_test_data): Likewise.
7181         (canonicalize_test): Likewise.
7182         (carg_test_data): Likewise.
7183         (carg_test): Likewise.
7184         (casin_test_data): Likewise.
7185         (casin_test): Likewise.
7186         (casinh_test_data): Likewise.
7187         (casinh_test): Likewise.
7188         (catan_test_data): Likewise.
7189         (catan_test): Likewise.
7190         (catanh_test_data): Likewise.
7191         (catanh_test): Likewise.
7192         (cbrt_test_data): Likewise.
7193         (cbrt_test): Likewise.
7194         (ccos_test_data): Likewise.
7195         (ccos_test): Likewise.
7196         (ccosh_test_data): Likewise.
7197         (ccosh_test): Likewise.
7198         (ceil_test_data): Likewise.
7199         (ceil_test): Likewise.
7200         (cexp_test_data): Likewise.
7201         (cexp_test): Likewise.
7202         (cimag_test_data): Likewise.
7203         (cimag_test): Likewise.
7204         (clog_test_data): Likewise.
7205         (clog_test): Likewise.
7206         (clog10_test_data): Likewise.
7207         (clog10_test): Likewise.
7208         (conj_test_data): Likewise.
7209         (conj_test): Likewise.
7210         (copysign_test_data): Likewise.
7211         (copysign_test): Likewise.
7212         (cos_test_data): Likewise.
7213         (cos_test): Likewise.
7214         (cosh_test_data): Likewise.
7215         (cosh_test): Likewise.
7216         (cpow_test_data): Likewise.
7217         (cpow_test): Likewise.
7218         (cproj_test_data): Likewise.
7219         (cproj_test): Likewise.
7220         (creal_test_data): Likewise.
7221         (creal_test): Likewise.
7222         (csin_test_data): Likewise.
7223         (csin_test): Likewise.
7224         (csinh_test_data): Likewise.
7225         (csinh_test): Likewise.
7226         (csqrt_test_data): Likewise.
7227         (csqrt_test): Likewise.
7228         (ctan_test_data): Likewise.
7229         (ctan_test): Likewise.
7230         (ctanh_test_data): Likewise.
7231         (ctanh_test): Likewise.
7232         (erf_test_data): Likewise.
7233         (erf_test): Likewise.
7234         (erfc_test_data): Likewise.
7235         (erfc_test): Likewise.
7236         (exp_test_data): Likewise.
7237         (exp_test): Likewise.
7238         (exp10_test_data): Likewise.
7239         (exp10_test): Likewise.
7240         (pow10_test): Likewise.
7241         (exp2_test_data): Likewise.
7242         (exp2_test): Likewise.
7243         (expm1_test_data): Likewise.
7244         (expm1_test): Likewise.
7245         (fabs_test_data): Likewise.
7246         (fabs_test): Likewise.
7247         (fdim_test_data): Likewise.
7248         (fdim_test): Likewise.
7249         (floor_test_data): Likewise.
7250         (floor_test): Likewise.
7251         (fma_test_data): Likewise.
7252         (fma_test): Likewise.
7253         (fmax_test_data): Likewise.
7254         (fmax_test): Likewise.
7255         (fmaxmag_test_data): Likewise.
7256         (fmaxmag_test): Likewise.
7257         (fmin_test_data): Likewise.
7258         (fmin_test): Likewise.
7259         (fminmag_test_data): Likewise.
7260         (fminmag_test): Likewise.
7261         (fmod_test_data): Likewise.
7262         (fmod_test): Likewise.
7263         (fpclassify_test_data): Likewise.
7264         (fpclassify_test): Likewise.
7265         (frexp_test_data): Likewise.
7266         (frexp_test): Likewise.
7267         (fromfp_test_data): Likewise.
7268         (fromfp_test): Likewise.
7269         (fromfpx_test_data): Likewise.
7270         (fromfpx_test): Likewise.
7271         (getpayload_test_data): Likewise.
7272         (getpayload_test): Likewise.
7273         (hypot_test_data): Likewise.
7274         (hypot_test): Likewise.
7275         (ilogb_test_data): Likewise.
7276         (ilogb_test): Likewise.
7277         (iscanonical_test_data): Likewise.
7278         (iscanonical_test): Likewise.
7279         (iseqsig_test_data): Likewise.
7280         (iseqsig_test): Likewise.
7281         (isfinite_test_data): Likewise.
7282         (isfinite_test): Likewise.
7283         (finite_test): Likewise.
7284         (isgreater_test_data): Likewise.
7285         (isgreater_test): Likewise.
7286         (isgreaterequal_test_data): Likewise.
7287         (isgreaterequal_test): Likewise.
7288         (isinf_test_data): Likewise.
7289         (isinf_test): Likewise.
7290         (isless_test_data): Likewise.
7291         (isless_test): Likewise.
7292         (islessequal_test_data): Likewise.
7293         (islessequal_test): Likewise.
7294         (islessgreater_test_data): Likewise.
7295         (islessgreater_test): Likewise.
7296         (isnan_test_data): Likewise.
7297         (isnan_test): Likewise.
7298         (isnormal_test_data): Likewise.
7299         (isnormal_test): Likewise.
7300         (issignaling_test_data): Likewise.
7301         (issignaling_test): Likewise.
7302         (issubnormal_test_data): Likewise.
7303         (issubnormal_test): Likewise.
7304         (isunordered_test_data): Likewise.
7305         (isunordered_test): Likewise.
7306         (iszero_test_data): Likewise.
7307         (iszero_test): Likewise.
7308         (j0_test_data): Likewise.
7309         (j0_test): Likewise.
7310         (j1_test_data): Likewise.
7311         (j1_test): Likewise.
7312         (jn_test_data): Likewise.
7313         (jn_test): Likewise.
7314         (lgamma_test_data): Likewise.
7315         (lgamma_test): Likewise.
7316         (gamma_test): Likewise.
7317         (llogb_test_data): Likewise.
7318         (llogb_test): Likewise.
7319         (lrint_test_data): Likewise.
7320         (lrint_test): Likewise.
7321         (llrint_test_data): Likewise.
7322         (llrint_test): Likewise.
7323         (log_test_data): Likewise.
7324         (log_test): Likewise.
7325         (log10_test_data): Likewise.
7326         (log10_test): Likewise.
7327         (log1p_test_data): Likewise.
7328         (log1p_test): Likewise.
7329         (log2_test_data): Likewise.
7330         (log2_test): Likewise.
7331         (logb_test_data): Likewise.
7332         (logb_test): Likewise.
7333         (lround_test_data): Likewise.
7334         (lround_test): Likewise.
7335         (llround_test_data): Likewise.
7336         (llround_test): Likewise.
7337         (modf_test_data): Likewise.
7338         (modf_test): Likewise.
7339         (nearbyint_test_data): Likewise.
7340         (nearbyint_test): Likewise.
7341         (nextafter_test_data): Likewise.
7342         (nextafter_test): Likewise.
7343         (nextup_test_data): Likewise.
7344         (nextup_test): Likewise.
7345         (nextdown_test_data): Likewise.
7346         (nextdown_test): Likewise.
7347         (nexttoward_test_data): Likewise.
7348         (nexttoward_test): Likewise.
7349         (pow_test_data): Likewise.
7350         (pow_test): Likewise.
7351         (remainder_test_data): Likewise.
7352         (remainder_test): Likewise.
7353         (drem_test): Likewise.
7354         (remquo_test_data): Likewise.
7355         (remquo_test): Likewise.
7356         (rint_test_data): Likewise.
7357         (rint_test): Likewise.
7358         (round_test_data): Likewise.
7359         (round_test): Likewise.
7360         (roundeven_test_data): Likewise.
7361         (roundeven_test): Likewise.
7362         (scalb_test_data): Likewise.
7363         (scalb_test): Likewise.
7364         (scalbn_test_data): Likewise.
7365         (scalbn_test): Likewise.
7366         (ldexp_test): Likewise.
7367         (scalbln_test_data): Likewise.
7368         (scalbln_test): Likewise.
7369         (setpayload_test_data): Likewise.
7370         (setpayload_test): Likewise.
7371         (setpayloadsig_test_data): Likewise.
7372         (setpayloadsig_test): Likewise.
7373         (signbit_test_data): Likewise.
7374         (signbit_test): Likewise.
7375         (sin_test_data): Likewise.
7376         (sin_test): Likewise.
7377         (sincos_test_data): Likewise.
7378         (sincos_test): Likewise.
7379         (sinh_test_data): Likewise.
7380         (sinh_test): Likewise.
7381         (sqrt_test_data): Likewise.
7382         (sqrt_test): Likewise.
7383         (tan_test_data): Likewise.
7384         (tan_test): Likewise.
7385         (tanh_test_data): Likewise.
7386         (tanh_test): Likewise.
7387         (tgamma_test_data): Likewise.
7388         (tgamma_test): Likewise.
7389         (totalorder_test_data): Likewise.
7390         (totalorder_test): Likewise.
7391         (totalordermag_test_data): Likewise.
7392         (totalordermag_test): Likewise.
7393         (trunc_test_data): Likewise.
7394         (trunc_test): Likewise.
7395         (ufromfp_test_data): Likewise.
7396         (ufromfp_test): Likewise.
7397         (ufromfpx_test_data): Likewise.
7398         (ufromfpx_test): Likewise.
7399         (y0_test_data): Likewise.
7400         (y0_test): Likewise.
7401         (y1_test_data): Likewise.
7402         (y1_test): Likewise.
7403         (yn_test_data): Likewise.
7404         (yn_test): Likewise.
7405         (significand_test_data): Likewise.
7406         (significand_test): Likewise.
7407         * math/Makefile (auto-libm-test-out-files): Remove variable.
7408         (libm-test-funcs-noauto): New variable.
7409         (libm-test-funcs-all): Likewise.
7410         (libm-test-c-auto): Likewise.
7411         (libm-test-c-noauto): Likewise.
7412         (libm-tests-generated): Add $(libm-test-c-auto) and
7413         $(libm-test-c-noauto).
7414         (generated): Do not add auto-libm-test-out.
7415         (libm-test-c-auto-obj): New variable.
7416         (libm-test-c-noauto-obj): Likewise.
7417         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
7418         ($(libm-test-c-noauto-obj)): New static pattern rule.
7419         ($(libm-test-c-auto-obj)): Likewise.
7420         (libm-test-incs): New variable.
7421         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
7422         and pass it to gen-libm-have-vector-test.sh.
7423         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
7424         be passed on command line.
7425         * math/libm-test-acos.inc: New file.  Content from
7426         math/libm-test.inc.
7427         * math/libm-test-acosh.inc: Likewise.
7428         * math/libm-test-asin.inc: Likewise.
7429         * math/libm-test-asinh.inc: Likewise.
7430         * math/libm-test-atan.inc: Likewise.
7431         * math/libm-test-atan2.inc: Likewise.
7432         * math/libm-test-atanh.inc: Likewise.
7433         * math/libm-test-cabs.inc: Likewise.
7434         * math/libm-test-cacos.inc: Likewise.
7435         * math/libm-test-cacosh.inc: Likewise.
7436         * math/libm-test-canonicalize.inc: Likewise.
7437         * math/libm-test-carg.inc: Likewise.
7438         * math/libm-test-casin.inc: Likewise.
7439         * math/libm-test-casinh.inc: Likewise.
7440         * math/libm-test-catan.inc: Likewise.
7441         * math/libm-test-catanh.inc: Likewise.
7442         * math/libm-test-cbrt.inc: Likewise.
7443         * math/libm-test-ccos.inc: Likewise.
7444         * math/libm-test-ccosh.inc: Likewise.
7445         * math/libm-test-ceil.inc: Likewise.
7446         * math/libm-test-cexp.inc: Likewise.
7447         * math/libm-test-cimag.inc: Likewise.
7448         * math/libm-test-clog.inc: Likewise.
7449         * math/libm-test-clog10.inc: Likewise.
7450         * math/libm-test-conj.inc: Likewise.
7451         * math/libm-test-copysign.inc: Likewise.
7452         * math/libm-test-cos.inc: Likewise.
7453         * math/libm-test-cosh.inc: Likewise.
7454         * math/libm-test-cpow.inc: Likewise.
7455         * math/libm-test-cproj.inc: Likewise.
7456         * math/libm-test-creal.inc: Likewise.
7457         * math/libm-test-csin.inc: Likewise.
7458         * math/libm-test-csinh.inc: Likewise.
7459         * math/libm-test-csqrt.inc: Likewise.
7460         * math/libm-test-ctan.inc: Likewise.
7461         * math/libm-test-ctanh.inc: Likewise.
7462         * math/libm-test-erf.inc: Likewise.
7463         * math/libm-test-erfc.inc: Likewise.
7464         * math/libm-test-exp.inc: Likewise.
7465         * math/libm-test-exp10.inc: Likewise.
7466         * math/libm-test-exp2.inc: Likewise.
7467         * math/libm-test-expm1.inc: Likewise.
7468         * math/libm-test-fabs.inc: Likewise.
7469         * math/libm-test-fdim.inc: Likewise.
7470         * math/libm-test-floor.inc: Likewise.
7471         * math/libm-test-fma.inc: Likewise.
7472         * math/libm-test-fmax.inc: Likewise.
7473         * math/libm-test-fmaxmag.inc: Likewise.
7474         * math/libm-test-fmin.inc: Likewise.
7475         * math/libm-test-fminmag.inc: Likewise.
7476         * math/libm-test-fmod.inc: Likewise.
7477         * math/libm-test-fpclassify.inc: Likewise.
7478         * math/libm-test-frexp.inc: Likewise.
7479         * math/libm-test-fromfp.inc: Likewise.
7480         * math/libm-test-fromfpx.inc: Likewise.
7481         * math/libm-test-getpayload.inc: Likewise.
7482         * math/libm-test-hypot.inc: Likewise.
7483         * math/libm-test-ilogb.inc: Likewise.
7484         * math/libm-test-iscanonical.inc: Likewise.
7485         * math/libm-test-iseqsig.inc: Likewise.
7486         * math/libm-test-isfinite.inc: Likewise.
7487         * math/libm-test-isgreater.inc: Likewise.
7488         * math/libm-test-isgreaterequal.inc: Likewise.
7489         * math/libm-test-isinf.inc: Likewise.
7490         * math/libm-test-isless.inc: Likewise.
7491         * math/libm-test-islessequal.inc: Likewise.
7492         * math/libm-test-islessgreater.inc: Likewise.
7493         * math/libm-test-isnan.inc: Likewise.
7494         * math/libm-test-isnormal.inc: Likewise.
7495         * math/libm-test-issignaling.inc: Likewise.
7496         * math/libm-test-issubnormal.inc: Likewise.
7497         * math/libm-test-isunordered.inc: Likewise.
7498         * math/libm-test-iszero.inc: Likewise.
7499         * math/libm-test-j0.inc: Likewise.
7500         * math/libm-test-j1.inc: Likewise.
7501         * math/libm-test-jn.inc: Likewise.
7502         * math/libm-test-lgamma.inc: Likewise.
7503         * math/libm-test-llogb.inc: Likewise.
7504         * math/libm-test-llrint.inc: Likewise.
7505         * math/libm-test-llround.inc: Likewise.
7506         * math/libm-test-log.inc: Likewise.
7507         * math/libm-test-log10.inc: Likewise.
7508         * math/libm-test-log1p.inc: Likewise.
7509         * math/libm-test-log2.inc: Likewise.
7510         * math/libm-test-logb.inc: Likewise.
7511         * math/libm-test-lrint.inc: Likewise.
7512         * math/libm-test-lround.inc: Likewise.
7513         * math/libm-test-modf.inc: Likewise.
7514         * math/libm-test-nearbyint.inc: Likewise.
7515         * math/libm-test-nextafter.inc: Likewise.
7516         * math/libm-test-nextdown.inc: Likewise.
7517         * math/libm-test-nexttoward.inc: Likewise.
7518         * math/libm-test-nextup.inc: Likewise.
7519         * math/libm-test-pow.inc: Likewise.
7520         * math/libm-test-remainder.inc: Likewise.
7521         * math/libm-test-remquo.inc: Likewise.
7522         * math/libm-test-rint.inc: Likewise.
7523         * math/libm-test-round.inc: Likewise.
7524         * math/libm-test-roundeven.inc: Likewise.
7525         * math/libm-test-scalb.inc: Likewise.
7526         * math/libm-test-scalbln.inc: Likewise.
7527         * math/libm-test-scalbn.inc: Likewise.
7528         * math/libm-test-setpayload.inc: Likewise.
7529         * math/libm-test-setpayloadsig.inc: Likewise.
7530         * math/libm-test-signbit.inc: Likewise.
7531         * math/libm-test-significand.inc: Likewise.
7532         * math/libm-test-sin.inc: Likewise.
7533         * math/libm-test-sincos.inc: Likewise.
7534         * math/libm-test-sinh.inc: Likewise.
7535         * math/libm-test-sqrt.inc: Likewise.
7536         * math/libm-test-tan.inc: Likewise.
7537         * math/libm-test-tanh.inc: Likewise.
7538         * math/libm-test-tgamma.inc: Likewise.
7539         * math/libm-test-totalorder.inc: Likewise.
7540         * math/libm-test-totalordermag.inc: Likewise.
7541         * math/libm-test-trunc.inc: Likewise.
7542         * math/libm-test-ufromfp.inc: Likewise.
7543         * math/libm-test-ufromfpx.inc: Likewise.
7544         * math/libm-test-y0.inc: Likewise.
7545         * math/libm-test-y1.inc: Likewise.
7546         * math/libm-test-yn.inc: Likewise.
7547         * math/README.libm-test: Update.
7549         * math/gen-auto-libm-tests.c: Update comment about use of program.
7550         (generate_output): Add argument FUNCTION.
7551         (main): Require extra argument.  Pass function name to
7552         generate_output.
7553         * math/Makefile (generated): Add auto-libm-test-out.
7554         (libm-test-funcs-auto): New variable.
7555         (auto-libm-test-out-files): New variable.
7556         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
7557         Concatenate those files to form $(objpfx)auto-libm-test-out and
7558         use it as input to gen-libm-test.pl.
7559         * math/README.libm-test: Update.
7560         * math/auto-libm-test-out: Remove.
7561         * math/auto-libm-test-out-acos: New generated file.
7562         * math/auto-libm-test-out-acosh: Likewise.
7563         * math/auto-libm-test-out-asin: Likewise.
7564         * math/auto-libm-test-out-asinh: Likewise.
7565         * math/auto-libm-test-out-atan: Likewise.
7566         * math/auto-libm-test-out-atan2: Likewise.
7567         * math/auto-libm-test-out-atanh: Likewise.
7568         * math/auto-libm-test-out-cabs: Likewise.
7569         * math/auto-libm-test-out-carg: Likewise.
7570         * math/auto-libm-test-out-cbrt: Likewise.
7571         * math/auto-libm-test-out-ccos: Likewise.
7572         * math/auto-libm-test-out-ccosh: Likewise.
7573         * math/auto-libm-test-out-cexp: Likewise.
7574         * math/auto-libm-test-out-clog: Likewise.
7575         * math/auto-libm-test-out-clog10: Likewise.
7576         * math/auto-libm-test-out-cos: Likewise.
7577         * math/auto-libm-test-out-cosh: Likewise.
7578         * math/auto-libm-test-out-cpow: Likewise.
7579         * math/auto-libm-test-out-csin: Likewise.
7580         * math/auto-libm-test-out-csinh: Likewise.
7581         * math/auto-libm-test-out-csqrt: Likewise.
7582         * math/auto-libm-test-out-ctan: Likewise.
7583         * math/auto-libm-test-out-ctanh: Likewise.
7584         * math/auto-libm-test-out-erf: Likewise.
7585         * math/auto-libm-test-out-erfc: Likewise.
7586         * math/auto-libm-test-out-exp: Likewise.
7587         * math/auto-libm-test-out-exp10: Likewise.
7588         * math/auto-libm-test-out-exp2: Likewise.
7589         * math/auto-libm-test-out-expm1: Likewise.
7590         * math/auto-libm-test-out-fma: Likewise.
7591         * math/auto-libm-test-out-hypot: Likewise.
7592         * math/auto-libm-test-out-j0: Likewise.
7593         * math/auto-libm-test-out-j1: Likewise.
7594         * math/auto-libm-test-out-jn: Likewise.
7595         * math/auto-libm-test-out-lgamma: Likewise.
7596         * math/auto-libm-test-out-log: Likewise.
7597         * math/auto-libm-test-out-log10: Likewise.
7598         * math/auto-libm-test-out-log1p: Likewise.
7599         * math/auto-libm-test-out-log2: Likewise.
7600         * math/auto-libm-test-out-pow: Likewise.
7601         * math/auto-libm-test-out-sin: Likewise.
7602         * math/auto-libm-test-out-sincos: Likewise.
7603         * math/auto-libm-test-out-sinh: Likewise.
7604         * math/auto-libm-test-out-sqrt: Likewise.
7605         * math/auto-libm-test-out-tan: Likewise.
7606         * math/auto-libm-test-out-tanh: Likewise.
7607         * math/auto-libm-test-out-tgamma: Likewise.
7608         * math/auto-libm-test-out-y0: Likewise.
7609         * math/auto-libm-test-out-y1: Likewise.
7610         * math/auto-libm-test-out-yn: Likewise.
7612         * math/Makefile (generated): Do not include libm-test.stmp.
7613         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
7614         on $(objpfx)libm-test.stmp.
7615         ($(objpfx)libm-test.stmp): Remove rule.
7616         ($(objpfx)libm-test-ulps.h): New rule.
7617         ($(objpfx)libm-test.c): Likewise.
7618         ($(objpfx)libm-have-vector-test.h): Likewise.
7619         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
7620         individual generated files, not libm-test.stmp.
7622         * math/gen-libm-test.pl ($output_dir): Remove variable.
7623         ($srcdir): Likewise.
7624         ($opt_a): New variable.
7625         ($opt_c): Likewise.
7626         ($opt_C): Likewise.
7627         ($opt_H): Likewise.
7628         (-n): Make option take argument and use it as NewUlps output.
7629         (-a): New option.  Use its argument for auto-libm-test-out input.
7630         (-c): New option.  Use its argument for libm-test.inc input.
7631         (-C): New option.  Use its argument for libm-test.c output.
7632         (-H): New option.  Use its argument for libm-test-ulps.h output.
7633         (top level): Only process inputs needed to generate outputs
7634         specified by command-line options.  Only generate outputs
7635         specified by command-line options.
7636         * math/README.libm-test: Update example gen-libm-test.pl command.
7637         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
7638         commands.
7639         (regen-ulps): Likewise.
7641 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
7643         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
7644         * include/string.h (index): Remove define.
7645         (rindex): Likewise.
7646         * misc/getttyent.c (__getttyent): Rename index to strchr.
7647         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
7648         * sunrpc/rpc_main.c (mkfile_output): Likewise.
7650 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7652         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
7653         * math/libm-test.inc: Move all contents, other than tests of
7654         individual functions, to libm-test-driver.c.
7655         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
7656         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
7657         [!FE_UPWARD] (FE_UPWARD): Likewise.
7658         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
7659         (NO_EXCEPTION): Likewise.
7660         (INVALID_EXCEPTION): Likewise.
7661         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7662         (OVERFLOW_EXCEPTION): Likewise.
7663         (UNDERFLOW_EXCEPTION): Likewise.
7664         (INEXACT_EXCEPTION): Likewise.
7665         (INVALID_EXCEPTION_OK): Likewise.
7666         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7667         (OVERFLOW_EXCEPTION_OK): Likewise.
7668         (UNDERFLOW_EXCEPTION_OK): Likewise.
7669         (NO_INEXACT_EXCEPTION): Likewise.
7670         (EXCEPTIONS_OK): Likewise.
7671         (IGNORE_ZERO_INF_SIGN): Likewise.
7672         (TEST_NAN_SIGN): Likewise.
7673         (TEST_NAN_PAYLOAD): Likewise.
7674         (NO_TEST_INLINE): Likewise.
7675         (XFAIL_TEST): Likewise.
7676         (ERRNO_UNCHANGED): Likewise.
7677         (ERRNO_EDOM): Likewise.
7678         (ERRNO_ERANGE): Likewise.
7679         (IGNORE_RESULT): Likewise.
7680         (NON_FINITE): Likewise.
7681         (TEST_SNAN): Likewise.
7682         (NO_TEST_MATHVEC): Likewise.
7683         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
7684         (__CONCATX): Likewise.
7685         (TYPE_MIN): Likewise.
7686         (TYPE_TRUE_MIN): Likewise.
7687         (TYPE_MAX): Likewise.
7688         (MIN_EXP): Likewise.
7689         (MAX_EXP): Likewise.
7690         (MANT_DIG): Likewise.
7691         (FSTR_MAX): Likewise.
7692         (ULP_IDX): Likewise.
7693         (QTYPE_STR): Likewise.
7694         (TEST_COND_binary32): Likewise.
7695         (TEST_COND_binary64): Likewise.
7696         (TEST_COND_binary128): Likewise.
7697         (TEST_COND_ibm128): Likewise.
7698         (TEST_COND_intel96): Likewise.
7699         (TEST_COND_m68k96): Likewise.
7700         (TEST_COND_ibm128_libgcc): Likewise.
7701         (XFAIL_IBM128_LIBGCC): Likewise.
7702         (PAYLOAD_DIG): Likewise.
7703         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7704         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7705         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7706         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7707         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7708         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7709         (TEST_COND_long32): Likewise.
7710         (TEST_COND_long64): Likewise.
7711         (TEST_COND_before_rounding): Likewise.
7712         (TEST_COND_after_rounding): Likewise.
7713         (lit_pi_3_m_4_d): Likewise.
7714         (lit_pi_3_m_4_ln10_m_d): Likewise.
7715         (lit_pi_2_ln10_m_d): Likewise.
7716         (lit_pi_4_ln10_m_d): Likewise.
7717         (lit_pi_ln10_d): Likewise.
7718         (lit_pi_2_d): Likewise.
7719         (lit_pi_4_d): Likewise.
7720         (lit_pi): Likewise.
7721         (lit_e): Likewise.
7722         (ulps_file_name): Likewise.
7723         (ulps_file): Likewise.
7724         (output_ulps): Likewise.
7725         (output_dir): Likewise.
7726         (noErrors): Likewise.
7727         (noTests): Likewise.
7728         (noExcTests): Likewise.
7729         (noErrnoTests): Likewise.
7730         (verbose): Likewise.
7731         (output_max_error): Likewise.
7732         (output_points): Likewise.
7733         (ignore_max_ulp): Likewise.
7734         (plus_zero): Likewise.
7735         (minus_zero): Likewise.
7736         (plus_infty): Likewise.
7737         (minus_infty): Likewise.
7738         (qnan_value_pl): Likewise.
7739         (qnan_value): Likewise.
7740         (snan_value_pl): Likewise.
7741         (snan_value): Likewise.
7742         (max_value): Likewise.
7743         (min_value): Likewise.
7744         (min_subnorm_value): Likewise.
7745         (snan_value_ld): Likewise.
7746         (max_error): Likewise.
7747         (real_max_error): Likewise.
7748         (imag_max_error): Likewise.
7749         (prev_max_error): Likewise.
7750         (prev_real_max_error): Likewise.
7751         (prev_imag_max_error): Likewise.
7752         (max_valid_error): Likewise.
7753         (TYPE_DECIMAL_DIG): Likewise.
7754         (TYPE_HEX_DIG): Likewise.
7755         (fmt_ftostr): Likewise.
7756         (compare_ulp_data): Likewise.
7757         (find_ulps): Likewise.
7758         (init_max_error): Likewise.
7759         (set_max_error): Likewise.
7760         (print_float): Likewise.
7761         (print_screen): Likewise.
7762         (print_screen_max_error): Likewise.
7763         (update_stats): Likewise.
7764         (print_function_ulps): Likewise.
7765         (print_complex_function_ulps): Likewise.
7766         (fpstack_test): Likewise.
7767         (print_max_error): Likewise.
7768         (print_complex_max_error): Likewise.
7769         (test_single_exception): Likewise.
7770         (test_exceptions): Likewise.
7771         (test_single_errno): Likewise.
7772         (test_errno): Likewise.
7773         (ULPDIFF): Likewise.
7774         (ulp): Likewise.
7775         (check_float_internal): Likewise.
7776         (check_float): Likewise.
7777         (check_complex): Likewise.
7778         (check_int): Likewise.
7779         (check_long): Likewise.
7780         (check_bool): Likewise.
7781         (check_longlong): Likewise.
7782         (check_intmax_t): Likewise.
7783         (check_uintmax_t): Likewise.
7784         (enable_test): Likewise.
7785         (struct test_f_f_data): Likewise.
7786         (struct test_ff_f_data): Likewise.
7787         (struct test_fj_f_data): Likewise.
7788         (struct test_fi_f_data): Likewise.
7789         (struct test_fl_f_data): Likewise.
7790         (struct test_if_f_data): Likewise.
7791         (struct test_fff_f_data): Likewise.
7792         (struct test_fiu_M_data): Likewise.
7793         (struct test_fiu_U_data): Likewise.
7794         (struct test_c_f_data): Likewise.
7795         (struct test_f_f1_data): Likewise.
7796         (struct test_fF_f1_data): Likewise.
7797         (struct test_ffI_f1_data): Likewise.
7798         (struct test_c_c_data): Likewise.
7799         (struct test_cc_c_data): Likewise.
7800         (struct test_f_i_data): Likewise.
7801         (struct test_ff_i_data): Likewise.
7802         (struct test_f_l_data): Likewise.
7803         (struct test_f_L_data): Likewise.
7804         (struct test_fFF_11_data): Likewise.
7805         (struct test_Ff_b1_data): Likewise.
7806         (IF_ROUND_INIT_): Likewise.
7807         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7808         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7809         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7810         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7811         (ROUND_RESTORE_): Likewise.
7812         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7813         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7814         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7815         (ROUND_RESTORE_FE_UPWARD): Likewise.
7816         (RM_): Likewise.
7817         (RM_FE_DOWNWARD): Likewise.
7818         (RM_FE_TONEAREST): Likewise.
7819         (RM_FE_TOWARDZERO): Likewise.
7820         (RM_FE_UPWARD): Likewise.
7821         (COMMON_TEST_SETUP): Likewise.
7822         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7823         (COMMON_TEST_CLEANUP): Likewise.
7824         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7825         (RUN_TEST_f_f): Likewise.
7826         (RUN_TEST_LOOP_f_f): Likewise.
7827         (RUN_TEST_fp_f): Likewise.
7828         (RUN_TEST_LOOP_fp_f): Likewise.
7829         (RUN_TEST_2_f): Likewise.
7830         (RUN_TEST_LOOP_2_f): Likewise.
7831         (RUN_TEST_ff_f): Likewise.
7832         (RUN_TEST_LOOP_ff_f): Likewise.
7833         (RUN_TEST_LOOP_fj_f): Likewise.
7834         (RUN_TEST_fi_f): Likewise.
7835         (RUN_TEST_LOOP_fi_f): Likewise.
7836         (RUN_TEST_fl_f): Likewise.
7837         (RUN_TEST_LOOP_fl_f): Likewise.
7838         (RUN_TEST_if_f): Likewise.
7839         (RUN_TEST_LOOP_if_f): Likewise.
7840         (RUN_TEST_fff_f): Likewise.
7841         (RUN_TEST_LOOP_fff_f): Likewise.
7842         (RUN_TEST_fiu_M): Likewise.
7843         (RUN_TEST_LOOP_fiu_M): Likewise.
7844         (RUN_TEST_fiu_U): Likewise.
7845         (RUN_TEST_LOOP_fiu_U): Likewise.
7846         (RUN_TEST_c_f): Likewise.
7847         (RUN_TEST_LOOP_c_f): Likewise.
7848         (RUN_TEST_f_f1): Likewise.
7849         (RUN_TEST_LOOP_f_f1): Likewise.
7850         (RUN_TEST_fF_f1): Likewise.
7851         (RUN_TEST_LOOP_fF_f1): Likewise.
7852         (RUN_TEST_fI_f1): Likewise.
7853         (RUN_TEST_LOOP_fI_f1): Likewise.
7854         (RUN_TEST_ffI_f1_mod8): Likewise.
7855         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7856         (RUN_TEST_Ff_b1): Likewise.
7857         (RUN_TEST_LOOP_Ff_b1): Likewise.
7858         (RUN_TEST_Ffp_b1): Likewise.
7859         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7860         (RUN_TEST_c_c): Likewise.
7861         (RUN_TEST_LOOP_c_c): Likewise.
7862         (RUN_TEST_cc_c): Likewise.
7863         (RUN_TEST_LOOP_cc_c): Likewise.
7864         (RUN_TEST_f_i): Likewise.
7865         (RUN_TEST_LOOP_f_i): Likewise.
7866         (RUN_TEST_f_i_tg): Likewise.
7867         (RUN_TEST_LOOP_f_i_tg): Likewise.
7868         (RUN_TEST_ff_b): Likewise.
7869         (RUN_TEST_LOOP_ff_b): Likewise.
7870         (RUN_TEST_ff_i_tg): Likewise.
7871         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7872         (RUN_TEST_f_b): Likewise.
7873         (RUN_TEST_LOOP_f_b): Likewise.
7874         (RUN_TEST_f_b_tg): Likewise.
7875         (RUN_TEST_LOOP_f_b_tg): Likewise.
7876         (RUN_TEST_f_l): Likewise.
7877         (RUN_TEST_LOOP_f_l): Likewise.
7878         (RUN_TEST_f_L): Likewise.
7879         (RUN_TEST_LOOP_f_L): Likewise.
7880         (RUN_TEST_fFF_11): Likewise.
7881         (RUN_TEST_LOOP_fFF_11): Likewise.
7882         (VEC_SUFF): Likewise.
7883         (STR_CONCAT): Likewise.
7884         (STR_CON3): Likewise.
7885         (HAVE_VECTOR): Likewise.
7886         (START): Likewise.
7887         (END): Likewise.
7888         (END_COMPLEX): Likewise.
7889         (ALL_RM_TEST): Likewise.
7890         (matherr): Likewise.
7891         (initialize): Likewise.
7892         (options): Likewise.
7893         (doc): Likewise.
7894         (parse_opt): Likewise.
7895         (argp): Likewise.
7896         (check_ulp): Likewise.
7897         (main): Likewise.
7898         (do_test): New function.  Call tests of individual functions
7899         previously called from main.
7901         * math/libm-test.inc: Remove comment listing functions tested and
7902         not tested.
7904 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7906         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7907         (allocate_stack): Remove COLORING_INCREMENT usage.
7908         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7909         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7911 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7913         * manual/libm-err-tab.pl (@all_functions): Change to
7914         %all_functions.  Initialize as empty.
7915         (parse_ulps): Add to %all_functions based on functions found in
7916         ulps files.  Ignore results for non-default rounding modes and
7917         vector functions.
7918         (print_platforms): Use %all_platforms.
7919         * manual/math.texi (Errors in Math Functions): Document omissions
7920         from the table.
7922         * math/Makefile (before-compile): Remove.
7924 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7926         [BZ #21075]
7927         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7928         unused assignment.
7929         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7931 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7933         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7934         Add __glibc_unlikely hint.
7936 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7938         [BZ #16640]
7939         * sysdeps/i386/i686/strtok.S: Remove file.
7940         * sysdeps/i386/i686/strtok_r.S: Likewise.
7941         * sysdeps/i386/strtok.S: Likewise.
7942         * sysdeps/i386/strtok_r.S: Likewise.
7943         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7944         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7945         * sysdeps/x86_64/strtok.S: Likewise.
7946         * sysdeps/x86_64/strtok_r.S: Likewise.
7948         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7949         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7950         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7951         (__ASSUME_FADVISE64_AS_64_64): Define.
7952         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7953         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7954         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7955         __ALIGNMENT_ARG usage.
7956         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7957         __NR_fadvise64_64 if it is not defined.
7959 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7961         * version.h (RELEASE): Set to "development"
7962         (VERSION): Set to 2.25.90.
7963         * NEWS: Add 2.26 section.
7965         * version.h (RELEASE): Set to "stable"
7966         (VERSION): Set to 2.25.
7967         * include/features.h (__GLIBC_MINOR__): Set to 25.
7969         * manual/contrib.texi: Add more contributors from this release
7970         and past releases.
7972         * NEWS (2.25): Add list of bugs fixed.
7974         * NEWS: Add missing news items.
7976 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7978         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7979         parent if child exited in that manner.  Print WEXITSTATUS
7980         instead of the raw status.
7981         (do_test_prep): Rename to do_test.
7982         (do_test): Return the result of run_executable_sgid.
7983         (TEST_FUNCTION_ARGV): Adjust.
7985 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
7986             Florian Weimer  <fweimer@redhat.com>
7987             Carlos O'Donell  <carlos@redhat.com>
7989         [BZ #20915]
7990         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7991         Do not initialize DTV.
7992         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7994 2017-02-03  David S. Miller  <davem@davemloft.net>
7996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8005         (libm-sysdep_routines): Update.
8006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8011         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8012         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8013         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8014         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8016         Likewise.
8017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8019         Likewise.
8020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8022         Likewise.
8023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8025         Likewise.
8026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8028         (libm-sysdep_routines): Update.
8030 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8032         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8033         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8034         against unrelocated shared library.
8035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8037 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8039         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8040         * elf/tst-env-setuid-tunables.c
8041         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8042         GLIBC_TUNABLES is removed in a setgid process.
8044         [BZ #21073]
8045         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8046         * elf/dl-tunables.c (tunables_strdup): Remove.
8047         (get_next_env): Also return the previous envp.
8048         (parse_tunables): Erase tunables of category
8049         TUNABLES_SECLEVEL_SXID_ERASE.
8050         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8051         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8052         (__tunables_init)[TUNABLES_FRONTEND ==
8053         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8054         after parsing.
8055         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8056         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8057         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8058         to security_level.
8059         * elf/dl-tunables.list: Add security_level annotations for all
8060         tunables.
8061         * scripts/gen-tunables.awk: Recognize and generate enum values
8062         for security_level.
8063         * elf/tst-env-setuid.c: New test case.
8064         * elf/tst-env-setuid-tunables: new test case.
8065         * elf/Makefile (tests-static): Add them.
8067 2017-02-01  Richard Henderson  <rth@twiddle.net>
8069         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8070         adjusting the byte count.
8072 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8074         * conform/Makefile (linknamespace-libs): Define.
8076         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8077         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8078         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8079         operands.
8081 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8083         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8085 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8087         [BZ #21081]
8088         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8089         (L(stosb)): Add VZEROUPPER before ret.
8091 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8092             Alexey Makhalov <amakhalov@vmware.com>
8093             Florian Weimer <fweimer@redhat.com>
8095         [BZ #20116]
8096         * nptl/pthread_create.c: Document concurrency notes.
8097         Enhance thread creation notes.
8098         (create_thread): Use bool *stopped_start.
8099         (START_THREAD_DEFN): Comment ownership of PD.
8100         (__pthread_create_2_1): Add local bool stopped_start and use
8101         that instead of pd->stopped_start where appropriate.
8102         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8103         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8104         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8105         * nptl/tst-create-detached.c: New file.
8106         * nptl/Makefile (tests): Add tst-create-detached.
8107         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8108         Reference the enhanced thread creation notes.
8109         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8110         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8111         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8112         (__pthread_current_priority): Likewise.
8113         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8114         xpthread_attr_init, xpthread_attr_setdetachstate, and
8115         xpthread_attr_setstacksize.
8116         * support/xpthread_attr_destroy.c: New file.
8117         * support/xpthread_attr_init.c: New file.
8118         * support/xpthread_attr_setdetachstate.c: New file.
8119         * support/xpthread_attr_setstacksize.c: New file.
8120         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8121         xpthread_attr_init, xpthread_attr_setdetachstate, and
8122         xpthread_attr_setstacksize.
8124 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8126         * nptl/Makefile (tests): Add tst-robust-fork.
8127         * nptl/tst-robust-fork.c: New file.
8128         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8129         xpthread_mutex_consistent, xpthread_mutex_destroy,
8130         xpthread_mutex_init, xpthread_mutexattr_destroy,
8131         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8132         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8133         xpthread_mutexattr_settype.
8134         * support/xmmap.c: New file.
8135         * support/xmunmap.c: Likewise.
8136         * support/xpthread_mutex_consistent.c: Likewise.
8137         * support/xpthread_mutex_destroy.c: Likewise.
8138         * support/xpthread_mutex_init.c: Likewise.
8139         * support/xpthread_mutexattr_destroy.c: Likewise.
8140         * support/xpthread_mutexattr_init.c: Likewise.
8141         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8142         * support/xpthread_mutexattr_setpshared.c: Likewise.
8143         * support/xpthread_mutexattr_setrobust.c: Likewise.
8144         * support/xpthread_mutexattr_settype.c: Likewise.
8145         * support/xthread.h (xpthread_mutexattr_destroy)
8146         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8147         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8148         (xpthread_mutexattr_settype, xpthread_mutex_init)
8149         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8150         * support/xunistd.h (xmmap, xmunmap): Likewise.
8152 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8154         * string/Makefile (xtests): Add comment.
8155         (LOCALES): Add en_GB.UTF-8.
8156         (tst-strcoll-overflow.out): Depend on generated locales.
8157         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8158         (SIZE, TIMEOUT): Update comments.
8159         (do_test): Define as static.  Fail test if setlocale fails.
8160         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8161         messages.
8162         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8163         TIMEOUT at 300 seconds should be enough to run this test
8164         successfully.
8166 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8168         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8169         /* FALLTHRU */ comments.
8171 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8173         [BZ #21053]
8174         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8175         constants instead of the old R* ones.
8176         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8177         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8178         (NGREG): ... to this, to fit in with other architectures.
8179         (gpregset_t): Use new NGREG macro.
8180         [__USE_GNU]: Remove condition; all architectures other than tile
8181         are unconditional.
8182         (R*): Rename to REG_R*.
8184 2017-01-20  DJ Delorie  <dj@redhat.com>
8186         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8187         (tunable_set_val_if_valid_range_signed) ... this, and ...
8188         (tunable_set_val_if_valid_range_unsigned) ... this.
8189         (tunable_initialize): Call the correct one of the above based on type.
8191 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8193         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8194         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8195         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8196         * sysdeps/microblaze/libm-test-ulps: Likewise.
8197         * sysdeps/sh/libm-test-ulps: Likewise.
8199         * math/README.libm-test: Update list of characters for input and
8200         output types.
8202 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8204         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8205         (__lll_unlock_elision): Fix adapt_count decrement.
8207 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8209         * README.pretty-printers (Known issues): Warn about printers not
8210         always covering everything.
8211         * nptl/nptl-printers.py (MutexPrinter): Change output.
8212         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8214 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8216         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8217         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8218         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8219         (__lll_lock_elision): Do not test futex before starting a
8220         transaction.  Use __glibc_likely instead of __builtin_expect.
8221         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8222         (__lll_trylock_elision): Do not test futex before starting a
8223         transaction.  Use __glibc_likely instead of __builtin_expect.
8225 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8227         * po/Makefile (update-translations): New target.
8229 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8231         [BZ #21061]
8232         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8234 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8236         * elf/dl-tunables (get_next_env): Always advance envp.
8237         * stdlib/tst-empty-env.c: New test case.
8238         * stdlib/Makefile (tests): Use it.
8240 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8242         [BZ #21047]
8243         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8244         name for instruction.
8245         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8247 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8249         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8250         for make install.
8252 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8254         * po/bg.po: Merge from Translation Project.
8255         * po/fr.po: Likewise.
8256         * po/ko.po: Likewise.
8257         * po/nl.po: Likewise.
8258         * po/sv.po: Likewise.
8260 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8262         * manual/install.texi (Tools for Compilation): Update GCC version
8263         known to work to build glibc.
8264         * INSTALL: Regenerated.
8266 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8268         [BZ #21006]
8269         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8271 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8273         [BZ #21045]
8274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8275         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8276         to __sigprocmask.
8278 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8280         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8281         wrap-around.
8282         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8284         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8286 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8288         * NEWS: Fix typo.
8290 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8292         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8293         barriers and comments.
8294         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8295         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8296         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8298 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8300         [BZ #19402]
8301         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8302         mutexes.
8304 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8306         [BZ #20985]
8307         * nptl/Makefile: Adapt.
8308         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8309         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8310         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8311         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8312         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8313         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8314         lll_robust* functions and adapt.
8315         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8316         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8317         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8318         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8319         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8320         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8322         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8323         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8324         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8325         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8326         * nptl/lowlevelrobustlock.c: Remove file.
8327         * nptl/lowlevelrobustlock.sym: Likewise.
8328         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
8329         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
8331 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8333         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8335 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8337         * po/cs.po: Merge translations from the Translation Project.
8338         * po/de.po: Likewise.
8339         * po/pl.po: Likewise.
8340         * po/ru.po: Likewise.
8341         * po/tr.po: Likewise.
8342         * po/uk.po: Likewise.
8343         * po/vi.po: Likewise.
8344         * po/zh_CN.po: Likewise.
8346 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
8348         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
8350         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
8351         object.
8353 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8355         [BZ #16458]
8356         * bits/uintn-identity.h: New file.
8357         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
8358         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
8359         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
8360         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
8361         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
8362         * string/endian.h: Include <bits/uintn-identity.h>.
8363         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
8364         __uint16_identity.
8365         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
8366         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
8367         __uint32_identity.
8368         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
8369         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
8370         __uint64_identity.
8371         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
8372         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
8373         __uint16_identity.
8374         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
8375         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
8376         __uint32_identity.
8377         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
8378         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
8379         __uint64_identity.
8380         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
8381         * string/Makefile (headers): Add bits/uintn-identity.h.
8382         (tests): Add test-endian-types.
8383         * string/test-endian-types.c: New file.
8384         * inet/Makefile (tests): Add test-hnto-types.
8385         * inet/test-hnto-types.c: New file.
8387 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8389         * po/be.po: Update from Translation Project.
8390         * po/bg.po: Likewise.
8391         * po/ca.po: Likewise.
8392         * po/cs.po: Likewise.
8393         * po/da.po: Likewise.
8394         * po/de.po: Likewise.
8395         * po/el.po: Likewise.
8396         * po/eo.po: Likewise.
8397         * po/es.po: Likewise.
8398         * po/fi.po: Likewise.
8399         * po/fr.po: Likewise.
8400         * po/gl.po: Likewise.
8401         * po/hr.po: Likewise.
8402         * po/hu.po: Likewise.
8403         * po/ia.po: Likewise.
8404         * po/id.po: Likewise.
8405         * po/it.po: Likewise.
8406         * po/ja.po: Likewise.
8407         * po/ko.po: Likewise.
8408         * po/lt.po: Likewise.
8409         * po/nb.po: Likewise.
8410         * po/nl.po: Likewise.
8411         * po/pl.po: Likewise.
8412         * po/pt_BR.po: Likewise.
8413         * po/ru.po: Likewise.
8414         * po/rw.po: Likewise.
8415         * po/sk.po: Likewise.
8416         * po/sl.po: Likewise.
8417         * po/sv.po: Likewise.
8418         * po/tr.po: Likewise.
8419         * po/uk.po: Likewise.
8420         * po/vi.po: Likewise.
8421         * po/zh_CN.po: Likewise.
8422         * po/zh_TW.po: Likewise.
8424 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
8426         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
8427         -Wformat-truncation instead of -Wformat-length.
8428         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
8429         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
8430         GCC 7.
8431         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
8432         (do_test): Ignore -Wformat-truncation for GCC 7.
8434         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
8435         buffer used to print long int value.
8437         * elf/sotruss-lib.c (init): Increase space allocated for pid by
8438         one byte.  Print it with %ld, cast to long int.
8440 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8442         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
8443         (re.fullmatch, subprocess.run): Likewise.
8445 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8447         * po/libc.pot: Regenerate.
8449 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8451         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
8452         (min_strlen): Likewise.
8453         (disable_tunable): Likewise.
8454         (maybe_disable_malloc_check): Rename to
8455         maybe_enable_malloc_check.
8456         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
8457         if /etc/suid-debug file exists.
8458         (__tunables_init): Update caller.
8459         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
8460         secure.
8462 2016-01-10  Torvald Riegel  <triegel@redhat.com>
8464         * nptl/DESIGN-rwlock.txt: Remove.
8465         * nptl/lowlevelrwlock.sym: Remove.
8466         * nptl/Makefile: Add new tests.
8467         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
8468         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
8469         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
8470         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
8471         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
8472         PTHREAD_RWLOCK_FUTEX_USED): New.
8473         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
8474         implementation.
8475         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
8476         (__pthread_rwlock_rdlock): Adapt.
8477         * nptl/pthread_rwlock_timedrdlock.c
8478         (pthread_rwlock_timedrdlock): Adapt.
8479         * nptl/pthread_rwlock_timedwrlock.c
8480         (pthread_rwlock_timedwrlock): Adapt.
8481         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
8482         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
8483         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
8484         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
8485         (__pthread_rwlock_wrlock): Adapt.
8486         * nptl/tst-rwlock10.c: Adapt.
8487         * nptl/tst-rwlock11.c: Adapt.
8488         * nptl/tst-rwlock17.c: New file.
8489         * nptl/tst-rwlock18.c: New file.
8490         * nptl/tst-rwlock19.c: New file.
8491         * nptl/tst-rwlock2b.c: New file.
8492         * nptl/tst-rwlock8.c: Adapt.
8493         * nptl/tst-rwlock9.c: Adapt.
8494         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8495         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8496         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8497         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8498         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8499         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8500         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8501         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8502         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8503         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8504         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8505         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8506         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8507         (pthread_rwlock_t): Adapt.
8508         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8509         (pthread_rwlock_t): Adapt.
8510         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
8511         * nptl/nptl-printers.py (): Adapt.
8512         * nptl/nptl_lock_constants.pysym: Adapt.
8513         * nptl/test-rwlock-printers.py: Adapt.
8514         * nptl/test-rwlockattr-printers.c: Adapt.
8515         * nptl/test-rwlockattr-printers.py: Adapt.
8517 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
8519         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
8520         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
8521         (fma_test_data): Likewise.
8522         (hypot_test_data): Likewise.
8523         (log1p_test_data): Likewise.
8524         (modf_test_data): Likewise.
8525         (pow_test_data): Likewise.
8526         (remainder_test_data): Likewise.
8527         (remquo_test_data): Likewise.
8528         (scalb_test_data): Likewise.
8529         (scalbn_test_data): Likewise.
8530         (scalbln_test_data): Likewise.
8531         * math/gen-libm-test.pl (parse_args): Transform
8532         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
8533         on the rounding mode.
8535 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
8537         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
8538         xfail-rounding:ibm128-libgcc automatically to tests overflowing
8539         and those that can underflow to zero.
8540         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
8541         add others.
8542         * math/auto-libm-test-out: Regenerated.
8544         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
8545         supported.
8546         (feholdexcept_tests): Skip tests requiring exceptions or rounding
8547         modes support if not supported.
8549         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
8550         Add libc.so PLT entry.
8551         (__tls_get_addr): Make ld.so PLT entry optional.
8553 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8555         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
8556         * string/bits/string3.h: ... here.
8558 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8560         [BZ #21028]
8561         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
8562         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
8563         if EXCEPTION_TESTS returns false.
8565 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8567         [BZ #20558]
8568         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
8569         strings_fortified.h.
8570         [__USE_MISC] (bzero): Likewise.
8571         [__USE_MISC] (explicit_bzero): Likewise.
8572         * string/strings.h: Include strings_fortified.h.
8573         * string/Makefile (headers): Add strings_fortified.h.
8574         * string/bits/strings_fortified.h: New file.
8575         * include/bits/strings_fortified.h: Likewise.
8577 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
8579         * elf/tst-tls13.c (TIMEOUT): Remove.
8580         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
8581         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
8582         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
8583         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
8584         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
8586         [BZ #21026]
8587         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
8588         (readahead): New syscall entry.
8590 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8592         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
8593         around tests of strncat with large sizes.
8595         * malloc/tst-malloc.c: Include <libc-internal.h>.
8596         (do_test): Disable -Walloc-size-larger-than= around tests of
8597         malloc with negative sizes.
8598         * malloc/tst-mcheck.c: Include <libc-internal.h>.
8599         (do_test): Disable -Walloc-size-larger-than= around tests of
8600         malloc and realloc with negative sizes.
8601         * malloc/tst-realloc.c: Include <libc-internal.h>.
8602         (do_test): Disable -Walloc-size-larger-than= around tests of
8603         realloc with negative sizes.
8605         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
8606         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
8607         allowed to 16 ulps.
8608         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
8609         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
8610         * math/auto-libm-test-out: Regenerated.
8612 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8614         * math/Makefile (libm-calls): Move wrappers...
8615         (libm-compat-call-auto): Here.
8616         (libm-routines): Add items in libm-compat-calls-auto.
8617         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
8618         the filenames of the wrappers that have been renamed.
8619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
8620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8622         * math/w_acos.c: Add _compat suffix to filename.
8623         * math/w_acosf.c: Likewise.
8624         * math/w_acosh.c: Likewise.
8625         * math/w_acoshf.c: Likewise.
8626         * math/w_acoshl.c: Likewise.
8627         * math/w_acosl.c: Likewise.
8628         * math/w_asin.c: Likewise.
8629         * math/w_asinf.c: Likewise.
8630         * math/w_asinl.c: Likewise.
8631         * math/w_atan2.c: Likewise.
8632         * math/w_atan2f.c: Likewise.
8633         * math/w_atan2l.c: Likewise.
8634         * math/w_atanh.c: Likewise.
8635         * math/w_atanhf.c: Likewise.
8636         * math/w_atanhl.c: Likewise.
8637         * math/w_cosh.c: Likewise.
8638         * math/w_coshf.c: Likewise.
8639         * math/w_coshl.c: Likewise.
8640         * math/w_exp10.c: Likewise.
8641         * math/w_exp10f.c: Likewise.
8642         * math/w_exp10l.c: Likewise.
8643         * math/w_exp2.c: Likewise.
8644         * math/w_exp2f.c: Likewise.
8645         * math/w_exp2l.c: Likewise.
8646         * math/w_fmod.c: Likewise.
8647         * math/w_fmodf.c: Likewise.
8648         * math/w_fmodl.c: Likewise.
8649         * math/w_hypot.c: Likewise.
8650         * math/w_hypotf.c: Likewise.
8651         * math/w_hypotl.c: Likewise.
8652         * math/w_j0.c: Likewise.
8653         * math/w_j0f.c: Likewise.
8654         * math/w_j0l.c: Likewise.
8655         * math/w_j1.c: Likewise.
8656         * math/w_j1f.c: Likewise.
8657         * math/w_j1l.c: Likewise.
8658         * math/w_jn.c: Likewise.
8659         * math/w_jnf.c: Likewise.
8660         * math/w_jnl.c: Likewise.
8661         * math/w_log10.c: Likewise.
8662         * math/w_log10f.c: Likewise.
8663         * math/w_log10l.c: Likewise.
8664         * math/w_log2.c: Likewise.
8665         * math/w_log2f.c: Likewise.
8666         * math/w_log2l.c: Likewise.
8667         * math/w_log.c: Likewise.
8668         * math/w_logf.c: Likewise.
8669         * math/w_logl.c: Likewise.
8670         * math/w_pow.c: Likewise.
8671         * math/w_powf.c: Likewise.
8672         * math/w_powl.c: Likewise.
8673         * math/w_remainder.c: Likewise.
8674         * math/w_remainderf.c: Likewise.
8675         * math/w_remainderl.c: Likewise.
8676         * math/w_scalb.c: Likewise.
8677         * math/w_scalbf.c: Likewise.
8678         * math/w_scalbl.c: Likewise.
8679         * math/w_sinh.c: Likewise.
8680         * math/w_sinhf.c: Likewise.
8681         * math/w_sinhl.c: Likewise.
8682         * math/w_sqrt.c: Likewise.
8683         * math/w_sqrtf.c: Likewise.
8684         * math/w_sqrtl.c: Likewise.
8685         * math/w_tgamma.c: Likewise.
8686         * math/w_tgammaf.c: Likewise.
8687         * math/w_tgammal.c: Likewise.
8689         * math/w_acos_compat.c: New file copied from above and
8690         adjusted for new #includes path
8691         * math/w_acosf_compat.c: Likewise.
8692         * math/w_acosh_compat.c: Likewise.
8693         * math/w_acoshf_compat.c: Likewise.
8694         * math/w_acoshl_compat.c: Likewise.
8695         * math/w_acosl_compat.c: Likewise.
8696         * math/w_asin_compat.c: Likewise.
8697         * math/w_asinf_compat.c: Likewise.
8698         * math/w_asinl_compat.c: Likewise.
8699         * math/w_atan2_compat.c: Likewise.
8700         * math/w_atan2f_compat.c: Likewise.
8701         * math/w_atan2l_compat.c: Likewise.
8702         * math/w_atanh_compat.c: Likewise.
8703         * math/w_atanhf_compat.c: Likewise.
8704         * math/w_atanhl_compat.c: Likewise.
8705         * math/w_cosh_compat.c: Likewise.
8706         * math/w_coshf_compat.c: Likewise.
8707         * math/w_coshl_compat.c: Likewise.
8708         * math/w_exp10_compat.c: Likewise.
8709         * math/w_exp10f_compat.c: Likewise.
8710         * math/w_exp10l_compat.c: Likewise.
8711         * math/w_exp2_compat.c: Likewise.
8712         * math/w_exp2f_compat.c: Likewise.
8713         * math/w_exp2l_compat.c: Likewise.
8714         * math/w_fmod_compat.c: Likewise.
8715         * math/w_fmodf_compat.c: Likewise.
8716         * math/w_fmodl_compat.c: Likewise.
8717         * math/w_hypot_compat.c: Likewise.
8718         * math/w_hypotf_compat.c: Likewise.
8719         * math/w_hypotl_compat.c: Likewise.
8720         * math/w_j0_compat.c: Likewise.
8721         * math/w_j0f_compat.c: Likewise.
8722         * math/w_j0l_compat.c: Likewise.
8723         * math/w_j1_compat.c: Likewise.
8724         * math/w_j1f_compat.c: Likewise.
8725         * math/w_j1l_compat.c: Likewise.
8726         * math/w_jn_compat.c: Likewise.
8727         * math/w_jnf_compat.c: Likewise.
8728         * math/w_jnl_compat.c: Likewise.
8729         * math/w_log10_compat.c: Likewise.
8730         * math/w_log10f_compat.c: Likewise.
8731         * math/w_log10l_compat.c: Likewise.
8732         * math/w_log2_compat.c: Likewise.
8733         * math/w_log2f_compat.c: Likewise.
8734         * math/w_log2l_compat.c: Likewise.
8735         * math/w_log_compat.c: Likewise.
8736         * math/w_logf_compat.c: Likewise.
8737         * math/w_logl_compat.c: Likewise.
8738         * math/w_pow_compat.c: Likewise.
8739         * math/w_powf_compat.c: Likewise.
8740         * math/w_powl_compat.c: Likewise.
8741         * math/w_remainder_compat.c: Likewise.
8742         * math/w_remainderf_compat.c: Likewise.
8743         * math/w_remainderl_compat.c: Likewise.
8744         * math/w_scalb_compat.c: Likewise.
8745         * math/w_scalbf_compat.c: Likewise.
8746         * math/w_scalbl_compat.c: Likewise.
8747         * math/w_sinh_compat.c: Likewise.
8748         * math/w_sinhf_compat.c: Likewise.
8749         * math/w_sinhl_compat.c: Likewise.
8750         * math/w_sqrt_compat.c: Likewise.
8751         * math/w_sqrtf_compat.c: Likewise.
8752         * math/w_sqrtl_compat.c: Likewise.
8753         * math/w_tgamma_compat.c: Likewise.
8754         * math/w_tgammaf_compat.c: Likewise.
8755         * math/w_tgammal_compat.c: Likewise.
8757         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
8758         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
8759         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
8760         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
8761         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
8762         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
8763         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
8764         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
8765         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
8766         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
8767         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
8768         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
8769         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
8770         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
8771         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
8772         * sysdeps/ia64/fpu/w_powl.c: Likewise.
8773         * sysdeps/ia64/fpu/w_powf.c: Likewise.
8774         * sysdeps/ia64/fpu/w_pow.c: Likewise.
8775         * sysdeps/ia64/fpu/w_logl.c: Likewise.
8776         * sysdeps/ia64/fpu/w_logf.c: Likewise.
8777         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
8778         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
8779         * sysdeps/ia64/fpu/w_log2.c: Likewise.
8780         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
8781         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
8782         * sysdeps/ia64/fpu/w_log10.c: Likewise.
8783         * sysdeps/ia64/fpu/w_log.c: Likewise.
8784         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
8785         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
8786         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
8787         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
8788         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
8789         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
8790         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
8791         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
8792         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
8793         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
8794         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8795         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8796         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8797         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8798         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8799         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8800         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8801         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8802         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8803         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8804         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8805         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8806         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8807         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8808         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8809         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8810         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8811         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8812         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8813         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8814         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8815         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8816         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8817         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8818         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8819         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8820         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8821         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8822         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8823         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8824         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8825         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8826         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8827         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8828         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8829         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8830         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8831         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8832         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8833         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8834         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8835         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8836         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8837         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8838         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8839         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8840         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8841         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8842         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8843         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8844         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8845         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8846         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8847         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8848         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8849         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8850         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8851         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8852         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8853         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8854         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8855         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8856         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8858         Likewise.
8859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8860         Likewise.
8861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8863         Likewise.
8864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8865         Likewise.
8866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8867         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8868         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8869         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8870         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8871         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8872         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8877         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8878         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8879         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8880         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8882         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8883         and adjusted for new #includes path
8884         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8885         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8886         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8887         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8888         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8889         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8890         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8891         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8892         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8893         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8894         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8895         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8896         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8897         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8898         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8899         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8900         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8901         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8902         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8903         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8904         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8905         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8906         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8907         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8908         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8909         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8910         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8911         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8912         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8913         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8914         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8915         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8916         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8917         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8918         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8919         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8920         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8921         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8922         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8923         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8924         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8925         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8926         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8927         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8928         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8929         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8930         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8931         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8932         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8933         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8934         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8935         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8936         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8937         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8938         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8939         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8940         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8941         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8942         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8943         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8944         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8945         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8946         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8947         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8948         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8949         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8950         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8951         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8952         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8953         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8954         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8955         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8956         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8957         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8958         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8959         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8960         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8961         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8962         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8963         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8964         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8965         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8966         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8967         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8968         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8969         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8970         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8971         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8972         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8973         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8974         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8975         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8976         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8977         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8978         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8979         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8980         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8981         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8982         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8984         Likewise.
8985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8986         Likewise.
8987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8988         Likewise.
8989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8990         Likewise.
8991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8992         Likewise.
8993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8994         Likewise.
8995         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8996         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8998         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8999         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9000         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9002         Likewise.
9003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9004         Likewise.
9005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9006         Likewise.
9007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9008         Likewise.
9009         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9010         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9011         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9012         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9014 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9016         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9017         __jmp_buf_internal_tag.
9019         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9020         preserve NaN payload if [__mips_nan2008].
9021         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9023         [BZ #21022]
9024         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9026 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9028         * sysdeps/i386/fpu/libm-test-ulps: Update.
9030 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9032         * sysdeps/ia64/strcat.c: Remove file.
9033         * sysdeps/powerpc/strcat.c: Likewise.
9034         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9035         C implementation.
9036         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9037         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9039 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9040             Steven Munroe  <sjmunroe@us.ibm.com>
9041             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9043         [BZ #20822]
9044         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9045         (__lll_lock_elision): Access adapt_count via C11 atomics.
9046         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9047         (__lll_trylock_elision): Likewise.
9048         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9049         (__lll_unlock_elision):  Update adapt_count variable inside the
9050         critical section using C11 atomics.
9052 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9054         * math/test-fenvinline.c (do_test): Disable tests of raised
9055         exceptions if !EXCEPTION_TESTS (FLOAT).
9057 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9059         [BZ #19390]
9060         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9061         maximum string size.
9062         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9063         in pointer addition.
9064         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9065         Likewise.
9067 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9069         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9070         passed to tst-ldconfig-X.sh.
9072 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9074         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9076 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9078         [BZ #21019]
9079         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9080         New syscall entry.
9081         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9082         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9083         lseek.
9085         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9086         power4 glibc for powerpc-linux-gnu.
9088 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9090         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9091         semctl.
9093 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9095         * math/test-nearbyint-except.c: Include <stdbool.h>.
9096         (any_supported): New variable.
9097         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9098         set any_supported.
9099         (do_test): Return 77 if no floating-point type supported
9100         exceptions.
9102         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9103         condition on [__mips_hard_float].
9105 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9107         [BZ #21014]
9108         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9109         in pointer addition.
9110         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9112 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9114         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9115         new condvar.
9117 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9119         * scripts/build-many-glibcs.py (Context.checkout): Default
9120         binutils version to 2.28 branch.
9122 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9124         * support/support_format_netent.c (support_format_netent): Work
9125         around alpha struct netent definition difference.
9127 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9129         * support/xwrite.c (xwrite): Use %td for pointer difference.
9131 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9133         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9134         have-tunables only.
9135         (tests-static): Add tst-malloc-usable-static-tunables for
9136         have-tunables only.
9138 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9140         * scripts/config.guess: Update to version 2017-01-01.
9141         * scripts/config.sub: Update to version 2017-01-01.
9143         * NEWS: Update copyright dates.
9144         * catgets/gencat.c (print_version): Likewise.
9145         * csu/version.c (banner): Likewise.
9146         * debug/catchsegv.sh: Likewise.
9147         * debug/pcprofiledump.c (print_version): Likewise.
9148         * debug/xtrace.sh (do_version): Likewise.
9149         * elf/ldconfig.c (print_version): Likewise.
9150         * elf/ldd.bash.in: Likewise.
9151         * elf/pldd.c (print_version): Likewise.
9152         * elf/sotruss.sh: Likewise.
9153         * elf/sprof.c (print_version): Likewise.
9154         * iconv/iconv_prog.c (print_version): Likewise.
9155         * iconv/iconvconfig.c (print_version): Likewise.
9156         * locale/programs/locale.c (print_version): Likewise.
9157         * locale/programs/localedef.c (print_version): Likewise.
9158         * login/programs/pt_chown.c (print_version): Likewise.
9159         * malloc/memusage.sh (do_version): Likewise.
9160         * malloc/memusagestat.c (print_version): Likewise.
9161         * malloc/mtrace.pl: Likewise.
9162         * manual/libc.texinfo: Likewise.
9163         * nptl/version.c (banner): Likewise.
9164         * nscd/nscd.c (print_version): Likewise.
9165         * nss/getent.c (print_version): Likewise.
9166         * nss/makedb.c (print_version): Likewise.
9167         * posix/getconf.c (main): Likewise.
9168         * scripts/test-installation.pl: Likewise.
9169         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9171         * All files with FSF copyright notices: Update copyright dates
9172         using scripts/update-copyrights.
9173         * intl/plural.c: Regenerated.
9174         * locale/programs/charmap-kw.h: Likewise.
9175         * locale/programs/locfile-kw.h: Likewise.
9177 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9179         [BZ #20593]
9180         Update DNS RR type definitions.
9181         * scripts/gen-rrtypes.py: New file.
9182         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9183         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9184         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9185         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9186         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9187         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9188         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9189         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9190         ns_t_ta, ns_t_dlv.
9191         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9192         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9193         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9194         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9195         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9196         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9197         Define.
9198         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9199         entry for ns_t_zxfr.
9201 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9203         [BZ #18784]
9204         CVE-2015-5180
9205         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9206         T_UNSPEC.  Adjust value.
9207         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9208         * resolv/res_query.c (__libc_res_nquery): Likewise.
9209         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9210         QTYPEs.
9211         * resolv/tst-resolv-qtypes.c: New file.
9212         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9213         (tst-resolv-qtypes): Link against libresolv and libpthread.
9215 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9217         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9219 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9221         * manual/tunables.texi: New chapter.
9222         * manual/Makefile (chapters): Add it.
9223         * manual/probes.texi (@node): Point to the Tunables chapter.
9225         * Makeconfig (have-tunables): Check for non-negative instead
9226         of positive.
9227         * configure.ac: Add 'valstring' as a valid value for
9228         --enable-tunables.
9229         * configure: Regenerate.
9230         * elf/Makefile (have-tunables): Check for non-negative instead
9231         of positive.
9232         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9233         dl-tunables.c.
9234         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9235         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9236         (tunables_strdup): Likewise.
9237         (disable_tunables): Likewise.
9238         (parse_tunables): Likewise.
9239         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9240         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9241         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9242         (TUNABLES_FRONTEND_yes): New macro, define as
9243         TUNABLES_FRONTEND_valstring by default.
9244         * manual/install.texi: Document new acceptable values for
9245         --enable-tunables.
9246         * INSTALL: Regenerate.
9248         * config.make.in (have-loop-to-function): Define.
9249         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9250         -fno-tree-loop-distribute-patterns.
9251         * elf/dl-tunables.c: Include libc-internals.h.
9252         (GLIBC_TUNABLES): New macro.
9253         (tunables_strdup): New function.
9254         (parse_tunables): New function.
9255         (min_strlen): New function.
9256         (__tunables_init): Use the new functions and macro.
9257         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9258         * malloc/tst-malloc-usable-tunables.c: New test case.
9259         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9260         * malloc/Makefile (tests, tests-static): Add tests.
9262         * manual/install.texi: Add --enable-tunables option.
9263         * INSTALL: Regenerate.
9264         * README.tunables: New file.
9265         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9266         (before-compile): Generate dl-tunable-list.h early.
9267         * config.h.in: Add HAVE_TUNABLES.
9268         * config.make.in: Add have-tunables.
9269         * configure.ac: Add --enable-tunables option.
9270         * configure: Regenerate.
9271         * csu/init-first.c (__libc_init_first): Move
9272         __libc_init_secure earlier...
9273         * csu/init-first.c (LIBC_START_MAIN):... to here.
9274         Include dl-tunables.h, libc-internal.h.
9275         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9276         binaries.
9277         * elf/Makefile (dl-routines): Add dl-tunables.
9278         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9279         namespace.
9280         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9281         only when !HAVE_TUNABLES.
9282         * elf/rtld.c (process_envvars): Likewise.
9283         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9284         (_dl_sysdep_start): Call __tunables_init.
9285         * elf/dl-tunable-types.h: New file.
9286         * elf/dl-tunables.c: New file.
9287         * elf/dl-tunables.h: New file.
9288         * elf/dl-tunables.list: New file.
9289         * malloc/tst-malloc-usable-static.c: New test case.
9290         * malloc/Makefile (tests-static): Add it.
9291         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9292         Define TUNABLE_NAMESPACE.
9293         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9294         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9295         callback functions.
9296         (ptmalloc_init): Set tunable values.
9297         * scripts/gen-tunables.awk: New file.
9298         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9299         (_dl_sysdep_start): Call __tunables_init.
9301 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9303         * resolv/resolv.h (RES_BLAST): Deprecate.
9304         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9305         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9306         to RES_BLAST.
9308 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9310         [BZ #19582]
9311         Deprecate RES_USE_INET6.
9312         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9313         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9314         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9315         RES_USE_INET6.
9316         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9317         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9318         (_nss_nisplus_gethostbyaddr_r): Likewise.
9319         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9320         of res_use_inet6.
9321         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9322         instead of RES_USE_INET6.
9323         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9324         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9325         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9326         Likewise.
9327         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
9328         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
9329         Likewise.
9330         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
9331         (_nss_dns_gethostbyname_r): Likewise.
9332         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
9333         alternate RES_USE_INET6 handling.
9334         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
9335         instead of RES_USE_INET6.
9336         * resolv/res_init.c (res_setoptions): Likewise.
9337         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
9338         * resolv/resolv-internal.h: New file.
9339         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
9340         make the deprecation warning non-fatal.
9341         * resolv/README (Using the resolver in multi-threaded code): Drop
9342         reference to RES_USE_INET6.
9343         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
9344         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
9346 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9348         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
9349         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
9350         tst-resolv-search.
9351         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
9352         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
9353         with libresolv and libpthread.
9354         * resolv/tst-bug18665.c: New file.
9355         * resolv/tst-bug18665-tcp: Likewise.
9356         * resolv/tst-res_use_inet6: Likewise.
9357         * resolv/tst-resolv-basic: Likewise.
9358         * resolv/tst-resolv-network: Likewise.
9359         * resolv/tst-resolv-search: Likewise.
9360         * support/Makefile (libsupport-routines): Add check_addrinfo,
9361         check_dns_packet, check_hostent, check_netent, resolv_test,
9362         support_format_address_family, support_format_addrinfo,
9363         support_format_dns_packet, support_format_herrno,
9364         support_format_hostent, support_format_netent, support_run_diff,
9365         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
9366         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
9367         xstrdup, xwrite.
9368         * support/check_addrinfo.c: New file.
9369         * support/check_dns_packet.c: Likewise.
9370         * support/check_hostent.c: Likewise.
9371         * support/check_netent.c: Likewise.
9372         * support/check_nss.h: Likewise.
9373         * support/format_nss.h: Likewise.
9374         * support/resolv_test.c: Likewise.
9375         * support/resolv_test.h: Likewise.
9376         * support/run_diff.h: Likewise.
9377         * support/support_format_address_family.c: Likewise.
9378         * support/support_format_addrinfo.c: Likewise.
9379         * support/support_format_dns_packet.c: Likewise.
9380         * support/support_format_herrno.c: Likewise.
9381         * support/support_format_hostent.c: Likewise.
9382         * support/support_format_netent.c: Likewise.
9383         * support/support_run_diff.c: Likewise.
9384         * support/xaccept.c: Likewise.
9385         * support/xbind.c: Likewise.
9386         * support/xconnect.c: Likewise.
9387         * support/xfclose.c: Likewise.
9388         * support/xfopen.c: Likewise.
9389         * support/xgetsockname.c: Likewise.
9390         * support/xlisten.c: Likewise.
9391         * support/xmemstream.c: Likewise.
9392         * support/xmemstream.h: Likewise.
9393         * support/xpoll.c: Likewise.
9394         * support/xpthread_once.c: Likewise.
9395         * support/xrecvfrom.c: Likewise.
9396         * support/xsendto.c: Likewise.
9397         * support/xsetsockopt.c: Likewise.
9398         * support/xstdio.h: Likewise.
9399         * support/xstrdup.c: Likewise.
9400         * support/support.h (xstrdup): Declare.
9401         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
9402         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
9403         * support/xthread.h (xpthread_once): Likwise.
9404         * support/xunistd.h (xwrite): Declare.
9406 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9408         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
9409         (test_verbose): Declare.
9410         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
9411         * support/support_test_main.c (default_options): Likewise.
9412         (usage, support_test_main): Handle 'v'.
9413         (test_verbose): Define.
9414         * support/tst-support_record_failure.c (do_test): Use
9415         test_verbose.
9416         * support/tst-support_record_failure-2.sh (different_status): Add
9417         --verbose test.
9419 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9421         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
9422         test failures are recorded.
9423         * support/check.c (support_print_failure_impl): Call
9424         support_record_failure.
9425         (support_exit_failure_impl): Call support_record_failure if status
9426         indicates failure.
9427         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
9428         * support/xasprintf.c (xasprintf): Likewise.
9429         * support/xfork.c (xfork): Likewise.
9430         * support/xpthread_check_return.c (xpthread_check_return):
9431         Likewise.
9432         * support/xsocket.c (xsocket): Likeweise.
9433         * support/xwaitpid.c (xwaitpid): Likewise.
9434         * support/support_record_failure.c (struct test_failures): Adjust
9435         to coding style.
9436         * support/support_test_verify_impl.c (support_test_verify_impl):
9437         Adjust error messages.
9438         * support/tst-support_record_failure-2.sh (different_status):
9439         Adjust error messages.
9441 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9443         * support/namespace.h: New file.
9444         * support/support_become_root.c: Likewise.
9445         * support/support_enter_network_namespace.c: Likewise.
9446         * support/tst-support-namespace.c: Likewise.
9447         * support/xsocket.c: Likewise.
9448         * support/xsocket.h: Likewise.
9449         * support/Makefile (libsupport-routines): Add support_become_root,
9450         support_enter_network_namespace, xsocket.
9451         (tests): Add tst-support-namespace.
9453 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9455         [BZ #17252]
9456         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
9457         __USE_GNU.
9459 2016-12-31  Torvald Riegel  <triegel@redhat.com>
9461         [BZ #13165]
9462         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
9463         use new algorithm.
9464         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9465         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9466         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9467         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9468         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
9469         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
9470         __condvar_cleanup_waiting, __condvar_dec_grefs,
9471         __pthread_cond_wait_common): New.
9472         (__condvar_cleanup): Remove.
9473         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
9474         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
9475         Likewise.
9476         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
9477         Likewise.
9478         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
9479         * nptl/tst-cond1.c: Add comment.
9480         * nptl/tst-cond20.c (do_test): Adapt.
9481         * nptl/tst-cond22.c (do_test): Likewise.
9482         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
9483         structure.
9484         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9485         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9486         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9487         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
9488         Likewise.
9489         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9490         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9491         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9492         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9493         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9494         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
9495         Likewise.
9496         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
9497         Likewise.
9498         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
9499         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
9500         (COND_CLOCK_BITS): Adapt.
9501         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
9502         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
9503         __PTHREAD_COND_SHARED_MASK): New.
9504         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
9505         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
9506         * nptl/nptl_lock_constants.pysym: Adapt.
9507         * nptl/test-cond-printers.py: Adapt.
9508         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
9509         cond_compat_check_and_clear): Adapt.
9510         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
9511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9512         (__pthread_cond_timedwait): ... and move here.
9513         * nptl/DESIGN-condvar.txt: Remove file.
9514         * nptl/lowlevelcond.sym: Likewise.
9515         * nptl/pthread_cond_timedwait.c: Likewise.
9516         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
9517         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
9518         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
9519         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
9520         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
9521         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
9522         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
9523         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
9524         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
9525         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
9526         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
9527         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
9528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
9529         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
9530         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
9531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
9533 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
9535         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9536         (fromfp): New declaration.
9537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9540         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
9541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
9542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
9543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
9544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
9545         * math/math.h: Include <bits/types.h>.
9546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
9547         constant and macro.
9548         (FP_INT_DOWNWARD): Likewise.
9549         (FP_INT_TOWARDZERO): Likewise.
9550         (FP_INT_TONEARESTFROMZERO): Likewise.
9551         (FP_INT_TONEAREST): Likewise.
9552         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
9553         (fromfpf): Likewise.
9554         (fromfpl): Likewise.
9555         (ufromfp): Likewise.
9556         (ufromfpf): Likewise.
9557         (ufromfpl): Likewise.
9558         (fromfpx): Likewise.
9559         (fromfpxf): Likewise.
9560         (fromfpxl): Likewise.
9561         (ufromfpx): Likewise.
9562         (ufromfpxf): Likewise.
9563         (ufromfpxl): Likewise.
9564         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
9565         s_fromfpxF and s_ufromfpxF.
9566         * math/gen-fromfp-tests.py: New file.
9567         * math/gen-fromfp-tests-inputs: Likewise.
9568         * math/libm-test.inc: Include <stdint.h>
9569         (check_intmax_t): New function.
9570         (check_uintmax_t): Likewise.
9571         (struct test_fiu_M_data): New type.
9572         (struct test_fiu_U_data): Likewise.
9573         (RUN_TEST_fiu_M): New macro.
9574         (RUN_TEST_LOOP_fiu_M): Likewise.
9575         (RUN_TEST_fiu_U): Likewise.
9576         (RUN_TEST_LOOP_fiu_U): Likewise.
9577         (fromfp_test_data): New array.
9578         (fromfp_test): New function.
9579         (fromfpx_test_data): New array.
9580         (fromfpx_test): New function.
9581         (ufromfp_test_data): New array.
9582         (ufromfp_test): New function.
9583         (ufromfpx_test_data): New array.
9584         (ufromfpx_test): New function.
9585         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
9586         ufromfpx_test.
9587         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
9588         characters.
9589         * math/test-tgmath-ret.c: Include <stdint.h>.
9590         (rm): New variable.
9591         (width): Likewise.
9592         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
9593         called function.
9594         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
9595         CHECK_RET_CONST_TYPE.
9596         (CHECK_RET_CONST_DOUBLE): Likewise.
9597         (CHECK_RET_CONST_LDOUBLE): Likewise.
9598         (CHECK_RET_CONST): Take extra arguments and pass them to calls
9599         macros.
9600         (fromfp): New CHECK_RET_CONST call.
9601         (ufromfp): Likewise.
9602         (fromfpx): Likewise.
9603         (ufromfpx): Likewise.
9604         (do_test): Call check_return_fromfp, check_return_ufromfp,
9605         check_return_fromfpx and check_return_ufromfpx.
9606         * math/test-tgmath.c: Include <stdint.h>
9607         (NCALLS): Increase to 138.
9608         (F(compile_test)): Initialize i.  Call fromfp functions.
9609         (F(fromfp)): New function.
9610         (F(fromfpx)): Likewise.
9611         (F(ufromfp)): Likewise.
9612         (F(ufromfpx)): Likewise.
9613         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
9614         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
9615         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
9616         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
9617         ufromfpxl.
9618         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
9619         ufromfp and ufromfpx.
9620         * math/fromfp.h: New file.
9621         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
9622         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
9623         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
9624         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
9625         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
9626         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
9627         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
9628         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
9629         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
9630         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
9631         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
9632         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
9633         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
9636         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
9638         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
9640         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
9641         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
9642         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
9643         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
9644         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
9647         ufromfp, fromfpx and ufromfpx.
9648         (CFLAGS-nldbl-fromfp.c): New variable.
9649         (CFLAGS-nldbl-fromfpx.c): Likewise.
9650         (CFLAGS-nldbl-ufromfp.c): Likewise.
9651         (CFLAGS-nldbl-ufromfpx.c): Likewise.
9652         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
9653         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
9654         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
9655         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
9656         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
9657         * sysdeps/nacl/libm.abilist: Update.
9658         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9665         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9666         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9667         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9668         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9671         Likewise.
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9673         Likewise.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9675         Likewise.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9677         Likewise.
9678         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9679         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9680         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9681         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9682         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9684         Likewise.
9685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9686         Likewise.
9687         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9691 2016-12-30  Florian Weimer  <fweimer@redhat.com>
9693         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
9694         compat-gethnamaddr.
9695         (CPPFLAGS): Remove.
9696         * resolv/gethnamaddr.c: Rename ...
9697         * resolv/compat-gethnamaddr.c: ... to this file.
9698         (_endhtent): Make static.
9699         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
9700         symbol.
9701         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
9702         compat symbol.
9703         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
9704         symbol.
9705         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
9706         Turn into compat symbol.
9707         * include/resolv.h (_endhtent): Remove declaration.
9709 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
9711         * bits/types.h (__intmax_t): New typedef.
9712         (__uintmax_t): Likewise.
9713         * sysdeps/generic/stdint.h: Include <bits/types.h>.
9714         (intmax_t): Define using __intmax_t.
9715         (uintmax_t): Define using __uintmax_t.
9717         * support/Makefile (tests-special): Make definition conditional on
9718         [$(run-built-tests) = yes].
9719         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
9720         on [$(run-built-tests) = yes].
9722 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9724         * Rules (tests): Add tests-printers-programs to tests to be
9725         built.
9727 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9729         * sysvipc/Makefile (tests): Add test-sysvshm.
9730         * sysvipc/test-sysvshm.c: New file.
9732         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
9733         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
9734         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
9735         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
9736         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
9737         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
9738         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
9739         Likewise.
9740         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
9741         Likewise.
9742         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
9743         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
9744         is defined.
9746         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
9747         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
9748         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
9749         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
9750         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
9751         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
9752         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
9753         Likewise.
9754         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
9755         Likewise.
9756         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
9757         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
9758         defined.
9760         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9761         oldshmctl.
9762         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
9763         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
9764         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
9765         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
9766         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
9767         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
9768         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
9769         Likewise.
9770         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
9771         Likewise.
9772         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
9773         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
9774         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
9775         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
9776         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
9777         implementation.
9778         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
9779         if it is defined.
9781         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
9782         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
9783         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
9784         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
9785         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
9786         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
9787         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
9788         Likewise.
9789         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
9790         Likewise.
9791         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
9792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
9793         Define to __NR_osf_shmat.
9794         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9795         defined.
9797         * sysvipc/Makefile (tests): Add test-sysvsem.
9798         * sysvipc/test-sysvsem.c: New file.
9800         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9801         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9802         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9805         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9806         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9807         Likewise.
9808         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9809         Likewise.
9810         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9811         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9812         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9813         add a comment about s390 syscall difference from default one.
9814         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9815         syscall if it is defined.
9817         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9818         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9819         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9820         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9821         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9822         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9823         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9824         Likewise.
9825         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9826         Likewise.
9827         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9828         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9829         defined.
9831         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9832         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9833         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9834         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9835         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9836         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9837         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9838         Likewise.
9839         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9840         Likewise.
9841         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9842         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9843         if it is defined.
9845         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9846         oldsemctl.
9847         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9848         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9849         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9850         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9851         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9852         implementation.
9853         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9854         syscall if it is defined.
9855         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9856         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9857         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9858         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9859         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9860         Likewise.
9861         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9863         * sysvipc/Makefile (tests): Add test-sysvmsg.
9864         * sysvipc/test-sysvmsg.c: New file.
9865         * support/check.h (FAIL_UNSUPPORTED): New define.
9867         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9868         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9869         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9870         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9871         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9872         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9873         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9874         Likewise.
9875         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9876         Likewise.
9877         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9878         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9879         define.
9881         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9882         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9883         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9884         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9885         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9886         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9887         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9892         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9893         if defined.
9895         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9896         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9897         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9898         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9899         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9900         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9901         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9902         Likewise.
9903         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9904         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9905         Likewise.
9906         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9907         if defined.
9908         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9910         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9911         oldmsgctl.
9912         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9913         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9914         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9915         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9916         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9917         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9918         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9919         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9920         Likewise.
9921         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9922         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9923         implementation.
9924         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9925         if defined.
9927         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9928         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9929         definition and define its own.
9930         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9931         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9932         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9933         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9934         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9935         definitions to common header.
9936         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9937         operation from ipc_ops.h.
9939         * sysdeps/unix/sysv/linux/kernel-features.h
9940         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9941         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9942         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9943         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9944         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9945         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9946         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9947         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9948         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9949         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9950         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9951         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9952         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9953         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9954         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9956 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9958         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9959         overflow in pointer addition.
9961 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9963         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9964         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9966         (strchr): Add __strchr_power8 to list of strchr functions.
9967         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9968         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9970         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9971         (strchr): Add __strchr_power8 to ifunc list.
9972         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9973         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9974         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9975         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9977 2016-12-28  Florian Weimer  <fweimer@redhat.com>
9979         * support/Makefile (libsupport-routines): Add
9980         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9981         (tests): Add tst-support_record_failure.
9982         (tests-special): tst-support_record_failure-2.
9983         (tst-support_record_failure-2.out): Depend on
9984         tst-support_record_failure-2.sh and tst-support_record_failure.
9985         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9986         (support_test_verify_impl, support_record_failure)
9987         (support_report_failure, support_report_failure_reset): Declare.
9988         * support/support_test_main.c (adjust_exit_status): New function.
9989         (support_test_main): Call it to incorporate record test failures.
9990         * support/support_test_verify_impl.c: New file.
9991         * support/support_record_failure.c: Likewise.
9992         * support/tst-support_record_failure.c: Likewise.
9993         * support/tst-support_record_failure-2.sh: Likewise.
9994         * support/xunistd.h: Likewise.
9995         * support/xfork.c: Likewise.
9996         * support/xwaitpid.c: Likewise.
9998 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10000         * scripts/check-c++-types.sh: Add comments.
10002 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10004         [BZ #19514]
10005         * resolv/res_send.c: Fix typo in comment.
10006         * sysdeps/i386/i386-mcount.S: Likewise.
10007         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10008         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10009         * sysdeps/sparc/sparc-mcount.S: Likewise.
10011 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10013         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10014         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10015         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10016         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10017         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10018         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10019         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10020         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10022 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10024         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10026 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10028         [BZ #17252]
10029         * posix/unistd.h (getentropy): Declare.
10031 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10033         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10034         Remove.
10035         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10036         (cmd): Remove spoof, nospoof, spoofalert.
10037         (parse_line): Ignore spoof-related lines.
10038         (do_init): Do not process RESOLV_SPOOF_CHECK.
10040 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10042         [BZ #20964]
10043         sunrpc: Always obtain AF_INET addresses from NSS.
10044         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10045         * sunrpc/rpc_gethostbyname.c: New file.
10046         * sunrpc/Makefile (routines): Add it.
10047         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10048         * sunrpc/clnt_simp.c (callrpc): Likewise.
10049         * sunrpc/getrpcport.c (getrpcport): Likewise.
10051 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10053         * sunrpc/rpcinfo.c: Remove.
10054         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10056 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10058         [BZ #19387]
10059         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10060         addition.
10061         * string/test-memchr.c (do_test): Remove alignment limitation.
10062         (test_main): Add test that trigger BZ #19387.
10064 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10066         [BZ #7065]
10067         Enable stack protectore if requested by ./configure.
10068         * Makeconfig (+stack-protector): New variable.
10069         (+cflags): Use it.
10071 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10073         [BZ #7065]
10074         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10075         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10076         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10077         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10078         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10080 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10082         [BZ #7065]
10083         * login/Makefile (pt_chown-cflags): Remove.
10084         * nscd/Makefile (CFLAGS-nscd): Likewise.
10085         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10087 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10089         [BZ #7065]
10090         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10091         non-libc-linking testcase.
10093 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10094             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10095             Florian Weimer  <fweimer@redhat.com>
10097         [BZ #7065]
10098         PLT avoidance for __stack_chk_fail*.
10099         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10100         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10101         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10102         __stack_chk_fail_local alias.
10103         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10104         (__stack_chk_fail): Turn into hidden reference to
10105         __stack_chk_fail_local.
10107 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10109         [BZ #7065]
10110         * configure.ac: Add check for unsupported stack-protection level.
10111         (libc_cv_predef_stack_protector): Remove.
10112         (no_ssp): New variable.
10113         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10114         (stack_protector): Set to -fno-stack-protector similarly.
10115         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10116         (libc_cv_asm_set_directive): Likewise.
10117         (libc_cv_protected_data): Likewise.
10118         (libc_cv_z_combreloc): Likewise.
10119         (libc_cv_hashstyle): Likewise.
10120         (libc_cv_has_glob_dat): Likewise.
10121         (libc_cv_output_format): Likewise.
10122         (libc_cv_output_format): Likewise.
10123         (libc_cv_ehdr_start): Likewise.
10124         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10125         (LIBC_LINKER_FEATURE): Likewise.
10126         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10128 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10130         [BZ #7065]
10131         * elf/Makefile (dummy-stack-chk-fail): New.
10132         (librtld.map): Use it.
10134 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10136         [BZ #7065]
10137         Compile the dynamic linker without stack protection.
10138         * elf/Makefile (elide-stack-protector): New.
10139         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10140         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10141         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10142         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10144 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10146         [BZ #7065]
10147         * config.make.in (have-ssp, no-stack-protector): New.
10148         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10149         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10150         (CFLAGS-sbrk.op): Likewise.
10151         (CFLAGS-brk.o): Likewise.
10152         (CFLAGS-brk.op): Likewise.
10153         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10154         (CFLAGS-wordcopy.c): Likewise.
10156 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10158         [BZ #7065]
10159         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10160         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10161         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10162         (__ifunc_resolver): Use it.
10163         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10164         inhibit_stack_protector.
10165         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10166         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10167         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10168         (foo_protected_ifunc): Likewise.
10169         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10170         (foo_protected_ifunc): Likewise.
10171         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10172         * sysdeps/nacl/nacl_interface_query.c
10173         (nacl_interface_query_ifunc): Likewise.
10174         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10175         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10176         Likewise.
10177         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10178         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10179         the generated vDSO syscall resolver.
10181 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10182             Florian Weimer  <fweimer@redhat.com>
10184         [BZ #7065]
10185         Initialize the stack guard earlier when linking statically.
10186         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10187         (__pthread_initialize_minimal): Declare.
10188         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10189         declaration.
10190         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10191         stack canary and apply_irel initialization up.  Call
10192         __pthread_initialize_minimal only if linked in.
10193         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10194         constant values.
10195         (__pthread_initialize_minimal): Remove.
10196         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10197         (__pthread_initialize_minimal_internal): Do not call
10198         __libc_setup_tls.
10200 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10202         [BZ #7065]
10203         * configure.ac (libc_cv_ssp): Move up.
10204         (libc_cv_ssp_strong): Likewise.
10205         (libc_cv_ssp_all): New.
10206         (stack_protector): Augment, adding -fstack-protector-all.
10207         (no_stack_protector): New.
10208         (STACK_PROTECTOR_LEVEL): New.
10209         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10210         * manual/install.texi (--enable-stack-protector): Document it.
10211         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10213 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10215         * README.pretty-printers: Must specify CPPFLAGS-* also.
10216         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10217         (CPPFLAGS-test-mutex-printers.c): Define.
10218         (CPPFLAGS-test-condattr-printers.c): Define.
10219         (CPPFLAGS-test-cond-printers.c): Define.
10220         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10221         (CPPFLAGS-test-rwlock-printers.c): Define.
10223         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10224         (tests): Add tst-cancel-getpwuid_r.
10225         * nss/tst-cancel-getpwuid_r.c: New file.
10227         [BZ #11941]
10228         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10229         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10230         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10231         tst-nodelete-dlclose.
10232         (modules-names): Add tst-nodelete-dlclose-dso and
10233         tst-nodelete-dlclose-plugin.
10234         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10235         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10236         ($(objpfx)tst-nodelete-dlclose): Define.
10237         ($(objpfx)tst-nodelete-dlclose.out): Define.
10239 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10241         * scripts/test_printers_common.py: Log GDB output in case of
10242         Python detection failure.
10244 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10246         * configure.ac: Check for python3 or python.
10247         * configure: Regenerated.
10248         * config.make.in (PYTHON): New variable.
10249         * benchtests/Makefile: Don't define PYTHON.
10250         (bench): Define target only if PYTHON was defined.
10251         * Rules: Don't define PYTHON.
10252         Define pretty printer targets only if PYTHON was defined.
10253         (tests-printers): Add to tests-unsupported if PYTHON is not
10254         found.
10255         (python-flags, python-invoke): Remove.
10256         (tests-printers-out): Use PYTHON instead of python-invoke.
10258 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10260         [BZ #20978]
10261         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10262         Compare name == NULL, not name != NULL.
10264         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10265         trailing whitespace removed.
10266         * scripts/config.guess: Update to version 2016-10-02.
10267         * scripts/config.sub: Update to version 2016-11-19.
10268         * scripts/install-sh: Update to version 2016-01-11.22.
10269         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10270         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10272 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10274         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10275         (do_one_test) Restore original string so iteration works.
10276         * string/string-inlines.c (do_test): Create better input strings.
10277         (test_main) Reduce number of testruns.
10278         * string/string-inlines.c (__old_strsep_1c): New function.
10279         (__old_strsep_2c): Likewise.
10280         (__old_strsep_3c): Likewise.
10281         * string/strsep.c (__strsep): Remove case of small delim string.
10282         Call strcspn directly rather than strpbrk.
10283         * string/bits/string2.h (__strsep): Remove define.
10284         (__strsep_1c): Remove.
10285         (__strsep_2c): Remove.
10286         (__strsep_3c): Remove.
10287         (strsep): Remove.
10288         * sysdeps/unix/sysv/linux/internal_statvfs.c
10289         (__statvfs_getflags): Rename to __strsep.
10291 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10293         * csu/libc-tls.c (_dl_tls_setup): Remove.
10294         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10295         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10296         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10298 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10300         [BZ #7065]
10301         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10302         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10304 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10305             Florian Weimer  <fweimer@redhat.com>
10307         [BZ #7065]
10308         * csu/Makefile (tests): Empty assignment and document it.
10309         (tests-static): Remove.
10310         * csu/tst-empty.c: Move to...
10311         * misc/tst-empty.c: ... here.  Switch to new test driver.
10312         * csu/tst-atomic.c: Move to...
10313         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10314         * csu/tst-atomic-long.c: Move to...
10315         * misc/tst-atomic-long.c: ... here.
10316         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10317         tst-atomic-long.
10318         (tests-static): Add tst-empty.
10320 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10322         * manual/nss.texi: Change incorrect @vtable to @table.
10323         * manual/arith.texi: Convert @tables of variables to @vtables
10324         and remove unnecessary indexing.
10325         * manual/filesys.texi: Likewise.
10326         * manual/llio.texi: Likewise.
10327         * manual/memory.texi: Likewise.
10328         * manual/process.texi: Likewise.
10329         * manual/resource.texi: Likewise.
10330         * manual/search.texi: Likewise.
10331         * manual/signal.texi: Likewise.
10332         * manual/socket.texi: Likewise.
10333         * manual/stdio.texi: Likewise.
10334         * manual/sysinfo.texi: Likewise.
10335         * manual/syslog.texi: Likewise.
10336         * manual/terminal.texi: Likewise.
10337         * manual/time.texi: Likewise.
10338         * manual/users.texi: Likewise.
10340 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10342         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10343         (roundeven): New declaration.
10344         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
10345         macro.
10346         * math/Versions (roundeven): New libm symbol at version
10347         GLIBC_2.25.
10348         (roundevenf): Likewise.
10349         (roundevenl): Likewise.
10350         * math/Makefile (libm-calls): Add s_roundevenF.
10351         * math/libm-test.inc (roundeven_test_data): New array.
10352         (roundeven_test): New function.
10353         (main): Call roundeven_test.
10354         * math/test-tgmath.c (NCALLS): Increase to 134.
10355         (F(compile_test)): Call roundeven.
10356         (F(roundeven)): New function.
10357         * manual/arith.texi (Rounding Functions): Document roundeven,
10358         roundevenf and roundevenl.
10359         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
10360         * include/math.h (roundeven): Use libm_hidden_proto.
10361         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
10362         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
10363         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
10364         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
10365         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
10366         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
10367         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10368         roundeven.
10369         (CFLAGS-nldbl-roundeven.c): New variable.
10370         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
10371         * sysdeps/nacl/libm.abilist: Update.
10372         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10375         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10376         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10377         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10378         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10379         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10380         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10381         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10382         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10383         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10385         Likewise.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10389         Likewise.
10390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10391         Likewise.
10392         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10393         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10394         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10395         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10396         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10400         Likewise.
10401         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10402         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10403         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10405 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10407         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
10408         preprocessor indentation inside #if.
10410 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10412         * math/libm-test.inc (fmt_ftostr): New function.
10413         (print_float, check_float_internal): Replace some uses of
10414         FTOSTR with uses of fmt_ftostr.
10415         (print_max_error, print_complex_max_error, print_function_ulps)
10416         (print_complex_function_ulps): Remove uses of the macros
10417         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
10418         * math/test-double.h (FTOSTR): Define to strfromd.
10419         (PRINTF_EXPR): Delete.
10420         (PRINTF_XEXPR): Likewise.
10421         (PRINTF_NEXPR): Likewise.
10422         * math/test-float.h (FTOSTR): Define to strfromf.
10423         (PRINTF_EXPR): Delete.
10424         (PRINTF_XEXPR): Likewise.
10425         (PRINTF_NEXPR): Likewise.
10426         * math/test-ldouble.h (FTOSTR): Define to strfroml.
10427         (PRINTF_EXPR): Delete.
10428         (PRINTF_XEXPR): Likewise.
10429         (PRINTF_NEXPR): Likewise.
10431 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10433         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10434         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
10435         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10436         (__lll_lock_elision): Decrement adapt_count while unlocking
10437         instead of before locking.
10438         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10439         (__lll_trylock_elision): Likewise.
10440         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
10441         (__lll_unlock_elision): Likewise.
10443 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10445         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
10446         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
10447         Use __libc_tbegin_retry macro.
10449 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10451         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
10452         Add -msoft-float.
10453         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
10454         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
10455         Use __libc_t* transaction macros instead of __builtin_t*.
10456         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10457         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10459 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10461         * sysdeps/unix/sysv/linux/s390/elision-lock.c
10462         (__lll_lock_elision): Use atomics to load / store adapt_count.
10463         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
10464         (__lll_trylock_elision): Likewise.
10466 2016-12-20  Florian Weimer  <fweimer@redhat.com>
10468         Do not require memset elimination in explicit_bzero test.
10469         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
10470         (enum test_expectation): Add NO_EXPECTATIONS.
10471         (subtests): NO_EXPECTATIONS for ordinary clear.
10472         (check_test_buffer): Handle NO_EXPECTATIONS.
10473         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
10475 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
10477         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10478         (fmaxmag): New declaration.
10479         (fminmag): Likewise.
10480         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
10481         macro.
10482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
10483         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
10484         (fmaxmagf): Likewise.
10485         (fmaxmagl): Likewise.
10486         (fminmag): Likewise.
10487         (fminmagf): Likewise.
10488         (fminmagl): Likewise.
10489         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
10490         * math/s_fmaxmag_template.c: New file.
10491         * math/s_fminmag_template.c: Likewise.
10492         * math/libm-test.inc (fmaxmag_test_data): New array.
10493         (fmaxmag_test): New function.
10494         (fminmag_test_data): New array.
10495         (fminmag_test): New function.
10496         (main): Call fmaxmag_test and fminmag_test.
10497         * math/test-tgmath.c (NCALLS): Increase to 132.
10498         (F(compile_test)): Call fmaxmag and fminmag.
10499         (F(fminmag)): New function.
10500         (F(fmaxmag)): Likewise.
10501         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
10502         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
10503         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
10504         fminmag.
10505         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
10506         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
10507         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
10508         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
10509         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
10510         and fminmag.
10511         (CFLAGS-nldbl-fmaxmag.c): New variable.
10512         (CFLAGS-nldbl-fminmag.c): Likewise.
10513         * sysdeps/nacl/libm.abilist: Update.
10514         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10515         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10516         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10518         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10519         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10520         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10521         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10522         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10523         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10524         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10525         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10527         Likewise.
10528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10529         Likewise.
10530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10531         Likewise.
10532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10533         Likewise.
10534         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10535         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10536         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10537         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10538         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10540         Likewise.
10541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10542         Likewise.
10543         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10544         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10545         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10547 2016-12-19  Torvald Riegel  <triegel@redhat.com>
10549         [BZ #20973]
10550         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
10551         wake-up in robust mutexes.
10552         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10554 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10556         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
10557         (CFLAGS-bench-fmaxf.c): New rule.
10558         (CFLAGS-bench-fminf.c): Likewise.
10559         * benchtests/fmaxf-inputs: New file.
10560         * benchtests/fminf-inputs: Likewise.
10562         * benchtests/Makefile (bench-math): Add fmin and fmax.
10563         (CFLAGS-bench-fmax.c): New rule.
10564         (CFLAGS-bench-fmin.c): Likewise.
10565         * benchtests/fmax-inputs: New file.
10566         * benchtests/fmin-inputs: Likewise.
10568         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
10569         parenthesis.
10570         (CMDLINE_PROCESS): Define using function instead of macro.
10571         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
10572         of test-skeleton.
10573         * benchtests/bench-memchr.c: Likewise.
10574         * benchtests/bench-memcmp.c: Likewise.
10575         * benchtests/bench-memcpy-large.c: Likewise.
10576         * benchtests/bench-memcpy.c: Likewise.
10577         * benchtests/bench-memmem.c: Likewise.
10578         * benchtests/bench-memmove-large.c: Likewise.
10579         * benchtests/bench-memmove.c: Likewise.
10580         * benchtests/bench-memset-large.c: Likewise.
10581         * benchtests/bench-memset.c: Likewise.
10582         * benchtests/bench-rawmemchr.c: Likewise.
10583         * benchtests/bench-strcasecmp.c: Likewise.
10584         * benchtests/bench-strcasestr.c: Likewise.
10585         * benchtests/bench-strcat.c: Likewise.
10586         * benchtests/bench-strchr.c: Likewise.
10587         * benchtests/bench-strcmp.c: Likewise.
10588         * benchtests/bench-strcpy.c: Likewise.
10589         * benchtests/bench-strcpy_chk.c: Likewise.
10590         * benchtests/bench-strlen.c: Likewise.
10591         * benchtests/bench-strncasecmp.c: Likewise.
10592         * benchtests/bench-strncmp.c: Likewise.
10593         * benchtests/bench-strncpy.c: Likewise.
10594         * benchtests/bench-strnlen.c: Likewise.
10595         * benchtests/bench-strpbrk.c: Likewise.
10596         * benchtests/bench-strrchr.c: Likewise.
10597         * benchtests/bench-strsep.c: Likewise.
10598         * benchtests/bench-strspn.c: Likewise.
10599         * benchtests/bench-strstr.c: Likewise.
10600         * benchtests/bench-strtok.c: Likewise.
10602 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10604         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
10605         stepping identification.
10606         (init_cpu_features): Add handle of Haswell.
10608 2016-11-25  Jim Meyering  <meyering@fb.com>
10610         [BZ #20386]
10611         Let gcc detect assert(a = 1) errors.
10612         * assert/assert.h (assert): Rewrite, retaining the old definintion
10613         when required, but otherwise putting the expression as-is in an "if"
10614         expression (hence, with no added parentheses) within a statement
10615         expression.
10617 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10619         * benchtests/Makefile (binaries-benchset): Depend on libsupport
10620         DSO.
10622 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
10624         * Rules (python-flags, python-invoke): New.
10625         ($(test-printers-out)): Use $(python-flags).
10627 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10629         * manual/arith.texi (Math Error Reporting): Document that sNaN
10630         arguments are not considered domain errors.
10632 2016-12-16  Zack Weinberg <zackw@panix.com>
10633             Florian Weimer <fweimer@redhat.com>
10634             Nick Mathewson <nickm@torproject.org>
10636         * string/explicit_bzero.c: New routine.
10637         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
10638         * string/Makefile (routines, strop-tests, tests): Add them.
10639         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
10640         * string/string.h [__USE_MISC]: Declare explicit_bzero.
10642         * debug/explicit_bzero_chk.c: New routine.
10643         * debug/Makefile (routines): Add it.
10644         * debug/tst-chk1.c: Test fortification of explicit_bzero.
10645         * string/bits/string3.h: Fortify explicit_bzero.
10647         * manual/string.texi: Document explicit_bzero.
10648         * NEWS: Mention addition of explicit_bzero.
10650         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
10651         data before returning, using explicit_bzero.
10652         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
10653         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10654         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10656         * include/string.h: Redirect internal uses of explicit_bzero
10657         to __explicit_bzero_chk[_internal].
10658         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
10659         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
10660         * sysdeps/arm/nacl/libc.abilist
10661         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10662         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10663         * sysdeps/unix/sysv/linux/arm/libc.abilist
10664         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10665         * sysdeps/unix/sysv/linux/i386/libc.abilist
10666         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10667         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10668         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10669         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10670         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10671         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10672         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10673         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10674         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10679         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10680         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10681         * sysdeps/unix/sysv/linux/sh/libc.abilist
10682         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10683         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10686         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10687         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10688         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10689         Add entries for explicit_bzero and __explicit_bzero_chk.
10691 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10693         * math/fenv.h
10694         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
10695         (FE_SNANS_ALWAYS_SIGNAL): New macro.
10696         * math/test-fe-snans-always-signal.c: New file.
10697         * math/Makefile (tests): Add test-fe-snans-always-signal.
10698         (CFLAGS-test-fe-snans-always-signal.c): New variable.
10699         * manual/arith.texi (Infinity and NaN): Document
10700         FE_SNANS_ALWAYS_SIGNAL.
10702 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10704         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
10705         bracket.
10707 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
10709         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
10710         before calling execv.
10712 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10714         [BZ #20971]
10715         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
10716         overflow in pointer addition.
10717         * string/test-memchr.c (do_test): Add an argument to pass as
10718         the size on memchr.
10719         (test_main): Add check for SIZE_MAX.
10721 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10723         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
10724         (libm-calls): Add w_scalblnF.
10725         * math/w_scalbln.c: Remove.
10726         * math/w_scalblnf.c: Likewise.
10727         * math/w_scalblnl.c: Likewise.
10728         * math/w_scalbln_template.c: New file with type-generic
10729         implementation based on math/w_scalbln.c.
10730         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
10731         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
10733 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10735         [BZ #20947]
10736         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
10737         either is a signaling NaN.
10738         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
10739         follow fmaxl more closely.
10740         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
10741         when either is a signaling NaN.
10742         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
10743         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
10744         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
10745         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
10746         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
10747         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
10748         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
10749         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
10750         (fmin_test_data): Likewise.
10752 2016-12-15  Andreas Schwab  <schwab@suse.de>
10754         * support/support_test_main.c (support_test_main): Don't shadow
10755         file-local variable test_pid.
10757 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
10759         [BZ #20947]
10760         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
10761         either is a signaling NaN.
10762         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
10764 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10766         [BZ #20947]
10767         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
10768         when either is a signaling NaN.
10769         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
10771         * bits/long-double.h: New file.
10772         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
10773         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
10774         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
10775         * sysdeps/mips/bits/long-double.h: Likewise.
10776         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
10777         * math/Makefile (headers): Add bits/long-double.h.
10778         * misc/sys/cdefs.h: Include <bits/long-double.h>.
10779         * stdlib/strtold.c: Include <bits/long-double.h> instead of
10780         <bits/wordsize.h>.
10781         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
10782         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
10783         * math/math.h: Do not include <bits/mathdef.h>.
10784         * sysdeps/aarch64/bits/mathdef.h: Remove file.
10785         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
10786         inclusion.
10787         * sysdeps/ia64/bits/mathdef.h: Remove file.
10788         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
10789         * sysdeps/mips/bits/mathdef.h: Likewise.
10790         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10791         * sysdeps/s390/bits/mathdef.h: Likewise.
10792         * sysdeps/sparc/bits/mathdef.h: Likewise.
10793         * sysdeps/x86/bits/mathdef.h: Likewise.
10794         * sysdeps/s390/s390-32/bits/wordsize.h
10795         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10796         conditional code.
10797         * sysdeps/s390/s390-64/bits/wordsize.h
10798         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10799         Likewise.
10800         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10801         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10802         Likewise.
10803         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10804         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10805         Likewise.
10806         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10807         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10808         Likewise.
10810         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10811         <linux/falloc.h>.
10812         (FALLOC_FL_KEEP_SIZE): Remove.
10813         (FALLOC_FL_PUNCH_HOLE): Likewise.
10814         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10815         (FALLOC_FL_ZERO_RANGE): Likewise.
10817 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10819         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10821 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10823         * sysdeps/unix/sysv/linux/renameat.c: New file.
10824         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10826         * sysdeps/unix/sysv/linux/rename.c: New file.
10827         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10829 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10831         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10832         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10833         * string/strtok_r.c (__strtok_r): Optimize for performance.
10834         * string/string-inlines.c (__old_strtok_r_1c): New function.
10835         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10837 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10839         * math/Makefile (gen-libm-calls): Add w_log1pF.
10840         (libm-calls): Remove w_log1pF.
10841         * math/w_log1p.c: Remove.
10842         * math/w_log1pf.c: Likewise.
10843         * math/w_log1pl.c: Likewise.
10844         * math/w_log1p_template.c: New file with type-generic
10845         implementation based on math/w_log1p.c.
10846         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10847         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10849 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10851         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10853 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10855         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10856         kernel version to 4.9.
10858 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10860         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10861         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10863 2016-12-13  Andreas Schwab  <schwab@suse.de>
10865         * sysdeps/powerpc/dl-procinfo.c: Don't define
10866         _dl_powerpc_platforms.
10867         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10868         constants instead of referencing _dl_powerpc_platforms.
10869         (_dl_platform_string): Remove.
10871 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10873         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10875 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10877         * Rules (binaries-shared-tests, binaries-pie-tests)
10878         (binaries-static-tests): Link with $(link-extra-libs-tests).
10879         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10880         Remove $(link-extra-libs-tests).
10882 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10884         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10885         (sysdep_routines): Add strncmp_power9.
10886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10887         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10888         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10889         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10890         (strncmp): Add __strncmp_power9 to ifunc list.
10891         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10893 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10895         [BZ #17252]
10896         Add getentropy, getrandom.
10897         * stdlib/sys/random.h: New file.
10898         (headers): Add it.
10899         * stdlib/Makefile (routines): Add getentropy, getrandom.
10900         (tests): Add tst-getrandom.
10901         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10902         * stdlib/getentropy.c: New file.
10903         * stdlib/getrandom.c: Likewise.
10904         * stdlib/tst-getrandom.c: Likewise.
10905         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10906         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10907         * manual/crypt.texi (Unpredictable Bytes): New section.
10908         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10909         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10910         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10911         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10912         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10913         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10914         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10915         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10916         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10917         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10918         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10919         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10920         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10921         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10922         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10923         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10925         Likewise.
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10927         Likewise.
10928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10930         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10931         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10932         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10933         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10934         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10937         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10938         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10939         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10941 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10943         [BZ #20956]
10944         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10945         as additional compiler barriers.
10946         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10947         (fn2, do_test): Declare with external linkage.
10948         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10949         (do_test): Declare with external linkage.
10950         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10951         (do_test): Declare with external linkage.
10952         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10953         (do_test): Declare with external linkage.
10955 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10957         * support/support_test_main.c (support_test_main): Use correct
10958         timeout.
10960 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10961             Florian Weimer  <fweimer@redhat.com>
10963         [BZ #16421]
10964         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10965         and __u6_addr32 members.
10966         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10967         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10968         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10969         Use __u6_addr32.
10970         * inet/tst-checks.c: Use <support/test-driver.c>
10971         * inet/tst-checks-posix.c: New file.
10972         * inet/Makefile (tests): Add it.
10973         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10975 2016-12-09  Florian Weimer  <fweimer@redhat.com>
10977         New subdirectory support for build and test infrastructure.
10978         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
10979         setting install-lib.
10980         * Makeconfig (link-extra-libs-tests): Define.
10981         (+link-pie-tests, +link-static-tests, +link-tests): Use
10982         link-extra-libs-tests.
10983         (rpath-dirs, all-subdirs): Add support.
10984         (built-modules): Add libsupport.
10985         (libsupport): Define.
10986         * support: New directory.
10987         * support/Makefile: New file.
10988         * support/check.c: Likewise.
10989         * support/check.h: Likewise.
10990         * support/delayed_exit.c: Likewise.
10991         * support/ignore_stderr.c: Likewise.
10992         * support/oom_error.c: Likewise.
10993         * support/set_fortify_handler.c: Likewise.
10994         * support/support.h: Likewise.
10995         * support/temp_file-internal.h: Likewise.
10996         * support/temp_file.c: Likewise.
10997         * support/test-driver.c: Likewise.
10998         * support/test-driver.h: Likewise.
10999         * support/test_main.c: Likewise.
11000         * support/write_message.c: Likewise.
11001         * support/xasprintf.c: Likewise.
11002         * support/xcalloc.c: Likewise.
11003         * support/xmalloc.c: Likewise.
11004         * support/xpthread_barrier_destroy.c: Likewise.
11005         * support/xpthread_barrier_init.c: Likewise.
11006         * support/xpthread_barrier_wait.c: Likewise.
11007         * support/xpthread_cancel.c: Likewise.
11008         * support/xpthread_check_return.c: Likewise.
11009         * support/xpthread_cond_wait.c: Likewise.
11010         * support/xpthread_create.c: Likewise.
11011         * support/xpthread_detach.c: Likewise.
11012         * support/xpthread_join.c: Likewise.
11013         * support/xpthread_mutex_lock.c: Likewise.
11014         * support/xpthread_mutex_unlock.c: Likewise.
11015         * support/xpthread_sigmask.c: Likewise.
11016         * support/xpthread_spin_lock.c: Likewise.
11017         * support/xpthread_spin_unlock.c: Likewise.
11018         * support/xrealloc.c: Likewise.
11019         * support/xsignal.h: Likewise.
11020         * support/xthread.h: Likewise.
11021         * support_tempfile.h: Likewise.
11022         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11023         (TEST_DATA_LIMIT): Remove unused macro.
11024         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11025         <support/check.h>.
11026         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11027         (ignore_stderr, set_fortify_handler): Remove.  Now in
11028         <support/support.h>.
11029         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11030         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11031         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11032         (xpthread_join): Remove.  Now in <support/xthread.h>.
11033         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11034         Introduce legacy wrappers.
11035         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11036         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11037         (write_message): Remove.
11038         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11039         test-skeleton.c.
11040         * io/test-open-tmpfile: Likewise.
11041         * io/tst-posix_fallocate-common.c: Likewise.
11042         * libio/tst-fseek.c: Likewise.
11043         * malloc/tst-malloc-backtrace.c: Likewise.
11044         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11045         * malloc/tst-malloc-thread-exit.c: Likewise.
11046         * nptl/tst-cancel7.c: Likewise.
11047         * nptl/tst-cleanup0.c: Likewise.
11048         * posix/tst-posix_fadvise-common.c: Likewise.
11049         * rt/tst-shm.c: Likewise.
11050         * time/bug-getdate1.c: Likewise.
11051         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11052         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11053         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11055 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11057         * Rules [$(run-built-tests) != no] (tests-expected): Add
11058         $(tests-printers).
11059         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11061 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11063         [BZ #20539]
11064         * math/Makefile (install-lib-ldscripts): Add libm.a.
11065         (install_subdir): Remove.
11066         (install-others): Add.
11067         ($(inst_libdir)/libm.a): Add rule for installation as
11068         linker script.
11069         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11071 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11073         * INSTALL: Regenerated.
11074         * Makeconfig: Add comments and whitespace to make the control flow
11075         clearer.
11076         (+link-printers-tests, +link-pie-printers-tests,
11077         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11078         built-rtld-LDFLAGS, link-libc-rpath,
11079         link-libc-tests-after-rpath-link,
11080         link-libc-printers-tests): New.
11081         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11082         link-libc-tests): Use the new variables as required.
11083         * Makerules ($(py-const)): New rule.
11084         generated: Add $(py-const).
11085         * README.pretty-printers: New file.
11086         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11087         (others): Depend on $(py-const).
11088         (tests): Depend on $(tests-printers-programs) or
11089         $(tests-printers-out),
11090         as required.  Pass $(tests-printers) to merge-test-results.sh.
11091         * manual/install.texi: Add requirements for testing the pretty
11092         printers.
11093         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11094         tests-printers, CFLAGS-test-mutexattr-printers.c
11095         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11096         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11097         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11098         * nptl/nptl-printers.py: New file.
11099         * nptl/nptl_lock_constants.pysym: Likewise.
11100         * nptl/test-cond-printers.c: Likewise.
11101         * nptl/test-cond-printers.py: Likewise.
11102         * nptl/test-condattr-printers.c: Likewise.
11103         * nptl/test-condattr-printers.py: Likewise.
11104         * nptl/test-mutex-printers.c: Likewise.
11105         * nptl/test-mutex-printers.py: Likewise.
11106         * nptl/test-mutexattr-printers.c: Likewise.
11107         * nptl/test-mutexattr-printers.py: Likewise.
11108         * nptl/test-rwlock-printers.c: Likewise.
11109         * nptl/test-rwlock-printers.py: Likewise.
11110         * nptl/test-rwlockattr-printers.c: Likewise.
11111         * nptl/test-rwlockattr-printers.py: Likewise.
11112         * scripts/gen-py-const.awk: Likewise.
11113         * scripts/test_printers_common.py: Likewise.
11114         * scripts/test_printers_exceptions.py: Likewise.
11116 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11118         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11119         argument.
11120         (Glibc.build_glibc): Strip installed shared libraries if
11121         requested.
11122         (get_parser): Add --strip option.
11123         (main): Update Context call.
11125 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11126             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11128         [BZ #20847]
11129         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11130         array bounds for else branch.
11131         (__execvpe): Style fixes.
11132         * posix/tst-vfork3.c (run_script): New function.
11133         (create_script): Likewise.
11134         (do_test): Use run_script internal function.
11135         (do_prepare): Use create_script internal function.
11137 2016-12-07  Andreas Schwab  <schwab@suse.de>
11139         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11140         (__elision_available): Don't declare.
11141         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11142         (__elision_available): Don't define.
11143         (elision_init): Don't set __elision_available.
11145 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11147         [BZ #20940]
11148         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11149         return Inf for arguments Inf and sNaN.
11150         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11151         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11152         Likewise.
11153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11154         Likewise.
11155         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11156         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11157         for arguments Inf and sNaN.  When returning a NaN, compute it by
11158         arithmetic on the arguments.
11159         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11160         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11161         arguments.
11163 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11165         [BZ #20916]
11166         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11167         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11168         to compute result.
11169         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11170         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11172 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11174         * include/atomic.h (__atomic_check_size_ls): New.
11175         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11176         atomic_store_release): Use it.
11177         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11178         (elision_adapt, ELIDE_LOCK): Use atomics.
11179         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11180         atomics and improve code comments.
11181         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11182         (__lll_trylock_elision): Likewise.
11184 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11186         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11187         programs.
11189 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11191         [BZ #20916]
11192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11193         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11194         arguments to compute result.
11195         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11196         1 for arguments (sNaN, 0) or (1, sNaN).
11197         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11200         [BZ #20919]
11201         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11202         NaN first argument when raised to power 0.
11203         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11204         raising to power zero.
11205         * math/w_powf.c (__powf): Likewise.
11206         * math/w_powl.c (__powl): Likewise.
11207         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11208         pow (0, 0) or pow (NaN, 0).
11210 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11212         [BZ #20918]
11213         * configure.ac: Test for static NSS cryptographic libraries and set
11214         libc_cv_static_nss_crypt.
11215         * configure: Regenerate.
11216         * config.make.in (static-nss-crypt): Define.
11217         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11218         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11219         (CFLAGS-tst-linkall-static.c): Define.
11220         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11221         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11222         ($(objpfx)tst-linkall-static): Define.
11223         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11224         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11226 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11228         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11229         (one-hundred, tst-tls-many-dynamic-modules): Define.
11230         (modules-names): Add $(tst-tls-many-dynamic-modules).
11231         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11232         macros.
11233         (tst-tls-manydynamic): Link against libdl, libpthread.
11234         (tst-tls-manydynamic.out): The test needs the test modules at run
11235         time.
11236         * elf/tst-tls-manydynamic.c: New file.
11237         * elf/tst-tls-manydynamic.h: Likewise.
11238         * elf/tst-tls-manydynamicmod.c: Likewise.
11240 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11242         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11243         (TLS_DTV_UNALLOCATED): Add.
11244         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11245         offsets.
11247 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11249         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11251 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11253         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11254         Add -fno-optimize-sibling-calls.
11256 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11258         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11259         New declaration.
11260         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11261         macro.
11262         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11263         New macro.
11264         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11265         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11266         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11267         (llogbf): Likewise.
11268         (llogbl): Likewise.
11269         * math/Makefile (gen-libm-calls): Add w_llogbF.
11270         (tests): Add test-fp-llogb-constants.
11271         * math/w_llogb_template.c: New file.  Based on
11272         math/w_ilogb_template.c.
11273         * math/libm-test.inc (llogb_test_data): New array.
11274         (llogb_test): New function.
11275         (main): Call llogb_test.
11276         * math/test-fp-llogb-constants.c: New file.  Based on
11277         math/test-fp-ilogb-constants.c.
11278         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11279         (do_test): Call check_return_llogb.
11280         * math/test-tgmath.c (NCALLS): Increase to 126.
11281         (F(compile_test)): Call llogb.
11282         (F(llogb)): New function.
11283         * manual/math.texi (Exponents and Logarithms): Document llogb,
11284         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11285         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11286         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11287         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11288         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11289         (CFLAGS-nldbl-llogb.c): New variable.
11290         * sysdeps/nacl/libm.abilist: Update.
11291         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11292         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11293         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11294         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11295         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11296         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11297         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11298         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11299         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11300         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11301         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11302         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11304         Likewise.
11305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11306         Likewise.
11307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11308         Likewise.
11309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11310         Likewise.
11311         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11312         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11313         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11314         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11315         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11317         Likewise.
11318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11319         Likewise.
11320         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11321         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11322         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11324 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11326         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11327         _Float128 instead of long double.
11328         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
11330         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
11331         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
11332         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
11333         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
11334         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
11335         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
11336         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
11337         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
11338         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
11339         Likewise.
11341 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11343         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
11344         Remove redirection to __strrchr_ppc.
11346 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11348         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11349         (sysdep_routines): Add strcmp_power9.
11350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11351         (strcmp): Add __strcmp_power9 to list of strcmp functions.
11352         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
11353         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
11354         (strcmp): Add __strcmp_power9 to ifunc list.
11355         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
11357 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11359         * bits/fp-logb.h: New file.
11360         * sysdeps/ia64/bits/fp-logb.h: Likewise.
11361         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
11362         * sysdeps/x86/bits/fp-logb.h: Likewise.
11363         * math/Makefile (headers): Add bits/fp-logb.h.
11364         * math/math.h: Include <bits/fp-logb.h>.
11365         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
11366         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
11367         * bits/mathdef.h (FP_ILOGB0): Remove.
11368         (FP_ILOGBNAN): Likewise.
11369         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
11370         (FP_ILOGBNAN): Likewise.
11371         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
11372         (FP_ILOGBNAN): Likewise.
11373         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
11374         (FP_ILOGBNAN): Likewise.
11375         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
11376         (FP_ILOGBNAN): Likewise.
11377         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
11378         (FP_ILOGBNAN): Likewise.
11379         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
11380         (FP_ILOGBNAN): Likewise.
11381         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
11382         (FP_ILOGBNAN): Likewise.
11383         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
11384         (FP_ILOGBNAN): Likewise.
11385         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
11386         (FP_ILOGBNAN): Likewise.
11388         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
11389         time module.
11390         (Context.__init__): Initialize self.logsdir_old.
11391         (Context.run_builds): Handle bot action.
11392         (Context.bot_cycle): Copy logs directory before running builds.
11393         (Context.bot_run_self): Take argument for whether to check
11394         subprocess result.  Flush stdout before running subprocess.
11395         (Context.bot): New function.
11396         (get_parser): Allow bot action.
11398 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
11400         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
11401         Import email.mime.text, email.utils and smtplib modules.
11402         (Context.__init__): Initialize self.bot_config_json.
11403         (Context.run_builds): Handle bot-cycle action.
11404         (Context.load_bot_config_json): New function.
11405         (Context.part_build_old): Likewise.
11406         (Context.bot_cycle): Likewise.
11407         (Context.bot_build_mail): Likewise.
11408         (Context.bot_run_self): Likewise.
11409         (get_parser): Allow bot-cycle action.
11411 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
11414         Remove redirection to __stpcpy_ppc.
11416 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11418         Remove __libc_memalign from ld.so because it is unused.
11419         * elf/dl-minimal.c: Update comment on the malloc implementation.
11420         (malloc): Renamed from __libc_memalign, replacing the original
11421         malloc implementation.  Replace the align parameter with
11422         MALLOC_ALIGNMENT.
11423         * elf/Versions (ld): Update comment and remove __libc_memalign.
11424         * sysdeps/nacl/ld.abilist: Likewise.
11425         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11426         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11427         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11428         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11429         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11430         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11431         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11432         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11433         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11434         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11435         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11436         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11437         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11441         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11442         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11443         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11444         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11445         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
11447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
11448         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
11449         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11450         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11451         * sysdeps/generic/localplt.data (ld.so): Likewise.
11452         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11453         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11454         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11455         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11456         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11457         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11458         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11459         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
11460         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11462         (ld.so): Likewise.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11464         (ld.so): Likewise.
11465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11466         Likewise.
11467         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11468         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11469         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
11470         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
11471         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11473 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11475         [BZ #16628]
11476         Implement _dl_catch_error, _dl_signal_error in libc.so.
11477         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
11478         (catch_hook): Define as thread-local or regular variable,
11479         depending on DL_ERROR_BOOTSTRAP.
11480         (CATCH_HOOK): Remove.
11481         (dl_signal_error, _dl_catch_error): Use
11482         catch_hook.  Add hidden definition for libc.
11483         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
11484         for DL_ERROR_BOOTSTRAP only.
11485         * elf/dl-error.c: New file.
11486         * elf/dl-error-minimal.c: Likewise.
11487         * elf/tst-latepthread.c: Likewise.
11488         * elf/tst-latepthreadmod.c: Likewise.
11489         * elf/Makefile (routines): Add dl-error.
11490         (dl-routines): Remove dl-error.
11491         (rtld-routines): Add dl-error-minimal.
11492         [build-shared] (tests): Add tst-latepthread.
11493         (module-names): Add tst-latepthreadmod.
11494         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
11495         symbol.
11496         (tst-latepthreadmod.so): Link against libpthread.
11497         (tst-latepthread): Link against libdbl.
11498         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
11499         _dl_catch_error.
11500         [ld] (GLIBC_PRIVATE): Likewise.
11501         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
11502         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
11503         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
11504         directly.
11505         * elf/dl-tsd.c: Remove file.
11506         * elf/rtld.c (_rtld_global_ro): Remove initializers for
11507         _dl_catch_error, _dl_signal_error.
11508         (_dl_initial_error_catch_tsd): Remove definition.
11509         (do_preload): Remove initialization of dl_error_catch_tsd.
11510         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
11511         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
11512         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11513         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11514         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
11515         set dl_error_catch_tsd.
11516         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
11517         _dl_error_catch_tsd member.
11518         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
11519         members.
11520         (_dl_initial_error_catch_tsd): Remove declaration.
11521         (_dl_dprintf): Provide definition for use outside of ld.so.
11522         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
11523         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
11524         prototype for libc.
11525         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
11526         _dl_catch_error.
11527         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
11528         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
11529         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
11530         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
11531         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
11532         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
11533         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
11534         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
11535         Likewise.
11536         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
11537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
11538         (ld.so): Likewise.
11539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11540         (ld.so): Likewise.
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
11542         Likewise.
11543         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
11544         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
11545         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
11546         Likewise.
11547         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
11548         Likewise.
11549         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
11551 2016-11-30  Florian Weimer  <fweimer@redhat.com>
11553         [BZ #4099]
11554         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
11555         _IO_BUFSIZ (8192).
11557 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
11559         * PROJECTS: Remove file.
11561 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11563         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
11565 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
11566             Steve Ellcey  <sellcey@caviumnetworks.com>
11568         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
11569         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
11570         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
11571         fxstatat.
11572         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
11573         lxstat.
11574         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
11575         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
11576         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
11577         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
11578         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
11579         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
11580         __xstat.
11582 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11584         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
11585         Define.
11586         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
11587         definition.
11589 2016-11-29  Florian Weimer  <fweimer@redhat.com>
11591         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
11592         version and turn into strong alias.  Remove compat symbol.
11594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11595         (__longjmp): Remove.
11597 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
11599         * bits/fp-fast.h: New file.
11600         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
11601         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
11602         * math/Makefile (headers): Add bits/fp-fast.h.
11603         * math/math.h: Include <bits/fp-fast.h>.
11604         * bits/mathdef.h (FP_FAST_FMA): Remove.
11605         (FP_FAST_FMAF): Likewise.
11606         (FP_FAST_FMAL): Likewise.
11607         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
11608         (FP_FAST_FMAF): Likewise.
11609         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
11610         (FP_FAST_FMAF): Likewise.
11611         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
11612         (FP_FAST_FMAF): Likewise.
11613         (FP_FAST_FMAL): Likewise.
11614         * sysdeps/arm/bits/mathdef.h: Remove file.
11615         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
11616         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11617         * sysdeps/tile/bits/mathdef.h: Likewise.
11619 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11621         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
11622         * math/w_ilogb.c: Remove.
11623         * math/w_ilogbf.c: Likewise.
11624         * math/w_ilogbl.c: Likewise.
11625         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
11626         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
11627         * math/Makefile (gen-libm-calls): Add w_ilogbF.
11628         (libm-calls): Remove w_ilogbF.
11629         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
11630         (LDOUBLE_ilogbl_libm_version): New macro.
11632         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
11634         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
11635         [!__STRICT_ANSI__ && !__cplusplus].
11637 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11639         [BZ #20750]
11640         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
11641         of PIC.
11643 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11644             Yury Norov  <ynorov@caviumnetworks.com>
11645             Steve Ellcey  <sellcey@caviumnetworks.com>
11647         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
11648         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
11649         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
11650         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
11651         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
11652         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
11653         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
11654         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
11655         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
11656         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
11657         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
11658         to get correct reg name for ILP32.
11659         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
11660         (RELA_SIZE): New Macro.
11661         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
11662         to support ILP32.
11663         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
11664         cast for ILP32 mode.
11665         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
11666         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
11667         * sysdeps/aarch64/memset.S (__memset): Ditto.
11668         * sysdeps/aarch64/strchr.S (strchr): Ditto.
11669         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
11670         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
11671         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
11672         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
11673         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
11674         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
11675         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
11676         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
11677         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
11678         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
11679         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
11680         change PTR_MANGLE call to use register numbers instead of names.
11681         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
11682         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
11683         ILP32 mode, change PTR_MANGLE calls to use register numbers.
11684         * sysdeps/aarch64/start.S (_start): Ditto.
11685         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
11686         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
11687         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
11688         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
11689         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
11690         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
11691         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
11692         Make defined values dependent on __ILP32__.
11693         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
11694         (sem_t): Change __align type.
11695         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
11696         PTR_SIZE): New Macros.
11697         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
11698         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
11699         Set when in ILP32 mode.
11700         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
11701         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
11702         Set elf flags for ILP32.
11703         (add_system_dir): Set ILP32 library directories.
11704         * sysdeps/unix/sysv/linux/aarch64/init-first.c
11705         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
11706         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
11707         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
11708         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
11709         New Macros.
11710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
11712 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
11714         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
11715         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
11716         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
11718 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
11720         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
11721         <asm/cachectl.h>.
11723 2016-11-27  Zack Weinberg  <zackw@panix.com>
11725         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
11726         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
11728 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11730         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
11731         error_t to fix usage in C++ programs.
11733 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
11735         * scripts/build-many-glibcs.py: Import datetime module.
11736         (Context.__init__): Load JSON build state.  Initialize list of
11737         status logs.
11738         (Context.run_builds): Update saved build state.
11739         (Context.add_makefile_cmdlist): Update list of status logs.
11740         (Context.load_build_state_json): New function.
11741         (Context.store_build_state_json): Likewise.
11742         (Context.clear_last_build_state): Likewise.
11743         (Context.update_build_state): Likewise.
11744         (CommandList.status_logs): Likewise.
11746 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
11748         * scripts/build-many-glibcs.py (Context.__init__): Save text of
11749         script being executed.
11750         (Context.get_script_text): New function.
11751         (Context.exec_self): Likewise.
11752         (Context.checkout): Re-exec script if changed by checkout process.
11754 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11756         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11757         (setpayloadsig): New declaration.
11758         * math/Versions (setpayloadsig): New libm symbol at version
11759         GLIBC_2.25.
11760         (setpayloadsigf): Likewise.
11761         (setpayloadsigl): Likewise.
11762         * math/Makefile (libm-calls): Add s_setpayloadsigF.
11763         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
11764         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
11765         (setpayloadsig_test_data): New array.
11766         (setpayloadsig_test): New function.
11767         (main): Call setpayloadsig_test.
11768         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
11769         setpayloadsigf and setpayloadsigl.
11770         * manual/libm-err-tab.pl: Update comment on interfaces without
11771         ulps tabulated.
11772         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
11773         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
11774         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
11775         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
11776         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
11777         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
11778         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11779         setpayloadsig.
11780         (CFLAGS-nldbl-setpayloadsig.c): New variable.
11781         * sysdeps/nacl/libm.abilist: Update.
11782         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11783         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11784         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11785         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11786         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11787         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11788         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11789         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11790         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11791         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11792         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11793         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11795         Likewise.
11796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11797         Likewise.
11798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11799         Likewise.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11801         Likewise.
11802         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11803         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11804         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11805         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11806         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11808         Likewise.
11809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11810         Likewise.
11811         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11812         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11813         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11815         * scripts/build-many-glibcs.py: Import json module.
11816         (Context.__init__): Take replace_sources argument.  Load
11817         versions.json.
11818         (Context.load_versions_json): New function.
11819         (Context.store_json): Likewise.
11820         (Context.store_versions_json): Likewise.
11821         (Context.set_component_version): Likewise.
11822         (Context.checkout): Update versions.json.  Check for and handle
11823         changes of version.  Prefer previously explicitly specified
11824         version to default version.
11825         (Context.checkout_vcs): Return a revision identifier.
11826         (Context.git_checkout): Likewise.
11827         (Context.gcc_checkout): Likewise.
11828         (get_parser): Add --replace-sources option.
11829         (main): Pass replace_sources argument to Context call.
11831 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11833         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11834         * nptl/allocatestack.c (allocate_stack): Likewise.
11835         (__reclaim_stacks): Likewise.
11836         (setxid_signal_thread): Obtain pid through syscall.
11837         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11838         (sighandle_setxid): Likewise.
11839         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11840         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11841         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11842         Likewise.
11843         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11844         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11845         comment.
11846         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11847         * nptl/descr.h (struct pthread): Change comment about pid value.
11848         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11849         pid assert.
11850         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11851         Do not set pid value.
11852         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11853         pid cache check.
11854         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11855         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11856         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11857         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11858         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11859         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11860         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11861         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11862         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11863         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11864         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11865         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11866         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11867         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11868         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11869         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11870         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11871         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11872         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11873         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11874         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11875         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11876         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11877         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11878         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11881         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11882         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11883         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11884         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11885         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11886         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11887         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11888         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11889         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11890         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11891         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11892         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11893         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11894         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11895         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11896         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11899         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11900         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11901         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11902         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11903         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11904         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11905         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11906         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11907         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11908         struct access.
11909         (clone_test): Remove function.
11910         (do_test): Rewrite to take in consideration pid is not cached anymore.
11912 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11914         * bits/flt-eval-method.h: New file.
11915         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11916         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11917         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11918         * math/Makefile (headers): Add bits/flt-eval-method.h.
11919         * math/math.h: Include <bits/flt-eval-method.h>.
11920         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11921         [__USE_ISOC99] (double_t): Likewise.
11922         * bits/mathdef.h (float_t): Remove.
11923         (double_t): Likewise.
11924         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11925         (double_t): Likewise.
11926         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11927         (double_t): Likewise.
11928         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11929         (double_t): Likewise.
11930         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11931         (double_t): Likewise.
11932         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11933         (double_t): Likewise.
11934         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11935         (double_t): Likewise.
11936         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11937         (double_t): Likewise.
11938         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11939         (double_t): Likewise.
11940         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11941         (double_t): Likewise.
11942         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11943         (double_t): Likewise.
11944         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11945         (double_t): Likewise.
11946         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11947         (double_t): Likewise.
11948         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11949         (double_t): Likewise.
11951 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11953         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11954         instead of PIC.
11956 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11958         [BZ #20859]
11959         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11960         (-0x7fffffff) instead of 0x80000001.
11961         * math/test-fp-ilogb-constants.c: New file.
11962         * math/Makefile (tests): Add test-fp-ilogb-constants.
11964 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11966         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11967         (_init): Use it in place of hardcoded R_MIPS_JALR.
11968         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11969         (_init): Use it in place of hardcoded R_MIPS_JALR.
11970         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11971         (_init): Use it in place of hardcoded R_MIPS_JALR.
11973 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11975         [BZ #20787]
11976         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11977         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11978         (double_t): Do not define to double if [__x86_64__] when
11979         __FLT_EVAL_METHOD__ is nonzero.
11980         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11981         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11982         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11983         test-flt-eval-method-387 and test-flt-eval-method-sse.
11984         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11985         variable.
11986         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11988 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
11990         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11991         use of -fno-isolate-erroneous-paths options for tilepro.
11993 2016-11-23  Florian Weimer  <fweimer@redhat.com>
11995         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11996         structure initialization is no longer needed.
11998 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12000         [BZ #20855]
12001         * bits/mathdef.h (float_t): Define to float.
12002         * math/test-flt-eval-method.c: New file.
12003         * math/Makefile (tests): Add test-flt-eval-method.
12004         (CFLAGS-test-flt-eval-method.c): New variable.
12006 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12008         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12009         and __fstatfs.  Make them aliases of __fstatfs64 if
12010         STATFS_IS_STATFS64 is set to non-zero.
12011         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12012         and __statfs64.
12013         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12014         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12015         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12016         for __statfs and statfs.
12017         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12018         to 0.
12019         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12020         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12021         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12022         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12023         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12024         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12027         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12028         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12029         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12030         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12032 2016-11-22  Andreas Schwab  <schwab@suse.de>
12034         * misc/mkstemp.c: Include <fcntl.h>.
12035         * misc/mkstemps.c: Likewise.
12036         * misc/mkostemp.c: Likewise.
12037         * misc/mkostemps.c: Likewise.
12039 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12041         [BZ #20847]
12042         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12043         array bounds.
12044         (__execvpe): Likewise.
12046 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12048         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12049         -fno-isolate-erroneous-paths options for tilepro.
12051 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12053         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12054         to 0 when in 32 bit mode.
12055         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12056         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12057         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12058         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12060         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12061         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12062         XSTAT_IS_XSTAT64 test.
12063         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12064         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12065         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12066         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12067         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12068         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12069         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12070         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12071         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12072         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12073         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12075 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12077         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12078         (setpayload): New declaration.
12079         * math/Versions (setpayload): New libm symbol at version
12080         GLIBC_2.25.
12081         (setpayloadf): Likewise.
12082         (setpayloadl): Likewise.
12083         * math/Makefile (libm-calls): Add s_setpayloadF.
12084         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12085         test_Ff_b1_data.
12086         (RUN_TEST_Ff_b1): New macro.
12087         (RUN_TEST_LOOP_Ff_b1): Likewise.
12088         (canonicalize_test_data): Update type.
12089         (setpayload_test_data): New array.
12090         (setpayload_test): New function.
12091         (main): Call setpayload_test.
12092         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12093         setpayloadf and setpayloadl.
12094         * manual/libm-err-tab.pl: Update comment on interfaces without
12095         ulps tabulated.
12096         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12097         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12098         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12099         Likewise.
12100         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12101         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12102         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12103         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12104         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12105         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12106         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12107         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12108         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12109         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12110         setpayload.
12111         (CFLAGS-nldbl-setpayload.c): New variable.
12112         * sysdeps/nacl/libm.abilist: Update.
12113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12114         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12115         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12116         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12119         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12120         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12124         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12126         Likewise.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12128         Likewise.
12129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12130         Likewise.
12131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12132         Likewise.
12133         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12136         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12137         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12139         Likewise.
12140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12141         Likewise.
12142         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12146 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12148         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12149         * include/unistd.h: Extend comment about __access_noerrno return
12150         semantics.
12151         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12152         (access_common): Correct typo for EACCES.
12154 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12156         * sysdeps/tile/math-tests.h: New file.
12158         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12159         (__old_set_dataplane): Rename from set_dataplane and make a
12160         compatibility symbol.
12161         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12162         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12163         sys/dataplane.h.
12165 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12167         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12168         script quote words in command output to log suitably for input to
12169         the shell.
12171 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12172             Maciej W. Rozycki  <macro@imgtec.com>
12174         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12175         `.Lno_weak_fn' label.
12176         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12177         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12179 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12180             Yury Norov  <ynorov@caviumnetworks.com>
12182         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12183         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12184         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12185         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12186         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12188         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12190         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12191         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12192         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12193         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12194         (sysdep_routines): Remove oldgetrlimit64.
12195         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12196         (sysdep_routines): Likewise.
12197         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12198         (sysdep_routines): Likewise.
12199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12200         [$(subdir) = resource] (sysdep_routines): Likewise.
12201         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12202         [$(subdir) = resource] (sysdep_routines): Likewise.
12203         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12204         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12205         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12206         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12207         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12208         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12209         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12210         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12211         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12212         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12213         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12214         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12215         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12216         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12217         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12218         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12219         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12220         setrlimit and getrlimit.
12221         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12222         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12223         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12226         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12227         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12228         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12229         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12230         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12231         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12232         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12233         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12234         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12235         (__old_getrlimit64): Add compatibility symbol.
12236         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12238 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12240         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12241         newly built gmp, mpfr and mpc.
12243         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12245 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12247         * conform/Makefile (linknamespace-libs): Rename to
12248         linknamespace-libs-thr.
12249         (linknamespace-libs-posix): New variable.
12250         (linknamespace-libs-xsi): Likewise.
12251         (linknamespace-libs-XPG3): Include libcrypt.a.
12252         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12253         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12254         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12255         (linknamespace-libs-XOPEN2K): Likewise.
12256         (linknamespace-libs-XOPEN2K8): Likewise.
12257         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12259         [BZ #20829]
12260         * stdio-common/Versions (__snprintf): Add to version
12261         GLIBC_PRIVATE.
12262         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12263         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12264         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12265         of snprintf.
12266         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12268 2016-11-16  Zack Weinberg  <zackw@panix.com>
12270         * string/string.h: Remove obsolete comment stating that
12271         strcoll_l and strxfrm_l have not yet been standardized.
12273 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12275         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12276         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12277         __access_noerrno.
12278         * io/access.c (__access_noerrno): New function.
12279         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12280         (hurd_fail_seterrno): Likewise.
12281         (access_common): Likewise.
12282         (__access_noerrno): Likewise.
12283         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12284         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12285         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12286         macro.
12288 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12290         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12291         Only declare fpregs if [__SH_FPU_ANY__].
12293 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12295         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12296         Make code unconditional.
12297         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12299 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12301         * manual/sysinfo.texi (S_APPEND): Delete.
12302         (S_IMMUTABLE): Likewise.
12304 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12305             Magnus Granberg  <zorry@gentoo.org>
12306             Mike Frysinger  <vapier@gentoo.org>
12308         [BZ #20662]
12309         * configure.ac (libc_cv_predef_stack_protector): Also check for
12310         __stack_chk_fail_local symbols.
12311         * configure: Regenerated.
12313 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12315         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12316         (libc_hidden_def): Remove redefinition.
12317         (__sigsetjmp): Add hidden definition.
12318         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12319         (libc_hidden_def): Remove redefinition.
12320         (__sigsetjmp): Add hidden definition.
12322 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12324         * scripts/build-many-glibcs.py (os.path): Do not import.
12325         (Context): Inherit explicitly from object.  Remove blank line
12326         between class and docstring.
12327         (Config): Likewise.
12328         (Glibc): Likewise.
12329         (Command): Likewise.
12330         (CommandList): Likewise.
12331         (Context.write_files): Store chmod mode in a variable.
12333         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
12334         LIBC_SLIBDIR_RTLDDIR for tilegx32.
12335         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
12337 2016-11-14  Zack Weinberg  <zackw@panix.com>
12339         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
12340         creating or re-creating it.
12342         * string/bits/string2.h: Fix typo in comment.
12344 2016-11-14  Zack Weinberg  <zackw@panix.com>
12346         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
12347         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
12348         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
12349         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
12350         of redirected function names.
12352         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
12353         as well.  Document that MESSAGE must be a single string literal.
12355 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
12357         * scripts/build-many-glibcs.py: New file.
12359         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
12360         (do_test): Disable -Wmaybe-uninitialized around uses of
12361         except_mask.
12363         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
12365 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
12367         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
12368         (atomic_store_release): Provide tilepro-specific implementations.
12370 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
12372         * math/math.h (__MATH_TG): New macro.
12373         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
12374         [__USE_ISOC99] (signbit): Likewise.
12375         [__USE_ISOC99] (isfinite): Likewise.
12376         [__USE_ISOC99] (isnan): Likewise.
12377         [__USE_ISOC99] (isinf): Likewise.
12378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
12379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
12380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
12381         __MATH_TG and __MATH_EVAL_FMT2.
12382         * sysdeps/generic/math_private.h (fabs_tg): Define using
12383         __MATH_TG.
12384         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12385         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
12386         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
12387         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
12388         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
12389         macro.
12390         (__iscanonical): Likewise.
12391         (iscanonical): Define using __MATH_TG.
12393 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12395         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
12396         guards.
12398         * sysdeps/unix/sysv/linux/access.c: New file.
12399         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
12401 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
12403         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
12404         and __WORDSIZE32_PTRDIFF_LONG.
12406 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12408         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12410 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12412         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
12413         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
12414         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
12415         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
12416         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
12417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
12418         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
12419         * sysdeps/unix/sysv/linux/truncate.c: New file.
12420         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
12421         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12422         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
12423         Remove.
12424         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
12425         Likewise.
12427         * posix/tst-truncate-common.c: New file.
12428         * posix/tst-truncate.c: Use tst-truncate-common.c.
12429         * posix/tst-truncate64.c: Likewise and add LFS tests.
12430         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
12431         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
12432         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
12433         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
12434         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
12435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
12436         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
12437         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
12438         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
12439         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
12440         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
12441         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
12442         Remove.
12443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
12444         Likewise.
12446 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
12448         [BZ #20790]
12449         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
12450         to MAXLINESIZE.
12451         * sunrpc/bug20790.x: New file.
12452         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
12453         variable.
12454         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
12455         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
12457         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
12459         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
12461         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
12462         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
12463         calloc, realloc, free, memalign and __libc_memalign rather than
12464         making them optional.
12466         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
12467         for libc.so.
12469 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12471         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
12472         ptw-lseek64.
12473         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
12474         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
12475         Likewise.
12476         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
12477         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
12478         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
12479         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
12480         * sysdeps/unix/sysv/linux/lseek.c: New file.
12481         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
12482         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
12483         __libc_lseek64 from auto-generation.
12484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
12487 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12489         * nptl/tst-basic1.c (tf, do_test): Use write_message.
12490         * nptl/tst-cleanup1.c (do_test): Likewise.
12491         * nptl/tst-cleanup3.c (do_test): Likewise.
12492         * nptl/tst-key1.c (do_test): Likewise.
12493         * nptl/tst-key2.c (tf, do_test): Likewise.
12494         * nptl/tst-key3.c (tf, do_test): Likewise.
12495         * nptl/tst-stdio1.c (do_test): Likewise.
12496         * nptl/tst-stdio2.c (do_test): Likewise.
12498         * nptl/tst-kill3.c (handler): Use write_message in place of write.
12499         * nptl/tst-kill6.c (handler): Likewise.
12500         * nptl/tst-tls2.c (CB): Likewise.
12501         * nptl/tst-tls3.c (CB): Likewise.
12503 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
12505         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
12507 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
12508             Steve Ellcey  <sellcey@caviumnetworks.com>
12510         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
12511           __ASSUME_ST_INO_64_BIT as 0
12512         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
12513         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
12514           over the code where __ASSUME_ST_INO_64_BIT is used.
12515         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
12516         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
12517         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12519 2016-11-07  Florian Weimer  <fweimer@redhat.com>
12521         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12522         Document ABI exposure of the __kind offset.
12523         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12524         Mention reason for the __kind offset exposure in the ABI.
12525         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12526         Likewise.
12527         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12528         Likewise.
12529         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12530         Likewise.
12531         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
12532         (struct __pthread_mutex_s): Likewise.
12533         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12534         Likewise.
12535         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12536         Likewise.
12537         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12538         Likewise.
12539         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12540         Likewise.
12541         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12542         Likewise.
12543         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
12544         Likewise.
12545         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
12546         (struct __pthread_mutex_s): Likewise.
12547         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12548         (struct __pthread_mutex_s): Likewise.
12549         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
12550         Likewise.
12552 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
12554         * test-skeleton.c: Document do_test usage.
12556 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
12558         * iconv/gconv.h (__gconv_info): Define __data element using a
12559         zero-length array.
12561 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
12563         * math/test-tgmath2.c: Split up test function.
12565 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12567         * Rules (tests-expected): New variable, depending on
12568         $(run-built-tests).
12569         (tests): Pass $(tests-expected) to merge-test-results.sh, not
12570         $(tests).
12572         * Rules [$(run-built-tests) = no] (tests): Do not depend on
12573         $(tests-unsupported).
12575 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12577         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12578         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
12580 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12582         [BZ #20768]
12583         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
12584         __fegetenv instead of fegetenv.
12586         [BZ #14139]
12587         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
12588         (find_files): Obtain platform name from libm-test-ulps-name and
12589         store in %pplatforms.
12590         (canonicalize_platform): Remove.
12591         (print_platforms): Use $pplatforms directly.
12592         (by_platforms): Do not allow for platforms missing from
12593         %pplatforms.
12594         * sysdeps/aarch64/libm-test-ulps-name: New file.
12595         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
12596         * sysdeps/arm/libm-test-ulps-name: Likewise.
12597         * sysdeps/generic/libm-test-ulps-name: Likewise.
12598         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
12599         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
12600         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
12601         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
12602         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
12603         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
12604         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
12605         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
12606         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
12607         * sysdeps/nios2/libm-test-ulps-name: Likewise.
12608         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
12609         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
12610         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
12611         * sysdeps/sh/libm-test-ulps-name: Likewise.
12612         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
12613         * sysdeps/tile/libm-test-ulps-name: Likewise.
12614         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
12616         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
12618         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
12619         (test-xfail-check-execstack): New variable.
12621         * sysdeps/mips/localplt.data: New file.
12623 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
12624             Steve Ellcey  <sellcey@caviumnetworks.com>
12626         * bits/wordsize.h: Add documentation.
12627         * sysdeps/aarch64/bits/wordsize.h : New file
12628         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
12629         definitions.
12630         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
12631         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
12632         with #if instead of #ifdef.
12633         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
12634         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
12635         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
12636         Add or change defines.
12637         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
12638         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12639         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
12640         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
12641         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12642         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12643         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
12644         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
12645         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
12646         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12647         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
12648         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
12649         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
12650         * sysdeps/x86/bits/wordsize.h: Likewise.
12652 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
12653             Kevin Petit  <kevin.petit@arm.com>
12655         * sysdeps/aarch64/memchr.S (__memchr): New file.
12657 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
12659         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
12661 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #19398]
12664         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
12665         $(linknamespace-symlists-tests).
12667 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
12669         * time/tst-strptime2.c: Ignore -Wformat-length warning.
12671 2016-11-02  Florian Weimer  <fweimer@redhat.com>
12672             Carlos O'Donell  <carlos@redhat.com>
12674         [Bug #20729]
12675         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
12676         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
12677         for -Os related change.
12679 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
12681         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
12683 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
12685         [BZ #19673]
12686         * manual/math.texi (Exponents and Logarithms): Correct description
12687         of clog10.
12689 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
12691         [Bz #20729]
12692         * locale/weight.h: Include libc-internal.h.
12693         * locale/weightwc.h: Likewise.
12694         * nptl/nptl_dbP.h: Likewise.
12696 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
12698         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
12699         when it is MACH_PORT_NULL.
12701 2016-10-31  Andreas Schwab  <schwab@suse.de>
12703         [BZ #20707]
12704         * posix/glob.c (glob): Initialize pglob before checking for
12705         GLOB_BRACE.  Don't call glob recursively if pattern contains no
12706         valid brace expression despite GLOB_BRACE.
12707         * posix/globtest.sh: Test it.
12709 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12711         [BZ #20729]
12712         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
12713         Define.
12714         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
12715         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
12716         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
12717         for seq2.back_us and seq1.back_us only for -Os compiles.
12718         * locale/weightwc.h (findix): Likewise.
12719         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
12720         DB_GET_FIELD_ADDRESS only for -Os compiles.
12721         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
12722         for slen only for -Os compiles.
12723         * string/strcoll_l.c (get_next_seq): Ignore
12724         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
12725         for -Os compiles.
12727         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
12728         * include/crypt.h: New file.
12730 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12732         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
12733         from test-skeleton.c.
12734         (statclass): Replace calls to write with calls to write_message.
12736 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12738         * math/math.h
12739         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
12740         New macro.
12741         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
12742         Likewise.
12743         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
12744         Likewise.
12745         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
12746         SNANL.
12747         * math/test-double.h (snan_value_MACRO): New macro.
12748         * math/test-float.h (snan_value_MACRO): Likewise.
12749         * math/test-ldouble.h (snan_value_MACRO): Likewise.
12750         * math/libm-test.inc (issignaling_test_data): Add tests of
12751         snan_value_MACRO.
12753 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12755         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
12756         behavior when eliding a lock not held by the current thread.
12757         * sysdeps/powerpc/nptl/elide.h: Likewise.
12759 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12761         [BZ #20728]
12762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
12763         branch to _exit() by a function call.
12765 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12767         * malloc/malloc.c: Update chunk layout comments.
12768         (chunk_main_arena): Update comment.
12770 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12772         * crypt/sha256.c, crypt/sha256-block.c,
12773         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
12774         sha256_process_block to __sha256_process_block.
12775         * crypt/sha512.c, crypt/sha512-block.c,
12776         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
12777         sha512_process_block to __sha512_process_block.
12779 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
12781         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
12783         * math/test-nan-overflow.c: Include stdlib.h for malloc.
12785 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
12787         [BZ #20019]
12788         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
12789         definition in unrelocated shared library.
12790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12792 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12794         [BZ #20729]
12795         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12796         * sysdeps/unix/sysv/linux/i386/Makefile
12797         (uses-6-syscall-arguments): Define.
12798         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12799         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12800         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12801         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12802         Likewise.
12803         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12804         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12805         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12806         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12807         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12808         (CFLAGS-fallocate64.os): Likewise.
12809         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12810         (CFLAGS-pthread_rwlock_timedrdlock.os)
12811         (CFLAGS-pthread_rwlock_timedwrlock.o)
12812         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12813         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12814         (CFLAGS-sem_timedwait.os): Likewise.
12816 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12818         * elf/tst-linkall-static.c: New file.
12819         * elf/Makefile (tests-static): Add tst-linkall-static.
12820         (tst-linkall-static): Link against static libraries.
12822 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12824         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12825         mmaped chunks.
12827 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12829         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12830         members to mchunk_prev_size, mchunk_size.
12831         (chunk_main_arena): Reverse sense and rename from
12832         chunk_non_main_arena.
12833         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12834         mchunk_size instead of size.
12835         (set_non_main_arena): Define.
12836         (chunksize): Use chunksize_nomask instead of direct member access.
12837         (chunksize_nomask): Define.
12838         (next_chunk): Use chunksize instead of direct member access.
12839         (prev_size, set_prev_size): Define.
12840         (prev_chunk): Use prev_size instead of direct member access.
12841         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12842         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12843         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12844         (mchunk_prev_size, mchunk_size): Poison tokens.
12845         (unlink): Use chunksize_nomask, prev_size accessors.
12846         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12847         (do_check_free_chunk): Use prev_size accessor.
12848         (sysmalloc): Use set_prev_size, set_head accessors.
12849         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12850         (__libc_free): Use chunksize_nomask accessor.
12851         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12852         chunk_main_arena accessors.
12853         (_int_free): Use chunksize_nomask, prev_size accessors.
12854         (malloc_consolidate): Use chunksize, prev_size accessors.
12855         (_int_realloc): Use chunksize_nomask accessor.
12856         (_int_memalign): Use set_prev_size accessor.
12857         (__malloc_info): Use chunksize_nomask accessor.
12858         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12859         accessors.
12860         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12861         (heap_trim): Use chunksize_nomask, prev_size accessors.
12863 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12865         [BZ #19380]
12866         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12867         for inexact results.
12868         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12869         of inexact result where mpfr_subnormalize is the only inexact
12870         step.
12871         * stdlib/tst-strtod-round-data.h: Regenerated.
12872         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12873         Define to 0.
12874         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12876 2016-10-27  David S. Miller  <davem@davemloft.net>
12878         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12880 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12882         * malloc/malloc.c (do_set_mallopt_check): New function.
12883         (do_set_mmap_threshold): Likewise.
12884         (do_set_mmaps_max): Likewise.
12885         (do_set_top_pad): Likewise.
12886         (do_set_perturb_byte): Likewise.
12887         (do_set_trim_threshold): Likewise.
12888         (do_set_arena_max): Likewise.
12889         (do_set_arena_test): Likewise.
12890         (__libc_mallopt): Use them.
12892 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12894         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12895         (canonicalize): New declaration.
12896         * math/Versions (canonicalize): New libm symbol at version
12897         GLIBC_2.25.
12898         (canonicalizef): Likewise.
12899         (canonicalizel): Likewise.
12900         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12901         * math/s_canonicalize_template.c: New file.
12902         * math/libm-test.inc: Update comment on functions tested and
12903         testing of NaN payloads.
12904         (TEST_NAN_PAYLOAD): New macro.
12905         (NO_TEST_INLINE): Update value.
12906         (XFAIL_TEST): Likewise.
12907         (ERRNO_UNCHANGED): Likewise.
12908         (ERRNO_EDOM): Likewise.
12909         (ERRNO_ERANGE): Likewise.
12910         (IGNORE_RESULT): Likewise.
12911         (NON_FINITE): Likewise.
12912         (TEST_SNAN): Likewise.
12913         (NO_TEST_MATHVEC): Likewise.
12914         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12915         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12916         (struct test_Ffp_b1_data): New type.
12917         (RUN_TEST_Ffp_b1): New macro.
12918         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12919         (canonicalize_test_data): New array.
12920         (canonicalize_test): New function.
12921         (main): Call canonicalize_test.
12922         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12923         canonicalizef and canonicalizel.
12924         * manual/libm-err-tab.pl: Update comment on interfaces without
12925         ulps tabulated.
12926         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12927         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12928         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12929         canonicalize.
12930         (CFLAGS-nldbl-canonicalize.c): New variable.
12931         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12932         to ...
12933         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12934         ... here.
12935         (do_test): Also test canonicalizel.
12936         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12937         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12938         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12939         file.
12940         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12941         Use libm_hidden_def.
12942         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12943         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12944         (do_test): Also test canonicalizel.
12945         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12946         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12947         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12948         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12949         libm_hidden_def.
12950         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12951         macro.
12952         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12953         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12954         * sysdeps/nacl/libm.abilist: Update.
12955         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12956         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12957         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12958         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12959         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12960         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12961         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12962         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12963         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12964         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12965         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12966         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12968         Likewise.
12969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12970         Likewise.
12971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12972         Likewise.
12973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12974         Likewise.
12975         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12976         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12977         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12978         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12979         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12981         Likewise.
12982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12983         Likewise.
12984         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12985         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12986         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12988         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12989         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12990         getpayload.
12991         (CFLAGS-nldbl-getpayload.c): New variable.
12993 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12995         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12996         integer from the format string.
12998 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13000         [BZ #19473]
13001         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13002         declarations.
13003         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13004         weak aliases.
13005         * malloc/hooks.c (__malloc_get_state): Remove definition.
13006         (malloc_get_state): New stub implementation as
13007         compatibility symbol.
13008         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13009         compat symbol.
13010         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13011         malloc_set_state.
13012         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13014 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13016         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13017         (names): Turn into concatenation of strings.
13018         (gconv_init): Adapt iteration over names.
13020 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13022         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13023         make const.
13024         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13025         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13026         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13027         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13028         character in sbconv.
13029         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13030         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13031         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13033 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13035         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13037         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13038         (M_TRIM_THRESHOLD): Likewise.
13040         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13041         (M_ARENA_MAX): Likewise.
13042         * malloc/malloc.c: Remove obsolete comment.
13044         * manual/memory.texi: Add environment variable alternatives to
13045         setting mallopt parameters.
13047 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13049         * include/atomic.h
13050         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13051         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13053 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13055         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13056         * stdlib/tst-strfrom.h: New file.
13057         * stdlib/tst-strfrom.c: New file.
13058         * stdlib/tst-strfrom-locale.c: New file.
13060         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13061         * stdlib/bug-strtod2.c: Likewise.
13062         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13063         * stdlib/tst-strtod6.c: Likewise.
13064         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13066 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13068         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13069         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13070         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13071         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13072         * stdlib/stdlib.h (strfromd): New declaration.
13073         (strfromf): Likewise.
13074         (strfroml): Likewise.
13075         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13076         strfrom.
13077         * stdlib/strfromd.c: New file.
13078         * stdlib/strfromf.c: Likewise.
13079         * stdlib/strfroml.c: Likewise.
13080         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13081         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13082         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13083         * sysdeps/arm/nacl/libc.abilist: Update.
13084         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13085         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13086         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13087         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13088         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13089         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13090         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13091         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13092         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13093         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13094         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13095         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13096         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13097         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13102         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13103         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13104         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13105         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13106         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13109         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13110         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13113 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13115         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13116         instead of cmpli.
13117         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13118         instead of cmpli.
13120 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13122         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13123         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13124         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13125         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13126         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13127         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13129 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13131         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13132         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13133         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13134         SYSCALL_LL64_PRW.
13135         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13136         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13137         __ASSUME_PRW_DUMMY_ARG.
13138         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13139         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13140         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13141         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13142         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13143         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13145 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13147         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13149 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13151         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13152         "C++", to override a potential extern "C" directive around the
13153         header file inclusion.
13155 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13157         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13159 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13161         * sysdeps/powerpc/fpu/fenv_private.h:
13162         (_FPU_MASK_ALL): Rename to...
13163         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13164         XE FPSCR bits.
13166         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13168         (_FPU_MASK_ROUNDING): Rename to...
13169         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13170         NI bits.
13172         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13173         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13174         bits and rounding bits.
13176         (__libc_feholdbits_ppc): New inline function to mask, set,
13177         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13178         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13179         (libc_feholdexcept_setround_ppc): Likewise.
13181         (__libc_femergeenv_ppc): New function to dynamically mask both
13182         old and new FP environments and merge.
13183         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13184         (libc_feresetround_ppc): Likewise.
13185         (libc_feupdateenv_test_ppc): Likewise.
13186         (libc_feupdateenv_ppc): Likewise.
13188         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13189         of ISA RN bits, and update macro names.
13190         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13191         effectively the same as the previously mentioned function.
13193         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13194         usage with fe_resetround_ppc.
13196         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13197         to be used.
13198         (libc_feholdexcept_setround_ctxf): Likewise.
13199         (libc_feholdexcept_setround_ctxl): Likewise.
13201 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13203         [BZ #20715]
13204         * math/math.h [__cplusplus] (iszero): Define as function template.
13205         * math/Makefile [CXX] (tests): Add test-math-iszero.
13206         (CFLAGS-test-math-iszero.cc): Set.
13207         * math/test-math-iszero.cc: New file.
13209 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13211         [BZ #20660]
13212         * sysdeps/arm/e_sqrt.c: New file.
13213         * sysdeps/arm/e_sqrtf.c: Likewise.
13215 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #20718]
13218         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13219         not use floating-point comparisons to test sign.
13220         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13221         Likewise.
13223         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13224         (getpayload): New declaration.
13225         * math/Versions (getpayload): New libm symbol at version
13226         GLIBC_2.25.
13227         (getpayloadf): Likewise.
13228         (getpayloadl): Likewise.
13229         * math/Makefile (libm-calls): Add s_getpayloadF.
13230         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13231         (struct test_f_f_data): Add comment.
13232         (RUN_TEST_fp_f): New macro.
13233         (RUN_TEST_LOOP_fp_f): Likewise.
13234         (getpayload_test_data): New array.
13235         (getpayload_test): New function.
13236         (main): Call getpayload_test.
13237         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13238         descriptor.
13239         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13240         getpayloadf and getpayloadl.
13241         * manual/libm-err-tab.pl: Update comment on interfaces without
13242         ulps tabulated.
13243         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13244         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13245         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13246         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13247         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13248         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13249         * sysdeps/nacl/libm.abilist: Update.
13250         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13251         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13252         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13253         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13254         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13255         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13256         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13257         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13258         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13260         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13261         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13263         Likewise.
13264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13265         Likewise.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13271         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13272         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13273         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13274         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13276         Likewise.
13277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13278         Likewise.
13279         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13280         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13281         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13283 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13285         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13286         tst-fallocate{64}.
13287         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13288         on syscall return.
13290 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13292         [BZ #20689]
13293         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13294         usable.
13296 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13298         * sysdeps/generic/nan-high-order-bit.h: New file.
13299         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13300         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13301         * sysdeps/hppa/math_private.h: Remove file.
13302         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13303         not define here.
13304         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13305         <nan-high-order-bit.h>.
13306         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13307         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13308         <nan-high-order-bit.h>.
13309         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13310         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13311         <nan-high-order-bit.h>.
13312         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13313         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13314         <nan-high-order-bit.h>.
13315         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13316         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13317         <nan-high-order-bit.h>.
13318         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13319         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13320         <nan-high-order-bit.h>.
13321         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13322         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13323         <nan-high-order-bit.h>.
13324         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13325         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13326         <nan-high-order-bit.h>.
13327         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13328         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
13329         <nan-high-order-bit.h>.
13330         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13331         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
13332         <nan-high-order-bit.h>.
13333         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13334         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
13335         <nan-high-order-bit.h>.
13336         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13337         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
13338         <nan-high-order-bit.h>.
13339         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13340         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
13341         <nan-high-order-bit.h>.
13342         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13343         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
13344         <nan-high-order-bit.h>.
13345         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13346         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
13347         <nan-high-order-bit.h>.
13348         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13349         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
13350         <nan-high-order-bit.h>.
13351         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13352         * sysdeps/ieee754/ldbl-96/s_totalorderl.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-96/s_totalordermagl.c: Include
13356         <nan-high-order-bit.h>.
13357         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13359 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13361         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
13363 2016-09-22  John David Anglin  <dave.anglin@bell.net>
13365         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
13366         abort-instr.h.
13367         (EFAULT): Remove conditional define.
13368         (ENOSYS): Likewise.
13369         (atomic_compare_and_exchange_val_acq): Use instruction nullification
13370         instead of conditional branch instructions.
13372 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
13374         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13375         (totalordermag): New declaration.
13376         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
13377         New macro.
13378         * math/Versions (totalordermag): New libm symbol at version
13379         GLIBC_2.25.
13380         (totalordermagf): Likewise.
13381         (totalordermagl): Likewise.
13382         * math/Makefile (libm-calls): Add s_totalordermagF.
13383         * math/libm-test.inc (totalordermag_test_data): New array.
13384         (totalordermag_test): New function.
13385         (main): Call totalordermag_test.
13386         * math/test-tgmath.c (NCALLS): Increase to 125.
13387         (F(compile_test)): Call totalordermag.
13388         (F(totalordermag)): New function.
13389         * manual/arith.texi (FP Comparison Functions): Document
13390         totalordermag, totalordermagf and totalordermagl.
13391         * manual/libm-err-tab.pl: Update comment on interfaces without
13392         ulps tabulated.
13393         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
13394         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
13395         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
13396         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
13397         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
13398         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
13399         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
13400         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13401         totalordermag.
13402         (CFLAGS-nldbl-totalordermag.c): New variable.
13403         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
13404         (do_test): Also test totalordermagl.
13405         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
13406         Likewise.
13407         * sysdeps/nacl/libm.abilist: Update.
13408         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13409         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13410         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13411         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13412         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13413         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13414         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13415         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13416         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13417         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13418         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13419         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13421         Likewise.
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13423         Likewise.
13424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13425         Likewise.
13426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13427         Likewise.
13428         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13429         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13430         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13431         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13432         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13434         Likewise.
13435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13436         Likewise.
13437         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13438         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13439         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13441 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
13443         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
13444         boolean.
13446 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
13448         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
13449         raising FE_INVALID with feraisexcept in case where part of
13450         argument is infinite, subtract that part of argument from itself.
13451         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
13452         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
13453         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13455 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13457         * math/libm-test.inc (totalorder_test_data): Add more tests.
13459 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13461         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
13462         Undefine weak_alias and add a comment why mips64 require
13463         versioning.
13465 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13467         [BZ #20647]
13468         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
13469         maximum CPUID level is less than 2.
13471 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
13473         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13474         (totalorder): New declaration.
13475         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
13476         New macro.
13477         * math/Versions (totalorder): New libm symbol at version
13478         GLIBC_2.25.
13479         (totalorderf): Likewise.
13480         (totalorderl): Likewise.
13481         * math/Makefile (libm-calls): Add s_totalorderF.
13482         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
13483         string.
13484         * math/libm-test.inc (PAYLOAD_DIG): New macro.
13485         (qnan_value_pl): Likewise.
13486         (snan_value_pl): Likewise.
13487         (qnan_value): Define using qnan_value_pl.
13488         (snan_value): Define using snan_value_pl.
13489         (struct test_ff_i_data): Add comment about which tests use this
13490         structure.
13491         (RUN_TEST_ff_b): New macro.
13492         (RUN_TEST_LOOP_ff_b): Likewise.
13493         (totalorder_test_data): New array.
13494         (totalorder_test): New function.
13495         (main): Call totalorder_test.
13496         * math/test-tgmath.c (NCALLS): Increase to 122.
13497         (F(compile_test)): Call totalorder.
13498         (F(totalorder)): New function.
13499         * manual/arith.texi (FP Comparison Functions): Document
13500         totalorder, totalorderf and totalorderl.
13501         * manual/libm-err-tab.pl: Update comment on interfaces without
13502         ulps tabulated.
13503         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
13504         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
13505         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
13506         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
13507         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
13508         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
13509         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
13510         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13511         totalorder.
13512         (CFLAGS-nldbl-totalorder.c): New variable.
13513         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
13514         file.
13515         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13516         Add test-totalorderl-ldbl-128ibm.
13517         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
13518         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
13519         test-totalorderl-ldbl-96.
13520         * sysdeps/nacl/libm.abilist: Update.
13521         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13526         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13527         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13528         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13529         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13530         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13531         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13532         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13534         Likewise.
13535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13536         Likewise.
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13538         Likewise.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13540         Likewise.
13541         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13542         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13543         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13544         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13545         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13547         Likewise.
13548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13549         Likewise.
13550         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13551         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13552         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13554 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13556         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
13557         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
13558         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
13559         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
13560         remove ENOSYS implementation.
13561         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
13562         Consolidate all Linux implementations.
13564 2016-10-11  Florian Weimer  <fweimer@redhat.com>
13566         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
13567         * resolv/herror.c (herror): Cast away const-ness.
13568         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
13569         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
13571 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
13573         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
13574         instead of M_NAN + M_NAN.
13575         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
13577 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13579         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
13580         unused variable 'p'.
13582 2016-10-09  Alan Modra  <amodra@gmail.com>
13583             Andreas Schwab  <schwab@linux-m68k.org>
13585         [BZ #20554]
13586         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
13587         [PIC && !SHARED]: Set up PIC register for PLT call.
13589 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
13591         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
13592         conditional on value of [__FLT_EVAL_METHOD__].
13593         * math/test-iseqsig-excess-precision.c: New file.
13594         * math/Makefile (tests): Add test-iseqsig-excess-precision.
13596 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13598         * math/s_iseqsig_template.c: Include math-private.h.
13600         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
13601         * posix/tst-posix_fadvise.c: New file.
13602         * posix/tst-posix_fadvise64.c: Likewise.
13603         * posix/tst-posix_fadvise-common.c: Likewise.
13604         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13605         (__ASSUME_FADVISE64_64_6ARG): Define.
13606         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13607         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
13608         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13609         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
13610         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
13611         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
13612         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
13613         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
13614         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
13615         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
13616         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
13617         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
13618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
13620         Likewise.
13621         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
13622         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
13623         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
13624         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13625         Alias to __posix_fadvise64_l32.
13626         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
13627         Add compat definition to posix_fadvise64.
13628         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
13629         Add versioned definition to posix_fadvise64.
13630         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
13631         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
13632         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
13633         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
13634         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
13636         * io/Makefile (tests): Add tst-posix_fallocate and
13637         tst-posix_fallocate64.
13638         * io/tst-posix_fallocate-common.c: New file.
13639         * io/tst-posix_fallocate.c: Likewise.
13640         * io/tst-posix_fallocate64.c: Likewise.
13641         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
13642         file.
13643         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
13644         Likewise.
13645         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
13646         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
13647         Likewise.
13648         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
13649         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
13650         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
13651         SYSCALL_LL to pass both offset and len arguments.
13652         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
13653         Likewise.
13654         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
13655         __libc_pwrite64 alias used by posix_fallocate64.
13657         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13658         tst-fallocate64.
13659         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13660         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13661         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13662         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13663         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13664         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13665         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13666         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13667         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13668         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13669         macro on offset argument.
13670         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13671         SYSCALL_LL64 on offset argument.
13673         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
13674         tst-fallocate64.
13675         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
13676         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
13677         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13678         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
13679         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
13680         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
13681         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
13682         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13683         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
13684         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
13685         macro on offset argument.
13686         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
13687         SYSCALL_LL64 on offset argument.
13688         * test-skeleton.c (FAIL_RET): Add macro.
13689         (FAIL_EXIT): Likewise.
13690         (FAIL_EXIT1): Likewise.
13691         (_FAIL): Likewise.
13693 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13695         [BZ #20629]
13696         resolv: Remove RES_USEBSTRING and its implementation.
13697         * resolv/resolv.h (RES_USEBSTRING): Remove.
13698         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
13699         (digitvalue, encode_bitstring, decode_bitstring): Remove.
13700         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
13701         (labellen): Remove extended label types support.
13702         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
13703         * resolv/res_init.c (res_setoptions): Likewise.
13704         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13706 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13708         resolv: Remove RES_NOIP6DOTINT and its implementation.
13709         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
13710         (RES_NOIP6DOTINT): Remove.
13711         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
13712         handling.
13713         * resolv/res_debug.c (p_option): Likewise.
13714         * resolv/res_init.c (res_setoptions): Likewise.
13715         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
13717 2016-10-07  Florian Weimer  <fweimer@redhat.com>
13719         resolv: Deprecate unimplemented flags.
13720         * misc/sys/cdefs.h (__glibc_macro_warning1)
13721         (__glibc_macro_warning): Define.
13722         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
13723         (RES_KEEPTSIG): Mark as deprecated.
13724         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
13725         RES_NOCHECKNAME, RES_KEEPTSIG.
13726         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
13728 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13730         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
13731         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
13732         Use strong_alias to create symbols for glibc verison 2.19.
13734 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13736         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
13738 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13740         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
13742 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13744         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
13746 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13749         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
13750         in header for using it as type for ifunc function because __GI_* symbols
13751         for ppc32 do not target the ifunc symbols.
13752         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13754 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13756         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
13757         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
13758         libc_ifunc_hidden_def.
13759         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
13760         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
13761         Redirect ifunced function in header for using it as type of ifunc'ed
13762         function. Redefine libc_hidden_def to use fallback non ifunc'ed
13763         function for __GI_* symbol.
13764         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
13765         * include/libc-symbols.h
13766         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
13768 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13770         [BZ #20478]
13771         * sysdeps/s390/multiarch/ifunc-resolve.h
13772         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
13773         to create ifunc symbols.
13774         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
13775         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
13776         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
13777         for using it as type for ifunc function.
13778         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13779         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13780         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13781         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13782         * sysdeps/s390/multiarch/strcat.c: Likewise.
13783         * sysdeps/s390/multiarch/strchr.c: Likewise.
13784         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13785         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13786         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13787         * sysdeps/s390/multiarch/strlen.c: Likewise.
13788         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13789         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13790         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13791         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13792         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13793         * sysdeps/s390/multiarch/strspn.c: Likewise.
13794         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13795         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13796         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13797         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13798         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13799         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13800         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13801         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13802         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13803         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13804         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13805         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13807 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13809         * include/libc-symbols.h (__ifunc_resolver):
13810         New macro is used by __ifunc* macros.
13811         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13812         depending on HAVE_GCC_IFUNC.
13813         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13814         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13816         Redirect ifunced function in header for using as type for ifunc function.
13817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13823         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13825         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13827         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13828         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13829         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13830         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13836         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13837         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13838         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13839         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13840         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13841         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13842         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13843         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13844         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13845         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13846         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13847         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13848         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13849         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13851         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13852         instead of libc_ifunc() macro.
13853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13856 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13858         * config.h.in (HAVE_GCC_IFUNC): New undef.
13859         * configure.ac: Add check if gcc supports attribute ifunc feature.
13860         * configure: Regenerated.
13861         * manual/install.texi: Add recommendation for gcc with
13862         indirect-function support.
13863         * INSTALL: Regenerated.
13865 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13867         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13868         macro.
13869         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13870         (__iseqsig): New declaration.
13871         * math/s_iseqsig_template.c: New file.
13872         * math/Versions (__iseqsigf): New libm symbol at version
13873         GLIBC_2.25.
13874         (__iseqsig): Likewise.
13875         (__iseqsigl): Likewise.
13876         * math/libm-test.inc (iseqsig_test_data): New array.
13877         (iseqsig_test): New function.
13878         (main): Call iseqsig_test.
13879         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13880         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13881         * manual/libm-err-tab.pl: Update comment on interfaces without
13882         ulps tabulated.
13883         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13884         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13885         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13886         * sysdeps/nacl/libm.abilist: Update.
13887         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13888         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13889         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13890         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13891         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13892         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13893         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13894         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13895         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13898         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13902         Likewise.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13904         Likewise.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13906         Likewise.
13907         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13908         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13909         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13910         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13911         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13913         Likewise.
13914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13915         Likewise.
13916         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13917         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13918         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13920 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13922         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13923         do_sincos_2, sloww, sloww1): Update comments.
13925         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13926         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13928         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13929         K boolean and rename it.
13930         (__sin): Adjust.
13931         (__cos): Adjust.
13933 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13934             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13936         * manual/nss.texi: Fix typos in the manual.
13938 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13940         * manual/contrib.texi: Fix typos in the manual.
13942         * manual/maint.texi: Fix typos in the manual.
13944         * manual/install.texi: Fix typos in the manual.
13945         * INSTALL: Regenerated.
13947         * manual/lang.texi: Fix typos in the manual.
13949         * manual/probes.texi: Fix typos in the manual.
13951         * manual/threads.texi: Fix typos in the manual.
13953         * manual/debug.texi: Fix typos in the manual.
13955         * manual/crypt.texi: Fix typos in the manual.
13957         * manual/conf.texi: Fix typos in the manual.
13959         * manual/sysinfo.texi: Fix typos in the manual.
13961         * manual/users.texi: Fix typos in the manual.
13963         * manual/job.texi: Fix typos in the manual.
13965         * manual/process.texi: Fix typos in the manual.
13967         * manual/argp.texi: Fix typos in the manual.
13968         * manual/getopt.texi: Likewise.
13969         * manual/startup.texi: Likewise.
13971         * manual/signal.texi: Fix typos in the manual.
13973         * manual/setjmp.texi: Fix typos in the manual.
13975         * manual/resource.texi: Fix typos in the manual.
13977         * manual/time.texi: Fix typos in the manual.
13979         * manual/arith.texi: Fix typos in the manual.
13981         * manual/math.texi: Fix typos in the manual.
13983         * manual/syslog.texi: Fix typos in the manual.
13985         * manual/terminal.texi: Fix typos in the manual.
13987         * manual/socket.texi: Fix typos in the manual.
13989         * manual/filesys.texi: Fix typos in the manual.
13991         * manual/llio.texi: Fix typos in the manual.
13993         * manual/stdio.text: Fix typos in the manual.
13995 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13997         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13998         instead of K1.
14000         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14001         SHIFT_QUADRANT and make it bool.
14002         (do_sincos_2): Likewise.
14003         (sloww): Likewise.
14004         (sloww1): Likewise.
14005         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14006         (__cos): Likewise.
14008 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14010         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14012 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14014         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14015         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14016         0x7fffffffL].
14017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14019 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14021         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14022         inline by __inline__.
14023         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14024         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14025         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14026         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14027         sigset_t from signal.h.
14028         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14029         which is already required.
14031 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14033         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14035 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14037         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14038         (struct tcp_repair_window): New type.
14040 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14042         * libio/tst-memstream3.c: Include string.h.
14044 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14046         [BZ #18241]
14047         [BZ #20181]
14048         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14049         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14050         write position is at the end the buffer.
14051         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14052         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14053         (_IO_str_seekoff): Set correct offset from negative displacement and
14054         set EINVAL for invalid ones.
14055         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14056         buffer length.
14057         (_IO_wstr_switch_to_get_mode): New function.
14058         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14059         set EINVAL for invalid ones.
14060         * libio/tst-memstream3.c: New file.
14061         * libio/tst-wmemstream3.c: Likewise.
14062         * manual/examples/memstrm.c: Remove warning when priting size_t.
14064 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14066         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14067         macro to use __builtin_fma.
14068         * sysdeps/x86_64/fpu/dla.h: Remove file.
14070         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14071         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14072         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14074 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14076         [BZ #20292]
14077         * elf/Makefile (routines): Add dl-addr-obj.
14078         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14079         tst-_dl_addr_inside_object.
14080         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14081         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14082         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14083         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14084         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14085         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14086         * elf/dl-open.c: Likewise.
14087         * elf/dl-addr-obj.c: New file.
14088         * elf/tst-_dl_addr_inside_object.c: New file.
14090 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14092         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14093         <bits/iscanonical.h>.
14094         * bits/iscanonical.h: New file.
14095         * math/s_iscanonicall.c: Likewise.
14096         * math/Versions (__iscanonicall): New libm symbol at version
14097         GLIBC_2.25.
14098         * math/libm-test.inc (iscanonical_test_data): New array.
14099         (iscanonical_test): New function.
14100         (main): Call iscanonical_test.
14101         * math/Makefile (headers): Add bits/iscanonical.h.
14102         (type-ldouble-routines): Add s_iscanonicall.
14103         * manual/arith.texi (Floating Point Classes): Document
14104         iscanonical.
14105         * manual/libm-err-tab.pl: Update comment on interfaces without
14106         ulps tabulated.
14107         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14108         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14110         Likewise.
14111         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14112         test-iscanonical-ldbl-128ibm.
14113         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14114         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14115         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14116         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14119         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14121         Likewise.
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14123         Likewise.
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14125         Likewise.
14126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14127         Likewise.
14128         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14131 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14133         * string/bits/string3.h: Remove C++ style comments.
14135 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14137         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14138         instead of ternary condition.
14139         (do_sincos_2): Likewise.
14140         (__sin): Likewise.
14141         (__cos): Likewise.
14142         (slow): Likewise.
14143         (sloww): Likewise.
14144         (sloww1): Likewise.
14145         (bsloww): Likewise.
14146         (bsloww1): Likewise.
14148         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14149         instead of ternary condition.
14150         (do_sin_slow): Likewise.
14151         (do_sincos_1): Likewise.
14152         (do_sincos_2): Likewise.
14153         (__cos): Likewise.
14154         (sloww): Likewise.
14155         (sloww1): Likewise.
14156         (sloww2): Likewise.
14157         (bsloww): Likewise.
14158         (bsloww1): Likewise.
14159         (bsloww2): Likewise.
14161         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14162         check from here...
14163         (slow2): ... and here...
14164         (__sin): ... to here.
14166 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14168         * math/math.h
14169         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14170         Cast argument to its own type.
14171         * math/test-iszero-excess-precision.c: New file.
14172         * math/Makefile (tests): Add test-iszero-excess-precision.
14173         (CFLAGS-test-iszero-excess-precision.c): New variable.
14175 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14177         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14178         field, add err field.
14179         (__spawni_child): Report error through err member instead of pipe.
14180         (__spawnix): Likewise.
14182 2016-09-28  Zack Weinberg  <zackw@panix.com>
14184         * scripts/check-installed-headers.sh: Generalize treatment of
14185         sys/elf.h to all target architectures.
14187         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14188         deleted typedef ucontext_t.
14190 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14192         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14193         (__INTERNAL_SYSCALL1): Likewise.
14194         (__INTERNAL_SYSCALL2): Likewise.
14195         (__INTERNAL_SYSCALL3): Likewise.
14196         (__INTERNAL_SYSCALL4): Likewise.
14197         (__INTERNAL_SYSCALL5): Likewise.
14198         (__INTERNAL_SYSCALL6): Likewise.
14199         (__INTERNAL_SYSCALL7): Likewise.
14200         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14201         (__INTERNAL_SYSCALL_NARGS): Likewise.
14202         (__INTERNAL_SYSCALL_DISP): Likewise.
14203         (INTERNAL_SYSCALL_CALL): Likewise.
14204         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14205         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14206         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14207         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14208         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14209         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14210         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14211         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14212         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14213         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14214         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14215         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14216         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14218 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14220         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14221         macro.
14222         * math/libm-test.inc (iszero_test_data): New array.
14223         (iszero_test): New function.
14224         (main): Call iszero_test.
14225         * manual/arith.texi (Floating Point Classes): Document iszero.
14226         * manual/libm-err-tab.pl: Update comment on interfaces without
14227         ulps tabulated.
14229 2016-09-23  Zack Weinberg  <zackw@panix.com>
14231         * scripts/check-installed-headers.sh: New script.
14232         * Rules: In each directory that defines header files to be installed,
14233         run check-installed-headers.sh on them as a special test.
14234         * Makefile: Likewise for the headers installed at top level.
14236         * include/aliases.h, include/alloca.h, include/argz.h
14237         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14238         * include/elf.h, include/envz.h, include/err.h
14239         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14240         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14241         * include/link.h, include/malloc.h, include/mcheck.h
14242         * include/mntent.h, include/netinet/ether.h
14243         * include/nss.h, include/obstack.h, include/printf.h
14244         * include/pty.h, include/resolv.h, include/rpc/auth.h
14245         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14246         * include/rpc/clnt.h, include/rpc/des_crypt.h
14247         * include/rpc/key_prot.h, include/rpc/netdb.h
14248         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14249         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14250         * include/rpc/rpc_msg.h, include/rpc/svc.h
14251         * include/rpc/svc_auth.h, include/rpc/xdr.h
14252         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14253         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14254         * include/rpcsvc/ypupd.h, include/shadow.h
14255         * include/stdio_ext.h, include/sys/epoll.h
14256         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14257         * include/sys/prctl.h, include/sys/profil.h
14258         * include/sys/statfs.h, include/sys/sysctl.h
14259         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14260         * sysdeps/arm/nacl/include/bits/setjmp.h
14261         * sysdeps/mips/include/sys/asm.h
14262         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14263         * sysdeps/unix/sysv/linux/include/sys/timex.h
14264         * sysdeps/x86/fpu/include/bits/fenv.h:
14265         Add #ifndef _ISOMAC guard around internal declarations.
14266         Add multiple-inclusion guard if not already present.
14268 2016-09-23  Zack Weinberg  <zackw@panix.com>
14270         * sysdeps/generic/sys/ucontext.h
14271         * sysdeps/arm/sys/ucontext.h
14272         * sysdeps/i386/sys/ucontext.h
14273         * sysdeps/m68k/sys/ucontext.h
14274         * sysdeps/mips/sys/ucontext.h
14275         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14276         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14277         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14278         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14279         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14280         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14281         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14282         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14283         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14284         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14285         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14286         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14287         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14288         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14289         Include both bits/sigcontext.h and bits/sigstack.h.
14290         Fix grammar error in comment, if present.
14292         * bits/sigstack.h
14293         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14294         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14295         * sysdeps/unix/sysv/linux/bits/sigstack.h
14296         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14297         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14298         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14299         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14300         * bits/sigcontext.h
14301         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14302         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14303         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14304         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14305         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14306         as well as signal.h, if this was not already allowed.  Request
14307         definition of size_t if necessary.  Minimize semantically-null
14308         differences across files.
14310 2016-09-23  Zack Weinberg  <zackw@panix.com>
14312         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14313         Remove all logic conditional on __need macros.  Move all the
14314         conditionally defined types to their own headers...
14315         * time/bits/types/clock_t.h: Define clock_t here.
14316         * time/bits/types/clockid_t.h: Define clockid_t here.
14317         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14318         * time/bits/types/struct_timespec.h: Define struct timespec here.
14319         * time/bits/types/struct_timeval.h: Define struct timeval here.
14320         * time/bits/types/struct_tm.h: Define struct tm here.
14321         * time/bits/types/time_t.h: Define time_t here.
14322         * time/bits/types/timer_t.h: Define timer_t here.
14323         * time/Makefile: Install the new headers.
14325         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14326         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14327         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
14328         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
14329         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
14330         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
14331         * sysdeps/unix/sysv/linux/bits/resource.h
14332         * sysdeps/unix/sysv/linux/bits/timex.h
14333         * sysdeps/unix/sysv/linux/mips/bits/resource.h
14334         * sysdeps/unix/sysv/linux/net/ppp_defs.h
14335         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
14336         * sysdeps/unix/sysv/linux/sys/acct.h
14337         * sysdeps/unix/sysv/linux/sys/timerfd.h
14338         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
14339         * time/sys/time.h, time/sys/timeb.h
14340         Use the new bits/types headers.
14342         * include/time.h: Remove __need logic.
14343         * include/bits/time.h
14344         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
14345         * include/bits/types/time_t.h, include/bits/types/timer_t.h
14346         * include/bits/types/struct_itimerspec.h
14347         * include/bits/types/struct_timespec.h
14348         * include/bits/types/struct_timeval.h
14349         * include/bits/types/struct_tm.h:
14350         New wrapper headers.
14352 2016-09-23  Zack Weinberg  <zackw@panix.com>
14354         * sysdeps/mach/hurd/net/if_ppp.h
14355         * sysdeps/unix/sysv/linux/net/if_ppp.h:
14356         Only define struct ifpppstatsreq and struct ifpppcstatsreq
14357         if __USE_MISC is defined, to ensure struct ifreq is declared.
14359         * inet/netinet/ether.h: Condition all function prototypes
14360         on __USE_MISC, to ensure struct ether_addr is declared.
14362         * socket/bits/types/struct_osockaddr.h: New header.
14363         * include/bits/types/struct_osockaddr.h: New wrapper.
14364         * socket/Makefile: Install the new header.
14365         * socket/sys/socket.h, inet/protocols/talkd.h:
14366         Refer to bits/types/struct_osockaddr.h for the definition of
14367         struct osockaddr.
14369 2016-09-23  Zack Weinberg  <zackw@panix.com>
14371         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
14372         * inet/protocols/routed.h, inet/protocols/talkd.h
14373         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
14374         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
14375         * sysdeps/generic/netinet/if_ether.h
14376         * sysdeps/generic/netinet/in_systm.h
14377         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
14378         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14379         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
14380         * sysdeps/mach/hurd/net/if_arp.h
14381         * sysdeps/mach/hurd/net/if_ppp.h
14382         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
14383         * sysdeps/unix/sysv/linux/bits/in.h
14384         * sysdeps/unix/sysv/linux/net/ethernet.h
14385         * sysdeps/unix/sysv/linux/net/if_arp.h
14386         * sysdeps/unix/sysv/linux/net/if_ppp.h
14387         * sysdeps/unix/sysv/linux/net/if_shaper.h
14388         * sysdeps/unix/sysv/linux/net/route.h
14389         * sysdeps/unix/sysv/linux/netinet/if_ether.h
14390         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14391         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14392         * sysdeps/unix/sysv/linux/netipx/ipx.h
14393         * sysdeps/unix/sysv/linux/sys/acct.h
14394         * include/arpa/nameser.h, include/resolv.h:
14395         Change all uses of u_char to unsigned char,
14396         u_short and ushort to unsigned short, u_int and uint to unsigned int,
14397         u_long and ulong to unsigned long, u_int8_t to uint8_t,
14398         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
14399         and u_int64_t and u_quad_t to uint64_t.
14401         * mach/sys/reboot.h: Remove two casts of integer literals
14402         to the types they already have.
14404         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
14405         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
14406         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
14407         from referring to 'unsigned char' to 'uint8_t' for consistency with
14408         the macro definition below.
14410         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
14411         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
14412         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
14413         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
14414         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
14415         * sysdeps/unix/sysv/linux/sys/acct.h
14416         * include/arpa/nameser.h, include/resolv.h:
14417         Fix indentation disrupted by mechanical edits.
14419         * inet/protocols/talkd.h, resolv/arpa/nameser.h
14420         * sysdeps/generic/netinet/in_systm.h
14421         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
14422         * sysdeps/gnu/netinet/udp.h
14423         * sysdeps/unix/sysv/linux/net/ethernet.h
14424         * sysdeps/unix/sysv/linux/net/if_arp.h
14425         * sysdeps/unix/sysv/linux/net/if_ppp.h
14426         * sysdeps/unix/sysv/linux/net/if_shaper.h
14427         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
14428         * sysdeps/unix/sysv/linux/netinet/if_tr.h
14429         * sysdeps/unix/sysv/linux/netipx/ipx.h
14430         * sysdeps/unix/sysv/linux/sys/acct.h
14431         Include stdint.h for uintNN_t definitions.
14432         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
14434 2016-09-23  Zack Weinberg  <zackw@panix.com>
14436         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
14437         * sysdeps/unix/sysv/linux/netrose/rose.h:
14438         Include sys/socket.h and netax25/ax25.h.
14440         * inet/netinet/icmp6.h, inet/netinet/ip6.h
14441         * resolv/arpa/nameser_compat.h:
14442         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
14444         * sysdeps/unix/sysv/linux/sys/quota.h:
14445         Use __caddr_t instead of caddr_t.
14446         * sysdeps/unix/sysv/linux/sys/timerfd.h:
14447         Use __clockid_t instead of clockid_t.
14449         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
14451         * argp/argp.h: Check whether _LIBC is defined before expanding it.
14452         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
14453         expanding it.
14455         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
14456         Define __glibc_c99_flexarr_available to 1 when the compiler
14457         supports C99-compatible flexible array members, 0 otherwise.
14458         * sysdeps/unix/sysv/linux/bits/socket.h
14459         * sysdeps/mach/hurd/bits/socket.h
14460         * bits/socket.h: Use __glibc_c99_flexarr_available in
14461         definitions of struct cmsghdr and CMSG_DATA.
14463 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14465         * manual/nss.texi (NSS Modules Interface): Adjust function return
14466         type to enum nss_status.  Document errnop argument.  Clarify
14467         h_errnop semantics.  Fix cross-reference formatting.
14468         (NSS Module Function Internals): Mention that *errnop needs to be
14469         set on failure, but not to zero.
14471 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14473         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
14474         (get_random_name): New functions.
14475         (check_wrapper_flags_mode): Use linkat to give the new file a name
14476         determined by get_random_name.
14477         (do_test): Add calls to test open64 and openat64.
14479 2016-09-23  Florian Weimer  <fweimer@redhat.com>
14481         * test-skeleton.c: Remove #include <stdarg.h>.
14483 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
14485         [BZ #19826]
14486         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
14487         initialization of static TLS entries.
14488         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
14489         * nptl/allocatestack.c (init_one_static_tls): Likewise.
14491 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14493         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
14494         _hurd_malloc_fork_prepare.
14495         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
14496         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
14497         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
14498         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
14499         (_hurd_fork_child_hook): Drop malloc_fork_child.
14500         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
14501         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
14502         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
14503         after locking locks (notably hurd_dtable_lock). Call
14504         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
14505         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
14506         __malloc_fork_unlock_child.
14507         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
14509 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
14511         * soft-fp/extendhftf2.c: New.
14512         * soft-fp/fixhfti.c: Likewise.
14513         * soft-fp/fixunshfti.c: Likewise.
14514         * soft-fp/floattihf.c: Likewise.
14515         * soft-fp/floatuntihf.c: Likewise.
14516         * soft-fp/half.h: Likewise.
14517         * soft-fp/trunctfhf2.c: Likewise.
14519 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
14521         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
14522         macro.
14523         * math/libm-test.inc (issubnormal_test_data): New array.
14524         (issubnormal_test): New function.
14525         * manual/arith.texi (Floating Point Classes): Document
14526         issubnormal.
14527         * manual/libm-err-tab.pl: Update comment on interfaces without
14528         ulps tabulated.
14530         * sysdeps/generic/stdint.h: Define
14531         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14532         <bits/libc-header-start.h> instead of including <features.h>.
14533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
14534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
14535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
14536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
14537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
14538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
14539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
14540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
14541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
14542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
14543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
14544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
14545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
14546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
14547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
14548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
14549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
14550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
14551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
14552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
14553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
14554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
14555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
14556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
14557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
14558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
14559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
14560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
14561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
14562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
14563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
14564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
14565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
14566         * manual/arith.texi (Integers): Document these macros for types
14567         specified by width properties.
14568         * manual/lang.texi (Width of Type): Document these macros for
14569         other standard typedefs.
14570         * stdlib/tst-width-stdint.c: New file.
14571         * stdlib/Makefile (tests): Add tst-width-stdint.
14573 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14575         [BZ #20016]
14576         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
14577         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
14578         Move ...
14579         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
14580         ... here, as compatibility symbols in a new file.
14581         * resolv/Makefile (libresolv-routines): Add compat-hooks.
14582         * resolv/res_init.c (__res_vinit): Adjust member names.
14583         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
14584         * resolv/resolv.h (res_sendhookact, res_send_qhook)
14585         (res_send_rhook): Remove.
14586         (struct __res_state): Rename qhook, rhook members.
14588 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14590         malloc: Use __libc_lock wrappers.
14591         * malloc/arena.c (list_lock, free_list_lock): Define using
14592         __libc_lock_define_initialized.
14593         (arena_lock): Adjust formatting.
14594         * malloc/malloc.c (struct malloc_state): Define mutex using
14595         __libc_lock_define.
14596         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
14597         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
14598         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
14599         (mutex_unlock, mutex_trylock): Remove.
14600         (__pthread_initialize): Remove unused macro.
14601         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
14602         (mutex_unlock, mutex_trylock): Remove.
14604 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14606         [BZ #20592]
14607         Remove RR type classification macros.
14608         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
14609         (ns_t_udp_p, ns_t_xfr_p): Remove.
14611 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14613         Remove misleading version information.
14614         * resolv/arpa/nameser.h (__NAMESER): Remove.
14615         * resolv/arpa/nameser_compat.h (__BIND): Remove.
14617 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14619         Remove the always-defined BIND_4_COMPAT macro.
14620         * resolv/arpa/nameser.h: Unconditionally include
14621         <arpa/nameser_compat.h>.
14622         (BIND_4_COMPAT): Remove.
14623         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
14625 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14627         [BZ #20591]
14628         Remove obsolete DNSSEC support.
14629         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
14630         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
14631         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
14632         (ns_verify_tcp, ns_verify_tcp_init): Remove.
14633         (ns_cert_types): Add comment.
14634         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
14635         separately.
14636         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
14637         (dst_s_dns_key_id): Remove.
14638         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
14639         variables.
14641 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14643         [BZ #20524]
14644         * manual/string.texi (String/Array Comparison): Clarify the
14645         strverscmp behavior.
14647 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14649         * test-skeleton.c (xasprintf): Add function.
14650         * io/tst-open-tmpfile.c: New test.
14651         * io/Makefile (tests): Add it.
14653 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14655         Avoid running $(CXX) during build to obtain header file paths.
14656         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
14657         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
14658         * Makerules (cstdlib, cmath): Remove variables.  Use
14659         $(c++-cstdlib-header), $(c++-cmath-header) instead.
14660         * configure: Regenerate.
14662 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14664         * Makeconfig (all-object-suffixes): Include .op only if
14665         $(build-profile).
14667 2016-09-21  Florian Weimer  <fweimer@redhat.com>
14669         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
14670         conditionals.  Do not define PATH_MAX.
14672 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14674         * posix/Makefile (tests): Add tst-spawn3.
14675         * posix/tst-spawn3.c: New file.
14676         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
14677         if it is already opened for open action.
14679         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
14680         all signals when executing the clone vfork child.
14681         (SIGALL_SET): Remove macro.
14683         * nptl/Makefile (tests): Add tst-exec5.
14684         * nptl/tst-exec5.c: New file.
14685         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
14686         asynchronous cancellation.
14688 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14690         * hurd/exc2signal.c: #include <hurd/signal.h>
14691         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
14692         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
14693         accordingly.
14694         * mach/mach_error.c (mach_error): Fix old-style function definition.
14695         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
14697 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14699         * math/Makefile (libm-calls): Remove s_nanF.
14700         (gen-libm-calls): Add s_nanF.
14702         * math/s_nan.c: Refactor into ...
14703         * math/s_nan_template.c: New file.
14705         * math/s_nanf.c: Removed.
14706         * math/s_nanl.c: Removed.
14707         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
14708         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14710         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14711         (LDOUBLE_nanl_libm_version): New macro.
14713         * sysdeps/generic/math-type-macros-double.h:
14714         (M_STRTO_NAN): New macro.
14715         * sysdeps/generic/math-type-macros-float.h: Likewise.
14716         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14718         * sysdeps/generic/math-type-macros.h: Document
14719         M_STRTO_NAN.
14721 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14723         * math/s_nanf.c: Remove __nanf undef.
14724         * math/s_nan.c: Remove __nan undef.
14725         * math/s_nanl.c: Remove __nanl undef.
14727         * sysdeps/generic/math_private.h (__nan): Remove macro
14728         override.
14729         (__nanf): Likewise.
14730         (__nanl): Likewise.
14732 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14734         * math/Makefile (gen-all-calls): New variable.
14735         (generated): Replace gen-libm-calls with gen-all-calls.
14736         (gen-libm-templates.stmp): Likewise.  Also, ensure
14737         the output directory exists or is created and add
14738         dependency on the Makefile.
14739         (calls): Move s_ldexpF into gen-calls.
14740         (gen-calls): New variable.
14742         * math/s_ldexpf.c: Removed.
14743         * math/s_ldexpl.c: Removed.
14744         * math/s_ldexp.c: Refactored into ...
14745         * math/s_ldexp_template.c: New file.
14747         * sysdeps/generic/math-type-macros-double.h: Remove
14748         redundant fall-through definition of declare_mgen_alias.
14749         (declare_mgen_alias_2): New macro.
14751         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
14752         New macro for function aliased to two exported symbols.
14754         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
14755         new template file.
14756         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14758 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14760         * Makeconfig (all-object-suffixes): Remove .og.
14761         * Makerules (elide-routines.og): Remove.
14762         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
14763         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
14764         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
14766 2016-09-20  Florian Weimer  <fweimer@redhat.com>
14768         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
14769         .os objects.
14771 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14773         [BZ #20615]
14774         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
14775         fpu directory by non-fpu.
14776         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
14777         on non-fpu directory from a fpu directory.
14779 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
14781         * include/limits.h: Define
14782         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14783         <bits/libc-header-start.h> instead of including <features.h>.
14784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
14785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
14786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
14787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
14788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
14789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
14790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
14791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
14792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
14794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14795         * manual/lang.texi (Width of Type): Document these macros.
14796         * stdlib/tst-width.c: New file.
14797         * stdlib/Makefile (tests): Add tst-width.
14799 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14801         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14802         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14804 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14806         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14807         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14808         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14810 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14812         [BZ #18243]
14813         * rt/Makefile (test): Add tst-shm-cancel.
14814         * rt/tst-shm-cancel.c: New file.
14815         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14817         [BZ #18243]
14818         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14819         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14820         definition.
14821         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14822         uncontended case.
14823         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14824         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14825         (tf): Fix check for uncontended case.
14826         (do_test): Likewise.
14827         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14828         (tf): Fix check for uncontended case.
14829         (do_test): Likewise.
14830         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14831         (tf): Fix check for uncontended case.
14832         (do_test): Likewise.
14833         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14834         (tf): Fix check for uncontended case.
14835         (do_test): Likewise.
14837         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14838         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14840         [BZ #15765]
14841         * nptl/Makefile (tests): Add tst-sem16.
14842         * nptl/tst-sem16.c: New file.
14843         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14845         * nptl/sem_open.c (sem_open): Init pad value to 0.
14846         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14847         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14849 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14851         [BZ #20611]
14852         * inet/Makefile (routines): Add inet6_scopeid_pton.
14853         (tests): Add tst-inet6_scopeid_pton.
14854         * inet/inet6_scopeid_pton.c: New file.
14855         * inet/net-internal.h: Likewise.
14856         * inet/tst-inet6_scopeid_pton.c: New test.
14857         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14858         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14861 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14863         Remove support for compiling wrappers with PTW.
14864         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14865         * nptl/Makefile (pthread-compat-wrappers): Define.
14866         (libpthread-routines): Use pthread-compat-wrappers.
14867         * sysdeps/unix/sysv/linux/alpha/Makefile
14868         (libpthread-routines, libpthread-shared-only-routines): Remove
14869         ptw- prefix.
14870         * sysdeps/s390/nptl/Makefile
14871         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14872         * sysdeps/ia64/nptl/Makefile
14873         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14874         * sysdeps/nacl/Makefile (libpthread-routines): Use
14875         pthread-compat-wrappers to filter the routines list instead of the
14876         ptw- prefix.
14878 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14880         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14881         with L() and remove explicit suffix, convert real literals
14882         which can be equivalentally substituted with integers, and
14883         transform -L(x) to L(-x).
14885         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14886         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14887         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14888         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14889         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14890         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14891         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14892         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14893         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14894         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14895         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14896         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14897         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14898         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14899         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14900         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14901         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14902         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14903         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14904         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14905         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14906         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14907         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14908         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14909         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14910         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14911         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14912         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14913         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14914         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14915         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14916         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14917         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14918         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14919         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14920         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14921         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14922         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14924         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14925         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14926         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14927         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14928         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14929         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14930         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14932         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14933         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14934         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14936 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14938         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14940 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14942         * malloc/Makefile (tests): Remove individual static test names
14943         and just add all of tests-static.
14945         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14947 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14949         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14950         file.
14952         * sysdeps/sparc/fpu/fegetmode.c: New file.
14953         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14955         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14956         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14958         * sysdeps/s390/fpu/fegetmode.c: New file.
14959         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14961         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14962         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14963         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14964         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14965         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14966         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14968         * sysdeps/mips/fpu/fegetmode.c: New file.
14969         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14971         * sysdeps/m68k/fpu/fegetmode.c: New file.
14972         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14974         * sysdeps/ia64/fpu/fegetmode.c: New file.
14975         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14977         * sysdeps/hppa/fpu/fegetmode.c: New file.
14978         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14980         * sysdeps/arm/fegetmode.c: New file.
14981         * sysdeps/arm/fesetmode.c: Likewise.
14983         * sysdeps/alpha/fpu/fegetmode.c: New file.
14984         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14986         * sysdeps/aarch64/fpu/fegetmode.c: New file.
14987         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14989         * math/fegetmode.c: New file.
14990         * math/fesetmode.c: Likewise.
14991         * sysdeps/i386/fpu/fegetmode.c: Likewise.
14992         * sysdeps/i386/fpu/fesetmode.c: Likewise.
14993         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14994         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14995         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14997         declaration.
14998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14999         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15000         typedef.
15001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15002         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15003         (femode_t): New typedef.
15004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15005         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15006         (femode_t): New typedef.
15007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15008         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15009         (femode_t): New typedef.
15010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15011         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15012         (femode_t): New typedef.
15013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15014         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15015         (femode_t): New typedef.
15016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15017         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15018         (femode_t): New typedef.
15019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15020         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15021         (femode_t): New typedef.
15022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15023         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15024         (femode_t): New typedef.
15025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15026         * sysdeps/nios2/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/powerpc/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 variable
15032         declaration.
15033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15034         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15035         (femode_t): New typedef.
15036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15037         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15038         (femode_t): New typedef.
15039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15040         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15041         (femode_t): New typedef.
15042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15043         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15044         (femode_t): New typedef.
15045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15046         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15047         (femode_t): New typedef.
15048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15049         * manual/arith.texi (FE_DFL_MODE): Document macro.
15050         (fegetmode): Document function.
15051         (fesetmode): Likewise.
15052         * math/Versions (fegetmode): New libm symbol at version
15053         GLIBC_2.25.
15054         (fesetmode): Likewise.
15055         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15056         (tests): Add test-femode and test-femode-traps.
15057         * math/test-femode-traps.c: New file.
15058         * math/test-femode.c: Likewise.
15059         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15060         alias for __fe_dfl_env.
15061         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15062         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15063         (__fe_dfl_mode): Likewise.
15064         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15065         version GLIBC_2.25.
15066         * sysdeps/nacl/libm.abilist: Update.
15067         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15068         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15069         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15070         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15071         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15072         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15073         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15074         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15075         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15076         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15077         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15078         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15080         Likewise.
15081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15082         Likewise.
15083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15084         Likewise.
15085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15086         Likewise.
15087         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15088         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15089         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15090         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15091         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15095         Likewise.
15096         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15097         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15098         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15100 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15102         [BZ #20495]
15103         [BZ #20508]
15104         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15105         processors, set Use_dl_runtime_resolve_slow and set
15106         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15107         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15108         New.
15109         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15110         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15111         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15112         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15113         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15114         if Use_dl_runtime_resolve_opt is set.  Use
15115         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15116         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15117         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15118         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15119         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15120         New.
15121         (_dl_runtime_resolve_opt): Likewise.
15122         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15123         defined.
15125 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15127         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15128         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15130 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15132         Convert malloc to __libc_lock.  Automated part, using this Perl
15133         s/// command:
15134           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15135             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15136         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15137         conversion.
15139 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15141         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15142         (linknamespace-symlists-tests): Likewise.
15143         (linknamespace-header-tests): Likewise.
15145 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15147         [BZ #19810]
15148         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15149         * elf/tst-noload.c: New test case.
15150         * elf/Makefile (tests): Add tst-noload.
15152 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15154         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15156         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15157         not any more.
15159         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15161 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15163         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15164         (do_cos_slow): Likewise.
15165         (do_sin): Likewise.
15166         (do_sin_slow): Likewise.
15167         (slow): Likewise.
15168         (slow1): Likewise.
15169         (slow2): Likewise.
15170         (sloww): Likewise.
15171         (sloww1): Likewise.
15172         (sloww2): Likewise.
15173         (bsloww): Likewise.
15174         (bsloww1): Likewise.
15175         (bsloww2): Likewise.
15176         (cslow2): Likewise.
15178         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15180         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15181         arguments.  Consolidate input partitioning from callers here.
15182         (do_cos_slow): Likewise.
15183         (do_sin): Likewise.
15184         (do_sin_slow): Likewise.
15185         (do_sincos_1): Remove the no longer necessary input partitioning.
15186         (do_sincos_2): Likewise.
15187         (__sin): Likewise.
15188         (__cos): Likewise.
15189         (slow1): Likewise.
15190         (slow2): Likewise.
15191         (sloww1): Likewise.
15192         (sloww2): Likewise.
15193         (bsloww1): Likewise.
15194         (bsloww2): Likewise.
15195         (cslow2): Likewise.
15197 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15199         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15200         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15201         outside of allocated array.
15203 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15205         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15206         instead of MB_CUR_MAX to avoid variable-length array.
15208 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15210         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15211         (type-double-routines): Add k_rem_pio2.
15212         (type-float-routines): Add k_rem_pio2f.
15214         * sysdeps/generic/math_private.h:
15215         (__kernel_rem_pio2l): Removed.
15217         * math/k_rem_pio2l.c: Removed.
15218         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15219         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15220         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15221         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15223 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15225         * math/Makefile (gen-libm-calls): Add s_fmin
15226         (libm-calls): Remove above.
15228         * math/s_fmin.c: Refactor into ...
15229         * math/s_fmin_template.c: New file.
15231         * math/s_fminf.c: Removed.
15232         * math/s_fminl.c: Removed.
15233         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15234         (LDOUBLE_fmin_libm_version): New macro.
15236         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15237         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15239 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15241         * math/Makefile: (gen-libm-calls): Add s_fmax.
15242         (libm-calls): Remove above.
15244         * math/s_fmax.c: Refactor into ...
15245         * math/s_fmax_template.c: New file.
15246         * math/s_fmaxf.c: Removed.
15247         * math/s_fmaxl.c: Removed.
15249         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15250         (LDOUBLE_fmaxl_libm_version): New macro.
15252         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15253         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15255         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15256         s_fmin.c to pick the aarch64 version of the file.
15257         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15258         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15260 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15262         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15263         (libm-calls): Remove above.
15265         * math/s_nextdown.c: Refactor into ...
15266         * math/s_nextdown_template.c: New file.
15267         * math/s_nextdownf.c: Removed.
15268         * math/s_nextdownl.c: Removed.
15270         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15272 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15274         * math/Makefile (gen-libm-calls): Add s_fdim.
15275         (libm-calls): Move to above.
15277         * math/s_fdim.c: Renamed and refactored into to ...
15278         * math/s_fdim_template.c: New file.
15279         * math/s_fdiml.c: Removed.
15280         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15281         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15283         * sysdeps/generic/math-type-macros-double.h:
15284         (declare_mgen_alias): Don't declare if already declared.
15285         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15286         Likewise.
15288         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15289         (declare_mgen_alias): Don't declare if already declared.
15290         (M_LIBM_NEED_COMPAT): Likewise.
15291         (declare_mgen_libm_compat): Likewise.
15292         (LDOUBLE_fdiml_libm_version): New macro.
15294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15295         Include math/s_fdim.c now that ldbl-opt version is not needed.
15296         (declare_mgen_alias): New macro to disable aliasing.
15298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15299         (declare_mgen_alias): Likewise.
15300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15301         (declare_mgen_alias): Likewise.
15302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15303         (declare_mgen_alias): Likewise.
15304         (M_LIBM_NEED_COMPAT): Likewise.
15306 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15308         [BZ #20525]
15309         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15310         Include <linux/quota.h>.
15311         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15312         and btodb.
15313         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15314         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15315         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15316         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15317         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15318         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15319         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15320         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15321         types.
15322         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15323         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15325 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15327         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
15328         (gammal_positive): Fix spacing.
15329         (__ieee754_gammal_r): Likewise.
15331 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15333         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
15334         (_Float128): Define as long double, always.
15335         (L): Apply long double type suffix, always.
15337         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
15338         _Float128, excepting comments.
15340         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15341         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15342         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15343         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15344         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15345         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15346         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15347         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15348         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15349         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
15350         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15351         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15352         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15353         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15354         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15355         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15356         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15357         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15358         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15359         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15360         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15361         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15362         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15363         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15364         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15365         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15366         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15367         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15368         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15369         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15370         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15371         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15375         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15376         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15379         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15380         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15381         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15382         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15383         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15384         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15385         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15386         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15387         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15388         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15389         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15390         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15391         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15392         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15393         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15394         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
15395         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15396         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15397         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15398         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15399         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15400         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15401         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15402         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15403         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15404         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15405         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15406         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15407         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15409         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
15410         _Float128, and include math_private.h.
15411         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15413         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
15414         long double semantics.
15415         (_Float128): Likewise.
15416         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
15417         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
15418         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
15419         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
15421 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15423         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
15424         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
15425         * sysdeps/s390/configure: Regenerated.
15426         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
15427         instruction for raising over-/underflow if z196 zarch is supported
15428         by default.
15429         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
15431 2016-08-30  Svante Signell  <svante.signell@gmail.com>
15433         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
15434         it point to a dumb buffer for RPC to fill it.
15436 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15438         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
15439         instead of if/else.
15440         (do_sin_slow): Likewise.
15441         (do_sincos_1): Use fabs instead of if/else.
15442         (do_sincos_2): Likewise.
15443         (__sin): Likewise.
15444         (__cos): Likewise.
15445         (slow2): Likewise.
15446         (sloww): Likewise.
15447         (sloww1): Likewise.  Drop argument M.
15448         (sloww2): Use fabs instead of if/else.
15449         (bsloww): Likewise.
15450         (bsloww1): Likewise.
15451         (bsloww2): Likewise.
15453         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
15454         fall through comment.
15455         (do_sincos_1): Likewise.
15457         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
15458         Consolidate switch cases 0 and 2.
15460 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15462         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
15463         (libm-calls): Remove the above.
15465         * math/s_cexp_template.c: Update using type-generic macros.
15466         * math/s_clog10_template.c: Likewise.
15467         * math/s_cpow_template.c: Likewise.
15468         * math/s_clog_template.c: Likewise.
15469         * math/s_cproj_template.c: Likewise.
15470         * math/s_csqrt_template.c: Likewise.
15472         * math/s_cexp.c: Removed.
15473         * math/s_cexpf.c: Removed.
15474         * math/s_cexpl.c: Removed.
15475         * math/s_clog10.c: Removed.
15476         * math/s_clog10f.c: Removed.
15477         * math/s_clog10l.c: Removed.
15478         * math/s_cpow.c: Removed.
15479         * math/s_cpowf.c: Removed.
15480         * math/s_cpowl.c: Removed.
15481         * math/s_clog.c: Removed.
15482         * math/s_clogf.c: Removed.
15483         * math/s_clogl.c: Removed.
15484         * math/s_cproj.c: Removed.
15485         * math/s_cprojf.c: Removed.
15486         * math/s_cprojl.c: Removed.
15487         * math/s_csqrt.c: Removed.
15488         * math/s_csqrtf.c: Removed.
15489         * math/s_csqrtl.c: Removed.
15491         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
15492         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
15493         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
15494         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
15495         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
15496         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
15498         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
15499         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
15500         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
15501         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
15502         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
15503         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
15504         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
15505         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
15506         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
15507         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
15508         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
15510         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
15511         version.
15513         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
15514         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
15515         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
15516         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
15518 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15520         * s_cexp_template.c: Copy of s_cexp.c.
15521         * s_clog_template.c: Copy of s_clog.c.
15522         * s_clog10_template.c: Copy of s_clog10.c.
15523         * s_cpow_template.c: Copy of s_cpow.c.
15524         * s_cproj_template.c: Copy of s_cproj.c.
15525         * s_csqrt_template.c: Copy of s_csqrt.c.
15527 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15529         [BZ #20517]
15530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15531         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
15532         exported.
15534 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
15536         * math/fetestexceptflag.c: New file.
15537         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
15538         Stefan Liebler.
15539         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15540         (fetestexceptflag): New function declaration.
15541         * manual/arith.texi (fetestexceptflag): Document function.
15542         * math/Versions (fetestexceptflag): New libm symbol at version
15543         GLIBC_2.25.
15544         * math/Makefile (libm-support): Add fetestexceptflag.
15545         (tests): Add test-fetestexceptflag.
15546         * math/test-fetestexceptflag.c: New file.
15547         * sysdeps/nacl/libm.abilist: Update.
15548         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15549         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15550         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15551         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15552         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15553         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15554         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15555         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15558         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15559         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15561         Likewise.
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15563         Likewise.
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15565         Likewise.
15566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15569         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15570         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15572         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15574         Likewise.
15575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15576         Likewise.
15577         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15578         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15579         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15581 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15583         [BZ #20432]
15584         Avoid strong references to malloc-internal symbols when linking
15585         statically, to support statically interposed mallocs.
15586         * include/libc-symbols.h (call_function_static_weak): New macro.
15587         * malloc/Makefile (tests): Add tst-interpose-nothread,
15588         tst-interpose-thread, tst-interpose-static-nothread,
15589         tst-interpose-static-thread.
15590         (tests-static): Add tst-interpose-static-nothread,
15591         tst-interpose-static-thread.
15592         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
15593         tst-interpose-aux-thread.o.
15594         (test-extras): Add tst-interpose-aux-nothread,
15595         tst-interpose-aux-thread.
15596         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
15597         tst-interpose-aux-nothread.o.
15598         (tst-interpose-thread, tst-interpose-static-thread): Link with
15599         tst-interpose-aux-thread.o and libthread.
15600         * malloc/tst-interpose-aux-nothread.c: New file.
15601         * malloc/tst-interpose-aux-thread.c: Likewise.
15602         * malloc/tst-interpose-aux.c: Likewise.
15603         * malloc/tst-interpose-aux.h: Likewise.
15604         * malloc/tst-interpose-nothread.c: Likewise.
15605         * malloc/tst-interpose-skeleton.c: Likewise.
15606         * malloc/tst-interpose-static-nothread.c: Likewise.
15607         * malloc/tst-interpose-static-thread.c: Likewise.
15608         * malloc/tst-interpose-thread.c: Likewise.
15609         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
15610         * sysdeps/mach/hurd/fork.c (__fork): Only call
15611         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15612         __malloc_fork_unlock_child if defined.
15613         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15615 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15617         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
15618         timespec C99 designated initialization.
15620 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15622         [BZ #19946]
15623         Avoid expected SIGALRM signals.
15624         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
15625         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
15626         (xpthread_create, xpthread_detach, xpthread_join)
15627         (delayed_exit_thread, delayed_exit): New functions.
15628         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
15629         (tf): Use xpthread_cond_wait.
15630         (do_test): Likewise.  Replace alarm with delayed_exit.
15631         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15632         (do_test): Call delayed_exit.  Report failure.
15633         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15634         (do_test): Call delayed_exit.
15635         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15636         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
15637         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15638         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
15639         error.
15640         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
15641         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
15642         error.
15643         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
15644         (do_test): Call delayed_exit.
15645         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
15646         (do_test): Call delayed_exit.
15647         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
15648         (do_test): Call delayed_exit instead of alarm.  Use
15649         xpthread_mutex_lock.
15650         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
15651         (do_test): Call delayed_exit instead of alarm.  Use
15652         xpthread_mutex_lock.
15653         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
15654         (do_test): Call delayed_exit instead of alarm.
15655         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
15656         (do_test): Call delayed_exit instead of alarm.  Use
15657         xpthread_spin_lock.
15658         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
15659         (do_test): Call delayed_exit instead of alarm.  Use
15660         xpthread_join.
15662 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15664         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
15665         adjust CFA when allocating register save area on re-aligned
15666         stack.
15668 2016-08-26  Florian Weimer  <fweimer@redhat.com>
15670         * string/tst-cmp.c: New test.
15671         * string/Makefile (tests): Add it.
15673 2016-08-25  Mark Wielaard  <mark@klomp.org>
15675         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
15676         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
15677         (check_tree_recurse): Use newly defined accessors.
15678         (check_tree): Likewise.
15679         (maybe_split_for_insert): Likewise.
15680         (__tfind): Likewise.
15681         (__tdelete): Likewise.
15682         (trecurse): Likewise.
15683         (tdestroy_recurse): Likewise.
15684         (__tsearch): Likewise. And add asserts for malloc alignment.
15685         (__twalk): Cast root to node in case CHECK_TREE is defined.
15687 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15689         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
15691 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15693         * math/Makefile (libm-gen-calls): Add
15694         catan, catanh, ctan, ctanh.
15695         (libm-calls): Remove the above.
15697         * math/s_catan_template.c: Update using type-generic macros.
15698         * math/s_catanh_template.c: Likewise.
15699         * math/s_ctan_template.c: Likewise.
15700         * math/s_ctanh_template.c: Likewise.
15702         * math/s_catanf.c: Removed.
15703         * math/s_catan.c: Removed.
15704         * math/s_catanl.c: Removed.
15705         * math/s_catanhf.c: Removed.
15706         * math/s_catanh.c: Removed.
15707         * math/s_catanhl.c: Removed.
15708         * math/s_ctanf.c: Removed.
15709         * math/s_ctan.c: Removed.
15710         * math/s_ctanl.c: Removed.
15711         * math/s_ctanhf.c: Removed.
15712         * math/s_ctanh.c: Removed.
15713         * math/s_ctanhl.c: Removed.
15715         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
15716         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
15717         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
15718         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
15719         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
15720         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
15722         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
15723         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
15724         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
15725         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
15727 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15729         * s_catan_template.c: Copy of s_catan.c.
15730         * s_catanh_template.c: Copy of s_catanh.c.
15731         * s_ctan_template.c: Copy of s_ctan.c.
15732         * s_ctanh_template.c: Copy of s_ctanh.c.
15734 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15736         * math/Makefile (gen-libm-calls): Move
15737         casin, casinh, csin, csinh here.
15738         (libm-calls): Remove the above.
15740         * math/s_casin_template.c: Update using type-generic macros.
15741         * math/s_casinh_template.c: Likewise.
15742         * math/s_csin_template.c: Likewise.
15743         * math/s_csinh_template.c: Likewise.
15744         * math/k_casinh_template.c: Likewise.
15746         * math/s_casinf.c: Removed.
15747         * math/s_casin.c: Removed.
15748         * math/s_casinl.c: Removed.
15749         * math/s_casinh.c: Removed.
15750         * math/s_casinhf.c: Removed.
15751         * math/s_casinhl.c: Removed.
15752         * math/s_csin.c: Removed.
15753         * math/s_csinf.c: Removed.
15754         * math/s_csinl.c: Removed.
15755         * math/s_csinh.c: Removed.
15756         * math/s_csinhf.c: Removed.
15757         * math/s_csinhl.c: Removed.
15758         * math/k_casinh.c: Removed.
15759         * math/k_casinhf.c: Removed.
15760         * math/k_casinhl.c: Removed.
15762         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
15763         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
15764         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
15765         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
15767         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
15768         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
15769         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
15770         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
15771         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
15772         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
15773         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
15774         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
15776         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
15777         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
15778         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
15779         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
15781         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
15782         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
15783         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
15784         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
15786 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15788         * s_casin_template.c: Copy of s_casin.c.
15789         * s_casinh_template.c: Copy of s_casinh.c.
15790         * s_csin_template.c: Copy of s_csin.c.
15791         * s_csinh_template.c: Copy of s_csinh.c.
15792         * k_casinh_template.c: Copy of k_casinh.c.
15794 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15796         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15798 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15800         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15801         (mul_split) Remove, rename as mul_splitl, remove
15802         redundant float.h include, and include via mul_splitl.h
15804         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15805         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15806         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15807         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15808         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15810         * math/mul_splitl.h: New file.
15812         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15813         Move into mul_split.h, and remove redundant float.h include.
15815         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15816         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15817         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15818         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15820         * math/mul_split.h: New file.
15822 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15824         * math/Makefile (libm-gen-calls): Move
15825         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15826         (libm-calls): Remove above.
15828         * math/s_cacos_template.c: Update using type-generic macros.
15829         * math/s_cacosh_template.c: Likewise.
15830         * math/s_ccos_template.c: Likewise.
15831         * math/s_ccosh_template.c: Likewise.
15833         * math/s_cacosf.c: Removed.
15834         * math/s_cacos.c: Removed.
15835         * math/s_cacosl.c: Removed.
15836         * math/s_cacoshf.c: Removed.
15837         * math/s_cacosh.c: Removed.
15838         * math/s_cacoshl.c: Removed.
15839         * math/s_ccosf.c: Removed.
15840         * math/s_ccos.c: Removed.
15841         * math/s_ccosl.c: Removed.
15842         * math/s_ccoshf.c: Removed.
15843         * math/s_ccosh.c: Removed.
15844         * math/s_ccoshl.c: Removed.
15846         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15847         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15848         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15849         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15850         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15851         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15853         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15854         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15855         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15856         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15858         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15859         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15860         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15861         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15863 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15865         * s_cacos_template.c: Copy of s_cacos.c.
15866         * s_cacosh_template.c: Copy of s_cacosh.c.
15867         * s_ccos_template.c: Copy of s_ccos.c.
15868         * s_ccosh_template.c: Copy of s_ccosh.c.
15870 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15872         * stdlib/tst-strtod-round-skeleton.c:
15873         Refactored from tst-strtod-round.c.
15875         (L_): New macro to apply literal modifier.
15876         (FNPFX): New macro to select str or wcs prefix.
15877         (CHAR): New macro to choose wchar_t or char.
15878         (STRM): New macro to choose printf for tested character type.
15880         (STRTO): New macro to choose appropriate string -> real function.
15881         (FNPFXS): Stringitized version of FNPFX.
15882         (STR): Support for above macro.
15883         (STRX): Likewise.
15885         (TEST): Update with above macros.
15886         (test): Likewise.
15887         (GEN_ONE_TEST): Likewise.
15888         (test_in_one_mode): Likewise.
15890         * stdlib/tst-strtod-round.c: New file.
15891         * wcsmbs/tst-wcstod-round.c: New file.
15893         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15894         (tst-wcstod-round): Add libm depencency for fesetround.
15896 2016-08-19  Zack Weinberg  <zackw@panix.com>
15898         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15900 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15902         [BZ #20477]
15903         * resolv/res_hconf.c (do_init): Use atomic access.
15904         * resolv/res_hconf.h: Add comments.
15905         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15906         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15909 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15912         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15913         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15914         Likewise.
15916 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15918         [BZ #16907]
15919         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15920         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15921         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15922         (__attribute__): Remove definition.
15924 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15926         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15927         Remove unused sqrtl declaration.
15929 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15931         * math/Makefile: (gen-libm-templates.stmp): New rule.
15932         (libm-calls): Move carg conj cimag and cabs into ...
15933         (gen-libm-calls): New variable.
15934         (generated): Inform Make objects from gen-libm-calls
15935         may be generated.
15937         * sysdeps/generic/math-type-macros.h: New file.
15938         * sysdeps/generic/math-type-macros-float.h: Likewise.
15939         * sysdeps/generic/math-type-macros-double.h: Likewise.
15940         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15941         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15942         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15944         * math/cabs.c: Refactor into
15945         * math/cabs_template.c: new file.
15946         * math/cabsf.c: Removed.
15947         * math/cabsl.c: Removed.
15948         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15949         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15951         * math/carg.c: Refactor into
15952         * math/carg_template.c: new file.
15953         * math/cargf.c: Removed.
15954         * math/cargl.c: Removed.
15955         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15956         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15958         * math/conj.c: Refactor into
15959         * math/conj_template.c: new file.
15960         * math/conjf.c: Removed.
15961         * math/conjl.c: Removed.
15962         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15963         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15965         * math/cimag.c: Refactor into
15966         * math/cimag_template.c: new file.
15967         * math/cimagf.c: Removed.
15968         * math/cimagl.c: Removed.
15969         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15970         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15972         * math/cimag.c: Refactor into
15973         * math/cimag_template.c: new file.
15974         * math/cimagf.c: Removed.
15975         * math/cimagl.c: Removed.
15976         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15977         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15979 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15981         Reduce time to expected nptl/tst-once5 failure.
15982         * nptl/tst-once5.cc (TIMEOUT): Define.
15984 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15986         [BZ #20452]
15987         Avoid additional copies of objects in libc.a in static libraries.
15988         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15989         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15990         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15991         rt-sysdep.
15992         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15993         Add nptl-sysdep.
15994         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15995         Add ptw-sysdep.
15996         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15997         rt-sysdep.
15998         * sysdeps/unix/sysv/linux/alpha/Makefile
15999         (libpthread-shared-only-routines): Add ptw-sysdep,
16000         ptw-sigprocmask, ptw-rt_sigaction.
16001         * sysdeps/unix/sysv/linux/ia64/Makefile
16002         (librt-shared-only-routines): Add rt-sysdep.
16003         * sysdeps/unix/sysv/linux/i386/Makefile
16004         (libpthread-shared-only-routines): Add libc-do-syscall.
16005         * sysdeps/unix/sysv/linux/microblaze/Makefile
16006         (libpthread-shared-only-routines): Add sysdep.
16007         * sysdeps/unix/sysv/linux/powerpc/Makefile
16008         (librt-shared-only-routines): Add rt-sysdep.
16009         (libpthread-shared-only-routines): Add sysdep.
16010         * sysdeps/unix/sysv/linux/s390/Makefile
16011         (librt-shared-only-routines): Add rt-sysdep.
16012         * sysdeps/unix/sysv/linux/sparc/Makefile
16013         (librt-shared-only-routines): Add rt-sysdep.
16014         (libpthread-shared-only-routines): Add sysdep.
16015         * sysdeps/unix/sysv/linux/tile/Makefile
16016         (libpthread-shared-only-routines): Likewise.
16018 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16020         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16021         Mask implicit bit out of unpacked value.
16022         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16023         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16024         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16026         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16028         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16030         * sysdeps/s390/fpu/fesetexcept.c: New file.
16032         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16033         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16034         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16036         * sysdeps/mips/fpu/fesetexcept.c: New file.
16038         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16040         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16042         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16044         * sysdeps/arm/fesetexcept.c: New file.
16046         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16048         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16050         * math/fesetexcept.c: New file.
16051         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16052         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16053         * math/fenv.h: Define
16054         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16055         <bits/libc-header-start.h> instead of including <features.h>.
16056         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16057         declaration.
16058         * manual/arith.texi (fesetexcept): Document function.
16059         * math/Versions (fesetexcept): New libm symbol at version
16060         GLIBC_2.25.
16061         * math/Makefile (libm-support): Add fesetexcept.
16062         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16063         * math/test-fesetexcept.c: New file.
16064         * math/test-fesetexcept-traps.c: Likewise.
16065         * sysdeps/nacl/libm.abilist: Update.
16066         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16067         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16068         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16069         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16070         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16071         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16072         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16073         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16074         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16075         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16076         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16077         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16079         Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16081         Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16083         Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16085         Likewise.
16086         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16087         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16088         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16089         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16090         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16092         Likewise.
16093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16094         Likewise.
16095         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16096         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16097         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16099 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16101         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16102         New.
16103         (do_test): Apply default_stack_size_in_mb if not set.
16104         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16106 2016-08-15  Andreas Schwab  <schwab@suse.de>
16108         [BZ #20435]
16109         CVE-2016-6323
16110         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16111         as .cantunwind.
16113 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16115         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16116         comment from fraiseexcpt.c.
16118         * math/test-fexcept.c (feraiseexcept_exact): New function.
16119         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16120         (test_except): Likewise.
16122 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16124         [BZ #20455]
16125         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16126         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16127         to be restored.
16129         * math/test-fexcept-traps.c: New file.
16130         * math/test-fexcept.c: Likewise.
16131         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16132         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16133         macro.
16134         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16135         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16137 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16139         * include/atomic.h (atomic_fetch_and_relaxed,
16140         atomic_fetch_and_release, atomic_fetch_or_release,
16141         atomic_fetch_xor_release): New.
16143 2016-08-06  Christian Seiler  <christian@iwakd.de>
16145         [BZ #20444]
16146         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16147         MACH_PORT_NULL.
16149 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16151         * math/s_fdim.c: Avoid alias renamed.
16152         * math/s_fdimf.c: Likewise.
16153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16154         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16155         Add s_fdimf-vis3, s_fdim-vis3.
16156         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16157         (CFLAGS-s_fdim-vis3.c): Likewise.
16158         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16159         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16161 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16164         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16165         Remove s_fdimf-vis3, s_fdim-vis3.
16166         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16167         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16174         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16175         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16177 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16179         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16180         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16181         -Wa,-Av9a -mvis.
16183 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16185         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16186         LIT() to individual constants in simple expressions
16187         after splitting on spaces.
16188         (_apply_lit): Rename replaced version, and use it to
16189         apply to what appears to be a token.
16191         * math/libm-test.inc: Fix many, many issues with
16192         spacing.
16194 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16196         * math/math.h: Move comment about <bits/mathdef.h> definitions
16197         above inclusion of <bits/mathdef.h>.  Do not mention
16198         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16200 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16202         * include/atomic.h (atomic_exchange_relaxed): New.
16204 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16206         * math/e_scalb.c: Do not include <fenv.h>.
16207         (invalid_fn): Do calculation resulting in NaN instead of raising
16208         FE_INVALID and returning a NaN explicitly.
16209         * math/e_scalbf.c: Do not include <fenv.h>.
16210         (invalid_fn): Do calculation resulting in NaN instead of raising
16211         FE_INVALID and returning a NaN explicitly.
16212         * math/e_scalbl.c: Do not include <fenv.h>.
16213         (invalid_fn): Do calculation resulting in NaN instead of raising
16214         FE_INVALID and returning a NaN explicitly.
16216 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16218         * po/de.po: Updated from Translation Project.
16219         * po/fi.po: Likewise.
16220         * po/sv.po: Likewise.
16222 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16224         [BZ #20452]
16225         Use sysdep.o from libc.a in static libraries.
16226         * sysdeps/unix/sysv/linux/i386/Makefile
16227         (libpthread-shared-only-routines): Add sysdep.
16228         (librt-shared-only-routines): Likewise.
16230 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16232         * math/tgmath.h (nextdown): Define if
16233         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16234         (nextup): Likewise.
16236         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16237         macro.
16238         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16239         Document.
16240         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16241         Document macro.
16242         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16243         (exp10f): Likewise.
16244         (exp10l): Likewise.
16245         * math/bits/mathcalls.h (exp10): Declare if
16246         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16248         * manual/arith.texi (nextup): Fix typo in last change.
16250 2016-08-03  Zack Weinberg  <zackw@panix.com>
16252         [BZ #19239]
16253         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16254         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16255         define major, minor, and makedev to issue deprecation warnings on use.
16256         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16257         previously-activated deprecation warnings for these macros and prevent
16258         subsequent inclusions of this header from having any effect.
16259         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16260         including <sys/sysmacros.h>, and undefine it again afterward.
16262 2016-08-03  Zack Weinberg  <zackw@panix.com>
16264         * sysdeps/generic/sys/sysmacros.h: Delete file.
16265         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16266         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16267         * bits/sysmacros.h: ... here; this encoding is now the generic
16268         encoding.  Now defines only the following macros:
16269         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16270         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16271         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16273         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16274         bits/sysmacros.h and the above new macros to generate the
16275         public implementations of major, minor, and makedev.
16276         * misc/tst-makedev.c: New test.
16277         * include/sys/sysmacros.h: New wrapper.
16279         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16280         (routines): Add makedev.
16281         (tests): Add tst-makedev.
16282         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16283         gnu_dev_makedev.
16284         * posix/Makefile (headers): Remove sys/sysmacros.h.
16285         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16287         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16288         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16289         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16290         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16291         * sysdeps/unix/sysv/linux/arm/libc.abilist
16292         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16293         * sysdeps/unix/sysv/linux/i386/libc.abilist
16294         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16295         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16296         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16297         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16298         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16300         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16301         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16302         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16307         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16308         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16309         * sysdeps/unix/sysv/linux/sh/libc.abilist
16310         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16311         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16314         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16315         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16316         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16317         Add GLIBC_2.25.
16319         * include/features.h (__glibc_clang_prereq): New macro.
16320         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16321         (__attribute_deprecated_msg__): New macros.
16323 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16325         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16326         macro.
16327         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
16328         * manual/arith.texi (issignaling): Document as ISO from TS
16329         18661-1:2014.
16330         (nextup): Likewise.
16331         (nextupf): Likewise.
16332         (nextupl): Likewise.
16333         (nextdown): Likewise.
16334         (nextdownf): Likewise.
16335         (nextdownl): Likewise.
16336         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
16337         macro.
16338         * math/math.h: Define
16339         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16340         <bits/libc-header-start.h> instead of including <features.h>.
16341         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
16342         [__USE_GNU].
16343         * math/bits/mathcalls.h (nextdown): Declare if
16344         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
16345         (nextup): Likewise.
16346         (__issignaling): Likewise.
16348 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16350         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
16351         check, and remove __glibc_likely hint
16352         from FP_INFINITE check.
16353         * s_csinhf.c (__csinhf): Likewise.
16355         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
16356         hint from FP_INFINITE check.
16357         * s_csinhl.c (__csinhl): Likewise.
16359 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16361         * math/Makefile (libm-calls): Insert F placeholder into
16362         object names.  Move w_lgamma_compat* routines into
16363         (libm-compat-calls): New variable.
16364         (libm-compat-calls-ldouble-yes): New variable.
16365         (calls): Insert F placeholder.
16366         (generated): Redefine using new type-foreach macro call.
16367         (routines): Likewise.
16369         (types): New variable to hold a list of symbolic names
16370         for each type supported by the target machine.
16371         (libm-routines): Redefine using new types variable.
16372         (type-foreach): macro to replace fooF with the
16373         appropriately suffixed foo for each types.
16375         (type-ldouble-suffix): New variable.
16376         (type-ldouble-routines): Likewise.
16377         (type-ldouble-yes): Likewise.
16378         (type-double-suffix): Likewise.
16379         (type-double-routines): Likewise.
16380         (type-float-suffix): Likewise.
16381         (type-float-routines): Likewise.
16383         (dbl-only-routines): Remove.
16384         (long-c-yes): Likewise.
16385         (long-m-routines): Likewise.
16386         (long-m-support): Likewise.
16387         (long-m-yes): Likewise.
16388         (test-longdouble-yes): Likewise.
16390         (test-float.o): Simplify by increasing the scope of the
16391         recipe which adds libm-test.stmp to the vector types.
16392         (test-ifloat.o): Likewise.
16393         (test-float-finite.o): Likewise.
16394         (test-double.o): Likewise
16395         (test-idouble.o): Likewise.
16396         (test-double-finite.o): Likewise.
16397         (test-ldouble.o): Likewise
16398         (test-ildoubl.o): Likewise.
16399         (test-ldouble-finite.o): Likewise.
16401         (libm-tests): Redefine type tests using foreach and the
16402         list of types in types.
16404         (CPPFLAGS-test-ildoubl.c): Rename to
16405         (CPPFLAGS-test-ildouble.c): New variable
16407         * math/test-ildoubl.c: Rename to
16408         * math/test-ildouble.c: New file.
16410 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16412         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
16413         Use fabsl instead of fabs.
16414         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
16415         Likewise.
16416         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
16417         Add long double suffix to constant to ensure proper
16418         promotion to long double.
16420 2016-08-03  Tom Tromey  <tom@tromey.com>
16422         [BZ #20311]
16423         * nptl_db/Makefile (headers): Add proc_service.h.
16424         * nptl_db/proc_service.h: Add include guard.  Use
16425         __BEGIN/__END_DECLS.
16426         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
16427         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
16428         arguments.
16431 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16433         [BZ #17730]
16434         Avoid using memalign for TCB allocations.
16435         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
16436         (_dl_allocate_tls_storage): Use malloc and manual alignment.
16437         Avoid alignment gap in the TLS_DTV_AT_TP case.
16438         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
16439         determine the pointer to free.
16440         * nptl/tst-tls3-malloc.c: New test.
16441         * nptl/Makefile (tests): Add it.
16442         (tst-tls3-malloc): Link with libdl, libpthread.
16443         (LDFLAGS-tst-tls3-malloc): Set.
16444         (tst-tls3-malloc.out): Depend on DSO used in test.
16446 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16448         [BZ #17730]
16449         Avoid using memalign for TLS allocations.
16450         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
16451         is_static member with to_free member.
16452         (union dtv): Use struct dtv_pointer.
16453         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
16454         dtv_pointer instead of is_static.
16455         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
16456         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
16457         instead of val.
16458         (allocate_dtv_entry): New function.
16459         (allocate_and_init): Return struct dtv_pointer.  Call
16460         allocate_dtv_entry instead of __libc_memalign.
16461         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
16462         instead of val.
16463         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
16464         instead of is_static.  Adjust call to allocate_and_init.
16465         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
16466         struct dtv_pointer instead of val.
16468 2016-08-03  Florian Weimer  <fweimer@redhat.com>
16470         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
16471         (MALLOC_ALIGN_MASK): Move ...
16472         * malloc/malloc-internal.h: ... to here.
16473         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
16475 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16477         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
16478         (UDP_ENCAP_GTP1U): Likewise.
16480         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
16481         (PF_MAX): Update value.
16482         (AF_QIPCRTR): New macro.
16484 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16486         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
16487         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16488         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
16490         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16491         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16492         s_truncf-vis3, s_trunc-vis3.
16493         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16494         (CFLAGS-s_ceil-vis3.c): Likewise.
16495         (CFLAGS-s_floorf-vis3.c): Likewise.
16496         (CFLAGS-s_floor-vis3.c): Likewise.
16497         (CFLAGS-s_truncf-vis3.c): Likewise.
16498         (CFLAGS-s_trunc-vis3.c): Likewise.
16499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
16500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
16501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
16502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
16503         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
16504         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
16505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
16506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
16507         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
16508         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
16509         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
16510         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
16512 2016-08-02  David S. Miller  <davem@davemloft.net>
16514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16515         (__nearbyint_vis3): Don't check for sNaN before float register is
16516         loaded with the incoming argument.
16517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16518         (__nearbyintf_vis3): Likewise.
16519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
16520         Likewise.
16521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
16522         Likewise.
16524         * string/test-strncmp.c (do_test_limit): Make sure the test data
16525         stream is aligned as required for the type "CHAR".
16526         (do_test): Likewise.
16528 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
16530         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
16531         by beq instructions jumping to the end of the function.
16532         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
16533         clobber list. Use "i" constraint instead of "X".
16534         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
16535         of "X".
16537 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
16539         * bits/libc-header-start.h: New file.
16540         * Makefile (headers): Add bits/libc-header-start.h.
16541         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
16542         (__GLIBC_USE): New macro.
16543         * libio/stdio.h: Define
16544         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16545         <bits/libc-header-start.h> instead of including <features.h>.
16546         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
16547         (open_memstream): Likewise.
16548         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
16549         (__asprintf): Likewise.
16550         (asprintf): Likewise.
16551         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
16552         (getdelim): Likewise.
16553         (getline): Likewise.
16554         * string/string.h: Define
16555         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16556         <bits/libc-header-start.h> instead of including <features.h>.
16557         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
16558         (strndup): Likewise.
16559         * wcsmbs/wchar.h: Define
16560         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16561         <bits/libc-header-start.h> instead of including <features.h>.
16562         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
16563         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
16565 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16567         Support linking against compatibility symbols, for use in tests.
16568         * include/libc-symbols.h (symbol_version_reference): New macro.
16569         (symbol_version): Use it.
16570         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
16571         (compat_symbol): Use compat_symbol_reference.
16572         (compat_symbol_1, compat_symbol_2): Remove.
16573         (compat_symbol_reference, compat_symbol_reference_1)
16574         (compat_symbol_reference_2): New macro.  Use
16575         symbol_version_reference.
16577 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16579         [BZ #19469]
16580         * malloc/Makefile (CPPFLAGS): Compile tests with
16581         -DTEST_NO_MALLOPT.
16582         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
16584 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
16586         [BZ #20033]
16587         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
16588         finite version.
16589         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
16590         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
16591         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
16592         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
16593         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
16594         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
16595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
16596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
16597         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
16598         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
16599         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
16600         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
16601         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
16602         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
16603         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
16604         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
16605         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
16606         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
16607         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
16608         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
16609         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
16610         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
16611         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
16612         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
16613         in zero power.
16615 2016-08-02  Florian Weimer  <fweimer@redhat.com>
16617         [BZ #20370]
16618         * malloc/arena.c (get_free_list): Update comment.  Assert that
16619         arenas on the free list have no attached threads.
16620         (remove_from_free_list): New function.
16621         (reused_arena): Call it.
16623 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
16625         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
16626         when it is a NaN.
16627         [_IEEE_FP_INEXACT] Remove.
16628         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
16629         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
16630         when it is a NaN.
16631         [_IEEE_FP_INEXACT] Remove.
16632         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
16633         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
16634         when it is a NaN.
16635         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
16636         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
16637         when its absolute value is greater than 0x1.0p52.
16638         [_IEEE_FP_INEXACT] Remove.
16639         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
16640         when its absolute value is greater than 0x1.0p23.
16641         [_IEEE_FP_INEXACT] Remove.
16643 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
16645         * version.h (RELEASE): Set to "development"
16646         (VERSION): Set to 2.24.90.
16647         * NEWS: Add 2.25 section.
16649         * version.h (RELEASE): Set to "stable"
16650         (VERSION): Set to 2.24.
16651         * include/features.h (__GLIBC_MINOR__): Set to 24.
16653         * NEWS: Add 2.24 fixed bugs.
16654         * po/libc.pot: Regenerate.
16656 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
16658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16659         [$(subdir) = math] (libm-sysdep_routines): Remove.
16660         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16661         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
16662         s_truncf-vis3, s_trunc-vis3.
16663         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
16665         file.
16666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
16667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
16668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
16672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
16673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
16675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
16676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
16677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
16678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
16679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
16680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
16681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
16685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
16686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
16687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
16688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16689         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16690         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
16691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
16694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16695         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16696         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
16697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16699         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
16700         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
16701         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
16702         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
16703         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16704         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16705         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
16706         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
16707         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
16708         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
16710 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
16712         [BZ #20384]
16713         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
16714         test-double-libmvec-sincos-avx-main.o,
16715         test-double-libmvec-sincos-avx2-main.o,
16716         test-double-libmvec-sincos-main.o,
16717         test-float-libmvec-sincosf-avx-main.o,
16718         test-float-libmvec-sincosf-avx2-main.o and
16719         test-float-libmvec-sincosf-main.o.
16720         test-float-libmvec-sincosf-avx512-main.o.
16721         ($(objpfx)test-double-libmvec-sincos): Also link with
16722         $(objpfx)test-double-libmvec-sincos-main.o.
16723         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
16724         $(objpfx)test-double-libmvec-sincos-avx-main.o.
16725         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
16726         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
16727         ($(objpfx)test-float-libmvec-sincosf): Also link with
16728         $(objpfx)test-float-libmvec-sincosf-main.o.
16729         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
16730         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
16731         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
16732         test-double-libmvec-sincos-avx512-main.o and
16733         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
16734         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
16735         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
16736         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
16737         (CFLAGS-test-double-libmvec-sincos.c): Removed.
16738         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
16739         (CFLAGS-test-double-libmvec-sincos-main.c): New.
16740         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
16741         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
16742         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
16743         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
16744         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
16745         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
16746         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
16747         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
16748         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
16749         -DREQUIRE_AVX2.
16750         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
16751         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
16752         -DREQUIRE_AVX512F.
16753         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
16754         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
16755         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16756         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
16757         file.
16758         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
16759         Likewise.
16760         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
16761         Likewise.
16762         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
16763         Likewise.
16764         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
16765         Likewise.
16766         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
16767         Likewise.
16768         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
16769         Likewise.
16770         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
16771         Likewise.
16773 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
16775         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
16777 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
16779         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
16780         and typo in a comment about AT_HWCAP entry.
16782 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16784         * sysdeps/aarch64/libm-test-ulps: Updated.
16786 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16788         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
16789         of r13 as it is not restored in mvcle case.
16791 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
16793         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
16794         Rename "ret" to "__ret".
16795         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16796         inline_syscall5, inline_syscall6): Likewise.
16798 2016-07-19   Will Newton  <will.newton@gmail.com>
16800         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16801         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16802         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16803         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16804         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16806 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16809         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16810         -mfpmath=387 with $(rtld-CFLAGS).
16811         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16812         $(rtld-CFLAGS).
16814 2016-07-18   Ross Burton  <ross.burton@intel.com>
16815              Khem Raj  <raj.khem@gmail.com>
16817         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16818         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16819         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16820         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16821         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16822         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16823         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16824         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16825         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16826         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16827         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16828         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16829         R_METAG_TLS_DTPOFF): New.
16831 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16832             Matt Clay  <mclay@lycos.com>
16834         [BZ #20357]
16835         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16836         to call __mpsin/__mpcos and to negate values.
16837         * math/auto-libm-test-in: Add test.
16838         * math/auto-libm-test-out: Regenerate.
16840 2016-07-18  Zack Weinberg  <zackw@panix.com>
16842         * grp/Makefile: Don't install the internal header grp-merge.h.
16844 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16846         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16848 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16850         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16852 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16854         [BZ #15368]
16855         * sysdeps/unix/sysv/linux/nptl-signals.h
16856         (__nptl_clear_internal_signals): New function.
16857         (__libc_signal_block_all): Likewise.
16858         (__libc_signal_block_app): Likewise.
16859         (__libc_signal_restore_set): Likewise.
16860         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16861         implementation.
16862         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16863         the cached pid/tid value in pthread structure.
16865 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16867         [BZ #20347]
16868         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16870 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16872         [BZ #20348]
16873         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16874         preadv64, pwrite64 and pwritev64.
16876 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16878         [BZ #20350]
16879         * posix/tst-preadwrite.c: Renamed to ...
16880         * posix/tst-preadwrite-common.c: This.
16881         (PREAD): Removed.
16882         (PWRITE): Likewise.
16883         (STRINGIFY): Likewise.
16884         (STRINGIFY2): Likewise.
16885         (do_prepare): Make it static and remove function arguments.
16886         (do_test): Likewise.
16887         (PREPARE): Updated.
16888         (TEST_FUNCTION): New.
16889         (name): Make it static.
16890         (fd): Likewise.
16891         (do_prepare): Use create_temp_file.
16892         (do_test): Renamed to ...
16893         (do_test_with_offset): This.  Make it static and accept offset.
16894         Properly check return value of PWRITE and PREAD.  Return bytes
16895         read.  Don't close fd nor unlink name.
16896         * posix/tst-preadwrite.c: Rewrite.
16897         * posix/tst-preadwrite64.c: Likewise.
16899 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16901         [BZ #20309]
16902         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16903         -mtls-dialect=gnu2 works.
16904         * configure: Regenerated.
16905         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16906         (tests): Add tst-gnu2-tls1.
16907         (modules-names): Add tst-gnu2-tls1mod.
16908         ($(objpfx)tst-gnu2-tls1): New.
16909         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16910         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16911         * elf/tst-gnu2-tls1.c: New file.
16912         * elf/tst-gnu2-tls1mod.c: Likewise.
16913         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16914         bytes for push in the PLT entry to align the stack.
16916 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16918         [BZ #20349]
16919         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16921 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16923         [BZ #18707]
16924         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16925         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16927 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16929         * sysdeps/unix/sysv/linux/sysdep.h
16930         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16931         guards.
16932         * misc/tst-preadvwritev-common.c: New file.
16933         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16934         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16935         a check for files larger than 2GB.
16937         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16938         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16939         * sysdeps/unix/sysv/linux/pread.c
16940         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16941         __OFF_T_MATCHES_OFF64_T.
16942         * sysdeps/unix/sysv/linux/pread64.c
16943         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16944         * sysdeps/unix/sysv/linux/preadv.c
16945         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16946         * sysdeps/unix/sysv/linux/preadv64.c
16947         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16948         * sysdeps/unix/sysv/linux/pwrite.c
16949         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16950         * sysdeps/unix/sysv/linux/pwrite64.c
16951         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16952         * sysdeps/unix/sysv/linux/pwritev.c
16953         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16954         * sysdeps/unix/sysv/linux/pwritev64.c
16955         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16957 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16959         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16960         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16962 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16964         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16966 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16968         [BZ #20240]
16969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16970         (CFLAGS-s_modf-ppc32.c): New variable.
16971         (CFLAGS-s_modff-ppc32.c): Likewise.
16972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16973         (CFLAGS-s_modf-ppc64.c): Likewise.
16974         (CFLAGS-s_modff-ppc64.c): Likewise.
16976 2016-07-07  Andreas Schwab  <schwab@suse.de>
16978         [BZ #20263]
16979         * nptl/tst-robust10.c: New test.
16980         * nptl/Makefile (tests): Add tst-robust10.
16982 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
16984         [BZ #20263]
16985         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16987 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16989         * sysdeps/s390/linkmap.h (struct link_map_machine):
16990         Remove member gotplt and add member jmprel.
16991         * sysdeps/s390/s390-32/dl-machine.h
16992         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16993         instead of gotplt with &got[3].
16994         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16995         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16997 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
16999         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17001 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17003         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17004         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17005         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17006         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17007         * libio/vtables.c (_IO_vtable_check)
17008         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17009         * libio/libioP.h (IO_set_accept_foreign_vtables)
17010         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17012 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17014         [BZ #20314]
17015         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17016         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17017         $(common-objpfx)cmath.
17018         ($(common-objpfx)cstdlib): New target.
17019         ($(common-objpfx)cmath): Likewise.
17021 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17023         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17025 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17027         [BZ #20327]
17028         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17029         are not part of the string.
17031 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17033         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17034         * nptl/tst-cancel4-common.h (fifoname): New variable.
17035         (fifofd): Likewise.
17036         (cl_fifo): New function.
17037         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17038         SIGINT.
17039         (tf_open): Add early cancel test.
17041 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17043         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17045 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17047         * sysdeps/generic/ldsodefs.h
17048         (dl_symbol_visibility_binds_local_p): New inline function.
17049         * elf/dl-addr.c (determine_info): Treat hidden and internal
17050         symbols as local.
17051         * elf/dl-lookup.c (do_lookup_x): Likewise.
17052         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17054 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17056         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17057         invalid exception for a sNaN input.
17058         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17059         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17060         (__nearbyint_vis3): Likewise
17061         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17062         (__nearbyintf_vis3): Likewise
17063         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17064         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17065         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17066         Likewise.
17067         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17068         Likewise.
17070 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17072         [BZ #20139]
17073         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17074         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17075         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17076         2.24 or above.
17077         (HAVE_AVX512_ASM_SUPPORT): Removed.
17078         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17079         * sysdeps/x86_64/configure: Regenerated.
17080         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17081         check unconditional.
17082         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17083         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17084         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17085         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17086         Likewise.
17087         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17088         Likewise.
17089         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17090         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17091         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17093         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17094         Likewise.
17095         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17096         Likewise.
17097         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17098         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17099         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17100         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17101         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17102         Likewise.
17103         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17104         Likewise.
17105         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17106         Likewise.
17107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17108         Likewise.
17109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17110         Likewise.
17111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17112         Likewise.
17113         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17114         Likewise.
17115         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17116         Likewise.
17117         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17118         Likewise.
17119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17120         Likewise.
17121         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17122         Likewise.
17124 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17126         [BZ #20024]
17127         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17128         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17129         of this implementation of vector function.
17130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17131         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17132         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17133         Likewise.
17134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17135         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17136         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17137         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17138         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17139         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17140         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17141         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17142         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17143         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17144         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17145         for testing vector sincos with fixed ABI.
17146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17147         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17148         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17149         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17150         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17151         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17152         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17153         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17154         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17155         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17156         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17157         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17158         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17159         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17160         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17161         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17163 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17165         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17167 2016-06-30  Anton Blanchard  <anton@samba.org>
17169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17170         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17171         s_sinf-ppc64.
17172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17175         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17177 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17181         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17182         e_expf-ppc64.
17183         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17184         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17185         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17186         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17188 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17190         [BZ #20277]
17191         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17192         when SHARED is defined.
17194 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17196         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17197         (index_arch_Prefer_ERMS): Likewise.
17198         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17199         __memcpy_erms for Prefer_ERMS.
17200         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17201         (__memmove_erms): Enabled for libc.a.
17202         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17203         __memmove_erms or Prefer_ERMS.
17204         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17205         __mempcpy_erms for Prefer_ERMS.
17206         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17207         __memset_erms for Prefer_ERMS.
17209 2016-06-30  Andreas Schwab  <schwab@suse.de>
17211         [BZ #20262]
17212         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17213         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17214         of memory.
17216 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17218         [BZ #18645]
17219         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17220         (test-extras): Add tst-cleanupx4aux.
17221         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17222         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17223         tst-cleanupx4aux.o.
17224         * nptl/tst-cleanupx4aux.c: New file.
17226 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17228         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17230 2016-06-29  Andreas Schwab  <schwab@suse.de>
17232         [BZ #20260]
17233         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17234         address before the beginning of the string as an integer to avoid
17235         array-bounds warning.
17237 2016-06-28  Richard Henderson  <rth@redhat.com>
17239         * elf/elf.h (EM_BPF): New.
17240         (EM_NUM): Update.
17241         (R_BPF_NONE, R_BPF_MAP_FD): New.
17243         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17244         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17245         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17246         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17247         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17248         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17249         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17250         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17251         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17252         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17253         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17254         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17255         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17256         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17257         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17258         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17259         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17260         (EM_NUM): Update.
17262 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17264         [BZ #18960]
17265         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17266         Set _nl_current_LC_CATEGORY_used to two instead of one.
17268 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17270         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17271         (do_test): ... this.
17272         (TEST_FUNCTION): New macro.
17273          Include test-skeleton.c.
17274         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17275         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17277 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17279         [BZ #15479]
17280         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17281         floating-point environment rather than just control word.
17282         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17283         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17284         floating-point environment, with "invalid" exceptions merged in,
17285         rather than just control word.
17286         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17287         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17288         "inexact" exceptions.
17290         [BZ #15479]
17291         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17292         floating-point environment rather than just control word.
17293         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17294         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17295         floating-point environment, with "invalid" exceptions merged in,
17296         rather than just control word.
17297         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17298         * math/libm-test.inc (floor_test_data): Do not allow spurious
17299         "inexact" exceptions.
17301         [BZ #15479]
17302         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17303         floating-point environment rather than just control word.
17304         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17305         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17306         floating-point environment, with "invalid" exceptions merged in,
17307         rather than just control word.
17308         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17309         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17310         "inexact" exceptions.
17312 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17314         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17315         __libc_vfork.
17316         (__vfork) [IS_IN (libc)]: Remove alias.
17317         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17318         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17319         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17321 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17323         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17324         of atomic_compare_and_exchange_bool_rel.
17325         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17326         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17327         catomic_compare_and_exchange_bool_rel): Remove.
17328         * sysdeps/aarch64/atomic-machine.h
17329         (atomic_compare_and_exchange_bool_rel): Likewise.
17330         * sysdeps/alpha/atomic-machine.h
17331         (atomic_compare_and_exchange_bool_rel): Likewise.
17332         * sysdeps/arm/atomic-machine.h
17333         (atomic_compare_and_exchange_bool_rel): Likewise.
17334         * sysdeps/mips/atomic-machine.h
17335         (atomic_compare_and_exchange_bool_rel): Likewise.
17336         * sysdeps/microblaze/atomic-machine.h
17337         ( __arch_compare_and_exchange_bool_8_rel,
17338         __arch_compare_and_exchange_bool_16_rel): Likewise.
17339         * sysdeps/powerpc/atomic-machine.h
17340         ( __arch_compare_and_exchange_bool_8_rel,
17341         __arch_compare_and_exchange_bool_16_rel): Likewise.
17342         * sysdeps/powerpc/powerpc32/atomic-machine.h
17343         ( __arch_compare_and_exchange_bool_32_rel,
17344         __arch_compare_and_exchange_bool_64_rel): Likewise.
17345         * sysdeps/powerpc/powerpc64/atomic-machine.h
17346         ( __arch_compare_and_exchange_bool_32_rel,
17347         __arch_compare_and_exchange_bool_64_rel): Likewise.
17348         * sysdeps/tile/atomic-machine.h
17349         (atomic_compare_and_exchange_bool_rel): Likewise.
17351 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
17353         [BZ #20296]
17354         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
17355         when either argument is a NaN.
17356         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17357         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
17359         * math/libm-test.inc (snan_value_ld): New macro.
17360         (isgreater_test_data): Add sNaN tests.
17361         (isgreaterequal_test_data): Likewise.
17362         (isless_test_data): Likewise.
17363         (islessequal_test_data): Likewise.
17364         (islessgreater_test_data): Likewise.
17365         (isunordered_test_data): Likewise.
17366         (nextafter_test_data): Likewise.
17367         (nexttoward_test_data): Likewise.
17368         (remainder_test_data): Likewise.
17369         (remquo_test_data): Likewise.
17370         (significand_test_data): Likewise.
17371         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
17373 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17375         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
17376         environment macros are defined.
17377         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
17379 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17381         [BZ #20191]
17382         Implement vtable verification in libio.
17383         * Makerules (shlib.lds): Place __libc_IO_vtables section.
17384         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
17385         * debug/vdprintf_chk.c (__vdprintf_chk): Call
17386         _IO_new_file_init_internal instead of _IO_file_init.
17387         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
17388         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
17389         * libio/Makefile (routines): Add vtables.
17390         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
17391         (_IO_init): Remove, not for internal use.
17392         (_IO_init_internal): Declare, internal replacement for _IO_init.
17393         (_IO_file_init): Remove, not for internal use.
17394         (_IO_new_file_init): Remove, not for internal use.
17395         (_IO_new_file_init_internal): Declare, internal replacement for
17396         _IO_new_file_init.
17397         (_IO_old_file_init): Remove, not for internal use.
17398         (_IO_old_file_init_internal): Declare, internal replacement for
17399         _IO_old_file_init.
17400         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
17401         internal use.
17402         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
17403         Declare.
17404         (libio_vtable): New macro.
17405         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
17406         functions.
17407         * libio/fileops.c (_IO_new_file_init_internal): Rename from
17408         _IO_new_file_init.
17409         (_IO_new_file_init): New externally visible wrapper which disables
17410         vtable verification.
17411         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
17412         Define as vtables.
17413         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
17414         (_IO_init): New externally visible wrapper which disables
17415         vtable verification.
17416         * libio/iofdopen.c (_IO_new_fdopen): Call
17417         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
17418         comment.
17419         * libio/iofopen.c (__fopen_internal): Call
17420         _IO_new_file_init_internal instead of _IO_file_init.
17421         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
17422         Define as vtables.
17423         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
17424         _IO_new_file_init_internal instead of _IO_file_init.
17425         * libio/iopopen.c (_IO_new_popen): Likewise.
17426         (_IO_proc_jumps): Define as vtable.
17427         * libio/iovdprintf.c (_IO_vdprintf): Call
17428         _IO_new_file_init_internal instead of _IO_file_init.
17429         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
17430         (__open_memstream): Call _IO_init_internal instead of _IO_init.
17431         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
17432         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
17433         _IO_old_file_init.
17434         (_IO_old_file_init): New externally visible wrapper which disables
17435         vtable verification.
17436         (_IO_old_file_jumps): Define as vtable.
17437         * libio/oldiofdopen.c (_IO_old_fdopen): Call
17438         _IO_old_file_init_internal instead of _IO_old_file_init.
17439         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17440         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17441         (_IO_old_proc_jumps): Define as vtable.
17442         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
17443         Define as vtables.
17444         * libio/vtables.c: New file.
17445         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
17446         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
17447         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
17448         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
17449         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
17450         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
17451         instead of _IO_init.
17453 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17455         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
17457 2016-06-23  Florian Weimer  <fweimer@redhat.com>
17459         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
17460         potentially unused.
17462 2016-06-22  Florian Weimer  <fweimer@redhat.com>
17464         * test-skeleton.c (write_message): New function.
17465         * malloc/tst-mallocfork2.c (write_message): Remove.
17466         * debug/tst-longjmp_chk2.c (write_indented): New function.
17467         (write_message): Remove.
17468         (stackoverflow_handler): Call write_indented.
17470 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
17472         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
17473         "inexact" exceptions after fnstenv.
17474         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17475         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17476         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17478 2015-06-22  Zack Weinberg  <zackw@panix.com>
17480         * sysdeps/generic/bits/hwcap.h: Moved to ...
17481         * bits/hwcap.h: Here.
17483 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
17485         * sysdeps/aarch64/memcpy.S (memcpy):
17486         Further tuning for performance.
17488 2016-06-21  Florian Weimer  <fweimer@redhat.com>
17490         [BZ #20284]
17491         * malloc/arena.c (reused_arena): Do not return NULL if we start
17492         out with a non-corrupted arena.
17494 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17496         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
17497         * misc/tst-preadvwritev.c: New file.
17498         * misc/tst-preadvwritev64.c: Likewise.
17499         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
17500         usage.
17501         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
17502         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
17503         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
17504         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
17506 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
17508         [BZ #19654]
17509         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17510         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
17511         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
17512         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
17513         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
17514         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
17515         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
17516         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
17517         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
17518         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
17519         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
17520         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
17521         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
17522         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
17523         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
17524         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
17525         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
17526         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
17527         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
17528         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
17529         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
17530         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
17531         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
17532         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
17533         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
17534         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
17536 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17538         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
17539         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
17541 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
17543         * sysdeps/aarch64/memcpy.S (memcpy):
17544         Rewrite of optimized memcpy and memmove.
17545         * sysdeps/aarch64/memmove.S (memmove): Remove
17546         memmove code (merged into memcpy.S).
17548 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17550         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
17551         * sysdeps/generic/dl-dtv.h: New file.
17552         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17553         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
17554         (dtv_t): Remove.
17555         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17556         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
17557         (dtv_t): Remove.
17558         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17559         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
17560         (dtv_t): Remove.
17561         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17562         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
17563         (dtv_t): Remove.
17564         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17565         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
17566         (dtv_t): Remove.
17567         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17568         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
17569         (dtv_t): Remove.
17570         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17571         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
17572         (dtv_t): Remove.
17573         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
17574         (dtv_t): Remove.
17575         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17576         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
17577         (dtv_t): Remove.
17578         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17579         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
17580         (dtv_t): Remove.
17581         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17582         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
17583         (dtv_t): Remove.
17584         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17585         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
17586         (dtv_t): Remove.
17587         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17588         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
17589         (dtv_t): Remove.
17590         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17591         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
17592         (dtv_t): Remove.
17593         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17594         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
17595         (dtv_t): Remove.
17596         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
17597         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
17598         (dtv_t): Remove.
17600 2016-06-20  Florian Weimer  <fweimer@redhat.com>
17602         Revert symbol poisoning of  __malloc_initialize_hook.
17603         * include/stdc-predef.h (__malloc_initialize_hook): Remove
17604         poisoning.
17605         * malloc/Makefile: Remove un-poisoning.
17606         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
17607         instead of old__malloc_initialize_hook.
17608         * malloc/malloc-hooks.h: Likewise.
17609         * malloc/malloc.c: Likewise.
17610         * malloc/mcheck-init.c: Likewise.
17612 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
17614         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
17616 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
17618         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
17619         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
17620         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17621         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17623 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17625         * NEWS: Mention addition of nextup and nextdown.
17626         * manual/arith.texi: Document nextup and nextdown.
17627         * manual/libm-err-tab.pl: Add nextup and nextdown.
17628         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
17629         * math/Versions (libm): Add GLIBC_2.24.
17630         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
17631         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17632         Add new test.
17633         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
17634         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
17635         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
17636         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
17637         (nextup_test_data): Likewise.
17638         (nextdown_test_data): Likewise.
17639         * math/s_nextdown.c: New file.
17640         * math/s_nextdownf.c: Likewise.
17641         * math/s_nextdownl.c: Likewise.
17642         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
17643         F(nextup): New function.
17644         F(nextdown): Likewise.
17645         * math/tgmath.h: Add nextup and nextdown.
17646         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
17647         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
17652         Add nextup and nextdown.
17653         (CFLAGS-nldbl-nextup.c): New variable.
17654         (CFLAGS-nldbl-nextdown.c): Likewise.
17655         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
17656         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
17657         * sysdeps/nacl/libm.abilist: Update.
17658         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17659         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17660         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17661         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17662         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17663         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17665         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17666         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17667         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17668         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17669         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17672         Likewise.
17673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17675         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17676         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17677         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17678         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17679         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
17681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
17682         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17683         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17684         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17685         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17687 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17689         * manual/pattern.texi: Fix typos & grammar errors.
17691 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17693         * manual/search.texi: Fix typos & grammar errors.
17695 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17697         * manual/message.texi: Fix typos & grammar errors.
17699 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
17701         * manual/contrib.texi: Fix spelling typos.
17702         * manual/crypt.texi: Likewise.
17703         * manual/filesys.texi: Likewise.
17704         * manual/locale.texi: Likewise.
17705         * manual/message.texi: Likewise.
17706         * manual/nss.texi: Likewise.
17707         * manual/string.texi: Likewise.
17709 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17711         * manual/locale.texi: Fix typos & grammar errors.
17713 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17715         * manual/charset.texi: Fix typos & grammar errors.
17717 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17719         * manual/string.texi: Fix typos.
17721 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17723         * manual/ctype.texi: Fix typos.
17725 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
17727         * manual/memory.texi: Fix various typos & grammar errors.
17729 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
17731         [BZ #20255]
17732         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
17733         * math/libm-test.inc (fdim_test_data): Add another test.
17735         [BZ #6796]
17736         [BZ #20255]
17737         [BZ #20256]
17738         * math/s_fdim.c: Include <math_private.h>.
17739         (__fdim): Use math_narrow_eval on result.
17740         * math/s_fdimf.c: Include <math_private.h>.
17741         (__fdimf): Use math_narrow_eval on result.
17742         * sysdeps/i386/fpu/s_fdim.S: Remove file.
17743         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
17744         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17745         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
17746         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
17747         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
17748         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
17749         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
17750         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
17751         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
17752         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
17753         * math/libm-test.inc (fdim_test_data): Expect errno setting on
17754         overflow.  Add sNaN tests.
17756         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
17757         fpclassify.
17758         * math/s_fdimf.c (__fdimf): Likewise.
17759         * math/s_fdiml.c (__fdiml): Likewise.
17761 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17763         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17764         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
17765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17766         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
17767         ifunc'ed strcasecmp/strncasecmp.
17768         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
17769         [EALIGN]: Removed.
17770         [END]: Likewise.
17771         [__strcasecmp]: Define instead of the above to control symbol name.
17772         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
17773         for __strcasecmp_power8.
17774         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
17775         for __strncasecmp_power8.
17776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
17777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
17778         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
17779         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
17780         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
17781         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
17783 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
17785         [BZ #20252]
17786         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
17787         arguments when second argument is a NaN.
17788         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
17789         qNaN tests.
17791         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
17792         (conj_test_data): Likewise.
17793         (copysign_test_data): Likewise.
17794         (creal_test_data): Likewise.
17795         (fma_test_data): Likewise.
17796         (fmod_test_data): Likewise.
17798         [BZ #20250]
17799         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17800         itself.
17801         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17802         zero input to itself.
17803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17804         Likewise.
17805         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17806         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17807         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17808         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17809         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17811 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17813         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17814         * nptl/tst-cancel4-common.c: New file.
17815         * nptl/tst-cancel4-common.h: Likewise.
17816         * nptl/tst-cancel4.c: Move common definitions to
17817         tst-cancel4-common.{c,h} file.
17818         * nptl/tst-cancel4_1.c: New test.
17819         * nptl/tst-cancel4_2.c: New test.
17821 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17823         [BZ #20248]
17824         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17825         (write_message): New function.
17826         (stackoverflow_handler): Call it instead of printf, to avoid
17827         excessive stack usage by printf.
17828         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17830 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17832         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17833         (prio_inherit_missing): Remove define.
17834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17835         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17836         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17837         Likewise.
17838         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17839         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17840         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17841         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17842         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17843         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17845 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17847         [BZ #19670]
17848         [BZ #19672]
17850         * io/test-lfs.c (do_prepare): Use xmalloc.
17851         * io/tst-fcntl.c (do_prepare): Likewise.
17852         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17853         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17854         * login/tst-utmp.c (do_prepare): Likewise.
17855         * posix/tst-exec.c (do_prepare): Likewise.
17856         * posix/tst-pathconf.c (prepare): Likewise.
17857         * posix/tst-spawn.c (do_prepare): Likewise.
17858         * posix/tst-truncate.c (do_prepare): Likewise.
17859         * rt/tst-aio.c (do_prepare): Likewise.
17860         * rt/tst-aio64.c (do_prepare): Likewise.
17862 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17864         [BZ #20237]
17865         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17866         (get*ent): Set entidx to NULL during initialization.  If entidx is
17867         NULL, start iteration from the beginning.
17869 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17871         * malloc/malloc.c (musable): Return correct size for dumped fake
17872         mmapped chunk.
17874 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17876         [BZ #20222]
17877         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17878         (_IO_cookie_write): Likewise.
17879         (_IO_cookie_seek): Likewise.
17880         (_IO_cookie_close): Likewise.
17881         (_IO_old_cookie_seek): Likewise.
17882         (set_callbacks): New function.
17883         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17885 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17887         * locale/programs/localedef.c (oldstyle_tables): Remove.
17888         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17890 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17892         [BZ #20240]
17893         * math/Makefile (CFLAGS-s_modf.c): New variable.
17894         (CFLAGS-s_modff.c): Likewise.
17895         (CFLAGS-s_modfl.c): Likewise.
17896         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17898 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17900         [BZ #20215]
17901         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17902         [!__GNUC_PREREQ (3,2)]: Likewise.
17904 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17906         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17907         (msghdr.msg_controllen): Likewise.
17908         (cmsghdr.cmsg_len): Likewise.
17909         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17910         ptw-oldsendmsg.
17911         (CFLAGS-oldrecvmsg.c): Remove rule.
17912         (CFLAGS-oldsendmsg.c): Likewise.
17913         (CFLAGS-recvmsg.c): Add rule.
17914         (CFLAGS-sendmsg.c): Likewise.
17915         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17916         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17917         (CFLAGS-recvmsg.c): Remove rule.
17918         (CFLAGS-sendmsg.c): Likewise.
17919         (CFLAGS-oldrecvmsg.c): Likewise.
17920         (CFLAGS-oldsendmsg.c): Likewise.
17921         (CFLAGS-recvmmsg.c): Likewise.
17922         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17923         to kernel defined interfaces.
17924         (msghdr.msg_controllen): Likewise.
17925         (cmsghdr.cmsg_len): Likewise.
17926         (msghdr.__glibc_reserved1): Remove member.
17927         (msghdr.__glibc_reserved2): Likewise.
17928         (cmsghdr.__glibc_reserved1): Likewise.
17929         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17930         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17931         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17932         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17933         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17934         version.
17935         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17936         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17937         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17938         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17939         Remove recvmsg and sendmsg.
17940         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17941         Likewise.
17942         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17943         Likewise.
17944         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17945         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17946         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17947         Likewise.
17948         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17949         Likewise.
17950         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17951         [libc] (GLIBC_2.24): Likewise.
17952         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17953         Likewise.
17954         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17955         Likewise.
17956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17957         [libc] (GLIBC_2.24): Likewise.
17958         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17959         Likewise.
17960         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17961         Likewise.
17962         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17963         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17964         Likewise.
17965         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17966         Likewise.
17967         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17968         Likewise.
17969         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17970         Likewise.
17971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17972         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17973         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17974         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17975         version for {recv,send,recm,sendm}msg.
17976         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17977         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17978         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17979         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17980         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17981         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17982         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17983         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17984         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17985         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17986         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17987         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17989         Likewise.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17991         Likewise.
17992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17994         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17995         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17996         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17997         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17998         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17999         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18002         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18003         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18004         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18006 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18008         [BZ #19564]
18009         Remove __malloc_initialize_hook from the API.
18010         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18011         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18012         #pragma GCC poison.
18013         * malloc/malloc-hooks.h: New file.
18014         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18015         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18016         (old__malloc_initialize_hook): Rename from
18017         __malloc_initialize_hook to evade poisoning.  Turn into compat
18018         symbol.
18019         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18020         __malloc_initialize_hook.
18021         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18022         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18023         * manual/memory.texi (Hooks for Malloc): Remove
18024         __malloc_initialize_hook.  Adjust hook example.
18026 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18028         [BZ #20235]
18029         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18030         itself.
18031         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18032         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18034         [BZ #20234]
18035         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18036         infinity or NaN input to itself.
18038         [BZ #20233]
18039         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18040         to itself.
18042         [BZ #20232]
18043         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18044         itself.
18046 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18048         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18049         __libc_start_main via GOT.
18051 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18053         * sysdeps/x86_64/memcopy.h: New file.
18054         * sysdeps/x86_64/wordcopy.c: Likewise.
18056 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18058         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18059         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18060         <cstdlib>.
18061         (optimization_barrier): New.
18062         (do_test): Use it.  Call quick_exit in the global namespace.
18063         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18064         instead of <cstdlib>, <thread>.
18065         (optimization_barrier): New.
18066         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18067         Call quick_exit in the global namespace.
18068         (do_test): Call optimization_barrier.  Use pthread_create,
18069         pthread_join instead of std::thread.
18071 2016-06-09  Andreas Schwab  <schwab@suse.de>
18073         [BZ #19755]
18074         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18075         new entries in auto-propagate mode.
18076         * nscd/grpcache.c (cache_addgr): Likewise.
18078 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18080         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18081         New functions.
18082         (add_temp_file): Use them.
18084 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18086         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18088 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18090         [BZ #20229]
18091         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18092         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18093         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18095         [BZ #20228]
18096         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18097         itself.
18098         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18099         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18101         [BZ #20227]
18102         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18103         itself.
18104         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18105         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18106         * math/libm-test.inc (log_test_data): Add sNaN tests.
18108         [BZ #20226]
18109         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18110         itself.
18111         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18112         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18113         (exp10_test_data): Likewise.
18114         (expm1_test_data): Likewise.
18116         [BZ #20225]
18117         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18118         itself.
18119         * math/s_ldexpf.c (__ldexpf): Likewise.
18120         * math/s_ldexpl.c (__ldexpl): Likewise.
18121         * math/w_scalbln.c (__w_scalbln): Likewise.
18122         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18123         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18124         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18125         (scalbln_test_data): Likewise.
18127         [BZ #20224]
18128         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18129         argument to itself.
18130         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18132 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18134         [BZ #19776]
18135         * sysdeps/x86_64/memcpy.S: Make it dummy.
18136         * sysdeps/x86_64/mempcpy.S: Likewise.
18137         * sysdeps/x86_64/memmove.S: New file.
18138         * sysdeps/x86_64/memmove_chk.S: Likewise.
18139         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18140         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18141         * sysdeps/x86_64/memmove.c: Removed.
18142         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18143         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18144         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18145         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18146         Likewise.
18147         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18148         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18150         memcpy-sse2-unaligned, memmove-avx-unaligned,
18151         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18152         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18153         (__libc_ifunc_impl_list): Replace
18154         __memmove_chk_avx512_unaligned_2 with
18155         __memmove_chk_avx512_unaligned.  Remove
18156         __memmove_chk_avx_unaligned_2.  Replace
18157         __memmove_chk_sse2_unaligned_2 with
18158         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18159         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18160         with __memmove_avx512_unaligned.  Replace
18161         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18162         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18163         with __memcpy_chk_avx512_unaligned.  Remove
18164         __memcpy_chk_avx_unaligned_2.  Replace
18165         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18166         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18167         Replace __memcpy_avx512_unaligned_2 with
18168         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18169         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18170         with __mempcpy_chk_avx512_unaligned.  Remove
18171         __mempcpy_chk_avx_unaligned_2.  Replace
18172         __mempcpy_chk_sse2_unaligned_2 with
18173         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18174         Replace __mempcpy_avx512_unaligned_2 with
18175         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18176         Replace __mempcpy_sse2_unaligned_2 with
18177         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18178         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18179         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18180         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18181         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18182         (ENTRY): Removed.
18183         (END): Likewise.
18184         (ENTRY_CHK): Likewise.
18185         (libc_hidden_builtin_def): Likewise.
18186         Don't include ../memcpy.S.
18187         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18188         __memcpy_chk_avx512_unaligned_erms and
18189         __memcpy_chk_avx512_unaligned.  Use
18190         __memcpy_chk_avx_unaligned_erms and
18191         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18192         Default to __memcpy_chk_sse2_unaligned.
18193         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18194         Change function suffix from unaligned_2 to unaligned.
18195         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18196         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18197         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18198         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18199         (ENTRY): Removed.
18200         (END): Likewise.
18201         (ENTRY_CHK): Likewise.
18202         (libc_hidden_builtin_def): Likewise.
18203         Don't include ../mempcpy.S.
18204         (mempcpy): New.  Add a weak alias.
18205         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18206         __mempcpy_chk_avx512_unaligned_erms and
18207         __mempcpy_chk_avx512_unaligned.  Use
18208         __mempcpy_chk_avx_unaligned_erms and
18209         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18210         Default to __mempcpy_chk_sse2_unaligned.
18212 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18214         [BZ #19881]
18215         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18216         into ...
18217         * sysdeps/x86_64/memset.S: This.
18218         (__bzero): Removed.
18219         (__memset_tail): Likewise.
18220         (__memset_chk): Likewise.
18221         (memset): Likewise.
18222         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18223         defined.
18224         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18225         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18226         (__memset_zero_constant_len_parameter): Check SHARED instead of
18227         PIC.
18228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18229         memset-avx2 and memset-sse2-unaligned-erms.
18230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18231         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18232         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18233         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18234         (__bzero): Enabled.
18235         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18236         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18237         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18238         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18239         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18240         (memset): Removed.
18241         (__memset_chk): Likewise.
18242         (MEMSET_SYMBOL): New.
18243         (libc_hidden_builtin_def): Replace __memset_sse2 with
18244         __memset_sse2_unaligned.
18245         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18246         __memset_chk_sse2 and __memset_chk_avx2 with
18247         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18248         Use __memset_chk_sse2_unaligned_erms or
18249         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18250         __memset_chk_avx512_unaligned_erms and
18251         __memset_chk_avx512_unaligned.
18253 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18255         * math/gen-auto-libm-test.c (fp_format_desc): remove
18256         suffix member.
18257         (output_generic_value): Remove usage of suffix member,
18258         and the resulting unuse of the fp_format argument.
18259         (output_for_one_input_case): Remove unused fp_format
18260         parameter.
18262         * math/auto-libm-test-out: Regenerate.
18264         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18265         usage with TEST_COND_ibm128.
18266         (TEST_COND_flt_32): Remove.
18267         (TEST_COND_dbl_64): Remove.
18268         (TEST_COND_ldbl_96_intel): Remove.
18269         (TEST_COND_ldbl_96_m68k): Remove.
18270         (TEST_COND_ldbl_128): Remove.
18272 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18274         * auto-libm-test-in:
18275         Replace flt-32 usage with binary32.
18276         Replace dbl-64 usage with binary64.
18277         Replace ldbl-intel-96 usage with intel96.
18278         Replace ldbl-m68k-96 usage with m68k96.
18279         Replace ldbl-128ibm usage with ibm128.
18280         Replace ldbl-128 usage with binary128.
18282         * auto-libm-test-out: Regenerate.
18284 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18286         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18287         (parse_ulps): Dynamically generate type name matching
18288         string from all_floats.
18289         (get_ulps): Generate the ulps as an array instead.
18290         (output_ulps): Dynamically compose the type based
18291         on the number of supported formats, and print
18292         the indices as type specific helper macros.
18294         * math/libm-test.inc: Remove comment about CHOOSE.
18295         (ulp_data): Generate the type in libm-test-ulps.h.
18296         (ULP_IDX): New macro.
18297         (find_ulps): Update usage of max_ulp.
18299         * math/test-double-vlen2.h (CHOOSE): Remove.
18300         * math/test-double-vlen4.h (CHOOSE): Likewise.
18301         * math/test-double-vlen8.h (CHOOSE): Likewise.
18302         * math/test-float.c (CHOOSE): Likewise.
18303         * math/test-float-finite.c (CHOOSE): Likewise.
18304         * math/test-double.c (CHOOSE): Likewise.
18305         * math/test-double-finite.c (CHOOSE): Likewise.
18306         * math/test-idouble.c (CHOOSE): Likewise.
18307         * math/test-ifloat.c (CHOOSE): Likewise.
18308         * math/test-ildoubl.c (CHOOSE): Likewise.
18309         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18310         * math/test-ldouble.c (CHOOSE): Likewise.
18312         * math/test-float.h (TEST_FLOAT): Remove.
18313         * math/test-double.h (TEST_DOUBLE): Likewise.
18314         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18316 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18318         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18319         (parse_args): Strip C suffix from floating point literals
18320         typed with 'f' and wrap them with LIT().
18322         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18323         (test_ff_f_data_nexttoward): Rename to
18324         (test_fj_f_data): New struct.
18325         (nexttoward_test_data): Relabel tests as
18326         TEST_fj_f instead of TEST_ff_f.
18328 2016-06-08  Florian Weimer  <fweimer@redhat.com>
18330         Emacs bug 23726.
18331         * malloc/malloc.c (dumped_main_arena_start): Update comment.
18332         (__libc_realloc): Correct size computation for dumped fake mmapped
18333         chunks.
18335 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
18337         [BZ #20219]
18338         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
18339         to itself.
18340         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
18342         [BZ #20218]
18343         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
18344         to itself.
18345         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
18347 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
18349         [BZ #20195]
18350         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
18351         check to ...
18352         (init_cpu_features): Here.
18354 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
18356         [BZ #20214]
18357         * sysdeps/unix/sysv/linux/bits/in.h
18358         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18359          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
18360         Define to 1.
18361         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
18362          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
18363         Define to 0.
18364         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
18365         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
18367 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
18369         [BZ #20198]
18370         * stdlib/Makefile (tests): Add tst-quick_exit, and
18371         tst-thread-quick_exit.
18372         [ifeq ($(have-cxx-thread_local),yes)]
18373         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
18374         (CFLAGS-tst-thread-quick_exit.o): Likewise.
18375         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
18376         (LDLIBS-tst-thread-quick_exit): Likewise.
18377         [ifneq ($(have-cxx-thread_local),yes)]
18378         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
18379         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
18380         If run_dtors is true call __call_tls_dtors.
18381         (exit): Call __run_exit_handlers with run_dtors set to true.
18382         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
18383         definition.
18384         * stdlib/quick_exit.c (quick_exit): Remove function.
18385         (__new_quick_exit): New function.
18386         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
18387         function.
18388         * stdlib/tst-quick_exit.cc: New file.
18389         * stdlib/tst-thread-quick_exit.cc: New file.
18390         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
18391         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
18392         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
18393         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
18394         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
18395         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
18396         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
18397         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
18398         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
18399         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
18400         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
18401         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
18402         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
18403         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
18404         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
18405         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
18407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
18408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
18409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
18410         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
18411         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
18412         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
18413         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
18414         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
18415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
18416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
18417         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
18418         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
18419         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
18421 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
18423         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
18424         a typo in comments.
18426 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18428         [BZ #20213]
18429         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
18430         argument to itself.
18431         * math/libm-test.inc (asin_test_data): Add sNaN tests.
18433 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18435         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
18436         required flags.
18437         (CFLAGS-pwritev64.c): Likewise.
18438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
18439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
18440         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
18441         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18442         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
18443         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
18444         syscall from auto-generation.
18445         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
18446         [WORDSIZE == 64] (pwritev64): Remove macro.
18447         [!PWRITEV] (PWRITEV): Likewise.
18448         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18449         [!PWRITEV] (PWRITE): Likewise.
18450         [!PWRITEV] (OFF_T): Likewise.
18451         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
18452         (LO_HI_LONG): Remove macro.
18453         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
18454         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
18455         (PWRITEV): Remove macro.
18456         (PWRITEV_REPLACEMENTE): Likewise.
18457         (PWRITE): Likewise.
18458         (OFF_T): Likewise.
18459         (pwritev64): New function.
18460         * nptl/tst-cancel4.c (tf_writev): Add test.
18462         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
18463         required flags.
18464         (CFLAGS-preadv64.c): Likewise.
18465         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
18466         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
18467         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
18468         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
18469         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
18470         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
18471         syscall from auto-generation.
18472         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
18473         [WORDSIZE == 64] (preadv64): Remove macro.
18474         [!PREADV] (PREADV): Likewise.
18475         [!PREADV] (PREADV_REPLACEMENT): Likewise.
18476         [!PREADV] (PREAD): Likewise.
18477         [!PREADV] (OFF_T): Likewise.
18478         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
18479         (LO_HI_LONG): Remove macro.
18480         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
18481         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
18482         (PREADV): Remove macro.
18483         (PREADV_REPLACEMENTE): Likewise.
18484         (PREAD): Likewise.
18485         (OFF_T): Likewise.
18486         (preadv64): New function.
18487         * nptl/tst-cancel4.c (tf_preadv): Add test.
18489 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
18491         [BZ #20212]
18492         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
18493         argument to itself.
18494         * math/libm-test.inc (acos_test_data): Add sNaN tests.
18496 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18498         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
18499         New symbol defined as libc_hidden_def.
18500         (strcasestr): Became a weak alias to __strcasestr.
18501         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
18502         according to multi-arch support.  Move __stpncpy hidden
18503         definition from here to...
18504         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
18505         symbol stpncpy.
18506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
18507         libc_hidden_builtin_def.
18508         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
18509         memset symbol to use when multi-arch support is available.
18511 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18513         * dlfcn/tst-rec-dlopen.c: Include string.h.
18515 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18517         * manual/install.texi: Remove mention of --without-tls
18518         * INSTALL: Regenerate.
18520 2016-06-05  Florian Weimer  <fweimer@redhat.com>
18522         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
18523         Remove.
18524         (call_function, interposed_malloc_called): New variables.
18525         (malloc): New function.
18526         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
18527         and clear call_function as needed.
18529 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
18531         * include/wchar.h (__wmemset): Use __typeof.
18533 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
18535         * include/wchar.h (__wmemset): Declare function without typeof.
18537 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
18539         [BZ #20205]
18540         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
18541         exponent when incrementing negative subnormal with low mantissa
18542         word zero.
18543         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18544         Add another test.
18546 2016-06-03  Florian Weimer  <fweimer@redhat.com>
18548         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
18549         __wmemset instead of wmemset.
18551 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
18553         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
18554         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
18555         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
18556         __USE_KERNEL_IPV6_DEFS to 0.
18557         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
18558         Update comment.
18560 2016-06-01  Florian Weimer  <fweimer@redhat.com>
18562         [BZ #19861]
18563         Do not use IFUNC resolver with potentially unrelocated symbol.
18564         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
18565         (DEFINE_FORK): Remove macro and inline definition.
18566         (fork_alias): Renamed from fork_ifunc.
18567         (__fork_alias): Renamed from __fork_ifunc.
18569 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
18571         [BZ 19653]
18572         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
18573         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
18575 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18577         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
18578         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
18579         i386-linux-gnu).
18580         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
18581         Set to no.
18582         * sysdeps/mach/hurd/configure: Refresh.
18584 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18586         [BZ #20178]
18587         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
18588         on failure instead of exit.
18590 2016-05-30  Roland McGrath  <roland@hack.frob.com>
18592         [BZ #3629]
18593         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
18594         of POSIX.1-2008.
18596 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18598         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
18599           Use PLT entry for calling _hurd_self_sigstate.
18601 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
18603         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
18604         available logical processors with SMT level type sharing L2
18605         cache for Intel processors.
18607 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18609         [BZ #20160]
18610         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
18611         argument to itself before returning the result.
18612         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18613         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18614         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18616         Likewise.
18617         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18618         Likewise.
18619         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
18620         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
18621         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18622         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18623         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18624         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18626         [BZ #20160]
18627         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
18628         argument to itself before returning the result.
18629         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18630         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18631         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18632         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
18633         Likewise.
18634         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18635         Likewise.
18636         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
18637         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
18638         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
18639         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18640         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18641         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18643 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18645         * libm-test.inc: Replace usage of M_El with
18646         (lit_e): New macro.
18648 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18650         * libm-test.inc: Replace usage of M_PI_4l with
18651         (lit_pi_4_d): New macro.
18653 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18655         * libm-test.inc: Replace usage of M_PIl with
18656         (lit_pi): New macro.
18658 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18660         * libm-test.inc: Replace usage of M_PI2l with
18661         (lit_pi_2_d): New macro.
18663         * math/test-double.h (LITM): New macro.
18664         * math/test-float.h (LITM): Likewise.
18665         * math/test-ldouble.h (LITM): Likewise.
18667 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18669         * libm-test.inc (M_PI_34l): Rename to
18670         (lit_pi_3_m_4_d): New Macro.
18671         (M_PI_34_LOG10El): Rename to
18672         (lit_pi_3_m_4_ln10_m_d): New Macro.
18673         (M_PI2_LOG10El): Rename to
18674         (lit_pi_2_ln10_m_d):  New Macro.
18675         (M_PI4_LOG10El): Rename to
18676         (lit_pi_4_ln10_m_d):  New Macro.
18677         (M_PI_LOG10El): Rename to
18678         (lit_pi_ln10_d):  New Macro.
18680 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18682         [BZ #20157]
18683         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18684         determine whether to negate low half if [_ARCH_PPCGR], and integer
18685         comparison otherwise.
18686         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
18687         determine whether to negate low half.
18689         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
18690         (NO_TEST_INLINE_DOUBLE): Likewise.
18691         (TEST_COND_x86_64): Likewise.
18692         (TEST_COND_x86): Likewise.
18693         (M_PI_6l): Likewise.
18695 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18697         * math/libm-test.inc:
18698         (TEST_FLOAT): Change usage to TEST_COND_binary32.
18699         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
18700         (TEST_LDOUBLE): Update usage to evaluate as true if
18701         the guarded tests match the property being tested.
18702         (LDBL_MAX_EXP): Change to MAX_EXP.
18703         (LDBL_MIN_EXP): Change to MIN_EXP.
18704         (LDBL_MANT_DIG): Change to MANT_DIG, except for
18705         nexttoward tests.
18707 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18709         * math/libm-test.inc:
18710         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
18711         (TYPE_MIN): Likewise.
18712         (TYPE_TRUE_MIN): Likewise.
18713         (TYPE_MAX): Likewise.
18714         (MIN_EXP): Likewise.
18715         (MAX_EXP): Likewise.
18716         (MANT_DIG): Likewise.
18718         (FSTR_MAX): New macro.
18719         (__CONCATX): Likewise.
18720         (QTYPE_STR): Likewise.
18721         (TEST_COND_binary32): Likewise.
18722         (TEST_COND_binary64): Likewise.
18723         (TEST_COND_binary128): Likewise.
18724         (TEST_COND_ibm128): Likewise.
18725         (TEST_COND_intel96): Likewise.
18726         (TEST_COND_m68k96): Likewise.
18728         (TEST_COND_flt_32): Redefine as equivalent format test macro.
18729         (TEST_COND_dbl_64): Likewise.
18730         (TEST_COND_ldbl_96_intel): Likewise.
18731         (TEST_COND_ldbl_96_m68k): Likewise.
18732         (TEST_COND_ldbl_128): Likewise.
18733         (TEST_COND_ldbl_128ibm): Likewise.
18735         (plus_zero): Redefine using LIT macro.
18736         (minus_zero): Likewise.
18737         (plus_infty): Redefine as (INF).
18738         (minux_infty): Redefine as (-INF).
18739         (max_value): Redefine as TYPE_MAX.
18740         (min_value): Redefine as TYPE_MIN.
18741         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
18743         (print_float): Refactor to use snprintf to convert FLOAT values
18744         to string. This brings it closer to dropin replacement of strtof
18745         for the TS 18661 defined types.
18746         (update_stats): Likewise.
18747         (print_complex_function_ulps): Likewise.
18748         (print_max_error): Likewise.
18749         (print_complex_max_error): Likewise.
18750         (check_float_internal): Likewise.
18752         * math/test-float.h (PREFIX): New macro.
18753         (LIT): Likewise.
18754         (TYPE_STR): Likewise.
18755         (FTOSTR): Likewise.
18757         * math/test-double.h (PREFIX): New macro.
18758         (LIT): Likewise.
18759         (TYPE_STR): Likewise.
18760         (FTOSTR): Likewise.
18762         * math/test-ldouble.h (PREFIX): New macro.
18763         (LIT): Likewise.
18764         (TYPE_STR): Likewise.
18765         (FTOSTR): Likewise.
18767 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
18769         [BZ #20156]
18770         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
18771         to itself when zero or not finite.
18772         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
18773         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18774         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
18775         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
18777 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
18779         [BZ #20153]
18780         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
18781         x * x + x for infinities and NaNs.
18783         [BZ #20151]
18784         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
18785         argument to itself before returning result.
18786         (__ieee754_y0l): Likewise.
18787         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18788         (__ieee754_y1l).
18790         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
18791         (atan_test_data): Likewise.
18792         (ceil_test_data): Likewise.
18793         (cos_test_data): Likewise.
18794         (cosh_test_data): Likewise.
18795         (erf_test_data): Likewise.
18796         (exp2_test_data): Likewise.
18797         (fabs_test_data): Likewise.
18798         (floor_test_data): Likewise.
18799         (ilogb_test_data): Likewise.
18800         (j0_test_data): Likewise.
18801         (j1_test_data): Likewise.
18802         (jn_test_data): Likewise.
18803         (lgamma_test_data): Likewise.
18804         (lrint_test_data): Likewise.
18805         (llrint_test_data): Likewise.
18806         (logb_test_data): Likewise.
18807         (lround_test_data): Likewise.
18808         (llround_test_data): Likewise.
18809         (nearbyint_test_data): Likewise.
18810         (rint_test_data): Likewise.
18811         (round_test_data): Likewise.
18812         (sin_test_data): Likewise.
18813         (sincos_test_data): Likewise.
18814         (sinh_test_data): Likewise.
18815         (sqrt_test_data): Likewise.
18816         (tan_test_data): Likewise.
18817         (tanh_test_data): Likewise.
18818         (tgamma_test_data): Likewise.
18819         (trunc_test_data): Likewise.
18820         (y0_test_data): Likewise.
18821         (y1_test_data): Likewise.
18822         (yn_test_data): Likewise.
18824         * math/libm-test.inc: Update comment about NaN testing.
18825         (TEST_SNAN): New macro.
18826         (snan_value): Likewise.
18827         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18828         (fpclassify_test_data): Add sNaN tests.
18829         (isfinite_test_data): Likewise.
18830         (isinf_test_data): Likewise.
18831         (isnan_test_data): Likewise.
18832         (isnormal_test_data): Likewise.
18833         (issignaling_test_data): Likewise.
18834         (signbit_test_data): Likewise.
18835         * math/gen-libm-test.pl (%beautify): Add snan_value.
18836         (show_exceptions): Add argument $test_snan.
18837         (parse_args): Handle snan_value as non-finite.  Update call to
18838         show_exceptions.
18839         * math/Makefile (libm-test-no-inline-cflags): Add
18840         -fsignaling-nans.
18842 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18844         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18845         (CFLAGS-oldsendmsg.c): Add rule.
18846         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18847         Correct recvmsg symbol name.
18848         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18849         Likewise.
18851 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18853         * sysdeps/unix/sysv/linux/Makefile
18854         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18855         oldsendmmsg.
18856         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18857         sendmmsg.
18858         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18859         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18860         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18861         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18863         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18864         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18868         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18869         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18870         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18871         iovlen and controllen fields to adjust to POSIX specification.
18872         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18874         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18875         and change to correct expected type.
18876         (msghdr.msg_controllen): Likewise.
18877         (cmsghdr.cmsg_len): Likewise.
18878         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18879         expected POSIX assumption about the size.
18880         (msghdr.msg_controllen): Likewise.
18881         (msghdr.__glibc_reserved1): Likewise.
18882         (msghdr.__glibc_reserved2): Likewise.
18883         (cmsghdr.cmsg_len): Likewise.
18884         (cmsghdr.__glibc_reserved1): Likewise.
18885         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18886         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18887         (CFLAGS-sendmsg.c): Remove rule.
18888         (CFLAGS-recvmsg.c): Likewise.
18889         (CFLAGS-oldsendmsg.c): Add rule.
18890         (CFLAGS-oldrecvmsg.c): Likewise.
18891         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18892         recvmsg and sendmsg.
18893         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18894         Likewise.
18895         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18896         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18897         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18898         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18899         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18900         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18901         Likewise.
18902         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18903         Likewise.
18904         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18905         Likewise.
18906         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18907         Likewise.
18908         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18909         Likewise.
18910         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18911         Likewise.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18913         (GLIBC_2.24): Likewise.
18914         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18915         Likewise.
18916         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18917         Likewise.
18918         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18919         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18920         Likewise.
18921         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18922         Likewise.
18923         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18924         Likewise.
18925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18926         (GLIBC_2.24): Likewise.
18927         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18928         Likewise.
18929         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18930         Likewise.
18931         * sysdeps/unix/sysv/linux/Makefile
18932         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18933         (CFLAGS-sendmsg.c): Add rule.
18934         (CFLAGS-recvmsg.c): Likewise.
18935         (CFLAGS-oldsendmsg.c): Likewise.
18936         (CFLAGS-oldrecvmsg.c): Likewise.
18937         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18938         initialization.
18939         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18940         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18941         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18942         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18943         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18944         iovlen and controllen fields to adjust to POSIX specification.
18945         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18946         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18947         added recvmsg and sendmsg.
18948         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18949         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18950         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18951         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18952         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18953         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18954         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18955         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18956         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18957         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18958         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18959         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18961         Likewise.
18962         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18964         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18965         Likewise.
18966         Likewise.
18967         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18968         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18969         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18970         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18971         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18972         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18974         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18976         Likewise.
18977         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18978         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18980         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18981         from auto-generation.
18982         (sendmsg): Likewise.
18983         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18984         (sendmsg): Likewise.
18985         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18986         (sendmsg): Likewise.
18987         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18988         (sendmsg): Likewise.
18989         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18990         (sendmsg): Likewise.
18991         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18992         (sendmsg): Likewise.
18993         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18994         Likewise.
18995         (sendmsg): Likewise.
18996         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18997         (sendmsg): Likewise.
18998         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19000         Remove.
19001         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19002         Likewise.
19003         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19004         Undefine.
19005         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19006         Likewise.
19007         * sysdeps/unix/sysv/linux/kernel-features.h
19008         (__ASSUME_SENDMSG_SYSCALL): Define.
19009         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19010         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19011         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19012         Remove.
19013         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19014         Likewise.
19015         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19016         Undefine.
19017         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19018         Likewise.
19019         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19020         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19021         Remove.
19022         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19023         Likewise.
19024         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19025         Undefine.
19026         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19027         Likewise.
19028         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19029         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19030         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19031         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19032         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19033         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19034         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19035         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19036         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19038 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19040         * stdlib/gen-tst-strtod-round.c: Add backslash to
19041         compile command in comment.
19042         (printfp): Remove the literal suffix, and define an infinite
19043         value as INF to avoid expansion clash with INFINITY.
19044         (round_str): Remove the literal suffix.
19045         (round_for_all): Likewise, remove the now duplicate ldbl-64
19046         entry, and remove some magic constants.
19048         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19049         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19050         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19051         (_CONCAT): New macro.
19052         (CONCAT): Likewise.
19053         (CHOOSE_ld): Likewise.
19054         (CHOOSE_f): Likewise.
19055         (CHOOSE_d): Likewise.
19056         (FTYPE_MEMBER): Likewise.
19057         (BOOL_MEMBER): Likewise.
19058         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19059         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19060         (_XNTRY): Likewise.
19061         (XNTRY): Likewise.
19062         (_ENTRY): Likewise.
19063         (ENTRY): Likewise.
19064         (test_exactness): Generate members via macro.
19065         (test_results): Likewise.
19066         (test): Update members.
19067         (TEST): Redefine using new macros.
19068         (INF): New macro.
19069         (fetestmodes): New structure.
19070         (do_test): Refactor to be type generic.
19071         (test_in_one_mode): Refactor duplicate code into
19072         (GEN_ONE_TEST): New macro.
19074         * stdlib/tst-strtod-round-data.h: Regenerate.
19076         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19077         Extend to pass additional arbitrary parameters to
19078         generators.
19080 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19082         [BZ #15479]
19083         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19084         floating-point state after first floating-point operation on
19085         input.  Restore full floating-point state instead of just rounding
19086         mode.
19087         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19088         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19089         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19090         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19091         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19093         [BZ #15479]
19094         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19095         floating-point state after first floating-point operation on
19096         input.  Restore full floating-point state instead of just rounding
19097         mode.
19098         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19099         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19100         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19101         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19102         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19104 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19106         [BZ #19727]
19107         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19108         valid high surrogate.
19109         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19110         of an utf16 surrogate.
19111         * iconv/gconv_simple.c (BODY): Likewise.
19112         * iconvdata/bug-iconv12.c: New file.
19113         * iconvdata/Makefile (tests): Add bug-iconv12.
19115 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19117         [BZ #19726]
19118         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19119         outptrp in case of an illegal input.
19120         * iconv/tst-iconv6.c: New file.
19121         * iconv/Makefile (tests): Add tst-iconv6.
19123 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19125         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19126         an error in case of a value in range of an utf16 low surrogate.
19128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19130         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19131         an error in case of a value in range of an utf16 low surrogate.
19133 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19135         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19136         Move to ...
19137         * sysdeps/s390/Makefile: ... here.
19138         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19139         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19140         (BRANCH_ON_COUNT): New define.
19141         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19142         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19143         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19144         run on s390-32, too.
19145         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19146         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19147         run on s390-32, too.
19148         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19149         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19150         run on s390-32, too.
19152 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19154         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19155         etf3eh or new vector loop-variant.
19157 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19159         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19160         etf3eh or new vector loop-variant.
19162 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19164         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19165         or new vector loop-variant.
19167 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19169         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19170         Rename to TR_LOOP and usage of tr instead of troo instruction.
19172 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19174         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19175         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19177 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19179         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19180         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19181         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19182         New override define.
19183         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19185 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19187         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19188         * sysdeps/s390/configure.ac: Add test for S390 vector register
19189         support in gcc.
19190         * sysdeps/s390/configure: Regenerated.
19192 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19194         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19195         Install file from $(objpfx)gconv-modules.
19196         ($(objpfx)gconv-modules): Concatenate architecture specific file
19197         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19198         * sysdeps/s390/gconv-modules: New file.
19199         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19200         Deleted.
19201         ($(objpfx)gconv-modules-s390): Deleted.
19202         (sysdeps-gconv-modules): New variable.
19204 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19206         [BZ #15479]
19207         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19208         of immediate operand to rounding instruction.
19209         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19210         Likewise.
19211         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19212         Likewise.
19213         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19214         Likewise.
19216 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19218         * math/libm-test.inc (MIN_EXP): Directly define as
19219         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19221 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19223         * math/libm-test.inc (MANT_DIG): Directly define as
19224         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19226 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19228         * stdlib/gen-tst-strtod-round.c (main):
19229           Change usage to more closely match the generated
19230           output.  Add usage and compilation instructions.
19231           (string_to_fp): Add and use FILE* parameter as
19232           output target.
19233           (print_fp): Likewise.
19234           (round_str): Likewise.
19235           (round_for_all): Likewise.
19236         * stdlib/tst-strtod-round.c (tests): Move into
19237         * stdlib/tst-strtod-round-data.h: New file.
19239 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19241         [BZ #15479]
19242         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19243         (__round): Do not force "inexact" exception.
19244         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19245         variable.
19246         (__round): Do not force "inexact" exception.
19247         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19248         (__roundf): Do not force "inexact" exception.
19249         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19250         (__roundl): Do not force "inexact" exception.
19251         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19252         (__roundl): Do not force "inexact" exception.
19253         * math/libm-test.inc (round_test_data): Do not allow spurious
19254         "inexact" exceptions.
19256         [BZ #15479]
19257         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19258         exception in comment.
19259         (huge): Remove variable.
19260         (__floor): Do not force "inexact" exception.
19261         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19262         "inexact" exception in comment.
19263         (huge): Remove variable.
19264         (__floor): Do not force "inexact" exception.
19265         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19266         exception in comment.
19267         (huge): Remove variable.
19268         (__floorf): Do not force "inexact" exception.
19269         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19270         exception in comment.
19271         (huge): Remove variable.
19272         (__floorl): Do not force "inexact" exception.
19274         [BZ #15479]
19275         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19276         exception in comment.
19277         (huge): Remove variable.
19278         (__ceil): Do not force "inexact" exception.
19279         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19280         "inexact" exception in comment.
19281         (huge): Remove variable.
19282         (__ceil): Do not force "inexact" exception.
19283         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19284         (__ceilf): Do not force "inexact" exception.
19285         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19286         exception in comment.
19287         (huge): Remove variable.
19288         (__ceill): Do not force "inexact" exception.
19290 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19292         * config.h.in (BIND_NOW): New.
19293         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19294         * configure: Regenerated.
19295         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19296         indirect branch via the GOT slot.
19298 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19300         [BZ #19765]
19301         * sysdeps/s390/mempcpy.S: New File.
19302         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19304         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19305         Add mempcpy variants.
19306         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19307         (memcpy): Adjust to be usable from mempcpy entry point.
19308         (__memcpy_mvcle): Likewise.
19309         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19310         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19311         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19312         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19313         (__memcpy_z10): Likewise.
19314         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19316 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19318         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19319         Remove __GI_ symbol.
19320         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19321         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19322         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19323         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19324         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19325         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19327 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19329         * sysdeps/s390/s390-64/memcpy.S (memcpy):
19330         Use cghi instead of chi to compare 64bit value.
19332 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19334         * sysdeps/s390/s390-32/memcpy.S (memcpy):
19335         Jump to 1MB check before executing mvc-loop.
19337 2016-05-24  Florian Weimer  <fweimer@redhat.com>
19339         [BZ #6527]
19340         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
19341         unconditionally.
19342         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
19344 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19346         * stdlib/tst-strtod6.c (do_test): Use new type generic
19347         invocation of the test function.
19348         (test): Refactor into ...
19349         (TEST_STRTOD): New macro base function.
19351 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19353         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
19354         (TEST_STRTOD): New macro.
19355         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
19357 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19359         * stdlib/tst-strtod6.c (do_test): Use new type generic
19360         invocation of the test function.
19361         (test): Refactor into ...
19362         (TEST_STRTOD): New macro base function.
19364 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19366         CVE-2016-4429
19367         [BZ #20112]
19368         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
19369         payload.
19371 2016-05-23  Florian Weimer  <fweimer@redhat.com>
19373         [BZ #20111]
19374         * bits/sockaddr.h (_SS_SIZE): Define.
19375         * bits/socket.h (_SS_SIZE): Remove.
19376         (_SS_PADSIZE): Adjust to account for all padding.
19377         (struct sockaddr_storage): Update comment.  Avoid implicit
19378         padding.
19379         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
19380         (_SS_PADSIZE): Adjust to account for all padding.
19381         (struct sockaddr_storage): Update comment.  Avoid implicit
19382         padding.
19383         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
19384         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
19385         (_SS_PADSIZE): Adjust to account for all padding.
19386         (struct sockaddr_storage): Update comment.  Avoid implicit
19387         padding.
19388         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
19389         __SS_SIZE is 126 in this version.
19390         * inet/tst-sockaddr.c: New file.
19391         * inet/Makefile (tests): Add tst-sockaddr.c
19392         (tst-sockaddr.c): Compile with non-strict aliasing.
19394 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
19396         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
19397         [XPG3 || XPG4].
19398         (NL_ARGMAX): Also expect for [XPG3].
19399         (NL_LANGMAX): Likewise.
19400         (NL_MSGMAX): Likewise.
19401         (NL_NMAX): Likewise.
19402         (NL_SETMAX): Likewise.
19403         (NL_TEXTMAX): Likewise.
19404         (NZERO): Likewise.
19405         (TMP_MAX): Likewise.
19406         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
19407         variable.
19409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
19410         (PF_MAX): Update value.
19411         (AF_KCM): New macro.
19412         (SOL_NETBEUI): Likewise.
19413         (SOL_LLC): Likewise.
19414         (SOL_DCCP): Likewise.
19415         (SOL_NETLINK): Likewise.
19416         (SOL_TIPC): Likewise.
19417         (SOL_RXRPC): Likewise.
19418         (SOL_PPPOL2TP): Likewise.
19419         (SOL_BLUETOOTH): Likewise.
19420         (SOL_PNPIPE): Likewise.
19421         (SOL_RDS): Likewise.
19422         (SOL_IUCV): Likewise.
19423         (SOL_CAIF): Likewise.
19424         (SOL_ALG): Likewise.
19425         (SOL_NFC): Likewise.
19426         (SOL_KCM): Likewise.
19427         (MSG_BATCH): New enum value and macro.
19429 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
19431         [BZ #18185]
19432         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
19433         sharing L2 cache to 2 for Knights Landing.
19435 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
19437         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
19438         (FTW_DP): Do not expect for [XPG3 || XPG4].
19439         (FTW_SL): Do not expect for [XPG3].
19440         (FTW_SLN): Likewise.
19441         (FTW_PHYS): Likewise.
19442         (FTW_MOUNT): Likewise.
19443         (FTW_DEPTH): Likewise.
19444         (FTW_CHDIR): Likewise.
19445         (nftw): Likewise.
19446         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
19447         variable.
19449 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19451         * manual/errno.texi: Fix various typos & grammar errors.
19453 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
19455         * manual/intro.texi: Fix duplicated typo.
19457 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #13304]
19460         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
19461         <float.h>, <math_private.h> and <stdlib.h>.
19462         (add_split): New function.
19463         (mul_split): Likewise.
19464         (ext_val): New typedef.
19465         (store_ext_val): New function.
19466         (mul_ext_val): New function.
19467         (compare): New function.
19468         (add_split_ext): New function.
19469         (__fmal): After checking for Inf, NaN and zero, compute result as
19470         an exact sum of scaled double values in round-to-nearest before
19471         adding those up and adjusting for other rounding modes.
19472         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
19473         tests of fma.
19474         * math/auto-libm-test-out: Regenerated.
19476 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19478         [BZ #20119]
19479         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
19480         processor level type mask for CPUID with EAX == 11.
19482 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19484         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
19485         logical threads if the HTT bit is 0.
19486         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
19487         (index_cpu_HTT): Likewise.
19488         (reg_HTT): Likewise.
19490 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
19492         [BZ #20115]
19493         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
19494         Remove alignments on jump targets.
19496 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
19498         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
19499         (getpwent): Likewise.
19500         (setpwent): Likewise.
19501         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
19502         variable.
19504         * conform/data/search.h-data (insque): Do not expect for [XPG3].
19505         (remque): Likewise.
19506         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
19507         variable.
19509 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19511         * math/libm-test.inc: Update comment not to refer to signs of NaNs
19512         not being tested.
19514 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19517         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
19518         call.
19519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19520         (__condvar_cleanup1): Likewise.
19522 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19524         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
19525         New
19526         (__pthread_unwind): Renamed to ...
19527         (PTHREAD_UNWIND): This.
19528         (__pthread_enable_asynccancel): Replace
19529         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
19531 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
19533         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
19534         (CLONE_NEWCGROUP): New macro.
19536         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
19537         (Q_GETNEXTQUOTA): New macro.
19539 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
19541         [BZ #19907]
19542         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
19543         buffer updated by the previous run.
19544         * string/test-memcpy.c (do_one_test): Likewise.
19545         * benchtests/bench-memmove.c (do_one_test): Add a comment.
19546         * string/test-memmove.c (do_one_test): Likewise.
19548 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
19550         [BZ #20094]
19551         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
19552         not [__USE_XOPEN].
19553         (unlockpt): Likewise.
19554         (ptsname): Likewise.
19555         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
19556         variable.
19558         [BZ #20076]
19559         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
19560         instead of [__USE_UNIX98].
19561         (S_ISSOCK): Likewise.
19562         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
19563         variable.
19565         [BZ #20074]
19566         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
19567         [__USE_POSIX].
19568         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
19569         variable.
19571         [BZ #20051]
19572         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
19573         (ttyslot): Do not declare.
19574         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
19575         (ttyslot): New prototype.
19576         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
19577         variable.
19578         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19580 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19582         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
19584 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19586         Fix race condition in tst-mallocfork2, use fewer resources.
19587         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
19588         to current process group.
19589         (signal_sender): Yield in the non-sleeping case.
19591 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
19593         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
19594         (ecvt): Likewise.
19595         (fcvt): Likewise.
19596         (gcvt): Likewise.
19597         (getsubopt): Likewise.
19598         (grantpt): Likewise.
19599         (initstate): Likewise.
19600         (l64a): Likewise.
19601         (mktemp): Likewise.
19602         (mkstemp): Likewise.
19603         (ptsname): Likewise.
19604         (random): Likewise.
19605         (realpath): Likewise.
19606         (setstate): Likewise.
19607         (srandom): Likewise.
19608         (ttyslot): Likewise.
19609         (unlockpt): Likewise.
19610         (valloc): Likewise.
19612         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
19613         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
19614         variable.
19616 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19618         [BZ #20072]
19619         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
19620         init_cpu_features only if SHARED is defined.
19621         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
19623 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19625         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
19626         non-inclusive caches on Intel processors.
19628 2016-05-13  Florian Weimer  <fweimer@redhat.com>
19630         * malloc/malloc.c (dumped_main_arena_start)
19631         (dumped_main_arena_end): New variables.
19632         (DUMPED_MAIN_ARENA_CHUNK): New macro.
19633         (do_check_chunk): Skip dumped fake mmapped chunks.
19634         (munmap_chunk): Likewise.
19635         (__libc_free): Do not adjust statistics for fake mmapped chunks.
19636         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
19637         mmapped chunks.
19638         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
19639         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
19640         and dumped_main_arena_end to cover the dumped heap.
19642 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
19644         * conform/data/time.h-data (getdate_err): Do not expect for
19645         [XPG3].
19646         (getdate): Likewise.
19647         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
19648         variable.
19650         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
19651         (F_ULOCK): Likewise.
19652         (F_TEST): Likewise.
19653         (F_TLOCK): Likewise.
19654         (useconds_t): Likewise.
19655         (intptr_t): Do not expect for [XPG3] or [XPG4].
19656         (brk): Do not expect for [XPG3]
19657         (fchown): Likewise.
19658         (fchdir): Likewise.
19659         (ftruncate): Likewise.
19660         (getdtablesize): Likewise.
19661         (gethostid): Likewise.
19662         (getpagesize): Likewise.
19663         (getpgid): Likewise.
19664         (getsid): Likewise.
19665         (getwd): Likewise.
19666         (lchown): Likewise.
19667         (lockf): Likewise.
19668         (readlink): Likewise.
19669         (sbrk): Likewise.
19670         (setpgrp): Likewise.
19671         (setregid): Likewise.
19672         (setreuid): Likewise.
19673         (symlink): Likewise.
19674         (sync): Likewise.
19675         (truncate): Likewise.
19676         (ualarm): Likewise.
19677         (usleep): Likewise.
19678         (vfork): Likewise.
19679         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
19680         variable.
19682         [BZ #20054]
19683         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
19684         not [__USE_UNIX98].
19685         * conform/data/unistd.h-data (gethostname): Do not expect for
19686         [XPG3].
19688         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
19689         [!POSIX] (S_IFBLK): Likewise.
19690         [!POSIX] (S_IFCHR): Likewise.
19691         [!POSIX] (S_IFIFO): Likewise.
19692         [!POSIX] (S_IFREG): Likewise.
19693         [!POSIX] (S_IFDIR): Likewise.
19694         [!POSIX] (S_IFLNK): Likewise.
19695         [!POSIX] (S_IFSOCK): Likewise.
19696         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
19697         variable.
19698         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19700 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
19702         * sysdeps/aarch64/memset.S (__memset):
19703         Rewrite of optimized memset.
19705 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19707         [BZ #19703]
19708         Partially async-signal-safe fork for single-threaded processes.
19709         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
19710         variable.  Do not acquire and reset/release malloc and libio locks
19711         in single-threaded processes.
19712         * malloc/tst-mallocfork2.c: New file.
19713         * malloc/Makefile (tests): Add it.
19715 2016-05-12  Florian Weimer  <fweimer@redhat.com>
19717         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
19718         argument.  Use scratch buffer instead of extend_alloca.
19719         (gethosts): Use scratch buffer instead of extend_alloca.
19720         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
19721         extend_alloca.
19722         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
19724 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
19726         [BZ #20055]
19727         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
19728         instead of [__USE_UNIX98].
19729         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
19730         [__USE_UNIX98].
19731         * conform/data/termios.h-data (tcgetsid): Do not expect for
19732         [XPG3].
19733         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
19734         variable.
19735         (test-xfail-XPG4/termios.h/conform): Likewise.
19737 2016-05-11  Florian Weimer  <fweimer@redhat.com>
19739         Do not use mcheck in localedef.
19740         * locale/programs/localedef.c (turn_on_mcheck)
19741         (__malloc_initialize_hook): Remove.
19743 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19745         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
19746         * sysdeps/s390/s390-64/Makefile: Likewise.
19748 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19750         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
19751         Remove ifunc-defines.sym.
19752         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
19753         Likewise.
19754         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
19755         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19756         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
19757         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
19758         rtld-global-offsets.sym.
19759         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
19760         * sysdeps/x86/cpu-features-offsets.sym: This.
19761         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
19762         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
19764 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
19766         [BZ #20073]
19767         * io/sys/stat.h (fchmod): Declare for
19768         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
19769         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
19770         variable.
19772         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
19773         [XPG3] (S_IFSOCK): Likewise.
19774         [XPG3] (S_ISVTX): Likewise.
19775         [XPG3] (S_ISLNK): Likewise.
19776         [XPG3] (S_ISSOCK): Likewise.
19777         [XPG3] (fchmod): Likewise.
19778         [XPG3] (lstat): Likewise.
19779         [XPG3] (mknod): Likewise.
19781         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
19782         [XPG3].  Expect type long and XFAIL for [XPG4].
19783         (st_blocks): Likewise.
19785         [BZ #20044]
19786         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
19787         (pthread_atfork): New prototype.
19788         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
19789         variable.
19791         [BZ #20043]
19792         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
19793         prototype.
19795 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19797         [BZ #20017]
19798         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19799         gmtime.
19801 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19803         [BZ #19994]
19804         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19805         flag in _res.options.
19807 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19809         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19810         [XPG3 || XPG4].
19811         (blksize_t): Likewise.
19812         (clockid_t): Likewise.
19813         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19814         variable.
19815         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19817 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19819         * sysdeps/unix/sysv/linux/s390/init-first.c:
19820         Add VDSO_SYMBOL(getcpu).
19821         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19822         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19823         Add VDSO_SYMBOL(getcpu).
19824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19825         New define HAVE_GETCPU_VSYSCALL.
19826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19828 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19830         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19831         instead of <sysdeps/x86_64/cacheinfo.c>.
19832         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19833         * sysdeps/x86/cacheinfo.c: Here.
19835 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19837         * malloc/malloc-internal.h: Adjust header file guard.
19839 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19841         [BZ #19787]
19842         * inet/getnameinfo.c (check_sprintf_result): New function.
19843         (CHECKED_SNPRINTF): New macro.
19844         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19845         to the host buffer.
19846         (gni_host_local): Use checked_copy to copy the host name.
19847         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19848         (gni_serv_local): Use checked_copy to copy the service name.
19849         (getnameinfo): Remove unnecessary truncation of result buffers.
19851 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19853         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19854         in case of inet_ntop failure.
19856 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19858         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19859         avoid long lines.
19860         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19861         variables.
19862         (gni_host_inet, gni_host_local): Add comment.
19863         (gni_host): Add comment.  Use temporary to avoid long lines.
19865 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19867         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19868         registers specifiers where general purpose registers specifiers should
19869         have been used.
19871 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19873         [BZ #19779]
19874         CVE-2016-1234
19875         Avoid copying names of directory entries.
19876         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19877         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19878         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19879         (struct readdir_result): New type.
19880         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19881         (GL_READDIR): New macros.
19882         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19883         (convert_dirent, convert_dirent64): New functions.
19884         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19885         convert_dirent64.  Adjust references to the readdir result.
19886         * sysdeps/unix/sysv/linux/i386/glob64.c:
19887         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19888         * posix/bug-glob2.c (LONG_NAME): Define.
19889         (filesystem): Add LONG_NAME.
19890         (my_DIR): Increase the size of room_for_dirent.
19892 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19894         [BZ #20041]
19895         * misc/sys/select.h (__need_timespec): Only define if
19896         [__USE_XOPEN2K].
19897         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19898         variable.
19899         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19900         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19901         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19903 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19904             Segher Boessenkool  <segher@gcc.gnu.org>
19906         [BZ #20004]
19907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19908         (__novec_swapcontext): Add missing load.
19910 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19912         [BZ #20023]
19913         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19914         <time.h>.
19915         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19916         variable.
19917         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19919 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19922         flags CLONE_VM compare.
19924 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19926         [BZ #20031]
19927         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19928         completely empty.
19930 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19932         [BZ #19573]
19933         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19934         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19935         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19936         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19937         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19938         (hesiod_free_list): Mark as hidden.
19939         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19940         res_set, res_get.
19941         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19942         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19943         (hesiod_init): Remove obsolete res_ninit call.
19944         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19945         (hesiod_bind): Do not call init.
19946         (get_txt_records): Use res_mkquery, res_send instead of
19947         res_nmkquery, res_nsend.
19948         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19949         instead of _nss_hesiod_init.
19950         (_nss_hesiod_initgroups_dyn): Likewise.
19951         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19952         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19953         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19955 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19957         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19958         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19960 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19962         * hesiod/hesiod.h: Remove RCS keyword.
19963         * hesiod/hesiod_p.h: Likewise.
19965         * hesiod/hesiod.c: Likewise.
19967 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19969         [BZ #12450]
19970         * locale/iso-639.def: Add Samogitian/sgs.
19972 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19974         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19976         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19978 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
19979             Carlos O'Donell  <carlos@redhat.com>
19981         [BZ #19072]
19982         * grp/Makefile (headers): Add grp-merge.h
19983         (routines): Add grp-merge.
19984         * grp/getgrgid_r.c: Include grp-merge.h.
19985         (DEEPCOPY_FN): Define.
19986         (MERGE_FN): Define.
19987         * grp/getgrname_r.c: Include grp-merge.h.
19988         (DEEPCOPY_FN): Define.
19989         (MERGE_FN): Define.
19990         * grp/grp-merge.c: New file.
19991         * grp/grp-merge.h: New file.
19992         * include/grp-merge.h: New file.
19993         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19994         __copy_grp@GLIBC_PRIVATE.
19995         * manual/nss.texi (Actions in the NSS configuration): Describe
19996         return, continue, and merge.
19997         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19998         (DEEPCOPY_FN): Define.
19999         (MERGE_FN): Define.
20000         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20001         (DEEPCOPY_FN): Define.
20002         (MERGE_FN): Define.
20003         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20004         [!MERGE_FN]: Define __merge_einval.
20005         (CHECK_MERGE): Define.
20006         (REENTRANT_NAME): Process merge if do_merge is true.
20007         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20008         (__nss_getent_r): Likewise.
20009         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20010         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20012 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20014         [BZ #20012]
20015         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20016         length to calculate the buffer to read.
20017         (fmemopen_write): Set the buffer position based on bytes written.
20018         (fmemopen_seek): Return EINVAL for invalid whence modes.
20020         [BZ #19957]
20021         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20022         tst-getpid2.
20023         (test): Add tst-clone2.
20024         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20025         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20026         pid/tid fields for CLONE_VM.
20027         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20028         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20029         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20030         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20031         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20032         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20033         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20034         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20036         Likewise.
20037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20038         Likewise.
20039         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20040         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20041         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20042         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20043         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20044         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20045         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20046         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20048 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20050         [BZ #19642]
20051         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20052         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20053         (gni_serv_local, gni_serv): New functions extracted from
20054         getnameinfo.
20055         (getnameinfo): Call gni_host and gni_serv to perform the
20056         processing.  Always free scratch buffer.
20058 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20060         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20061         remaining bytes in the dest string, with zeros.
20063 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20065         [BZ #20010]
20066         CVE-2016-3706
20067         * sysdeps/posix/getaddrinfo.c
20068         (convert_hostent_to_gaih_addrtuple): New function.
20069         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20070         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20071         AF_INET data.
20073 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20075         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20076         callback function gl_readdir.
20077         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20078         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20079         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20080         memcpy to copy the name.
20081         * manual/pattern.texi (Calling Glob): Document requirements for
20082         implementations of the gl_readdir callback function.
20083         * manual/examples/mkdirent.c: New example.
20084         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20085         per the manual guidance.
20086         * posix/tst-gnuglob.c (my_readdir): Likewise.
20088 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20090         [BZ #20014]
20091         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20092         not [__USE_POSIX].
20093         (getchar_unlocked): Likewise.
20094         (putc_unlocked): Likewise.
20095         (putchar_unlocked): Likewise.
20096         (flockfile): Likewise.
20097         (ftrylockfile): Likewise.
20098         (funlockfile): Likewise.
20099         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20100         variable.
20101         (test-xfail-XPG4/stdio.h/conform): Likewise.
20103         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20104         Expect constant.
20105         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20106         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20107         variable.
20108         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20109         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20111         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20112         [__USE_LARGEFILE64] (off64_t): Likewise.
20113         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20114         variable.
20116 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20118         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20120 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20122         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20123         * resolv/res_init.c: Likewise.
20124         * resolv/res_mkquery.c: Likewise.
20126 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20128         * resolv/res_init.c (isascii): Do not define.  Use definition in
20129         <ctype.h>.
20130         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20131         (LOG_AUTH): Remove.
20132         (SPRINTF): Remove, adjust caller.
20133         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20135 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20137         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20138         SUNSECURITY conditional.
20139         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20143         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20144         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20145         Remove BSD-related preprocessor conditionals.
20146         * conf/portability.h: Remove.
20148 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20150         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20151         * resolv/res_data.c: Likewise.
20153 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20155         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20156         * resolv/res_data.c: Remove code conditional on ultrix.
20158 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20160         * resolv/res_init.c (RFC1535): Do not define.  Remove
20161         RFC1535 preprocessor conditionals.
20162         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20163         because there configuration options which make the resolver
20164         behavior different.
20166 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20168         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20169         RESOLVSORT preprocessor conditionals.
20170         * resolv/nss_dns/dns-host.c: Likewise.
20171         * resolv/res_init.c: Likewise.
20173 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20175         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20176         is never defined.
20178 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20180         * inet/inet_lnaof.c: Remove SCSS keyword.
20181         * inet/inet_mkadr.c: Likewise.
20182         * inet/inet_net.c: Likewise.
20183         * inet/inet_netof.c: Likewise.
20184         * inet/rcmd.c: Likewise.
20185         * inet/rexec.c: Likewise.
20186         * inet/ruserpass.c: Likewise.
20188 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20190         * resolv/inet_addr.c: Remove _LIBC conditionals.
20191         * resolv/res_data.c: Likewise.
20192         * resolv/res_init.c: Likewise.
20193         * resolv/res_mkquery.c: Likewise.
20194         * resolv/res_libc.c: Update comment.
20195         * resolv/README: Update.
20197 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20199         * resolv/gethnamaddr.c: Remove SCSS keyword.
20200         * resolv/herror.c: Likewise.
20201         * resolv/inet_addr.c: Likewise.
20202         * resolv/inet_net_ntop.c: Likewise.
20203         * resolv/inet_net_pton.c: Likewise.
20204         * resolv/inet_neta.c: Likewise.
20205         * resolv/inet_ntop.c: Likewise.
20206         * resolv/inet_pton.c: Likewise.
20207         * resolv/ns_date.c: Remove RCS keyword.
20208         * resolv/ns_name.c: Likewise.
20209         * resolv/ns_netint.c: Likewise.
20210         * resolv/ns_parse.c: Likewise.
20211         * resolv/ns_print.c: Likewise.
20212         * resolv/ns_samedomain.c: Likewise.
20213         * resolv/ns_ttl.c: Likewise.
20214         * resolv/nsap_addr.c: Likewise.
20215         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20216         * resolv/res_data.c: Remove RCS keyword.
20217         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20218         * resolv/res_init.c: Likewise.
20219         * resolv/res_mkquery.c: Likewise.
20220         * resolv/res_query.c: Likewise.
20221         * resolv/res_send.c: Likewise.
20223 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20225         * conform/data/stdio.h-data (fdopen): Expect also for
20226         [XPG3 || XPG4].
20228         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20229         (fseeko): Likewise.
20230         (ftello): Likewise.
20231         (ftrylockfile): Likewise.
20232         (funlockfile): Likewise.
20233         (getc_unlocked): Likewise.
20234         (getchar_unlocked): Likewise.
20235         (putc_unlocked): Likewise.
20236         (putchar_unlocked): Likewise.
20238 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20240         [BZ #19868]
20241         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20242         DNS packet syntax checks (which were not needed before).  Skip
20243         over non-PTR records.
20245 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20247         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20248         definition.  Include <stddef.h> instead.
20250 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20252         [BZ #19831]
20253         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20254         function.
20255         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20256         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20258 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20260         [BZ #19862]
20261         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20262         (getanswer_r): Do not call syslog.
20263         (gaih_getanswer_slice): Likewise.
20264         * resolv/gethnamaddr.c (AskedForGot): Remove.
20265         (getanswer): Do not call syslog.
20266         (gethostbyaddr): Likewise.
20268 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20270         * conform/data/signal.h-data (union sigval): Expect also if
20271         [XOPEN2K].
20272         (struct sigevent): Likewise.
20273         (SIGEV_NONE): Likewise.
20274         (SIGEV_SIGNAL): Likewise.
20275         (SIGEV_THREAD): Likewise.
20276         (SIGRTMIN): Likewise.
20277         (SIGRTMAX): Likewise.
20278         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20279         variable.
20280         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20282 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20284         [BZ #19830]
20285         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20286         (gaih_getanswer_slice): Likewise.
20287         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20288         Also check for availability of RR metadata.
20290 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20292         [BZ #19825]
20293         * resolv/res_send.c (send_vc): Remove early *resplen2
20294         initialization.  Set *resplen2 on socket error.  Call
20295         close_and_return_error for other errors.
20297 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20299         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20300         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20301         (SCM_IUCV_TRGCLS): New define.
20303 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20305         [BZ #20005]
20306         * libio/fmemopen.c (fmemopen_write): Update internal position after
20307         write.
20308         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20309         * stdio-common/tst-fmemopen4.c: New file..
20311 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #19996]
20314         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20315         not [__USE_XOPEN2K].
20316         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20317         variable.
20319         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20320         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20321         variable.
20323         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20324         [__USE_XOPEN2K8].
20325         [__USE_LARGEFILE64] (off64_t): Likewise.
20326         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20327         variable.
20329 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
20331         [BZ #19989]
20332         * libio/stdio.h (cuserid): Do not declare if
20333         [__USE_XOPEN2K && !__USE_GNU].
20334         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
20335         variable.
20337 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20339         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20340         (sysdep_routines): Add P8 and PPC64 strcspn targets.
20341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20342         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20343         ifunc'ed strcspn.
20344         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20345         [EALIGN]: Removed.
20346         [END]: Likewise
20347         [STRSPN]: Define instead of the above to control symbol name.
20348         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
20349         New file.
20350         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
20351         Likewise.
20352         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
20353         Likewise.
20354         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
20355         Likewise.
20356         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20357         [INITIAL_MASK]: New macro.
20358         [STRCSPN]: Likewise.
20359         [UPDATE_MASK]: Likewise.
20360         [USE_AS_STRCSPN]: Likewise.
20362 2016-04-25  Florian Weimer  <fweimer@redhat.com>
20364         [BZ #19931]
20365         * stdio-common/tst-vfprintf-width-prec.c: New file.
20366         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
20367         (tests-special): Add tst-vfprintf-width-prec-mem.out.
20368         (generated): Add mtrace-related files.
20369         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
20370         (tst-%-mem.out): New pattern rule, replaces
20371         tst-printf-bz18872-mem.out.
20372         * stdio-common/vfprintf.c (vfprintf): When handling a precision
20373         specifier, deallocate any previously allocated work buffer.
20375 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
20377         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
20378         Add nop before __startcontext, add explaining comments.
20380 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
20382         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
20383         any more. Notably since IPV6_PKTINFO has been reintroduced with a
20384         completely different API.
20386         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
20387         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
20388         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
20389         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
20390         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
20391         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
20392         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
20393         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
20394         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
20395         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
20397 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
20399         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
20401 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
20403         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
20404         when it is the default of 0.
20406 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20408         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
20409         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20410         (sysdep_routines): Add new strcasestr targets.
20411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20412         (__libc_ifunc_impl_list): Likewise.
20413         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
20414         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
20415         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
20416         * sysdeps/powerpc/powerpc64/power8/Makefile:
20417         New file to add strcasestr-ppc64 to sysdep_routines.
20418         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
20419         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
20421 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
20423         * benchtests/Makefile (wcsmbs-benchset): Include only for
20424         native builds and runs.
20425         (LOCALES): Likewise.
20426         (bench-build): Build timing-type here instead of the bench
20427         target.  Generate locale only for native builds.
20428         * benchtests/README: Add note for cross-building.
20430         * benchtests/Makefile (bench-clean): Clean up extra-objs.
20432         * benchtests/README: Update README to include instructions on
20433         using bench-build.
20435         * Makefile.in (bench-build): New target.
20436         * Rules (PHONY): Add bench-build target.
20437         * benchtests/Makefile (bench): Depend on bench-build.
20438         (bench-build): New target.
20440 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20442         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
20443         profil_reply_port.
20444         (profile_waiter): Do not initialize profil_reply_port.
20445         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
20446         frequency instead of tick length in us.
20448 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
20450         [BZ #18712]
20451         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
20452         (__old_mempcpy_small): Likewise.
20453         (__old_strcpy_small): Likewise.
20454         (__old_stpcpy_small): Likewise.
20455         (__old_strpbrk_c2): Fix compat symbol name.
20456         (__old_strpbrk_c3): Likewise.
20457         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
20458         (__mempcpy_small): Remove.
20459         (__strcpy_small): Remove.
20460         (__stpcpy_small): Remove.
20462 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
20464         [BZ #19400]
20465         * locale/iso-639.def: Add the Talossan/tzl language.
20467 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20469         [BZ #16983]
20470         * locale/programs/ld-address.c (address_finish): Update postal_fmt
20471         comment.  Add "ln" to strchr check on postal_fmt.
20473 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
20475         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
20476         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
20477         tel_dom_fmt.
20479 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20481         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20482         (sysdep_routines): Added __strlen_power8.
20483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
20484         __strlen_power8 entry.
20485         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
20486         Implementation for POWER8.
20487         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
20488         for __strlen_power8.
20489         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
20490         Implementation for POWER8.
20492 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
20494         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
20496 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
20498         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
20499         Goldmont and Airmont processors.
20501 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
20503         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
20504         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
20505         (__STRING2_SMALL_GET32): Remove.
20506         (memset): Remove.
20507         (__memset_1): Remove.
20508         (__memset_gc): Remove.
20509         (__mempcpy): Remove.
20510         (mempcpy): Remove.
20511         (__mempcpy_args): Remove.
20512         (strchr): Remove.
20513         (strcpy): Remove.
20514         (strcpy_args): Remove.
20515         (__stpcpy_args): Remove.
20516         (__strcmp_cc): Remove.
20517         (__strcmp_gc): Remove.
20518         (strstr): Remove.
20520 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
20522         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
20523         * nis/nis_call.c (nis_server_cache_add): Likewise.
20525 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20527         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
20529 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20531         * malloc/arena.c (__malloc_fork_lock_parent)
20532         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
20533         internal_function attribute.
20535 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
20537         * stdio-common/printf_fp.c (__printf_fp_l):
20538         Rename ___printf_fp_l to __printf_fp_l and
20539         remove strong alias. Use libc_hidden_def instead
20540         of ldbl_hidden_def macro.
20542 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20544         Remove malloc hooks from fork handler.  They are no longer needed
20545         because malloc runs right before fork, and no malloc calls from
20546         other fork handlers are not possible anymore.
20547         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
20548         declarations.
20549         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
20550         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
20551         (atfork_recursive_cntr): Remove.
20552         (__malloc_fork_lock_parent): Do not override malloc hooks and
20553         thread_arena.
20554         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
20555         thread_arena.
20556         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
20557         thread_arena instead of save_arena.
20559 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20561         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
20562         (thread_atfork, thread_atfork_static): Remove.
20563         * sysdeps/mach/hurd/malloc-machine.h:
20564         (thread_atfork, thread_atfork_static): Remove.
20566 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20568         [BZ #19431]
20569         Run the malloc fork handler as late as possible to avoid deadlocks.
20570         * malloc/malloc-internal.h: New file.
20571         * malloc/malloc.c: Include it.
20572         * malloc/arena.c (ATFORK_MEM): Remove.
20573         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
20574         Update comment.
20575         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
20576         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
20577         Remove outdated comment.
20578         (ptmalloc_init): Do not call thread_atfork.  Remove
20579         thread_atfork_static.
20580         * malloc/tst-malloc-fork-deadlock.c: New file.
20581         * Makefile (tests): Add tst-malloc-fork-deadlock.
20582         (tst-malloc-fork-deadlock): Link against libpthread.
20583         * manual/memory.texi (Aligned Memory Blocks): Update safety
20584         annotation comments.
20585         * sysdeps/nptl/fork.c (__libc_fork): Call
20586         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
20587         __malloc_fork_unlock_child.
20588         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
20590 2016-04-14  Florian Weimer  <fweimer@redhat.com>
20592         [BZ #19613]
20593         Remove union wait.
20594         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
20595         (w_stopsig, w_stopval): Remove.
20596         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
20597         stat_loc argument.
20598         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
20599         (__WAIT_STATUS_DEFN): Remove.
20600         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20601         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
20602         (wait, wait3, wait4): Use int * for the stat_loc argument.
20603         * posix/wait.c (__wait): Likewise.
20604         * posix/wait3.c (__wait3): Likewise.
20605         * posix/wait4.c (__wait4): Likewise.
20606         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
20607         (__WAIT_STATUS_DEFN): Remove.
20608         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
20609         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
20610         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
20611         argument.
20612         * sysdeps/posix/wait.c (__libc_wait): Likewise.
20613         * sysdeps/posix/wait3.c (__wait3): Likewise.
20614         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
20615         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20616         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
20617         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
20618         stat_loc argument.
20619         * manual/process.texi (BSD Wait Functions): Remove union wait.
20621 2016-04-13  Andreas Schwab  <schwab@suse.de>
20623         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
20624         (test-extras): Add tst-tlsalign-vars.
20625         * math/Makefile: Wrap long lines.
20626         (libm-vec-test-wrappers): Define.
20627         (test-extras): Add $(libm-vec-test-wrappers).
20628         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
20629         * nss/Makefile (extra-test-objs): Add nss_test1.os.
20630         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
20631         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
20632         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
20633         (extra-test-objs): Add corresponding objects.
20635 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
20637         [BZ #19928]
20638         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
20639         New.
20640         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
20641         times of shared cache size.
20642         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
20643         (VMOVNT): New.
20644         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
20645         (VMOVNT): Likewise.
20646         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
20647         (VMOVNT): Likewise.
20648         (VMOVU): Changed to movups for smaller code sizes.
20649         (VMOVA): Changed to movaps for smaller code sizes.
20650         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
20651         comments.
20652         (PREFETCH): New.
20653         (PREFETCH_SIZE): Likewise.
20654         (PREFETCHED_LOAD_SIZE): Likewise.
20655         (PREFETCH_ONE_SET): Likewise.
20656         Rewrite to use forward and backward loops, which move 4 vector
20657         registers at a time, to support overlapping addresses and use
20658         non temporal store if size is above the threshold and there is
20659         no overlap between destination and source.
20661 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
20663         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
20664         Include dl-vdso.
20665         * sysdeps/unix/sysv/linux/mips/Versions: Add
20666         __vdso_clock_gettime.
20667         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
20668         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
20669         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
20670         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
20671         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
20672         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
20673         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20674         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
20675         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
20677 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20679         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
20680         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
20681         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
20682         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
20683         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
20684         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
20685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
20686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
20687         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
20688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
20689         syscalls generation.
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20691         [__NR_pwrite64] (__NR_write): Remove define.
20692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20693         [__NR_pwrite64] (__NR_write): Remove define.
20694         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
20695         Remove define.
20696         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
20697         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
20698         Remove define.
20699         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
20700         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
20701         Linux implementation as base.
20702         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
20704         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
20705         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
20706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
20707         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
20708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
20709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
20710         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
20711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
20712         syscall generation.
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20714         [__NR_pread64] (__NR_pread): Remove define.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20716         [__NR_pread64] (__NR_pread): Likewise.
20717         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
20718         define.
20719         (__libc_pread): Use SYSCALL_LL macro on offset argument.
20720         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
20721         Remove define.
20722         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
20723         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
20724         Linux implementation as base.
20725         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
20726         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
20727         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
20729         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
20730         definition.
20731         (__ALIGNMENT_COUNT): Likewise.
20732         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
20733         (__ALIGNMENT_COUNT): Likewise.
20734         (SYSCALL_LL): New define.
20735         (SYSCALL_LL64): Likewise.
20736         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
20737         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
20738         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
20739         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
20741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20742         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
20743         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20744         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20745         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20746         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
20748 2016-04-11  Florian Weimer  <fweimer@redhat.com>
20750         [BZ #19865]
20751         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
20752         original buffer before retry.
20754 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20756         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
20757         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
20758         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
20759         GLRO(dl_auxv) list.
20760         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
20761         including <ldsodefs.h>.
20762         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
20764 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
20766         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
20767         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
20768         $(CPPFLAGS).
20770 2016-04-09  Khem Raj  <raj.khem@gmail.com>
20772         [BZ #17950]
20773         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
20774         Add -mfpmath=387.
20776 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
20778         * sysdeps/i386/configure.ac: Change == to = when calling test.
20779         * sysdeps/x86_64/configure.ac: Likewise.
20780         * sysdeps/i386/configure: Regenerated.
20781         * sysdeps/x86_64/configure: Likewise.
20783 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
20785         [BZ #16137]
20786         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
20787         * benchtests/bench-strcoll.c (input_files): Likewise.
20788         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20789         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
20790         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
20792 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
20794         [BZ #19929]
20795         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20796         [__USE_XOPEN2K8 && !__USE_GNU].
20797         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20798         variable.
20800         [BZ #19925]
20801         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20802         define if [!__USE_MISC && __USE_XOPEN2K].
20803         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20804         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20805         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20806         Likewise.
20807         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20808         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20809         variable.
20810         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20812 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20814         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20815         (sysdep_routines): Add new strspn targets.
20816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20817         (__libc_ifunc_impl_list): Add strspn.
20818         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20819         New file.
20820         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20821         Likewise.
20822         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20823         Likewise.
20824         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20825         Likewise.
20827 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20829         * misc/hsearch_r.c: Include <limits.h>.
20831 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20833         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20835 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20837         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20838         (MEMCPY_SYMBOL): New.
20839         (MEMPCPY_SYMBOL): Likewise.
20840         (MEMMOVE_CHK_SYMBOL): Likewise.
20841         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20842         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20843         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20844         Provide alias for memcpy in libc.a and ld.so.
20846 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20848         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20849         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20850         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20851         Disabled fro now.
20852         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20853         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20855 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20857         * benchtests/Makefile (string-benchset): Add memcpy-large,
20858         memmove-large and memset-large.
20859         * benchtests/bench-memcpy-large.c: New file.
20860         * benchtests/bench-memmove-large.c: Likewise.
20861         * benchtests/bench-memmove-large.c: Likewise.
20862         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20864 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20866         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20867         32-bit displacement to avoid long nop between instructions.
20869 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20871         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20872         a comment on VMOVU and VMOVA.
20874 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20876         [BZ #19633]
20877         Use specified locale for number formatting in strfmon_l.
20878         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20879         (__nl_lookup_word): New inline functions.
20880         * include/printf.h (__print_fp_l): Declare.
20881         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20882         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20883         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20884         (___printf_fp): New function.
20885         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20886         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20887         * stdlib/tst-strfmon_l.c (do_test): New test.
20888         * stdlib/Makefile (tests): Add kt.
20889         (LOCALES): Build additional locales.
20890         (tst-strfmon_l.out): Require locales.
20892 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20894         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20895         if not in libc.
20896         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20897         Likewise.
20898         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20899         Likewise.
20900         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20901         Likewise.
20903 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20905         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20906         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20907         with unaligned_erms.
20908         (__memmove_erms): Skip if source == destination.
20909         (__memmove_unaligned_erms): Don't check source == destination
20910         first.
20912 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20914         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20915         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20917 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20919         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20920         * string/strspn.c (strspn): Likewise.
20922 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20924         * benchtests/bench-memset.c (do_test): Support 64-byte
20925         alignment.
20926         (test_main): Test 64-byte alignment.
20928 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20930         * benchtests/bench-memmove.c (test_main): Test 64-byte
20931         alignment.
20933 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20935         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20937 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20939         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20940         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20941         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20943         * string/strpbrk.c (strpbrk): Rewrite function.
20944         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20945         (__strpbrk_c2): Likewise.
20946         (__strpbrk_c3): Likewise.
20947         * string/string-inlines.c
20948         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20949         Likewise.
20950         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20951         Likewise.
20953         * string/strspn.c (strcspn): Rewrite function.
20954         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20955         (__strspn_c1): Remove inline function.
20956         (__strspn_c2): Likewise.
20957         (__strspn_c3): Likewise.
20958         * string/string-inlines.c
20959         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20960         compatibility symbol.
20961         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20962         Likewise.
20963         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20964         Likewise.
20965         * string/string-inlines.c: Include generic version.
20967 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20968             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20970         * string/Version (libc): Add GLIBC_2.24.
20971         * string/strcspn.c (strcspn): Rewrite function.
20972         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20973         (__strcspn_c1): Remove inline function.
20974         (__strcspn_c2): Likewise.
20975         (__strcspn_c3): Likewise.
20976         * string/string-inline.c
20977         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20978         compatibility symbol.
20979         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20980         Likewise.
20981         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20982         Likewise.
20983         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20985 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20987         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20988         Use ahi instead of aghi to adjust stack pointer.
20990 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20992         [BZ #19853]
20993         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20994         TEST to take significant digits as second parameter.
20995         [TEST]: Redefine in terms of TEST_N taking 30
20996         significant digits.
20997         (do_test): Add test case to demonstrate precision
20998         failure in the ldbl-128ibm printf.
20999         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21000         (__mpn_extract_long_double): Carry 7 extra intermediate
21001         bits of precision to aide computing difference when
21002         signs differ.
21004 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21006         [BZ #19881]
21007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21008         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21009         memset-avx512-unaligned-erms.
21010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21011         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21012         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21013         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21014         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21015         __memset_sse2_unaligned_erms, __memset_erms,
21016         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21017         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21018         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21019         file.
21020         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21021         Likewise.
21022         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21023         Likewise.
21024         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21025         Likewise.
21027 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21029         [BZ #19776]
21030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21031         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21032         memmove-avx512-unaligned-erms.
21033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21034         (__libc_ifunc_impl_list): Test
21035         __memmove_chk_avx512_unaligned_2,
21036         __memmove_chk_avx512_unaligned_erms,
21037         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21038         __memmove_chk_sse2_unaligned_2,
21039         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21040         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21041         __memmove_avx512_unaligned_erms, __memmove_erms,
21042         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21043         __memcpy_chk_avx512_unaligned_2,
21044         __memcpy_chk_avx512_unaligned_erms,
21045         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21046         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21047         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21048         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21049         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21050         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21051         __mempcpy_chk_avx512_unaligned_erms,
21052         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21053         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21054         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21055         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21056         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21057         __mempcpy_erms.
21058         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21059         file.
21060         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21061         Likewise.
21062         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21063         Likewise.
21064         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21065         Likewise.
21067 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21069         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21070         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21071         (La_s390_64_regs): Likewise.
21072         (La_s390_32_retval): Append vector register lrv_v24.
21073         (La_s390_64_retval): Likeweise.
21074         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21075         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21076         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21077         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21079 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21081         [BZ #19916]
21082         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21083         to create a non-vector/vector version for _dl_runtime_resolve and
21084         _dl_runtime_profile. Move implementation to ...
21085         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21086         (_dl_runtime_resolve) Save and restore fpr/vrs.
21087         (_dl_runtime_profile) Save and restore vrs and fix some issues
21088         if _dl_call_pltexit is called.
21089         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21090         Choose the correct resolver function if running on a machine with vx.
21091         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21092         to create a non-vector/vector version for _dl_runtime_resolve and
21093         _dl_runtime_profile. Move implementation to ...
21094         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21095         (_dl_runtime_resolve) Save and restore fpr/vrs.
21096         (_dl_runtime_profile) Save and restore vrs and fix some issues
21097         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21098         Choose the correct resolver function if running on a machine with vx.
21100 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21102         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21104 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21106         [BZ #19509]
21107         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21108         skip_map != NULL.
21109         * elf/tst-dlsym-error.c: New file.
21110         * elf/Makefile (tests): Add tst-dlsym-error.
21111         (tst-dlsym-error): Link against libdl.
21113 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21115         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21116         (__ASSUME_FUTIMESAT): Remove macro.
21117         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21119 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21121         [BZ #19879]
21122         CVE-2016-3075
21123         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21124         copy name.
21126 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21128         [BZ #19837]
21129         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21130         error if parse_line fails.
21132 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21134         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21135         (index_cpu_ERMS): Likewise.
21136         (reg_ERMS): Likewise.
21138 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21140         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21141         PER_LINUX_FDPIC): Add.
21143 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21146         memcpy-avx512-no-vzeroupper.
21147         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21148         to ...
21149         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21150         (MEMCPY): Don't define.
21151         (MEMCPY_CHK): Likewise.
21152         (MEMPCPY): Likewise.
21153         (MEMPCPY_CHK): Likewise.
21154         (MEMPCPY_CHK): Renamed to ...
21155         (__mempcpy_chk_avx512_no_vzeroupper): This.
21156         (MEMPCPY_CHK): Renamed to ...
21157         (__mempcpy_chk_avx512_no_vzeroupper): This.
21158         (MEMCPY_CHK): Renamed to ...
21159         (__memmove_chk_avx512_no_vzeroupper): This.
21160         (MEMCPY): Renamed to ...
21161         (__memmove_avx512_no_vzeroupper): This.
21162         (__memcpy_avx512_no_vzeroupper): New alias.
21163         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21165 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21167         [BZ #18858]
21168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21169         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21170         and mempcpy-avx512-no-vzeroupper.
21171         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21172         New.
21173         (MEMPCPY): Likewise.
21174         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21175         (MEMPCPY_CHK): New.
21176         (MEMPCPY): Likewise.
21177         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21178         (MEMPCPY): Likewise.
21179         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21180         (MEMPCPY): Likewise.
21181         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21182         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21183         Likewise.
21184         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21185         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21187 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21188              Amit Pawar  <Amit.Pawar@amd.com>
21190         [BZ #19583]
21191         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21192         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21193         processors.  Set Fast_Copy_Backward for AMD Excavator
21194         processors.
21195         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21196         New.
21197         (index_arch_Fast_Unaligned_Copy): Likewise.
21198         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21199         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21201 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21203         [BZ #19791]
21204         * resolv/res_send.c (close_and_return_error): New function.
21205         (send_dg): Initialize *resplen2 after reopen failure.  Call
21206         close_and_return_error for error returns.  On error paths without
21207         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21208         successful return.
21210 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21212         [BZ #19860]
21213         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21214         zero if the compiler does not provide the AVX512F bit.
21216 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21218         [BZ #19848]
21219         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21220         from 8 to 4.
21221         (__ieee754_powl): Compare integer exponent against 4 not 8.
21222         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21223         from 8 to 4.
21224         (__ieee754_powl): Compare integer exponent against 4 not 8.
21225         * math/auto-libm-test-in: Add more tests of pow.
21226         * math/auto-libm-test-out: Regenerated.
21227         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21230 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21232         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21233         Make code unconditional.
21234         [!__NR_utimensat]: Remove conditional code.
21235         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21236         Make code unconditional.
21237         [!__NR_utimensat]: Remove conditional code.
21238         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21239         Make code unconditional.
21240         [!__NR_utimensat]: Remove conditional code.
21242 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21244         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21245         Make code unconditional.
21247 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21249         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21250         call-clobbered %eax on retry path.
21251         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21253 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21255         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21256         Don't set %rcx twice before "rep movsb".
21258 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21260         [BZ #19583]
21261         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21262         inline.  Check family before setting family, model and
21263         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21264         bits here.
21265         (init_cpu_features): Replace HAS_CPU_FEATURE and
21266         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21267         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21268         for Intel processors with usable AVX2.  Call get_common_indeces
21269         for other processors with family == NULL.
21270         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21271         (CPU_FEATURES_ARCH_P): Likewise.
21272         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21273         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21275 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21277         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21278         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21279         $(shared-thread-library) instead of hardcoding the path to libpthread.
21281 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21283         * sysdeps/unix/sysv/linux/kernel-features.h
21284         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21285         * sysdeps/unix/sysv/linux/getdents.c
21286         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21287         [!have_no_getdents64_defined]: Likewise.
21288         (__GETDENTS): Remove __have_no_getdents64 conditional.
21290 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21292         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21293         Remove macro.
21294         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21295         <kernel-features.h>.
21296         (signalfd) [__NR_signalfd4]: Make code unconditional.
21297         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21299 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21301         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21302         style.
21304 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21306         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21307         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21308         __pthread_unwind.
21309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21310         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21311         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21312         (__condvar_cleanup1): Likewise.
21314 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21316         [BZ #19822]
21317         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21318         move it to the final $@ location.
21320 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21322         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21323         access where posix_spawn success and pid argument is null.
21324         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21325         success case.
21327 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
21329         * sysdeps/mach/hurd/i386/c++-types.data: New file.
21331         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
21333         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
21334         and __fcntl.
21335         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
21336         __fcntl only.
21337         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
21338         adding attribute_hidden to __open and __fcntl.
21340         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
21341         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
21342         depend on libc-modules.h,
21343         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
21345 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
21347         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
21348         Remove macro.
21349         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
21350         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
21351         entry.
21353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
21354         Remove macro.
21355         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
21356         include <kernel-features.h>.
21357         [!__ASSUME_FALLOCATE]: Remove conditional code.
21358         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
21360 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21362         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
21363         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
21364         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
21365         (_ZGVdN4v_cos_avx2): Likewise.
21366         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
21367         (_ZGVdN4v_cos): Likewise.
21368         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
21369         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
21370         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
21371         (_ZGVdN4v_exp_avx2): Likewise.
21372         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
21373         (_ZGVdN4v_exp): Likewise.
21374         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
21375         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
21376         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
21377         (_ZGVdN4v_log_avx2): Likewise.
21378         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
21379         (_ZGVdN4v_log): Likewise.
21380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
21381         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
21382         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
21383         (_ZGVdN4vv_pow_avx2): Likewise.
21384         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
21385         (_ZGVdN4vv_pow): Likewise.
21386         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
21387         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
21388         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
21389         (_ZGVdN4v_sin_avx2): Likewise.
21390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
21391         (_ZGVdN4v_sin): Likewise.
21392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
21393         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
21394         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
21395         (_ZGVdN4vvv_sincos_avx2): Likewise.
21396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
21397         (_ZGVdN4vvv_sincos): Likewise.
21398         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
21399         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
21400         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
21401         (_ZGVbN4v_cosf_sse4): Likewise.
21402         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
21403         (_ZGVdN8v_cosf_avx2): Likewise.
21404         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
21405         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
21406         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
21407         (_ZGVbN4v_expf_sse4): Likewise.
21408         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
21409         (_ZGVdN8v_expf_avx2): Likewise.
21410         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
21411         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
21412         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
21413         (_ZGVbN4v_logf_sse4): Likewise.
21414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
21415         (_ZGVdN8v_logf_avx2): Likewise.
21416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
21417         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
21418         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
21419         (_ZGVbN4vv_powf_sse4): Likewise.
21420         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
21421         (_ZGVdN8vv_powf_avx2): Likewise.
21422         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21423         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
21424         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21425         (_ZGVbN4vvv_sincosf_sse4): Likewise.
21426         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21427         (_ZGVdN8vvv_sincosf_avx2): Likewise.
21428         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
21429         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
21430         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
21431         (_ZGVbN4v_sinf_sse4): Likewise.
21432         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
21433         (_ZGVdN8v_sinf_avx2): Likewise.
21434         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21435         Use JUMPTARGET to call callee.
21436         (WRAPPER_IMPL_SSE2_ff): Likewise.
21437         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21438         (WRAPPER_IMPL_AVX): Likewise.
21439         (WRAPPER_IMPL_AVX_ff): Likewise.
21440         (WRAPPER_IMPL_AVX_fFF): Likewise.
21441         (WRAPPER_IMPL_AVX512): Likewise.
21442         (WRAPPER_IMPL_AVX512_ff): Likewise.
21443         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
21444         Likewise.
21445         (WRAPPER_IMPL_SSE2_ff): Likewise.
21446         (WRAPPER_IMPL_SSE2_fFF): Likewise.
21447         (WRAPPER_IMPL_AVX): Likewise.
21448         (WRAPPER_IMPL_AVX_ff): Likewise.
21449         (WRAPPER_IMPL_AVX_fFF): Likewise.
21450         (WRAPPER_IMPL_AVX512): Likewise.
21451         (WRAPPER_IMPL_AVX512_ff): Likewise.
21452         (WRAPPER_IMPL_AVX512_fFF): Likewise.
21454 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21456         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
21457         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
21458         qualifier.
21459         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
21460         internal_function qualifiers.
21462 2016-03-15  Carlos O'Donell <carlos@redhat.com>
21464         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
21465         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
21466         * math/atest-exp.c (exp_mpn): Mark chk unused.
21467         * math/atest-exp2.c (exp_mpn): Likewise.
21468         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
21469         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
21471 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
21473         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
21474         Remove macro.
21475         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
21476         <kernel-features.h>.
21477         [__NR_ppoll]: Make code unconditional.
21478         [!__ASSUME_PPOLL]: Remove conditional code.
21480         * sysdeps/unix/sysv/linux/kernel-features.h
21481         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
21482         (__ASSUME_ACCEPT4): Likewise.
21483         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21484         Define.
21485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
21486         Likewise.
21487         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21488         Likewise.
21489         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
21490         Likewise.
21491         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
21492         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
21493         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21494         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21495         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21497         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21499         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21501         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21502         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21503         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21505         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21507         Likewise.
21508         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21509         Likewise.
21510         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21511         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21512         0x040300].
21513         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21514         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21515         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21516         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21517         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21518         0x030300].
21519         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
21520         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21521         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21522         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21523         0x040300].
21524         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21525         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21526         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21527         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21528         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21529         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21530         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
21531         0x030300].
21532         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21533         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21534         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21535         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21536         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21537         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21538         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21539         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21540         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21541         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
21542         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
21543         0x040300].
21544         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21545         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21546         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21547         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21548         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21549         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21550         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21551         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21552         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21553         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21554         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21555         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21556         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21557         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21558         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
21559         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21560         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21561         Likewise.
21562         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21563         Likewise.
21565 2016-03-15  Andreas Schwab  <schwab@suse.de>
21567         [BZ #19257]
21568         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
21569         statp->_u._ext.nscount as loop count.
21571 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21573         * math/test-signgam-finite-c99.c: Also #undef
21574         __LIBC_INTERNAL_MATH_INLINES.
21575         * math/test-signgam-main.c: Likewise.
21577 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
21579         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
21580         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21581         (MADV_FREE): Likewise.
21582         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
21583         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
21584         EPOLLEXCLUSIVE.
21586 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
21588         * timezone/README: Remove mention of checktab.awk. Mention wiki
21589         SharedSourceFiles.
21591 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
21593         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
21594         WUNTRACED.
21596 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21598         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
21599         order to match the type of p when calling atomic_exchange_acq().
21601 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21603         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
21604         cfi_offset calls.
21605         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
21606         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
21607         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
21608         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
21609         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
21611 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
21613         * timezone/checktab.awk: Removed.
21615 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
21617         * manual/math.texi (Errors in Math Functions): Document relaxed
21618         accuracy goals for IBM long double.
21619         * math/libm-test.inc (test_exceptions): Always allow spurious
21620         "underflow" and "inexact" exceptions for IBM long double.
21622 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
21624         [BZ #19762]
21625         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21626         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
21627         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
21628         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
21629         (bit_arch_*): This for feature array.
21630         (bit_*): Renamed to ...
21631         (bit_cpu_*): This for cpu array.
21632         (index_*): Renamed to ...
21633         (index_arch_*): This for feature array.
21634         (index_*): Renamed to ...
21635         (index_cpu_*): This for cpu array.
21636         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
21637         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
21638         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
21639         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
21640         bit_##name with index_cpu_##name and bit_cpu_##name.
21641         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
21642         bit_##name with index_arch_##name and bit_arch_##name.
21644 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
21646         [BZ #19792]
21647         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
21648         Terminate FDE before return label.
21650 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
21652         [BZ #19790]
21653         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
21654         (rintl): Define as macro.
21655         [USE_AS_NEARBYINTL] (__rintl): Likewise.
21656         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
21657         of fesetround.  Ensure results are evaluated before end of scope.
21658         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
21659         USE_AS_NEARBYINTL and include s_rintl.c.
21660         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
21661         Disable exception traps in new environment.
21662         (libc_feholdsetround_ppc_ctx): Likewise.
21664 2016-03-08  Roland McGrath  <roland@hack.frob.com>
21666         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
21667         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
21668         (tst_audit10_aux) [__AVX512F__]: ... here.
21670 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
21672         * include/sys/auxv.h: New file.
21674 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21676         [BZ #19759]
21677         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
21679 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21681         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
21682         operand modifier.
21683         (feclearexcept): Likewise.
21685 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21687         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
21688         to reflect the entire 32-bit HWCAP.
21689         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
21690         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
21692 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
21694         [BZ #19783]
21695         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
21696         $(test-via-rtld-prefix).
21697         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
21699 2016-03-08  Florian Weimer  <fweimer@redhat.com>
21701         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
21702         union wait.  Report any non-zero exit status as error.
21704 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21706         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
21707         configured with --enable-hardcoded-path-in-tests.
21709 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
21711         [BZ #19677]
21712         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21713         (__ieee754_remainderl): Put zero low parts in canonical form.
21714         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
21715         file.  Based on
21716         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
21717         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
21718         with wrapper round test-fmodrem-ldbl-128ibm.c.
21719         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
21720         file.
21721         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
21722         Likewise.
21723         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
21724         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
21726 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21728         [BZ #19610]
21729         * elf/ldconfig.c (opt_link): Update comment.
21730         (options): Update help string for option -X.
21731         (search_dir): Unlink stale symbolic link only if updating symbolic
21732         links.
21733         * elf/tst-ldconfig-X.sh: New file.
21734         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
21735         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
21737 2016-03-07  Andreas Schwab  <schwab@suse.de>
21739         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
21740         needed arguments.
21742 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
21744         [BZ #15333]
21745         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
21746         to lstat64.
21748 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21750         * libio/filedoalloc.c (isatty): Remove.
21751         (local_isatty): Add comment.  Call __isatty directly.
21752         (_IO_file_doallocate): Update comment.  Assume _LIBC.
21753         * libio/wfiledoalloc.c (isatty): Remove.
21754         (_IO_wfile_doallocate): Update comment.
21756 2016-03-07  Florian Weimer  <fweimer@redhat.com>
21758         [BZ #19269]
21759         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
21760         tst-audit4-aux.o.
21761         (tst-audit10): Depend on tst-audit10-aux.o.
21762         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
21763         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
21764         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
21765         instead of inline AVX code.
21766         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
21767         instead of inline AVX512 code.
21768         * sysdeps/x86_64/tst-audit4-aux.c: New file
21769         * sysdeps/x86_64/tst-audit10-aux.c: New file
21771         [BZ #19648]
21772         * test-skeleton.c (main): Do not set RLIMIT_DATA.
21774 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21776         [BZ #14750]
21777         [BZ #10354]
21778         [BZ #18433]
21779         * include/sched.h (__clone): Add hidden prototype.
21780         (__clone2): Likewise.
21781         * include/unistd.h (__dup): Likewise.
21782         * posix/Makefile (tests): Add tst-spawn2.
21783         * posix/tst-spawn2.c: New file.
21784         * sysdeps/posix/dup.c (__dup): Add hidden definition.
21785         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
21786         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21787         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21788         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21789         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21790         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
21791         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21792         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
21793         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21794         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21796         Likewise.
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21798         Likewise.
21799         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21800         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21801         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21802         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21803         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21804         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21805         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21806         * sysdeps/unix/sysv/linux/nptl-signals.h
21807         (____nptl_is_internal_signal): New function.
21808         * sysdeps/unix/sysv/linux/spawni.c: New file.
21810         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21811         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21812         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21813         * posix/tst-execvp2.c (do_test): Likewise.
21814         * posix/tst-execvp3.c (do_test): Likewise.
21815         * posix/tst-execvp4.c (do_test): Likewise.
21816         * posix/tst-execvpe1.c: New file.
21817         * posix/tst-execvpe2.c: Likewise.
21818         * posix/tst-execvpe3.c: Likewise.
21819         * posix/tst-execvpe4.c: Likewise.
21820         * posix/tst-execvpe5.c: Likewise.
21821         * posix/tst-execvpe6.c: Likewise.
21823         [BZ #19534]
21824         * posix/execl.c (execl): Remove dynamic memory allocation.
21825         * posix/execle.c (execle): Likewise.
21826         * posix/execlp.c (execlp): Likewise.
21828 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21830         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21831         Replace .text with .text.avx512.
21832         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21833         Likewise.
21835 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21837         * sysdeps/generic/libnsl.abilist: New file.
21838         * sysdeps/generic/libutil.abilist: New file.
21840 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21842         [BZ #19762]
21843         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21844         HAS_ARCH_FEATURE with Fast_Rep_String.
21845         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21846         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21847         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21848         Likewise.
21849         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21850         Likewise.
21851         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21852         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21853         Likewise.
21854         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21855         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21856         Likewise.
21858 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21860         [BZ #19745]
21861         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21862         with *%rax in call.
21864 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21866         [BZ #19745]
21867         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21868         with *__libc_start_main@GOTPCREL(%rip) in call.
21870 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21872         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21873         inside conditional for nonempty $(CXX).
21875         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21876         nonempty.
21878         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21879         to test for empty $(CXX) rather than $(CXX) of "no".
21881 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21883         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21885 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21886             H.J. Lu  <hongjiu.lu@intel.com>
21888         [BZ #18880]
21889         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21890         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21891         enable __memcpy_ssse3_back.
21893 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21895         [BZ #19758]
21896         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21897         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21899 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21901         [BZ #19490]
21902         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21903         (__fentry__): Likewise.
21905 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21907         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21908         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21910 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21912         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21913         __mcount_internal directly.
21914         (C_LABEL(__fentry__)): Likewise.
21915         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21916         directly.
21918 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21920         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21921         (__start_context): Call __setcontext directly.
21923 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21926         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21927         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21928         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21930         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21931         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21932         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21933         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21934         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21935         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21936         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21937         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21938         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21939         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21940         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21941         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21942         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21943         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21944         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21945         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21946         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21947         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21948         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21949         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21950         Remove conditional code.
21951         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21952         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21953         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21954         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21955         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21956         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21957         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21958         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21959         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21960         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21961         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21962         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21964 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21966         * NEWS (2.23): Fix typo in bug 19048 text.
21968 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21970         [BZ #14259]
21971         * Makeconfig: Rename msgcatdir to localedir.
21972         Rename inst_msgcatdir to inst_localedir.
21973         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21974         * config.make.in: Add localedir.
21975         * elf/Makefile ($(objpfx)sotruss): Use localedir.
21976         (ldd-rewrite): Likewise.
21977         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21978         (install-others): Use inst_localedir.
21979         (CPPFLAGS): Use localedir.
21980         * locale/Makefile (locale-CPPFLAGS): Likewise.
21981         * po/Makefile (mo-installed): Use inst_localedir.
21983         [BZ #19575]
21984         * localedata/charmaps/GB18030: Update comments regarding PAU to
21985         non-PUA mappings.
21987 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
21989         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21990         test for header.
21991         * sysdeps/unix/sysv/linux/configure: Regenerated.
21992         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21993         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21994         Remove conditional code.
21995         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21997         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21998         Define to 3.2.0.
21999         (arch_minimum_kernel): Likewise.
22000         * sysdeps/unix/sysv/linux/configure: Regenerated.
22001         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22002         Define to 2.6.32.
22003         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22004         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22005         (arch_minimum_kernel): Define to 2.6.32.
22006         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22007         * README: Document Linux 3.2 requirement.
22008         * manual/install.texi (Linux): Document Linux 3.2 headers
22009         requirement.
22010         * INSTALL: Regenerated.
22012 2016-02-24  Andreas Schwab  <schwab@suse.de>
22014         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22015         if !NO_LONG_DOUBLE.
22017 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22019         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22020         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22022 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22024         [BZ #19512]
22025         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22027 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22029         * posix/tst-dir.c: Include libc-internal.h.
22031 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22033         [BZ #19056]
22034         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22035         * manual/filesys.texi (Reading/Closing Directory): Mention
22036         deprecaion.
22037         * posix/tst-dir.c (main): Disable deprecation warning in test.
22039 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22041         [BZ #19679]
22042         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22043         Renamed to ...
22044         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22045         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22046         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22047         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22048         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22049         * sysdeps/x86_64/dl-trampoline.h
22050         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22051         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22053 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22055         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22057 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22059         * elf/elf.h (R_386_GOT32X): New.
22060         (R_386_NUM): Update.
22061         (R_X86_64_GOTPCRELX: New.
22062         (R_X86_64_REX_GOTPCRELX): New.
22063         (R_X86_64_NUM): Update.
22065 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22067         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22069 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22071         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22072         assign attr->stackaddr to it, and adjust it down when
22073         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22074         [_STACK_GROWS_UP]: Delete assert.
22075         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22076         Implement stack grows up logic.
22077         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22078         stack grows up logic.
22080 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22082         * NEWS: Update with 2.24 template.
22084 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22086         [BZ #19678]
22087         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22088         Ensure +0.0 is returned when taking the next value below the least
22089         positive value.
22091 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22093         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22094         available.  Do not define NO_THREADS.
22095         * malloc/malloc.c: Do not check NO_THREADS.
22096         * malloc/arena.c: Likewise.
22098 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22100         * malloc/malloc.c (__libc_mallinfo): Update comment.
22101         (struct malloc_par): Remove max_total_mem member, it was always 0.
22102         (int_mallinfo): Store 0 into usmblks (no functional change).
22103         * malloc/hooks.c (struct malloc_state): Document that
22104         max_total_mem is always 0.
22105         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22106         always 0.
22107         * manual/memory.texi (Statistics of Malloc): Likewise.
22109 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22111         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22112         * malloc/arena.c (arena_max): Remove.
22113         (heap_trim, _int_new_arena): Do not update arena_max.
22115 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22117         * resolv/res_init.c (res_ninit): Update comment.
22119 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22121         [BZ #19505]
22122         * posix/spawn_int.h: Add headers and include guard.
22123         (__spawn_valid_fd): New function.
22124         * posix/spawn_faction_addopen.c
22125         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22126         * posix/spawn_faction_addclose.c
22127         (posix_spawn_file_actions_addclose): Likewise.
22128         * posix/spawn_faction_adddup2.c
22129         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22130         second file descriptor.
22131         * posix/spawn_valid_fd.c: New file.
22132         * posix/tst-posix_spawn-fd.c: New file.
22133         * posix/Makefile (routines): Add spawn_valid_fd.
22134         (tests): Add tst-posix_spawn-fd.
22136 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22138         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22139         (do_test): Limit the number of arenas, so that we can use fewer
22140         outer threads.  Limit timeout to 3 seconds, in preparation for a
22141         larger TIMEOUT value.
22143 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22145         [BZ #19674]
22146         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22147         sign in overflowing and underflowing results when overflow or
22148         underflow is detected early.  Include sign in result before rather
22149         than after scaling.
22151         [BZ #19603]
22152         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22153         (__ieee754_remainderl): Adjust sign of integer version of low part
22154         when taking absolute value of high part.
22155         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22156         * math/libm-test.inc (remainder_test_data): Add another test.
22157         (remquo_test_data): Likewise.
22159 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22161         [BZ #19602]
22162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22163         equal high parts and both low parts zero specially.
22164         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22165         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22166         Add test-fmodl-ldbl-128ibm.
22168         [BZ #19595]
22169         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22170         common logic for all cases of shifting subnormal results.  Do not
22171         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22172         exponent to ldbl_insert_mantissa in subnormal case.
22174         [BZ #19594]
22175         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22176         on high and low parts then adjust result and use
22177         ldbl_canonicalize_int if needed.
22179         [BZ #19593]
22180         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22181         on high part and __floor or __ceil on low part then use
22182         ldbl_canonicalize_int if needed.
22184         [BZ #19592]
22185         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22186         high and low parts then use ldbl_canonicalize_int if needed.
22188         [BZ #17899]
22189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22190         New function.
22191         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22192         on high and low parts then use ldbl_canonicalize_int if needed.
22194 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22196         * configure: Regenerated.
22198         * po/libc.pot: Regenerated.
22200         * po/be.po: Updated translation.
22201         * po/bg.po: Likewise.
22202         * po/ca.po: Likewise.
22203         * po/cs.po: Likewise.
22204         * po/da.po: Likewise.
22205         * po/el.po: Likewise.
22206         * po/eo.po: Likewise.
22207         * po/es.po: Likewise.
22208         * po/fi.po: Likewise.
22209         * po/fr.po: Likewise.
22210         * po/gl.po: Likewise.
22211         * po/hr.po: Likewise.
22212         * po/hu.po: Likewise.
22213         * po/ia.po: Likewise.
22214         * po/id.po: Likewise.
22215         * po/it.po: Likewise.
22216         * po/ja.po: Likewise.
22217         * po/lt.po: Likewise.
22218         * po/nb.po: Likewise.
22219         * po/nl.po: Likewise.
22220         * po/pt_BR.po: Likewise.
22221         * po/rw.po: Likewise.
22222         * po/sk.po: Likewise.
22223         * po/sl.po: Likewise.
22224         * po/sv.po: Likewise.
22225         * po/tr.po: Likewise.
22226         * po/zh_CN.po: Likewise.
22227         * po/zh_TW.po: Likewise.
22229         * version.h (RELEAES): Set to "development".
22230         (VERSION): Set to 2.23.90.
22232         * version.h (RELEASE): Set to "stable".
22233         (VERSION): Set to 2.23.
22234         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22236         * NEWS: Updated fixed bugs.
22238 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22239             Wilco Dijkstra  <wdijkstr@arm.com>
22241         [BZ #19462]
22242         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22243         (_STRING_INLINE_unaligned): This.
22244         * include/string.h: Include <string_private.h>.
22245         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22246         _STRING_INLINE_unaligned.
22247         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22248         (_STRING_INLINE_unaligned): New.
22249         * sysdeps/aarch64/string_private.h: New file.
22250         * sysdeps/generic/string_private.h: Likewise.
22251         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22252         * sysdeps/s390/string_private.h: Likewise.
22253         * sysdeps/x86/string_private.h: Likewise.
22254         * sysdeps/m68k/m680x0/m68020/bits/string.h
22255         (_STRING_ARCH_unaligned): Renamed to ...
22256         (_STRING_INLINE_unaligned): This.
22257         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22258         to ...
22259         (_STRING_INLINE_unaligned): This.
22260         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22261         to ...
22262         (_STRING_INLINE_unaligned): This.
22263         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22264         to ...
22265         (_STRING_INLINE_unaligned): This.
22267 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22268             H.J. Lu  <hongjiu.lu@intel.com>
22270         [BZ #19590]
22271         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22272         relocation.
22274 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22276         [BZ #18665]
22277         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22278         *herrno_p.
22279         (gaih_getanswer): Document functional behviour. Return tryagain
22280         if any result is tryagain.
22281         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22282         when freed.
22283         * resolv/res_send.c: Add copyright text.
22284         (__libc_res_nsend): Document that MAXPACKET is expected.
22285         (send_vc): Document. Remove buffer reuse.
22286         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22287         size of the buffer. Add Dprint for truncated UDP buffer.
22289 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22291         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22292         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22293         * INSTALL: Regenerate.
22295 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22296             Jonathan Wakely  <jwakely@redhat.com>
22297             Carlos O'Donell  <carlos@redhat.com>
22299         [BZ 19439]
22300         * math/Makefile (tests): Add test-math-isinff.
22301         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22302         * math/bits/mathcalls.h [__USE_MISC]: Use
22303         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22304         functions not in C++11 and which don't conflict e.g. isinff,
22305         isinfl etc.
22306         * math/test-math-isinff.cc: New file.
22308 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22310         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22312 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22314         [BZ #19529]
22315         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22317 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22319         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22321 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22323         [BZ #19550]
22324         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22325         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22326         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22327         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
22328         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
22329         New syscall entry.
22330         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
22331         New syscall entry.
22332         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
22333         syscall entry.
22335 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
22337         [BZ #18240]
22338         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
22339         unsigned int wraparound.
22341 2016-01-27  Florian Weimer  <fweimer@redhat.com>
22343         [BZ #18240]
22344         * misc/bug18240.c: New test.
22345         * misc/Makefile (tests): Add it.
22347 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
22348             Joseph Myers  <joseph@codesourcery.com>
22350         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
22351         load in branch delay slot when less than a word of input left.
22353 2016-01-27  Andreas Schwab  <schwab@suse.de>
22355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
22356         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
22357         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
22358         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
22360 2016-01-26  David S. Miller  <davem@davemloft.net>
22362         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
22364 2016-01-25  David S. Miller  <davem@davemloft.net>
22366         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
22367         __sqrtl_finite.
22368         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
22369         instead using versioned_symbol.
22370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
22371         of entries.
22373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
22374         __sqrtl_finite to GLIBC_2.23
22376 2016-01-25  Ricchard Henderson  <rth@redhat.com>
22378         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22380 2016-01-25  Andreas Schwab  <schwab@suse.de>
22382         [BZ #17514]
22383         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
22384         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
22385         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
22386         * nptl/tst-mutex-errorcheck.c: New file.
22388 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22390         [BZ #18560]
22391         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
22392         (IPCOP_semop): Likewise.
22393         (IPCOP_semget): Likewise.
22394         (IPCOP_semctl): Likewise.
22395         (IPCOP_msgsnd): Likewise.
22396         (IPCOP_msgrcv): Likewise.
22397         (IPCOP_msgget): Likewise.
22398         (IPCOP_msgctl): Likewise.
22399         (IPCOP_shmat): Likewise.
22400         (IPCOP_shmdt): Likewise.
22401         (IPCOP_shmget): Likewise.
22402         (IPCOP_shmctl): Likewise.
22404 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22406         * string/tst-endian.c: Include <libc-internal.h>.
22407         (do_test): Ignore tautological-compare warnings around
22408         "htobeXX (beXXtoh (i)) != i" and
22409         "htoleXX (leXXtoh (i)) != i" if-statements.
22411 2016-01-24  David S. Miller  <davem@davemloft.net>
22413         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
22414         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
22415         alias.
22416         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22417         __sqrtl_finite.
22419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22421 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
22423         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
22424         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
22425         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22427 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22429         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
22430         (thread_func): Use new function to simplify barrier check.
22431         (do_test): Use new function to simplify checking barrier exit
22432         code, and actually join the child thread.
22434 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22436         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
22437         semicolon.
22438         (__libc_tend): Likewise.
22439         (__libc_tabort): Likewise.
22441 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
22443         * sysdeps/nios2/libm-test-ulps: Update.
22444         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
22445         (__gtsf2): Likewise.
22446         (__unorddf2): Likewise.
22447         (__unordsf2): Likewise.
22448         (__ledf2): Likewise.
22450 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
22452         * nis/nis_table.c (__follow_path): Disable diagnostic for
22453         uninitialized variable that is a false positive for gcc 4.7.
22454         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
22456 2016-01-20  Roland McGrath  <roland@hack.frob.com>
22458         * sysdeps/nacl/lowlevellock-futex.h
22459         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
22460         Always evaluate PRIVATE argument.
22462 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
22464         [BZ #19490]
22465         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
22466         (pthread_cond_broadcast): Use ENTRY/END
22467         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
22468         (pthread_cond_signal): Likewise.
22469         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
22470         Likewise.
22471         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
22472         Likewise.
22473         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
22474         Likewise.
22476 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
22478         * sysdeps/ieee754/dbl-64/s_finite.c
22479         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
22480         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
22481         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
22482         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
22483         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
22485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
22486         (__gtsf2): Add as optional for libc.so.
22487         (__unordsf2): Likewise.
22488         (__signbit): Remove for libc.so.
22489         (__signbitl): Likewise.
22491 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22493         * iconvdata/bug-iconv11.c (test_ibm93x):
22494         Use %zu printf format specifier for size_t argument.
22496 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
22498         * math/gen-libm-test.pl (parse_ulps): Do not reduce
22499         already-recorded ulps.
22500         * sysdeps/arm/libm-test-ulps: Regenerated.
22501         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22502         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22503         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22505 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22506             Paul Pluzhnikov  <ppluzhnikov@google.com>
22508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
22509         assembler not supporting AVX-512.
22511 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
22513         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22515 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
22517         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22518         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22520         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22522         * sysdeps/arm/libm-test-ulps: Regenerated.
22524 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22526         [BZ #19451]
22527         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
22529 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22531         [BZ #19486]
22532         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
22533         * sysdeps/generic/fix-fp-int-convert-overflow.h
22534         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
22535         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
22536         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
22537         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
22538         Likewise.
22539         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
22540         Avoid conversions to long int where inexact exceptions
22541         could be raised.
22542         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
22543         Likewise.
22544         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
22545         Avoid conversions to long long int where inexact exceptions
22546         could be raised.
22547         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
22548         Likewise.
22550 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
22552         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
22553         * configure: Regenerated.
22555 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22557         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
22559 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
22561         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
22562         outside of comment.
22564 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22566         * nptl/tst-barrier1.c: Add description on first line.
22567         * nptl/tst-barrier2.c: Likewise.
22568         * nptl/tst-barrier3.c: Likewise.
22569         * nptl/tst-barrier4.c: Likewise.
22570         * nptl/tst-barrier5.c: Likewise.
22572 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22574         [BZ #18868]
22575         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
22577 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
22579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
22580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22581         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
22582         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
22583         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
22584         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
22585         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22586         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22587         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22588         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22591 2016-01-15  Torvald Riegel  <triegel@redhat.com>
22593         [BZ #13065]
22594         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
22595         new implementation.
22596         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
22597         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
22598         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
22599         (BARRIER_IN_THRESHOLD): New macro.
22600         * nptl/pthread_barrierattr_setpshared.c
22601         (pthread_barrierattr_setpshared): Clean up.
22602         * nptl/tst-barrier4.c: Correct comment.
22603         * nptl/tst-barrier5.c: New file.
22604         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
22605         (gen-as-const-headers): Remove lowlevelbarrier.sym.
22606         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
22607         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
22608         * nptl/lowlevelbarrier.sym: Remove.
22609         * nptl/DESIGN-barrier.txt: Remove.
22610         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
22611         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
22612         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
22613         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
22614         error.
22615         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
22616         implementation.
22618 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22620         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
22621         (do_child): Mask SIGRTMIN while thr is running.
22623 2016-01-15  Martin Sebor  <msebor@redhat.com>
22625         [BZ #19432]
22626         * iconvdata/Makefile: Add bug-iconv11.
22627         * iconvdata/bug-iconv11.c: New test.
22628         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
22629         * iconvdata/ibm933.c: Same.
22630         * iconvdata/ibm935.c: Same.
22631         * iconvdata/ibm937.c: Same.
22632         * iconvdata/ibm939.c: Same.
22634 2016-01-15  Martin Sebor  <msebor@redhat.com>
22636         [BZ #19443]
22637         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
22638         [DEBUG] (_ufc_set_bits): Declare used.
22639         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
22640         [DEBUG] (print_all): Declare used.
22641         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
22642         operands of the ternary ?: expression to target type.
22643         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
22644         calling the undeclared abort.
22645         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
22647 2016-01-15  Martin Sebor  <msebor@redhat.com>
22649         [BZ #18755]
22650         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
22651         warnings.
22652         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
22653         (__gai_create_helper_thread): Same.
22654         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
22655         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
22656         to suppress -Wmaybe-uninitialized warnings.
22658 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
22660         [BZ #19465]
22661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
22662         inside if.
22663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22664         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22665         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22667 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
22669         [BZ #19466]
22670         * time/tst-mktime2.c (time_t_max): Removed.
22671         (time_t_min): Likewise.
22672         (TYPE_SIGNED): New.
22673         (TYPE_MINIMUM): Likewise.
22674         (TYPE_MAXIMUM): Likewise.
22675         (TIME_T_MIN): Likewise.
22676         (TIME_T_MAX): Likewise.
22677         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
22678         and TIME_T_MIN.
22679         (do_test): Likewise.
22681 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
22683         [BZ #19467]
22684         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22685         index_Fast_Unaligned_Load flag for Excavator family CPUs.
22687 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
22689         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
22691 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
22693         * benchtests/Makefile (PYTHON): Define.
22694         (bench-func): Use $(PYTHON) to run python scripts.
22695         ($(objpfx)bench-%.c): Likewise.
22697 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
22699         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
22700         leading slash when `file_name' is "/".
22702 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
22704         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
22705         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
22706         Likewise.
22707         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
22708         Likewise.
22709         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
22710         Likewise.
22711         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
22712         enum constant and macro.
22713         (PTRACE_SETSIGMASK): Likewise.
22714         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22715         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22716         (PTRACE_GETSIGMASK): Likewise.
22717         (PTRACE_SETSIGMASK): Likewise.
22718         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22719         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
22720         Likewise.
22721         (PTRACE_SETSIGMASK): Likewise.
22722         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22723         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22724         (PTRACE_GETSIGMASK): Likewise.
22725         (PTRACE_SETSIGMASK): Likewise.
22726         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
22728         Likewise.
22729         (PTRACE_SETSIGMASK): Likewise.
22730         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22731         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
22732         Likewise.
22733         (PTRACE_SETSIGMASK): Likewise.
22734         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22735         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
22736         Likewise.
22737         (PTRACE_SETSIGMASK): Likewise.
22738         (PTRACE_SECCOMP_GET_FILTER): Likewise.
22740 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
22741             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22743         [BZ #19439]
22744         * math/bits/mathcalls.h
22745         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
22746         prototype.
22747         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
22749 2016-01-11  Andreas Schwab  <schwab@suse.de>
22751         [BZ #19253]
22752         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
22753         cache when TZDEFRULES was used.
22754         * time/tst-tzname.c: New file.
22755         * time/Makefile (test): Add tst-tzname.
22756         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
22757         * timezone/Makefile (test-zones): Add $(posixrules-file).
22758         ($(testdata)/$(posixrules-file)): New rule.
22760 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
22762         Fix doc quoting problems with Texinfo 5
22763         Without this change, in the info file output, Texinfo 5 quotes code
22764         in text with undirected single quotes 'like this' and generates
22765         code examples that with many PDF readers cannot be cut out of PDFs
22766         and pasted into code.
22767         * manual/libc.texinfo: Configure the libc manual like the GNU
22768         Emacs manual, by using @documentencoding and setting
22769         txicodequoteundirected and txicodequotebacktick.  This way,
22770         Texinfo 5 quotes code in text with directed single quotes ‘like
22771         this’ and produces examples that can be cut out of PDFs.  This
22772         change causes Texinfo 5 to generate info files that contain UTF-8
22773         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
22774         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
22776 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22778         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
22779         __libc_tabort, __libc_tend): New wrappers that enforce compiler
22780         barriers to their respective compiler built-ins.
22781         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
22782         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
22783         * sysdeps/powerpc/sysdep.h: Likewise.
22784         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
22785         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
22786         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
22788 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
22790         * scripts/config.guess: Revert previous shebang change.
22791         * scripts/config.sub: Likewise.
22792         * scripts/mkinstalldirs: Likewise.
22794 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22796         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22797         PPC_FEATURE2_HAS_IEEE128.
22798         * sysdeps/powerpc/dl-procinfo.c:
22799         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22801 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22803         [BZ #19415]
22804         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22805         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22806         (_dl_lookup_address): Rewrite using function resolver trampoline.
22807         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22808         two bits in address.
22810 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22812         * longlong.h: Change !__SHMEDIA__ to
22813         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22814         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22816 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22817             Joseph Myers  <joseph@codesourcery.com>
22818             Mark Shinwell  <shinwell@codesourcery.com>
22819             Andrew Stubbs  <ams@codesourcery.com>
22820             Rich Felker <dalias@libc.org>
22822         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22824 2016-01-07  Richard Henderson  <rth@redhat.com>
22826         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22828 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22830         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22831         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22832         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22833         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22834         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22836 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22837             Joseph Myers  <joseph@codesourcery.com>
22839         * timezone/private.h: Update from tzcode 2015g.
22840         * timezone/tzfile.h: Likewise.
22841         * timezone/tzselect.ksh: Likewise.
22842         * timezone/zdump.c: Likewise.
22843         * timezone/zic.c: Likewise.
22844         * timezone/ialloc.c: Remove file.
22845         * timezone/scheck.c: Likewise.
22846         * timezone/Makefile (extra-objs): Remove variable.
22847         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22848         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22849         -Wno-maybe-uninitialized.
22850         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22851         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22852         (CFLAGS-ialloc.c): Remove variable.
22853         (CFLAGS-scheck.c): Likewise.
22854         * timezone/README: Update list of files from tzcode.
22856 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22858         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22859         instead of __fxprintf when _LIBC is undefined.
22861 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22863         * catgets/test-gencat.sh: Remove space after shebang.
22864         * conform/GlibcConform.pm: Likewise.
22865         * conform/check-header-lists.sh: Likewise.
22866         * conform/conformtest.pl: Likewise.
22867         * conform/linknamespace.pl: Likewise.
22868         * conform/list-header-symbols.pl: Likewise.
22869         * debug/catchsegv.sh: Likewise.
22870         * elf/genrtldtbl.awk: Likewise.
22871         * elf/tst-pathopt.sh: Likewise.
22872         * elf/tst-rtld-load-self.sh: Likewise.
22873         * grp/tst_fgetgrent.sh: Likewise.
22874         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22875         * iconvdata/gen-8bit-gap.sh: Likewise.
22876         * iconvdata/gen-8bit.sh: Likewise.
22877         * iconvdata/run-iconv-test.sh: Likewise.
22878         * intl/tst-gettext.sh: Likewise.
22879         * intl/tst-gettext2.sh: Likewise.
22880         * intl/tst-gettext4.sh: Likewise.
22881         * intl/tst-gettext6.sh: Likewise.
22882         * intl/tst-translit.sh: Likewise.
22883         * io/ftwtest-sh: Likewise.
22884         * libio/test-freopen.sh: Likewise.
22885         * locale/gen-translit.pl: Likewise.
22886         * malloc/tst-mtrace.sh: Likewise.
22887         * manual/check-safety.sh: Likewise.
22888         * manual/libc-texinfo.sh: Likewise.
22889         * manual/tsort.awk: Likewise.
22890         * manual/xtract-typefun.awk: Likewise.
22891         * nptl/tst-cancel-wrappers.sh: Likewise.
22892         * nptl/tst-tls6.sh: Likewise.
22893         * posix/globtest.sh: Likewise.
22894         * posix/tst-getconf.sh: Likewise.
22895         * posix/wordexp-tst.sh: Likewise.
22896         * scripts/check-c++-types.sh: Likewise.
22897         * scripts/check-local-headers.sh: Likewise.
22898         * scripts/config.guess: Likewise.
22899         * scripts/config.sub: Likewise.
22900         * scripts/cpp: Likewise.
22901         * scripts/cross-test-ssh.sh: Likewise.
22902         * scripts/documented.sh: Likewise.
22903         * scripts/evaluate-test.sh: Likewise.
22904         * scripts/gen-libc-abis: Likewise.
22905         * scripts/gen-sorted.awk: Likewise.
22906         * scripts/list-fixed-bugs.py: Likewise.
22907         * scripts/merge-test-results.sh: Likewise.
22908         * scripts/mkinstalldirs: Likewise.
22909         * scripts/rellns-sh: Likewise.
22910         * scripts/test-installation.pl: Likewise.
22911         * scripts/update-copyrights: Likewise.
22912         * stdio-common/tst-printf.sh: Likewise.
22913         * stdio-common/tst-unbputc.sh: Likewise.
22914         * stdlib/tst-fmtmsg.sh: Likewise.
22915         * stdlib/tst-setcontext3.sh: Likewise.
22916         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22917         * sysdeps/unix/make-syscalls.sh: Likewise.
22919 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22921         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22922         asm stw with atomic_exchange_rel.  Add explanatory comment.
22923         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22924         Likewise.
22926 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22928         [BZ #19122]
22929         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22930         * sysdeps/generic/dl-unistd.h: New file.
22931         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22933 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22935          [BZ #19122]
22936          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22937          * sysdeps/generic/dl-mman.h: New file.
22938          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22940 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22942         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22943         trailing whitespace removed.
22944         * scripts/config.guess: Update to version 2016-01-01.
22945         * scripts/config.sub: Update to version 2016-01-01.
22946         * scripts/move-if-change: Update from gnulib.
22948 2016-01-04  Anton Blanchard  <anton@samba.org>
22950         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22951         for array indices.
22952         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22954 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22956         * NEWS: Update copyright dates.
22957         * catgets/gencat.c (print_version): Likewise.
22958         * csu/version.c (banner): Likewise.
22959         * debug/catchsegv.sh: Likewise.
22960         * debug/pcprofiledump.c (print_version): Likewise.
22961         * debug/xtrace.sh (do_version): Likewise.
22962         * elf/ldconfig.c (print_version): Likewise.
22963         * elf/ldd.bash.in: Likewise.
22964         * elf/pldd.c (print_version): Likewise.
22965         * elf/sotruss.sh: Likewise.
22966         * elf/sprof.c (print_version): Likewise.
22967         * iconv/iconv_prog.c (print_version): Likewise.
22968         * iconv/iconvconfig.c (print_version): Likewise.
22969         * locale/programs/locale.c (print_version): Likewise.
22970         * locale/programs/localedef.c (print_version): Likewise.
22971         * login/programs/pt_chown.c (print_version): Likewise.
22972         * malloc/memusage.sh (do_version): Likewise.
22973         * malloc/memusagestat.c (print_version): Likewise.
22974         * malloc/mtrace.pl: Likewise.
22975         * manual/libc.texinfo: Likewise.
22976         * nptl/version.c (banner): Likewise.
22977         * nscd/nscd.c (print_version): Likewise.
22978         * nss/getent.c (print_version): Likewise.
22979         * nss/makedb.c (print_version): Likewise.
22980         * posix/getconf.c (main): Likewise.
22981         * scripts/test-installation.pl: Likewise.
22982         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22984         * All files with FSF copyright notices: Update copyright dates
22985         using scripts/update-copyrights.
22986         * intl/plural.c: Regenerated.
22987         * locale/programs/charmap-kw.h: Likewise.
22988         * locale/programs/locfile-kw.h: Likewise.
22990 2016-01-02  Helge Deller  <deller@gmx.de>
22992         [BZ #19285]
22993         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22994         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22995         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22996         (MADV_xxK_PAGES): Remove.
22998 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23000         [BZ #15421]
23001         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23002         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23003         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23004         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23006 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23008         [BZ #19408]
23009         * sysdeps/unix/sysv/linux/personality.c: New file.
23010         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23011         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23012         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23013         (sysdep_routines): Add personality.
23014         (tests): Add tst-personality.
23015         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23016         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23017         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23018         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23019         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23020         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23021         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23022         Likewise.
23023         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23024         Likewise.
23025         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23026         Likewise.
23027         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23028         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23029         Likewise.
23031 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23033         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23034         (PATH_ARM_SYSTYPE): Remove.
23035         (PATH_CPUINFO): Likewise.
23036         (IO_BASE_FOOTBRIDGE): Likewise.
23037         (IO_SHIFT_FOOTBRIDGE): Likewise.
23038         (struct platform): Likewise.
23039         (init_iosys): Remove compatibility code for 2.4 kernels.
23040         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23042 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23044         * malloc/tst-malloc-thread-fail.c: New file.
23045         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23046         (tst-malloc-thread-fail): Link against libpthread.
23048 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23050         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23051         (get_parser): New function.
23052         (main): New function.
23054 2015-12-29  Rob Wu  <rob@robwu.nl>
23056         [BZ #19369]
23057         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23059 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23061         [BZ #19270]
23062         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23064 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23066         [BZ #15421]
23067         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23069 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23071         [BZ #13690]
23072         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23073         after releasing it.
23074         (__lll_robust_unlock): Likewise.
23075         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23076         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23077         (lll_robust_unlock): Likewise.
23078         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23079         Prevent warnings in callers.
23081 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23083         * malloc/arena.c (list_lock): Update comment.
23085 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23087         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23088         __parse_hwcap_and_convert_at_platform to libc.a.
23090 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23092         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23093         platform and feature support for POWER9.
23094         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23095         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23096         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23097         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23098         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23099         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23100         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23101         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23103 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23105         Harmonize generic stdio-lock support with nptl
23107         This fixes build when _IO_funlockfile is a macro, fixes build where
23108         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23109         stack unwind.
23111         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23112         _IO_release_lock ): Use cleanup attribute on new
23113         _IO_acquire_lock_file variable instead of assuming that
23114         _IO_release_lock will be called.
23115         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23116         _IO_acquire_lock_needs_exceptions_enabled.
23117         (_IO_acquire_lock_clear_flags2): New macro.
23119 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23121         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23123 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23125         [BZ #19182]
23126         * malloc/arena.c (list_lock): Document lock ordering requirements.
23127         (free_list_lock): New lock.
23128         (ptmalloc_lock_all): Comment on free_list_lock.
23129         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23130         (detach_arena): Update comment.  free_list_lock is now needed.
23131         (_int_new_arena): Use free_list_lock around detach_arena call.
23132         Acquire arena lock after list_lock.  Add comment, including FIXME
23133         about incorrect synchronization.
23134         (get_free_list): Switch to free_list_lock.
23135         (reused_arena): Acquire free_list_lock around detach_arena call
23136         and attached threads counter update.  Add two FIXMEs about
23137         incorrect synchronization.
23138         (arena_thread_freeres): Switch to free_list_lock.
23139         * malloc/malloc.c (struct malloc_state): Update comments to
23140         mention free_list_lock.
23142 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23144         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23145         Remove functions.
23146         (sloww, sloww1): Accept argument to offset quadrant.
23147         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23148         quadrant.
23149         (__sin, __cos): Consolidate common code into new functions.
23150         (reduce_sincos_1, do_sincos_1): New functions.
23151         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23154         code to new functions.
23155         (reduce_sincos_2, do_sincos_2): New functions.
23156         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23159         common code for sincos.
23160         (__cos) [!IN_SINCOS]: Likewise.
23161         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23162         New function.
23163         (__sincos): Use it.
23165 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23167         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23168         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23169         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23171 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23173         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23174         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23176         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23177         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23178         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23179         index_Prefer_No_VZEROUPPER): New feature.
23180         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23181         Prefer_No_VZEROUPPER for Knights Landing.
23183 015-12-18  Torvald Riegel  <triegel@redhat.com>
23185         * math/atest-exp2.c (mp_exp_m1): Remove.
23187 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23189         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23190         syscalls.
23191         (__SYSCALL0): New macro.
23192         (__SYSCALL1): Likewise.
23193         (__SYSCALL2): Likewise.
23194         (__SYSCALL3): Likewise.
23195         (__SYSCALL4): Likewise.
23196         (__SYSCALL5): Likewise.
23197         (__SYSCALL6): Likewise.
23198         (__SYSCALL_CONCAT_X): Likewise.
23199         (__SYSCALL_CONCAT): Likewise.
23200         (__SYSCALL_DIST): Likewise.
23201         (__SYSCALL_CALL): Likewise.
23203 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23205         [BZ #19363]
23206         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23208 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23210         [BZ #19375]
23211         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23212         negative subnormals.
23214 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23217         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23218         (INTERNAL_SYSCALL_NCS): Use it.
23219         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23221 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23223         [BZ #19243]
23224         * malloc/arena.c (get_free_list): Remove assert and adjust
23225         reference count handling.  Add comment about reused_arena
23226         interaction.
23227         (reused_arena): Add comments abount get_free_list interaction.
23228         * malloc/tst-malloc-thread-exit.c: New file.
23229         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23230         (tst-malloc-thread-exit): Link against libpthread.
23232 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23234         [BZ #19367]
23235         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23236         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23237         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23238         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23239         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23241 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23243         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23244         Silvermont optimizations for Knights Landing.
23246 2015-12-15  Andreas Schwab  <schwab@suse.de>
23248         [BZ #17197]
23249         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23250         immediately after emitting SI.
23251         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23252         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23253         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23254         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23255         * iconvdata/bug-iconv10.c: New file.
23256         * iconvdata/Makefile (tests): Add bug-iconv10.
23257         ($(objpfx)bug-iconv10.out): New rule.
23259 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23261         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23262         aliasing violation.
23264 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23266         [BZ #18472]
23267         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23268         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23269         conditionals for them.
23270         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23271         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23272         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23273         sys/kdaemon.h.
23274         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23275         compat-only syscall, obsoleted in glibc 2.23.
23276         (create_module): Likewise.
23277         (get_kernel_syms): Likewise.
23278         (query_module): Likewise.
23279         (uselib): Likewise.
23280         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23282 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23284         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23285         <linux/version.h>.
23286         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23287         conditional code.
23288         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23289         and ioshift_name initialization.
23291 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23293         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23294         Fix indentation.
23296 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23298         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23300 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23302         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23304 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23305             Jakub Wilk  <jwilk@debian.org>
23307         [BZ #19347]
23308         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23309         to change the group of the device to the tty group.
23311 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23313         Split large string section; add truncation advice
23314         * manual/examples/strncat.c: Remove.
23315         This example was misleading, as the code would have undefined
23316         behavior if "hello" was longer than SIZE.  Anyway, the manual
23317         shouldn't encourage strncpy+strncat for this sort of thing.
23318         * manual/string.texi (Copying Strings and Arrays): Split into
23319         three sections Copying Strings and Arrays, Concatenating Strings,
23320         and Truncating Strings, as this section was way too long.  All
23321         cross-referenced changed.  Add advice about string-truncation
23322         functions.  Remove misleading strncat example.
23324 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23326         * manual/nss.texi (NSS Modules Interface): Document
23327         NSS_STATUS_NOTFOUND and SUCCESS.
23329 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23331         [BZ 18568]
23332         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23333         201505L, for Unicode 8.
23335 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
23337         * locale/C-translit.h: Regenerate.
23339 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
23341         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
23342         and U+0153.
23344 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
23346         [BZ #19351]
23347         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
23348         expanding log(1+z), compare z rather than its square with epsilon
23349         to determine when to avoid evaluating the expansion.
23351         [BZ #19350]
23352         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23353         Increase overflow threshold.
23355         [BZ #19349]
23356         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
23357         when small.
23359         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23361         New macro.
23362         [__LINUX_KERNEL_VERSION >= 0x040300]
23363         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23365         Likewise.
23366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23367         Likewise.
23368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23369         Likewise.
23370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23371         Likewise.
23372         [__LINUX_KERNEL_VERSION >= 0x040300]
23373         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23374         [__LINUX_KERNEL_VERSION >= 0x040300]
23375         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23376         [__LINUX_KERNEL_VERSION >= 0x040300]
23377         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23378         [__LINUX_KERNEL_VERSION >= 0x040300]
23379         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23380         [__LINUX_KERNEL_VERSION >= 0x040300]
23381         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23383         Likewise.
23384         [__LINUX_KERNEL_VERSION >= 0x040300]
23385         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23387         Likewise.
23388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23389         Likewise.
23390         [__LINUX_KERNEL_VERSION >= 0x040300]
23391         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23393         Likewise.
23394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23395         Likewise.
23396         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
23398         Likewise.
23399         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
23400         Likewise.
23401         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
23402         Likewise.
23403         [__LINUX_KERNEL_VERSION >= 0x040300]
23404         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
23406         Likewise.
23407         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
23408         Likewise.
23409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
23410         Likewise.
23411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
23412         Likewise.
23413         [__LINUX_KERNEL_VERSION >= 0x040300]
23414         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
23415         [__LINUX_KERNEL_VERSION >= 0x040300]
23416         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23417         [__LINUX_KERNEL_VERSION >= 0x040300]
23418         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23419         [__LINUX_KERNEL_VERSION >= 0x040300]
23420         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23421         [__LINUX_KERNEL_VERSION >= 0x040300]
23422         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23423         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
23424         Likewise.
23425         [__LINUX_KERNEL_VERSION >= 0x040300]
23426         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
23427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
23428         Likewise.
23429         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
23430         Likewise.
23431         [__LINUX_KERNEL_VERSION >= 0x040300]
23432         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
23433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
23434         Likewise.
23435         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
23436         Likewise.
23437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23438         (__ASSUME_SOCKET_SYSCALL): Likewise.
23439         (__ASSUME_BIND_SYSCALL): Likewise.
23440         (__ASSUME_CONNECT_SYSCALL): Likewise.
23441         (__ASSUME_LISTEN_SYSCALL): Likewise.
23442         (__ASSUME_ACCEPT_SYSCALL): Likewise.
23443         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23444         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23445         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23446         (__ASSUME_SEND_SYSCALL): Likewise.
23447         (__ASSUME_SENDTO_SYSCALL): Likewise.
23448         (__ASSUME_RECV_SYSCALL): Likewise.
23449         (__ASSUME_RECVFROM_SYSCALL): Likewise.
23450         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
23451         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23452         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23453         (__ASSUME_SENDMSG_SYSCALL): Likewise.
23454         (__ASSUME_RECVMSG_SYSCALL): Likewise.
23455         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23456         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
23457         Likewise.
23458         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
23459         Likewise.
23460         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
23461         Likewise.
23462         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
23463         Likewise.
23464         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
23465         Likewise.
23466         [__LINUX_KERNEL_VERSION >= 0x020625]
23467         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
23468         [__LINUX_KERNEL_VERSION >= 0x020625]
23469         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
23470         [__LINUX_KERNEL_VERSION >= 0x020625]
23471         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
23472         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
23473         Likewise.
23474         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
23475         Likewise.
23476         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
23477         Likewise.
23478         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
23479         Likewise.
23480         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
23481         Likewise.
23482         [__LINUX_KERNEL_VERSION >= 0x020625]
23483         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
23484         [__LINUX_KERNEL_VERSION >= 0x020625]
23485         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
23486         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
23487         Likewise.
23488         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
23489         Likewise.
23491 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23493         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
23494         record the current if the current ABI and CPU support the FP64
23495         extension.
23496         (has-modd-spreg): Define to record the current if the current ABI and
23497         CPU support 32-bit floating point values in odd FPU registers.
23498         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23499         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
23500         $(has-modd-spreg) equals yes.
23501         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
23502         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
23503         $(has-modd-spreg) equal yes.
23505 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
23507         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
23508         basename.
23510 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
23512         * benchtests/Makefile (bench-math): Move ffs and ffsll...
23513         (bench-string): ... here.
23514         (bench): Add bench-string.
23515         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
23516         to *-benchset to reflect what they are.
23517         (benchset): Adjust.
23519         * benchtests/sincos-inputs: Add inputs from sin-inputs and
23520         cos-inputs.
23522 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
23524         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
23525         __attribute__ ((__simd__)) for vector math function declarations.
23527 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23529         Fix typo in strncat, wcsncat manual entries
23530         * manual/string.texi (Copying and Concatenation): Fix typos in
23531         sample implementations of strncat and wcsncat, by having them use
23532         the old value of the destination length, not the new one.
23534 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
23536         [BZ #16961]
23537         [BZ #16962]
23538         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
23539         string on the stack for strtod.
23540         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
23541         a string on the stack for strtof.
23542         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
23543         constructing a string on the stack for strtold.
23544         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
23545         __strtold_nan to GLIBC_PRIVATE.
23546         * math/test-nan-overflow.c: New file.
23547         * math/test-nan-payload.c: Likewise.
23548         * math/Makefile (tests): Add test-nan-overflow and
23549         test-nan-payload.
23551 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23553         Consistency about byte vs character in string.texi
23554         * manual/string.texi (String and Array Utilities):
23555         Distinguish more carefully among bytes, multibyte characters,
23556         and wide characters.  Use "byte" when talking about C 'char',
23557         to distinguish it more clearly from multibyte characters.
23558         Say "wide character" or "multibyte character" instead of
23559         "character", when a wide or multibyte character is intended.
23560         Similarly for "multibyte string" versus "string".
23561         Define these terms more carefully.
23563 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
23565         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
23566         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
23567         Likewise.
23568         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23569         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
23570         * sysdeps/sh/math_private.h: New file.
23571         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
23572         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
23573         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
23574         long double function name.
23575         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23576         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23578         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
23581         Remove __finitel, __isinfl, and __isnanl.
23582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23583         Likewise.
23584         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23586         Remove __finitel.
23587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23588         Likewise.
23589         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23591 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
23593         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
23594         installed libmvec_nonshared.a.
23596 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23598         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
23599         (sysdep_routines): Likewise.
23600         (sysdep-rtld-routines): Likewise.
23601         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
23602         [$(subdir) = nptl](tests-static): test-get_hwcap-static
23603         * sysdeps/powerpc/Versions: Added new
23604         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
23605         * sysdeps/powerpc/hwcapinfo.c: New file.
23606         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
23607         and parse hwcap, hwcap2 and platform number information.
23608         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
23609         to store HWCAP+HWCAP2 and platform number.
23610         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
23611         for HWCAP+HWCAP2 and platform number in the TCB.
23612         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
23613         the HWCAP, HWCAP2 and platform number in the TCB.
23614         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
23615         (TLS_INIT_TP): Included calls to add the hwcap and
23616         at_platform values in the TCB in TP initialization.
23617         (TLS_DEFINE_INIT_TP): Likewise.
23618         (THREAD_GET_HWCAP): New macro.
23619         (THREAD_SET_HWCAP): Likewise.
23620         (THREAD_GET_AT_PLATFORM): Likewise.
23621         (THREAD_SET_AT_PLATFORM): Likewise.
23622         * sysdeps/powerpc/powerpc32/dl-machine.h:
23623         (dl_platform_init): New function that calls
23624         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
23625         powerpc32.
23626         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
23627         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
23628         this functionality, static linking case.
23629         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
23630         linking case.
23631         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
23632         __parse_hwcap_and_convert_at_platform for the static linking case.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
23634         Included the new __parse_hwcap_and_convert_at_platform symbol in the
23635         ABI list for GLIBC 2.23.
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
23637         Likewise.
23638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
23639         Likewise.
23641 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
23643         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
23644         * configure: Regenerate.
23645         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
23646         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
23648 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
23650         * iconvdata/ibm930.c: Add comment explaining encoding uses.
23651         * iconvdata/ibm933.c: Likewise.
23652         * iconvdata/ibm935.c: Likewise.
23653         * iconvdata/ibm937.c: Likewise.
23654         * iconvdata/ibm939.c: Likewise.
23656 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23658         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
23659         pthread_join.
23660         * nptl/tst-cancel21.c (tf): Likewise.
23662 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
23664         [BZ #19313]
23665         * bits/typesizes.h (__CPU_MASK_TYPE): New.
23666         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23667         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
23668         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
23669         Likewise.
23670         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
23671         Likewise.
23672         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
23673         Likewise.
23674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
23675         Likewise.
23676         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
23677         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
23678         unsigned long int with __CPU_MASK_TYPE.
23680 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23682         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23684 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
23686         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
23687         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
23688         t512.x.
23689         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
23691 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
23693         [BZ #19214]
23694         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
23695         argument to return extended model.  Update family and model
23696         with extended family and model when family == 0x0f.
23697         (init_cpu_features): Updated.
23699 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23701         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
23702         signed off_t, so 32bit bigger than 2GiB values are fine actually.
23704         * sysdeps/mach/hurd/mmap64.c: New file.
23706 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
23708         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
23709         rights for its main user thread in NEWTASK.
23711 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
23713         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
23714         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
23716 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
23718         [BZ #14259]
23719         * Makeconfig: Rename localedir to complocaledir.
23720         Rename inst_localedir to inst_complocaledir.
23721         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
23722         * config.make.in: Use complocaledir and libc_cv_complocaledir.
23723         * configure.ac: Use libc_cv_complocaledir.
23724         * configure: Regenerate.
23725         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
23726         -DCOMPLOCALEDIR.
23727         * locale/findlocale.c: Use COMPLOCALEDIR.
23728         * locale/loadarchive.c: Likewise.
23729         * locale/programs/locale.c: Likewise.
23730         * locale/programs/localedef.c: Likewise.
23731         * locale/programs/locarchive.c: Likewise.
23732         * localedata/Makefile: Use inst_complocaledir.
23733         * sysdeps/gnu/configure: Regenerate.
23734         * sysdeps/hppa/configure: Regenerate.
23735         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
23736         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
23738         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
23739         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
23740         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
23741         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
23743 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
23745         [BZ #19058]
23746         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
23747         AS_NEEDED.
23748         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
23749         workaround.
23750         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
23751         libmvec-static-only-routines): Added new file.
23752         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
23754 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23756         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
23757         of interrupted RPC instead of restoring it.
23759         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
23760         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
23761         libc_hidden_def.
23762         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
23763         into initialized data instead of common. Define rtld_hidden_data_def.
23764         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
23765         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
23766         libc_hidden_def.
23767         (if_freenameindex): Add libc_hidden_weak.
23768         (if_nameindex): Add libc_hidden_weak.
23769         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
23770         __open64.
23771         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
23772         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
23773         * sysdeps/mach/nanosleep.c: Include <time.h>
23774         (__nanosleep): Rename to __libc_nanosleep.
23775         (__nanosleep): Add weak_alias.
23776         (nanosleep): Update alias.
23778 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
23780         * stdlib/strtod_nan.c: New file.
23781         * stdlib/strtod_nan_double.h: Likewise.
23782         * stdlib/strtod_nan_float.h: Likewise.
23783         * stdlib/strtod_nan_main.c: Likewise.
23784         * stdlib/strtod_nan_narrow.h: Likewise.
23785         * stdlib/strtod_nan_wide.h: Likewise.
23786         * stdlib/strtof_nan.c: Likewise.
23787         * stdlib/strtold_nan.c: Likewise.
23788         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
23789         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
23790         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
23791         * wcsmbs/wcstod_nan.c: Likewise.
23792         * wcsmbs/wcstof_nan.c: Likewise.
23793         * wcsmbs/wcstold_nan.c: Likewise.
23794         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23795         strtold_nan.
23796         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23797         wcstof_nan.
23798         * include/stdlib.h (__strtof_nan): Declare and use
23799         libc_hidden_proto.
23800         (__strtod_nan): Likewise.
23801         (__strtold_nan): Likewise.
23802         (__wcstof_nan): Likewise.
23803         (__wcstod_nan): Likewise.
23804         (__wcstold_nan): Likewise.
23805         * include/wchar.h (____wcstoull_l_internal): Declare.
23806         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23807         (____strtoull_l_internal): Remove declaration.
23808         (STRTOF_NAN): Define macro.
23809         (SET_MANTISSA): Remove macro.
23810         (STRTOULL): Likewise.
23811         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23812         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23813         (STRTOF_NAN): Define macro.
23814         (SET_MANTISSA): Remove macro.
23815         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23816         (SET_MANTISSA): Remove macro.
23817         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23818         macro.
23819         (SET_MANTISSA): Remove macro.
23820         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23821         macro.
23822         (SET_MANTISSA): Remove macro.
23823         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23824         (SET_MANTISSA): Remove macro.
23825         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23826         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23827         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23829         [BZ #19266]
23830         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23831         upper case and lower case letters inside NAN(), not using TOLOWER.
23832         * stdlib/tst-strtod-nan-locale-main.c: New file.
23833         * stdlib/tst-strtod-nan-locale.c: Likewise.
23834         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23835         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23836         Depend on $(gen-locales).
23837         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23838         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23839         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23840         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23841         Depend on $(gen-locales).
23842         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23844 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23846         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23848         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23850         __finitel, __isinfl, and __isnanl.
23851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23852         Likewise.
23853         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23855         __finitel.
23856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23857         Likewise.
23858         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23860 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23862         * malloc/memusage.c (me): Remove redundant getenv call.
23864 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23866         [BZ #19143]
23867         [BZ #19164]
23868         * nptl/check-cpuset.h: Remove.
23869         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23870         Remove CPU set size check.
23871         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23872         Likewise.
23873         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23874         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23875         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23876         (__pthread_setaffinity_new): Remove CPU set size check.
23877         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23878         (__kernel_cpumask_size): Remove.
23879         (__sched_setaffinity_new): Remove CPU set size check.
23880         * manual/threads.texi (Default Thread Attributes): Remove stale
23881         reference to check_cpuset_attr, determine_cpumask_size in comment.
23882         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23883         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23884         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23885         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23886         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23887         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23888         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23889         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23890         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23891         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23892         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23893         skeleton test file.
23894         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23895         tst-affinity-pid.
23897 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23899         * scripts/update-abilist.sh: New file.
23900         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23901         * Makerules (update-all-abi-%, update-all-abi)
23902         (subdir_update-all-abi): New targets.
23903         * elf/Makefile (update-all-abi): New target.
23905 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23907         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23908         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23909         (__libc_lock_define_initialized): Use it.
23910         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23911         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23912         * malloc/malloc.c (main_arena): Likewise.
23913         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23914         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23916 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23918         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23919         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23920         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23921         (PTRACE_O_MASK): Update value.
23922         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23923         New value in enum __ptrace_setoptions.
23924         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23925         (PTRACE_O_MASK): Update value.
23926         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23927         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23928         (PTRACE_O_MASK): Update value.
23929         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23930         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23931         (PTRACE_O_MASK): Update value.
23932         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23933         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23934         (PTRACE_O_MASK): Update value.
23935         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23936         New value in enum __ptrace_setoptions.
23937         (PTRACE_O_MASK): Update value.
23938         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23939         New value in enum __ptrace_setoptions.
23940         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23941         (PTRACE_O_MASK): Update value.
23943         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23944         New macro.
23945         (PACKET_AUXDATA): Likewise.
23946         (PACKET_ORIGDEV): Likewise.
23947         (PACKET_VERSION): Likewise.
23948         (PACKET_HDRLEN): Likewise.
23949         (PACKET_RESERVE): Likewise.
23950         (PACKET_TX_RING): Likewise.
23951         (PACKET_LOSS): Likewise.
23952         (PACKET_VNET_HDR): Likewise.
23953         (PACKET_TX_TIMESTAMP): Likewise.
23954         (PACKET_TIMESTAMP): Likewise.
23955         (PACKET_FANOUT): Likewise.
23956         (PACKET_TX_HAS_OFF): Likewise.
23957         (PACKET_QDISC_BYPASS): Likewise.
23958         (PACKET_ROLLOVER_STATS): Likewise.
23959         (PACKET_FANOUT_DATA): Likewise.
23960         (PACKET_MR_UNICAST): Likewise.
23962         [BZ #19242]
23963         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23964         (TOUPPER): Likewise.
23965         * stdlib/tst-strtol-locale-main.c: New file.
23966         * stdlib/tst-strtol-locale.c: Likewise.
23967         * stdlib/Makefile (tests): Add tst-strtol-locale.
23968         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23969         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23970         Depend on $(gen-locales).
23971         * wcsmbs/tst-wcstol-locale.c: New file.
23972         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23973         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23974         tr_TR.ISO-8859-9.
23975         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23976         Depend on $(gen-locales).
23978 2015-11-20  Roland McGrath  <roland@hack.frob.com>
23980         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23981         __glibc_likely instead of __builtin_expect.  After falling back to
23982         dyncode_create in a non-ET_DYN case, use the allocate_code_data
23983         system interface to register the code pages as occupied.
23985 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
23987         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23988         [!ARM_MATH_PRIVATE_H].
23989         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23990         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23991         [!HPPA_MATH_PRIVATE_H].
23992         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23993         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23994         to [!I386_MATH_PRIVATE_H].
23995         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23996         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23997         Change guard to [!M68K_MATH_PRIVATE_H].
23998         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23999         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24000         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24001         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24002         macro.
24003         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24004         [!MIPS_MATH_PRIVATE_H].
24005         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24006         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24007         [!NIO2_MATH_PRIVATE_H].
24008         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24009         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24010         [!TILE_MATH_PRIVATE_H].
24011         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24013         [BZ #15421]
24014         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24015         initialize with 0 and define as weak alias of __signgam.
24016         * include/math.h [!_ISOMAC] (__signgam): Declare.
24017         * math/Makefile (libm-calls): Add w_lgamma_compat.
24018         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24019         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24020         test-signgam-ullong-init.
24021         (tests-static): Add test-signgam-uchar-static,
24022         test-signgam-uchar-init-static, test-signgam-uint-static,
24023         test-signgam-uint-init-static, test-signgam-ullong-static and
24024         test-signgam-ullong-init-static.
24025         (CFLAGS-test-signgam-uchar.c): New variable.
24026         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24027         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24028         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24029         (CFLAGS-test-signgam-uint.c): Likewise.
24030         (CFLAGS-test-signgam-uint-init.c): Likewise.
24031         (CFLAGS-test-signgam-uint-static.c): Likewise.
24032         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24033         (CFLAGS-test-signgam-ullong.c): Likewise.
24034         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24035         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24036         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24037         * math/Versions (libm): Add GLIBC_2.23.
24038         * math/lgamma-compat.h: New file.
24039         * math/test-signgam-main.c: Likewise.
24040         * math/test-signgam-uchar-init-static.c: Likewise.
24041         * math/test-signgam-uchar-init.c: Likewise.
24042         * math/test-signgam-uchar-static.c: Likewise.
24043         * math/test-signgam-uchar.c: Likewise.
24044         * math/test-signgam-uint-init-static.c: Likewise.
24045         * math/test-signgam-uint-init.c: Likewise.
24046         * math/test-signgam-uint-static.c: Likewise.
24047         * math/test-signgam-uint.c: Likewise.
24048         * math/test-signgam-ullong-init-static.c: Likewise.
24049         * math/test-signgam-ullong-init.c: Likewise.
24050         * math/test-signgam-ullong-static.c: Likewise.
24051         * math/test-signgam-ullong.c: Likewise.
24052         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24053         wrapper of w_lgamma_main.c.
24054         * math/w_lgamma_compat.c: New file.
24055         * math/w_lgamma_compatf.c: Likewise.
24056         * math/w_lgamma_compatl.c: Likewise.
24057         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24058         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24059         defining compatibility symbols.
24060         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24061         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24062         wrapper of w_lgammaf_main.c.
24063         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24064         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24065         defining compatibility symbols.
24066         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24067         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24068         wrapper of w_lgammal_main.c.
24069         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24070         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24071         defining compatibility symbols.
24072         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24073         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24074         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24075         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24076         <lgamma-compat.h>.
24077         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24078         (__ieee754_gamma): Define as alias.
24079         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24080         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24081         <lgamma-compat.h>.
24082         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24083         (__ieee754_gammaf): Define as alias.
24084         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24085         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24086         <lgamma-compat.h>.
24087         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24088         (__ieee754_gammal): Define as alias.
24089         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24090         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24091         <math/w_lgamma_compat.c>.
24092         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24093         Define as alias of __lgamma_compat and use in defining lgammal.
24094         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24095         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24096         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24097         (USE_AS_COMPAT): New macro.
24098         (LGAMMA_OLD_VER): Undefine and redefine.
24099         (lgammal): Do not define here.
24100         (gammal): Only define here if [GAMMA_ALIAS].
24101         * conform/linknamespace.pl (@whitelist): Remove signgam.
24102         * sysdeps/nacl/libm.abilist: Update.
24103         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24104         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24105         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24106         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24107         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24108         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24109         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24110         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24111         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24112         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24113         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24114         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24118         Likewise.
24119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24120         Likewise.
24121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24122         Likewise.
24123         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24124         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24125         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24126         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24127         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24129         Likewise.
24130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24131         Likewise.
24132         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24133         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24134         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24136 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24138         [BZ #16364]
24139         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24140         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24142 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24144         * sysdeps/s390/fpu/bits/mathinline.h:
24145         Use __asm__ [__volatile__] instead of asm [volatile].
24146         * sysdeps/s390/abort-instr.h: Likewise.
24147         * sysdeps/s390/atomic-machine.h: Likewise.
24148         * sysdeps/s390/bits/string.h: Likewise.
24149         * sysdeps/s390/dl-tls.h: Likewise.
24150         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24151         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24152         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24153         * sysdeps/s390/fpu/fesetround.c: Likewise.
24154         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24155         * sysdeps/s390/fpu/s_fma.c: Likewise.
24156         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24157         * sysdeps/s390/memusage.h: Likewise.
24158         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24159         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24160         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24161         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24162         * sysdeps/s390/nptl/tls.h: Likewise.
24163         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24164         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24165         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24166         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24167         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24168         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24169         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24170         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24171         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24172         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24173         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24174         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24175         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24176         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24177         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24178         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24179         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24180         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24181         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24183         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24184         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24185         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24187 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24188             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24190         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24191         Add lwarx hint, and use macro for acquire instruction.
24192         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24193         Likewise.
24194         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24195         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24196         update to use new atomic macros.
24198 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24200         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24201         (__lll_trylock_elision): Fix setting of adapt_count.
24202         * sysdeps/unix/sysv/linux/powerpc/htm.h
24203         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24204         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24205         (_ABORT_SYSCALL): Renumber, and clarify definition.
24206         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24208 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24210         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24211         after system headers to prevent MIN/MAX redefinition.  Define
24212         HAVE_ALLOCA to preserve builtin alloca usage.
24214 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24217         static and don't set or restore rounding.
24218         (__cos)[IN_SINCOS]: Likewise.
24219         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24220         (__sincos): Set and restore rounding mode.  Remove check for infinite
24221         or NaN input.
24223         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24225         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24226         as used.
24228 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24230         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24232 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24234         * config.make.in (have-glob-dat-reloc): New.
24235         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24236         target supports GLOB_DAT relocaton. AC_SUBST.
24237         * configure: Regenerated.
24238         * elf/Makefile (tests): Add tst-prelink.
24239         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24240         (tst-prelink-ENV): New.
24241         ($(objpfx)tst-prelink-conflict.out): Likewise.
24242         ($(objpfx)tst-prelink-cmp.out): Likewise.
24243         * sysdeps/x86/tst-prelink.c: Moved to ...
24244         * elf/tst-prelink.c: Here.
24245         * sysdeps/x86/tst-prelink.exp: Moved to ...
24246         * elf/tst-prelink.exp: Here.
24247         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24248         (tst-prelink-ENV): Removed.
24249         ($(objpfx)tst-prelink-conflict.out): Likewise.
24250         ($(objpfx)tst-prelink-cmp.out): Likewise.
24251         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24253 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24255         [BZ #14551]
24256         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24257         (__mpn_construct_long_double): If high part overflows to infinity,
24258         set errno and recompute overflowed result of the correct sign.
24259         * sysdeps/ieee754/ldbl-128ibm/Makefile
24260         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24261         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24262         $(libm).
24263         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24265 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24267         [BZ #15479]
24268         [BZ #19238]
24269         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24270         floating-point state after first operation on input.  Restore full
24271         state rather than just rounding mode.
24272         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24273         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24274         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24276         [BZ #19235]
24277         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24278         add 0.5 to integer arguments.
24279         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24280         Likewise.
24281         (.LC2): New object.
24283 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24285         * scripts/pylintrc (reports): Set to no.
24287 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24289         * elf/dl-load.c (open_verify): Take new argument FD.
24290         Skip __open call if passed FD is not -1.
24291         (_dl_map_object, open_path): Update callers.
24292         * elf/dl-sysdep-open.h: New file.
24293         * elf/dl-load.c: Include it.
24294         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24295         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24296         * sysdeps/nacl/dl-sysdep-open.h: New file.
24297         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24298         from libc to rtld.
24300 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24302         [BZ #19228]
24303         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24304         and restore full floating-point state.
24305         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24306         Likewise.
24307         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24308         Likewise.
24309         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24310         Likewise.
24311         * math/test-nearbyint-except-2.c: New file.
24312         * math/Makefile (tests): Add test-nearbyint-except-2.
24314 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24316         [BZ #19178]
24317         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24318         (tst-prelink-ENV): New.
24319         ($(objpfx)tst-prelink-conflict.out): Likewise.
24320         ($(objpfx)tst-prelink-cmp.out): Likewise.
24321         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24322         * sysdeps/x86/tst-prelink.c: New file.
24323         * sysdeps/x86/tst-prelink.exp: Likewise.
24325 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24327         * math/auto-libm-test-in: Add another test of pow.
24328         * math/auto-libm-test-out: Regenerated.
24329         * math/libm-test.inc (pow_test_data): Add another test.
24331 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24333         [BZ #19219]
24334         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
24335         weak_alias to nearbyintl.
24337 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24339         * sysdeps/aarch64/bits/string.h: New file.
24340         (_STRING_ARCH_unaligned): Define.
24342 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
24344         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
24345         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24346         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24347         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
24350 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
24352         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
24353         for original name of the DSO.  Add it to the name list of the DSO
24354         if it is actually given.
24355         (_dl_map_object): Keep track of whether an audit module rewrote
24356         the file name.  If yes, pass the original name to
24357         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
24358         debugging is enabled, log the change of the file name.
24359         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
24360         _dl_map_object_from_fd.
24361         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
24362         * elf/tst-audit11.c: New file
24363         * elf/tst-auditmod11.c: New file.
24364         * elf/tst-audit11mod1.c: New file.
24365         * elf/tst-audit11mod2.c: New file.
24366         * elf/tst-audit11mod2.map: New file.
24367         * elf/tst-audit12.c: New file
24368         * elf/tst-auditmod12.c: New file.
24369         * elf/tst-audit12mod1.c: New file.
24370         * elf/tst-audit12mod2.c: New file.
24371         * elf/tst-audit12mod2.map: New file.
24372         * elf/tst-audit12mod3.c: New file.
24374 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24376         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
24377         Don't create weak aliases,
24378         because versioned symbols are created later.
24379         * sysdeps/s390/s390-32/setjmp.S
24380         (setjmp, _setjmp): Remove weak and rename to an unique name
24381         in SHARED case due to existing versioned symbols.
24382         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
24384         (getcontext): Create weak alias only in non SHARED case.
24385         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24387 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
24389         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
24390         (__ASSUME_*_SYSCALL) Define new macros.
24391         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
24392         Remove socketcall syscalls.
24393         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
24394         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
24395         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
24396         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
24397         * sysdeps/unix/sysv/linux/send.c (__libc_send):
24398         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
24400 2015-11-09  Florian Weimer  <fweimer@redhat.com>
24402         [BZ #12926]
24403         Terminate process on invalid netlink response.
24404         * sysdeps/unix/sysv/linux/netlinkaccess.h
24405         (__netlink_assert_response): Declare.
24406         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
24407         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
24408         (sysdep_routines): Add netlink_assert_response.
24409         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
24410         __netlink_assert_response.
24411         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
24412         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
24413         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
24414         __netlink_assert_response.
24416 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24418         [BZ #19178]
24419         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
24420         (RTYPE_CLASS_PLT): Likewise.
24421         (RTYPE_CLASS_COPY): Likewise.
24422         (RTYPE_CLASS_TLS): Likewise.
24423         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
24424         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
24425         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
24426         DL_DEBUG_PRELINK.
24428 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
24430         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
24431         calls with argument -0.5.
24432         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
24434         * configure.ac (libc_cv_z_nodelete): Remove configure test.
24435         (libc_cv_z_nodlopen): Likewise.
24436         (libc_cv_z_initfirst): Likewise.
24437         * configure: Regenerated.
24439 2015-11-06  Florian Weimer  <fweimer@redhat.com>
24441         Simplify abilist format to be line-based.
24442         * scripts/abilist.awk: Collect descriptors in the descs variable.
24443         (emit): Write descs variable and sort it
24444         externally, with sort.
24445         * sysdeps/**/*.abilist: Convert to new format.
24447 2015-11-06  Mark Wielaard  <mjw@redhat.com>
24449         [BZ #11460]
24450         * io/Makefile (routines): Add fts64.
24451         (tests): Add tst-fts and tst-fts-lfs.
24452         (CFLAGS-fts64.c): New.
24453         * io/Versions (GLIBC_2.23): New.
24454         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
24455         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
24456         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
24457         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
24458         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
24459         (FTSENT64): Likewise.
24460         (fts64_children): Likewise.
24461         (fts64_close): Likewise.
24462         (fts64_open): Likewise.
24463         (fts64_read): Likewise.
24464         (fts64_set): Likewise.
24465         * io/fts64.c: New file.
24466         * io/tst-fts.c: New test.
24467         * io/tst-fts-lfs.c: Likewise.
24468         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
24469         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
24470         fts64_set.
24471         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24472         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24473         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24474         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24475         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24476         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24477         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24478         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24479         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24480         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24481         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24482         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24483         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24485         Likewise.
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24487         Likewise.
24488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
24490         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24491         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24492         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24493         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24494         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24497         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24498         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24499         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24500         * sysdeps/wordsize-64/fts.c: New file.
24501         * sysdeps/wordsize-64/fts64.c: Likewise.
24502         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
24503         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
24504         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
24505         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
24507 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24509         * math/libm-test.inc (NON_FINITE): New macro.
24510         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
24511         * math/gen-libm-test.pl (show_exceptions): Add argument
24512         $non_finite.
24513         (parse_args): Update call to show_exceptions.
24514         * math/test-math-finite.h: New file.
24515         * math/test-math-no-finite.h: Likewise.
24516         * math/test-double-finite.c: Likewise.
24517         * math/test-float-finite.c: Likewise.
24518         * math/test-ldouble-finite.c: Likewise.
24519         * math/test-double.c: Include "test-math-no-finite.h".
24520         * math/test-float.c: Include "test-math-no-finite.h".
24521         * math/test-ldouble.c: Include "test-math-no-finite.h".
24522         * math/test-math-inline.h (TEST_FINITE): New macro.
24523         * math/test-math-vector.h (TEST_FINITE): Likewise.
24524         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
24525         (libm-tests): Add test-float-finite and test-double-finite.
24526         ($(objpfx)test-float-finite.o): New dependency on
24527         $(objpfx)libm-test.stmp.
24528         ($(objpfx)test-double-finite.o): Likewise.
24529         ($(objpfx)test-ldouble-finite.o): Likewise.
24530         (libm-test-no-inline-cflags): New variable.
24531         (libm-test-finite-cflags): Likewise.
24532         (CFLAGS-test-float-finite.c): Likewise.
24533         (CFLAGS-test-double-finite.c): Likewise.
24534         (CFLAGS-test-ldouble-finite.c): Likewise.
24535         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
24536         (CFLAGS-test-double.c): Likewise.
24537         (CFLAGS-test-ldouble.c): Likewise.
24539 2015-11-05  Roland McGrath  <roland@hack.frob.com>
24541         * io/fcntl.c (__fcntl): Add ... to prototype.
24542         * misc/ioctl.c (__ioctl): Likewise.
24543         * misc/syscall.c (syscall): Likewise.
24545 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
24547         * scripts/list-fixed-bugs.py: New file.
24549         [BZ #19213]
24550         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
24551         returned for argument 1.
24552         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
24553         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
24554         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
24555         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
24556         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
24557         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
24559         [BZ #19211]
24560         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
24561         __USE_XOPEN], not if [!__USE_ISOC99].
24562         (lgammaf): Likewise.
24563         (lgammal): Likewise.
24564         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
24565         (gammaf): Likewise.
24566         (gammal): Likewise.
24567         * math/test-signgam-finite-c11.c: New file.
24568         * math/test-signgam-finite-c99.c: Likewise.
24569         * math/test-signgam-finite.c: Likewise.
24570         * math/Makefile (tests): Add test-signgam-finite,
24571         test-signgam-finite-c99 and test-signgam-finite-c11.
24572         (CFLAGS-test-signgam-finite.c): New variable.
24573         (CFLAGS-test-signgam-finite-c99.c): Likewise.
24574         (CFLAGS-test-signgam-finite-c11.c): Likewise.
24576         [BZ #19212]
24577         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
24578         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
24579         500].
24580         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
24581         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
24582         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
24583         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
24584         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
24585         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
24586         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
24587         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
24588         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
24589         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
24591         [BZ #19209]
24592         * math/bits/math-finite.h (ldexp): Remove declaration.
24593         (ldexpf): Likewise.
24594         (ldexpl): Likewise.
24596         [BZ #19205]
24597         * math/bits/math-finite.h (acosf): Condition declaration on
24598         [__USE_ISOC99].
24599         (acosl): Likewise.
24600         (acoshf): Likewise.
24601         (acoshl): Likewise.
24602         (asinf): Likewise.
24603         (asinl): Likewise.
24604         (atan2f): Likewise.
24605         (atan2l): Likewise.
24606         (atanhf): Likewise.
24607         (atanhl): Likewise.
24608         (coshf): Likewise.
24609         (coshl): Likewise.
24610         (expf): Likewise.
24611         (expl): Likewise.
24612         (fmodf): Likewise.
24613         (fmodl): Likewise.
24614         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
24615         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
24616         (j0l): Likewise.
24617         (y0f): Likewise.
24618         (y0l): Likewise.
24619         (j1f): Likewise.
24620         (j1l): Likewise.
24621         (y1f): Likewise.
24622         (y1l): Likewise.
24623         (jnf): Likewise.
24624         (jnl): Likewise.
24625         (ynf): Likewise.
24626         (ynl): Likewise.
24627         (lgammaf_r): Condition declaration on [__USE_ISOC99].
24628         (lgammal_r): Likewise.
24629         (__lgamma_r_finite): New declaration.
24630         (__lgammaf_r_finite): Likewise.
24631         (__lgammal_r_finite): Likewise.
24632         (lgamma): Use __lgamma_r_finite.
24633         (lgammaf): Condition definition on [__USE_ISOC99].  Use
24634         __lgammaf_r_finite.
24635         (lgammal): Condition definition on [__USE_ISOC99].  Use
24636         __lgammal_r_finite.
24637         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
24638         __lgamma_r_finite.
24639         (gammaf): Condition definition on [__USE_ISOC99].  Use
24640         __lgammaf_r_finite.
24641         (gammal): Condition definition on [__USE_ISOC99].  Use
24642         __lgammal_r_finite.
24643         (logf): Condition declaration on [__USE_ISOC99].
24644         (logl): Likewise.
24645         (log10f): Likewise.
24646         (log10l): Likewise.
24647         (ldexpf): Likewise.
24648         (ldexpl): Likewise.
24649         (powf): Likewise.
24650         (powl): Likewise.
24651         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
24652         __USE_ISOC99].
24653         (remainderf): Condition declaration on [__USE_ISOC99].
24654         (remainderl): Likewise.
24655         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
24656         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
24657         (scalbl): Likewise.
24658         (sinhf): Condition declaration on [__USE_ISOC99].
24659         (sinhl): Likewise.
24660         (sqrtf): Likewise.
24661         (sqrtl): Likewise.
24663 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24665         * sysdeps/arm/atomic-machine.h
24666         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24667         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24668         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
24669         Remove conditional code.
24670         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
24671         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
24672         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
24673         Change conditional to [__ASSEMBLER__].
24674         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24675         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
24676         [!__ASSEMBLER__].
24677         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
24678         code.
24679         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
24680         conditional macro definitions.
24681         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
24682         (__arch_compare_and_exchange_val_16_acq): Likewise.
24683         (__arch_compare_and_exchange_val_32_acq): Likewise.
24684         (atomic_exchange_and_add): Likewise.
24685         (atomic_add): Likewise.
24686         (atomic_add_negative): Likewise.
24687         (atomic_add_zero): Likewise.
24688         (atomic_bit_set): Likewise.
24689         (atomic_bit_test_set): Likewise.
24690         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
24691         code unconditional.
24692         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24694         * math/test-math-errno.h: New file.
24695         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
24696         empty.
24697         (TEST_ERRNO): New macro.
24698         (TEST_EXCEPTIONS): Likewise.
24699         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
24700         (TEST_EXCEPTIONS): Likewise.
24701         * math/test-math-vector.h (TEST_ERRNO): Likewise.
24702         * math/test-double.c: Include "test-math-errno.h".
24703         * math/test-float.c: Likewise.
24704         * math/test-ldouble.c: Likewise.
24705         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
24706         code unconditional.
24707         (test_exceptions): Only run code if TEST_EXCEPTIONS.
24708         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
24709         unconditional.
24710         (test_errno): Only run code if TEST_ERRNO.
24711         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
24713 2015-11-04  Florian Weimer  <fweimer@redhat.com>
24715         * nptl/tst-once5.cc: Remove attribution.
24717 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
24719         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
24720         sqrt, tan, tanh, y0, y1 and yn.
24721         * math/auto-libm-test-out: Regenerated.
24722         * math/libm-test.inc (scalb_test_data): Add more tests.
24723         (scalbn_test_data): Likewise.
24724         (scalbln_test_data): Likewise.
24725         (signbit_test_data): Likewise.
24726         (sin_test_data): Likewise.
24727         (sincos_test_data): Likewise.
24728         (sinh_test_data): Likewise.
24729         (sqrt_test_data): Likewise.
24730         (tan_test_data): Likewise.
24731         (tanh_test_data): Likewise.
24732         (tgamma_test_data): Likewise.
24733         (y0_test_data): Likewise.
24734         (y1_test_data): Likewise.
24735         (yn_test_data): Likewise.
24736         (significand_test_data): Likewise.
24737         * sysdeps/i386/fpu/libm-test-ulps: Update.
24739 2015-11-03  David Kastrup  <dak@gnu.org>
24741         [BZ #18604]
24742         * assert/assert.h (assert): Don't macro-expand failed assertion
24743         expression in error message.
24744         * malloc/malloc.c (assert): Likewise.
24746 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
24748         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
24749         test.
24750         * configure: Regenerated.
24752 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
24754         * math/libm-test.inc (modf_test_data): Add more tests.
24755         (nearbyint_test_data): Likewise.
24756         (nextafter_test_data): Likewise.
24757         (nexttoward_test_data): Likewise.
24758         (pow_test_data): Likewise.
24759         (remainder_test_data): Likewise.
24760         (remquo_test_data): Likewise.
24761         (rint_test_data): Likewise.
24763         [BZ #19201]
24764         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24765         Check for zero remainder in case of large exponents and ensure
24766         correct sign of result in that case.
24767         * math/libm-test.inc (remainder_test_data): Add more tests.
24769         [BZ #6799]
24770         * math/s_nextafter.c: Include <errno.h>.
24771         (__nextafter): Set errno on overflow and underflow.
24772         * math/s_nexttowardf.c: Include <errno.h>.
24773         (__nexttowardf): Set errno on overflow and underflow.
24774         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
24775         (__nextafterl): Set errno on overflow and underflow.
24776         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
24777         (__nexttoward): Set errno on overflow and underflow.
24778         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
24779         (__nexttowardf): Set errno on overflow and underflow.
24780         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
24781         (__nextafterf): Set errno on overflow and underflow.
24782         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
24783         (__nextafterl): Set errno on overflow and underflow.
24784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
24785         (__nexttoward): Set errno on overflow and underflow.
24786         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
24787         (__nexttowardf): Set errno on overflow and underflow.
24788         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
24789         (__nextafterl): Set errno on overflow and underflow.
24790         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
24791         (__nexttoward): Set errno on overflow and underflow.
24792         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
24793         (__nexttowardf): Set errno on overflow and underflow.
24794         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24795         (__nexttoward): Set errno on overflow and underflow.
24796         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24797         (__nexttowardf): Set errno on overflow and underflow.
24798         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24799         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24800         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24801         (__nextafterl): Set errno on overflow and underflow.
24802         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24803         setting to be missing on overflow.  Add more tests.
24804         (nexttoward_test_data): Likewise.
24806         * configure.ac (libc_cv_initfini_array): Remove configure test.
24807         * configure: Regenerated.
24809 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24811         [BZ #19189]
24812         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24813         non-finite argument handle arguments with negative sign.
24815         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24816         result from infinite argument.
24817         (j1_test_data): Likewise.
24818         (jn_test_data): Likewise.
24819         (y0_test_data): Likewise.
24820         (y1_test_data): Likewise.
24821         (yn_test_data): Likewise.
24823         [BZ #16171]
24824         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24825         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24826         * math/w_remainderf.c (dremf): Define as weak alias of
24827         __remainderf.
24828         * math/w_remainderl.c (dreml): Define as weak alias of
24829         __remainderl.
24830         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24831         __remainder.
24832         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24833         __remainderf.
24834         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24835         __remainderl.
24836         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24837         weak alias of remainderl.
24838         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24839         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24840         alias of __remainder.
24841         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24842         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24843         strong alias of __remainderl.
24844         (dreml): Use long_double_symbol.
24845         * math/Makefile (libm-calls): Remove w_drem.
24846         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24847         (CFLAGS-nldbl-drem.c): Remove variable.
24848         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24849         * math/w_drem.c: Remove file.
24850         * math/w_dremf.c: Likewise.
24851         * math/w_dreml.c: Likewise.
24852         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24853         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24854         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24856         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24857         * sysdeps/i386/configure: Regenerated.
24858         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24859         * sysdeps/x86_64/configure: Regenerated.
24861         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24862         test.
24863         (libc_cv_visibility_attribute): Likewise.
24864         (libc_cv_protected_data): Test unconditionally.
24865         (libc_cv_broken_visibility_attribute): Remove configure test.
24866         (libc_cv_have_sdata_section): Test unconditionally.
24867         * configure: Regenerated.
24869         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24870         * include/scratch_buffer.h: Include <stddef.h> instead of
24871         <libc-internal.h>.
24872         (struct scratch_buffer): Use max_align_t instead of
24873         libc_max_align_t.
24875 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24877         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24878         instead of extend_alloca.  Change control flow to avoid a goto.
24879         Remove assert which is trivially always true.
24881 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24883         [BZ #16068]
24884         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24885         (FE_ALL_EXCEPT_X86): New macro.
24886         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24887         FE_ALL_EXCEPT.  Ensure precision control is included in
24888         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24889         handle "denormal operand exception" and clear FZ and DAZ bits.
24890         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24891         (FE_ALL_EXCEPT_X86): New macro.
24892         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24893         FE_ALL_EXCEPT.  Ensure precision control is included in
24894         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24895         handle "denormal operand exception" and clear FZ and DAZ bits.
24896         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24897         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24898         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24899         test-fenv-x87 and test-fenv-sse-2.
24900         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24902         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24903         * math/test-double.h (BUILD_COMPLEX): New macro.
24904         * math/test-float.h (BUILD_COMPLEX): Likewise.
24905         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24907         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24908         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24909         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24911         instead of DBL_DENORM_MIN in comment.
24912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24913         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24914         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24915         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24916         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24917         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24919 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24921         [BZ #19048]
24922         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24923         attached_threads member.
24924         (main_arena): Initialize attached_threads.
24925         * malloc/arena.c (list_lock): Update comment.
24926         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24927         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24928         (deattach_arena): New function.
24929         (_int_new_arena): Initialize arena reference count and deattach
24930         replaced arena.
24931         (get_free_list, reused_arena): Update reference count and deattach
24932         replaced arena.
24933         (arena_thread_freeres): Update arena reference count and only put
24934         unreferenced arenas on the free list.
24936 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24938         [BZ #19181]
24939         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24940         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24941         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24942         * math/test-fenv-clear-main.c: New file.
24943         * math/test-fenv-clear.c: Likewise.
24944         * math/Makefile (tests): Add test-fenv-clear.
24945         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24946         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24947         test-fenv-clear-sse.
24948         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24950         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24951         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24952         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24954 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24956         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24957         static libc.
24959 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24961         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24962         test.
24963         * sysdeps/i386/configure: Regenerated.
24964         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24965         test.
24966         * sysdeps/x86_64/configure: Regenerated.
24967         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24969         memset-avx2 unconditionally instead of conditionally on
24970         [$(config-cflags-avx2) = yes].
24971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24972         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24973         unconditional.
24974         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24975         * sysdeps/x86_64/multiarch/memset_chk.S
24976         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24977         to [IS_IN (libc) && SHARED].
24979 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24981         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24982         configure test.
24983         * sysdeps/arm/configure: Regenerated.
24984         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24985         Define variable if not already defined.
24987         [BZ #17404]
24988         * sysdeps/mips/atomic-machine.h
24989         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24990         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24991         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24993         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24994         unconditional.
24995         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24996         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24997         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24998         unconditional.
24999         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25000         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25001         unconditional.
25002         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25003         * stdlib/setenv.c
25004         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25005         code unconditional.
25006         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25007         Remove conditional code.
25008         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25009         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25010         unconditional.
25011         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25012         code.
25013         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25014         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25015         unconditional.
25016         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25017         code.
25018         * sysdeps/ieee754/ldbl-128/k_tanl.c
25019         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25020         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25022         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25023         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25024         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25025         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25026         unconditional.
25027         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25028         code.
25029         * sysdeps/ieee754/ldbl-96/k_tanl.c
25030         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25031         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25033         * nptl/tst-initializers1-c11.c: New file.
25034         * nptl/tst-initializers1-gnu11.c: Likewise.
25035         * nptl/Makefile (tests): Add these new tests.
25036         (CFLAGS-tst-initializers1-c11.c): New variable.
25037         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25039         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25040         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25041         instead of -std=gnu99.
25042         * configure.ac (systemtap): Test with -std=gnu11 instead of
25043         -std=gnu99.
25044         * configure: Regenerated.
25045         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25046         in compilation command in comment.
25048         * sysdeps/nptl/configure.ac: Remove file.
25049         * sysdeps/nptl/configure: Remove generated file.
25050         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25051         * configure: Regenerated.
25052         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25053         * config.make.in (have-forced-unwind): Remove variable.
25054         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25055         unconditional.
25056         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25057         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25058         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25059         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25060         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25061         unconditional.
25063 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25065         [BZ #19174]
25066         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25067         .skip_lock_out_of_tbegin_retries.
25068         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25069         (__lll_lock_elision): Likewise, and respect a value of
25070         try_tbegin <= 0.
25072 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25074         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25075         statement.
25077 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25079         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25080         variable.
25081         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25082         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25084         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25085         of -std=c1x -D_ISOC11_SOURCE.
25087         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25088         * configure: Regenerated.
25089         * manual/install.texi (Tools for Compilation): Document
25090         requirement for GCC 4.7 or later.
25091         * INSTALL: Regenerated.
25093 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25095         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25096         on CNT to a conditional jump to 'puntdata'.
25098 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25100         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25101         (libc_cv_gcc_tls_model_attr): Likewise.
25102         * configure: Regenerated.
25104         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25105         * configure: Regenerated.
25106         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25108 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25110         * configure.ac (old_glibc_headers): Remove configure test.
25111         * configure: Regenerated.
25112         * config.make.in (old-glibc-headers): Remove variable.
25113         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25114         (install): Remove dependency on remove-old-headers.
25115         (headers2_0): Remove variable.
25116         (remove-old-headers): Remove rule.
25118         * configure.ac (libc_cv_dot_text): Remove configure test.
25119         (libc_cv_asm_set_directive): Use .text instead of
25120         ${libc_cv_dot_text} in configure test.
25121         * configure: Regenerated.
25123 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25125         [BZ #19168]
25126         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25128 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25130         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25131         not support static linking.
25132         * configure: Regenerate.
25134 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25136         * math/libm-test.inc (check_float_internal): Do not special-case
25137         errors up to 0.5 ulp.
25139         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25140         log2.
25141         * math/auto-libm-test-out: Regenerated.
25142         * math/libm-test.inc (MAX_EXP): New macro.
25143         (ilogb_test_data): Add more tests.
25144         (isfinite_test_data): Likewise.
25145         (isgreater_test_data): Likewise.
25146         (isgreaterequal_test_data): Likewise.
25147         (isinf_test_data): Likewise.
25148         (isless_test_data): Likewise.
25149         (islessequal_test_data): Likewise.
25150         (islessgreater_test_data): Likewise.
25151         (isnan_test_data): Likewise.
25152         (isnormal_test_data): Likewise.
25153         (issignaling_test_data): Likewise.
25154         (isunordered_test_data): Likewise.
25155         (j0_test_data): Likewise.
25156         (j1_test_data): Likewise.
25157         (jn_test_data): Likewise.
25158         (lgamma_test_data): Likewise.
25159         (log_test_data): Likewise.
25160         (log10_test_data): Likewise.
25161         (log1p_test_data): Likewise.
25162         (log2_test_data): Likewise.
25163         (logb_test_data): Likewise.
25164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25166         [BZ #18611]
25167         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25168         avoid excess range and precision on underflow.
25169         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25170         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25171         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25172         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25173         underflow.
25174         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25175         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25176         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25178         * math/auto-libm-test-in: Do not allow missing errno setting for
25179         tests of j1 and jn.
25180         * math/auto-libm-test-out: Regenerated.
25182 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25184         [BZ #15491]
25185         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25186         floating-point environment instead of clearing all exceptions.
25187         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25188         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25189         merging in "invalid" exceptions from frndint.
25190         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25191         * math/test-nearbyint-except.c: New file.
25192         * math/Makefile (tests): Add test-nearbyint-except.
25194 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25196         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25198         * sysdeps/tile/libm-test-ulps: Regenerated.
25200 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25203         (__NR_sync_file_range2): Assume it is always defined.
25204         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25205         (__NR_sync_file_range): Assume it is always defined.
25207 2015-10-22  Andreas Schwab  <schwab@suse.de>
25209         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25210         INTERNAL_SYSCALL_ERRNO.
25211         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25212         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25213         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25214         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25215         Likewise.
25216         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25218 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25220         * io/tst-fcntl.c (fd): New static variable.
25221         (do_prepare): Open temporary file here....
25222         (do_test): ...not here.
25224         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25226 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25228         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25229         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25230         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25231         Moved before "#ifdef __ASSEMBLER__".
25233 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25235         [BZ #19156]
25236         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25237         arguments very close to 0.
25239 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25241         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25242         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25244 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25246         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25247         New.  Defined for GCC 5 and above when not compiling for
25248         profiling.
25249         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25251         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25252         Renamed to ...
25253         (CFLAGS-epoll_pwait.o): This.
25254         (CFLAGS-mmap.c): Renamed to ...
25255         (CFLAGS-mmap.o): This.
25256         (CFLAGS-mmap64.c): Renamed to ...
25257         (CFLAGS-mmap64.o): This.
25258         (CFLAGS-epoll_pwait.os): New.
25259         (CFLAGS-mmap.os): Likewise.
25260         (CFLAGS-mmap64.os): Likewise.
25261         (CFLAGS-semtimedop.os): Likewise.
25262         (CFLAGS-semtimedop.c): Renamed to ...
25263         (CFLAGS-semtimedop.o): This.
25265 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25267         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25268         warning message.
25270 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25272         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25273         * Makefile ($(objpfx)c++-types-check.out): Filter out
25274         $(+gccwarn-c) instead of -Wstrict-prototypes.
25276         * io/fts.c (fts_open): Convert to prototype-style function
25277         definition.
25278         * malloc/mcheck.c (mcheck): Likewise.
25279         (mcheck_pedantic): Likewise.
25280         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25281         internal_function.
25282         (re_search_internal): Likewise.
25283         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25284         prototype-style function definition.
25285         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25286         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25287         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25288         (xdr_utmpptr): Likewise.
25289         (xdr_utmparr): Likewise.
25290         (xdr_utmpidle): Likewise.
25291         (xdr_utmpidleptr): Likewise.
25292         (xdr_utmpidlearr): Likewise.
25294         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25295         log, log10 and log2.
25296         * math/auto-libm-test-out: Regenerated.
25297         * math/libm-test.inc (fmod_test_data): Add more tests.
25298         (fpclassify_test_data): Likewise.
25299         (frexp_test_data): Likewise.
25300         (hypot_test_data): Likewise.
25301         (ilogb_test_data): Likewise.
25303 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25305         * debug/fortify_fail.c (__fortify_fail): Convert to
25306         prototype-style function definition.  Use internal_function.
25307         * libio/genops.c (save_for_backup): Convert to prototype-style
25308         function definition.
25309         * libio/wgenops.c (save_for_wbackup): Likewise.
25310         * login/grantpt.c (grantpt): Likewise.
25311         * login/ptsname.c (ptsname): Likewise.
25312         (__ptsname_r): Likewise.
25313         * login/unlockpt.c (unlockpt): Likewise.
25314         * mach/msgserver.c (__mach_msg_server): Likewise.
25315         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25316         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25317         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25318         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25319         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25320         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25321         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25322         Likewise.
25323         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25324         internal_function.
25325         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25326         prototype-style function definition.
25327         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
25328         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
25329         (__pthread_create_2_0): Likewise.
25330         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
25331         * nptl/register-atfork.c (__register_atfork): Likewise.
25332         * posix/glob.c (glob): Likewise.
25333         * posix/regcomp.c (re_comp): Likewise.
25334         * posix/regexec.c (re_exec): Likewise.
25335         * stdlib/add_n.c [__STDC__]: Make code unconditional.
25336         [!__STDC__]: Remove conditional code.
25337         * stdlib/cmp.c [__STDC__]: Make code unconditional.
25338         [!__STDC__]: Remove conditional code.
25339         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
25340         [!__STDC__]: Remove conditional code.
25341         * stdlib/divrem.c [__STDC__]: Make code unconditional.
25342         [!__STDC__]: Remove conditional code.
25343         * stdlib/lshift.c [__STDC__]: Make code unconditional.
25344         [!__STDC__]: Remove conditional code.
25345         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
25346         [!__STDC__]: Remove conditional code.
25347         * stdlib/mul.c [__STDC__]: Make code unconditional.
25348         [!__STDC__]: Remove conditional code.
25349         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
25350         [!__STDC__]: Remove conditional code.
25351         * stdlib/rshift.c [__STDC__]: Make code unconditional.
25352         [!__STDC__]: Remove conditional code.
25353         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
25354         function definition.
25355         (STRTOF): Likewise.
25356         * stdlib/strtod_l.c (__STRTOF): Likewise.
25357         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
25358         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
25359         (__strtol_l): Likewise.
25360         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
25361         [!__STDC__]: Remove conditional code.
25362         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
25363         definition.
25364         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25365         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25366         type.
25367         (__strcasecmp): Convert to prototype-style function definition.
25368         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
25369         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25370         type.
25371         (__strncasecmp): Convert to prototype-style function definition.
25372         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
25373         * sunrpc/xdr.c (xdr_union): Likewise.
25374         * sunrpc/xdr_array.c (xdr_array): Likewise.
25375         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
25376         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
25377         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
25378         Likewise.
25379         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
25380         Likewise.
25381         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
25382         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25383         Likewise.
25384         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
25385         (LOCALE_PARAM_PROTO): Likewise.
25386         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
25387         argument type.
25388         (ut_argument_spec): Remove macro.
25389         (ut_argument_spec_iso): Rename to ut_argument_spec.
25390         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
25391         prototype-style function definition.
25392         (memcpy_uppcase): Likewise.
25393         (__strftime_internal): Likewise.
25394         (my_strftime): Likewise.
25395         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
25396         (LOCALE_PARAM_DECL): Likewise.
25397         [_LIBC] (LOCALE_PARAM): Include argument type.
25398         (__strptime_internal): Convert to prototype-style function
25399         definition.
25400         (strptime): Likewise.
25401         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
25402         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25403         type.
25404         (__wcscasecmp): Convert to prototype-style function definition.
25405         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
25406         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
25407         type.
25408         (__wcsncasecmp): Convert to prototype-style function definition.
25410         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
25411         function definition.
25412         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25413         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25414         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
25415         * elf/dl-minimal.c (_itoa): Likewise.
25416         * hurd/hurdmalloc.c (malloc): Likewise.
25417         (free): Likewise.
25418         (realloc): Likewise.
25419         * inet/inet6_option.c (inet6_option_space): Likewise.
25420         (inet6_option_init): Likewise.
25421         (inet6_option_append): Likewise.
25422         (inet6_option_alloc): Likewise.
25423         (inet6_option_next): Likewise.
25424         (inet6_option_find): Likewise.
25425         * io/ftw.c (FTW_NAME): Likewise.
25426         (NFTW_NAME): Likewise.
25427         (NFTW_NEW_NAME): Likewise.
25428         (NFTW_OLD_NAME): Likewise.
25429         * libio/iofwide.c (_IO_fwide): Likewise.
25430         * libio/strops.c (_IO_str_init_static_internal): Likewise.
25431         (_IO_str_init_static): Likewise.
25432         (_IO_str_init_readonly): Likewise.
25433         (_IO_str_overflow): Likewise.
25434         (_IO_str_underflow): Likewise.
25435         (_IO_str_count): Likewise.
25436         (_IO_str_seekoff): Likewise.
25437         (_IO_str_pbackfail): Likewise.
25438         (_IO_str_finish): Likewise.
25439         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
25440         (_IO_wstr_overflow): Likewise.
25441         (_IO_wstr_underflow): Likewise.
25442         (_IO_wstr_count): Likewise.
25443         (_IO_wstr_seekoff): Likewise.
25444         (_IO_wstr_pbackfail): Likewise.
25445         (_IO_wstr_finish): Likewise.
25446         * locale/programs/localedef.c (normalize_codeset): Likewise.
25447         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25448         (add_locales_to_archive): Likewise.
25449         (delete_locales_from_archive): Likewise.
25450         * malloc/malloc.c (__libc_mallinfo): Likewise.
25451         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
25452         * misc/tsearch.c (__tfind): Likewise.
25453         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
25454         * nptl/pthread_attr_getdetachstate.c
25455         (__pthread_attr_getdetachstate): Likewise.
25456         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25457         Likewise.
25458         * nptl/pthread_attr_getinheritsched.c
25459         (__pthread_attr_getinheritsched): Likewise.
25460         * nptl/pthread_attr_getschedparam.c
25461         (__pthread_attr_getschedparam): Likewise.
25462         * nptl/pthread_attr_getschedpolicy.c
25463         (__pthread_attr_getschedpolicy): Likewise.
25464         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
25465         Likewise.
25466         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
25467         Likewise.
25468         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25469         Likewise.
25470         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25471         Likewise.
25472         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
25473         (__pthread_attr_init_2_0): Likewise.
25474         * nptl/pthread_attr_setdetachstate.c
25475         (__pthread_attr_setdetachstate): Likewise.
25476         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25477         Likewise.
25478         * nptl/pthread_attr_setinheritsched.c
25479         (__pthread_attr_setinheritsched): Likewise.
25480         * nptl/pthread_attr_setschedparam.c
25481         (__pthread_attr_setschedparam): Likewise.
25482         * nptl/pthread_attr_setschedpolicy.c
25483         (__pthread_attr_setschedpolicy): Likewise.
25484         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
25485         Likewise.
25486         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
25487         Likewise.
25488         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25489         Likewise.
25490         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25491         Likewise.
25492         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
25493         Likewise.
25494         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
25495         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
25496         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
25497         use internal_function.
25498         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
25499         prototype-style function definition.
25500         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25501         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
25502         internal_function.
25503         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
25504         Convert to prototype-style function definition.
25505         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25506         Likewise.
25507         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
25508         Likewise.
25509         (__pthread_mutex_unlock): Likewise.
25510         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
25511         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
25512         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
25513         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
25514         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
25515         * nss/makedb.c (process_input): Likewise.
25516         * posix/fnmatch.c (__strchrnul): Likewise.
25517         (__wcschrnul): Likewise.
25518         (fnmatch): Likewise.
25519         * posix/fnmatch_loop.c (FCT): Likewise.
25520         * posix/glob.c (globfree): Likewise.
25521         (__glob_pattern_type): Likewise.
25522         (__glob_pattern_p): Likewise.
25523         * posix/regcomp.c (re_compile_pattern): Likewise.
25524         (re_set_syntax): Likewise.
25525         (re_compile_fastmap): Likewise.
25526         (regcomp): Likewise.
25527         (regerror): Likewise.
25528         (regfree): Likewise.
25529         * posix/regexec.c (regexec): Likewise.
25530         (re_match): Likewise.
25531         (re_search): Likewise.
25532         (re_match_2): Likewise.
25533         (re_search_2): Likewise.
25534         (re_search_stub): Likewise.  Use internal_function
25535         (re_copy_regs): Likewise.
25536         (re_set_registers): Convert to prototype-style function
25537         definition.
25538         (prune_impossible_nodes): Likewise.  Use internal_function.
25539         * resolv/inet_net_pton.c (inet_net_pton): Convert to
25540         prototype-style function definition.
25541         (inet_net_pton_ipv4): Likewise.
25542         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25543         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
25544         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
25545         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
25546         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25547         Make variadic.
25548         * time/strptime_l.c (localtime_r): Convert to prototype-style
25549         function definition.
25550         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25551         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25552         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25553         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25555         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
25556         definition.
25557         (_ufc_doit_r): Likewise.
25558         * crypt/crypt_util.c (_ufc_copymem): Likewise.
25559         (_ufc_output_conversion_r): Likewise.
25560         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
25561         * inet/rcmd.c (rcmd_af): Likewise.
25562         (rcmd): Likewise.
25563         (ruserok_af): Likewise.
25564         (ruserok): Likewise.
25565         (ruserok2_sa): Likewise.
25566         (ruserok_sa): Likewise.
25567         (iruserok_af): Likewise.
25568         (iruserok): Likewise.
25569         (__ivaliduser): Likewise.
25570         (__validuser2_sa): Likewise.
25571         * inet/rexec.c (rexec_af): Likewise.
25572         (rexec): Likewise.
25573         * inet/ruserpass.c (ruserpass): Likewise.
25574         * locale/programs/xmalloc.c (xcalloc): Likewise.
25575         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
25576         * math/w_drem.c (__drem): Likewise.
25577         * math/w_dremf.c (__dremf): Likewise.
25578         * math/w_dreml.c (__dreml): Likewise.
25579         * misc/daemon.c (daemon): Likewise.
25580         * resolv/res_debug.c (p_fqnname): Likewise.
25581         * stdlib/div.c (div): Likewise.
25582         * string/memcmp.c (memcmp_bytes): Likewise.
25583         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
25584         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
25586         * crypt/cert.c (main): Convert to prototype-style function
25587         definition.
25588         * io/pipe.c (__pipe): Likewise.
25589         * io/pipe2.c (__pipe2): Likewise.
25590         * misc/futimesat.c (futimesat): Likewise.
25591         * misc/utimes.c (__utimes): Likewise.
25592         * posix/execve.c (__execve): Likewise.
25593         * posix/execvp.c (execvp): Likewise.
25594         * posix/execvpe.c (__execvpe): Likewise.
25595         * posix/fexecve.c (fexecve): Likewise.
25596         * socket/socketpair.c (socketpair): Likewise.
25597         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25598         * stdlib/erand48.c (erand48): Likewise.
25599         * stdlib/erand48_r.c (__erand48_r): Likewise.
25600         * stdlib/jrand48.c (jrand48): Likewise.
25601         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
25602         * stdlib/lcong48.c (lcong48): Likewise.
25603         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
25604         * stdlib/nrand48.c (nrand48): Likewise.
25605         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
25606         * stdlib/seed48.c (seed48): Likewise.
25607         * stdlib/seed48_r.c (__seed48_r): Likewise.
25608         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
25609         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
25610         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
25612 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25614         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
25615         * configure: Regenerated.
25616         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
25617         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
25618         unconditional.
25619         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25620         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25621         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25622         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
25623         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
25624         unconditional.
25625         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
25627         * posix/Makefile (CFLAGS-regex.c): Remove variable.
25628         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
25630         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
25631         function definition.
25632         * crypt/crypt_util.c (__encrypt_r): Likewise.
25633         * libio/genops.c (_IO_no_init): Likewise.
25634         * libio/iofopncook.c (_IO_fopencookie): Likewise.
25635         (_IO_old_fopencookie): Likewise.
25636         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25637         * libio/iogetline.c (_IO_getline): Likewise.
25638         (_IO_getline_info): Likewise.
25639         * libio/iogetwline.c (_IO_getwline): Likewise.
25640         (_IO_getwline_info): Likewise.
25641         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
25642         * libio/vswprintf.c (_IO_vswprintf): Likewise.
25643         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
25644         (find_entry): Likewise.
25645         (iterate_table): Likewise.
25646         (lookup): Likewise.
25647         * login/forkpty.c (forkpty): Likewise.
25648         * misc/hsearch_r.c (__hsearch_r): Likewise.
25649         * misc/select.c (__select): Likewise.
25650         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
25651         Likewise.
25652         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
25653         Likewise.
25654         * nptl/old_pthread_cond_timedwait.c
25655         (__pthread_cond_timedwait_2_0): Likewise.
25656         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25657         * nptl/pthread_barrierattr_getpshared.c
25658         (pthread_barrierattr_getpshared): Likewise.
25659         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
25660         Likewise.
25661         * nptl/pthread_mutex_setprioceiling.c
25662         (pthread_mutex_setprioceiling): Likewise.
25663         * nptl/pthread_mutexattr_getprioceiling.c
25664         (pthread_mutexattr_getprioceiling): Likewise.
25665         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25666         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25667         Likewise.
25668         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25669         Likewise.
25670         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
25671         Likewise.
25672         * socket/recvfrom.c (__recvfrom): Likewise.
25673         * socket/sendto.c (__sendto): Likewise.
25674         * socket/setsockopt.c (__setsockopt): Likewise.
25675         * stdio-common/_itoa.c (_itoa): Likewise.
25676         * stdio-common/_itowa.c (_itowa): Likewise.
25677         * stdio-common/reg-printf.c (__register_printf_specifier):
25678         Likewise.
25679         (__register_printf_function): Likewise.
25680         * stdio-common/tempname.c (__path_search): Likewise.
25681         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
25682         * stdlib/mul_1.c (mpn_mul_1): Likewise.
25683         * stdlib/random_r.c (__initstate_r): Likewise.
25684         * stdlib/setenv.c (__add_to_environ): Likewise.
25685         * stdlib/submul_1.c (mpn_submul_1): Likewise.
25686         * streams/getpmsg.c (getpmsg): Likewise.
25687         * streams/putmsg.c (putmsg): Likewise.
25688         * streams/putpmsg.c (putpmsg): Likewise.
25689         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
25690         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
25691         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
25692         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
25693         * sunrpc/pm_getport.c (pmap_getport): Likewise.
25694         * sunrpc/svc_udp.c (cache_get): Likewise.
25695         * sunrpc/xdr_array.c (xdr_vector): Likewise.
25696         * sysdeps/mach/hurd/getcwd.c
25697         (__canonicalize_directory_name_internal): Likewise.
25698         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
25699         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
25700         * sysdeps/mach/hurd/select.c (__select): Likewise.
25701         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
25702         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
25703         * sysdeps/sparc/nptl/pthread_barrier_init.c
25704         (__pthread_barrier_init): Likewise.
25705         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
25706         (__pthread_cond_timedwait): Likewise.
25707         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
25708         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
25709         Likewise.
25710         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
25711         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
25712         Likewise.
25713         * sysvipc/semtimedop.c (semtimedop): Likewise.
25714         * time/setitimer.c (__setitimer): Likewise.
25715         * time/strftime_l.c (emacs_strftime): Likewise.
25717 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25719         * config.make.in (have-ssp): Delete.
25720         (stack-protector): New variable.
25721         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
25722         cache test for -fstack-protector-strong.  Export stack_protector to
25723         the best ssp flag.
25724         * configure: Regenerated.
25725         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
25726         * nscd/Makefile (CFLAGS-nscd): Likewise.
25727         * resolv/Makefile (CFLAGS-libresolv): Likewise.
25729 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
25731         [BZ #19122]
25732         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
25733         attribute_hidden.
25735 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25737         [BZ #18743]
25738         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
25739         code to...
25740         (ELIDE_LOCK): ...here.
25741         (__get_new_count): New function with part of the code from
25742         __elide_lock that updates the value of adapt_count after a
25743         transaction abort.
25744         (__elided_trylock): Moved this code to...
25745         (ELIDE_TRYLOCK): ...here.
25747 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
25749         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
25750         * configure: Regenerate.
25751         * INSTALL: Regenerate.
25752         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
25753         and tweak grammar.
25755 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
25757         * login/programs/pt_chown.c: Include signal.h
25758         (main): Clear any signal mask from the parent process.
25760 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
25762         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
25763         * configure: Regenerated.
25764         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
25765         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
25766         $(gnu89-inline-CFLAGS).
25768         * configure.ac (libc_cv_asm_weak_directive): Remove configure
25769         test.
25770         (libc_cv_asm_weakext_directive): Likewise.
25771         * configure: Regenerated.
25772         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
25773         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
25774         * include/libc-symbols.h
25775         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
25776         #error.
25777         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
25778         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
25780         * sysdeps/arm/backtrace.c (__backtrace): Convert to
25781         prototype-style function definition.
25782         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25783         * sysdeps/i386/ffs.c (__ffs): Likewise.
25784         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25785         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
25786         Likewise.
25787         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25788         Likewise.
25789         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25790         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25791         Likewise.
25792         * sysdeps/m68k/ffs.c (__ffs): Likewise.
25793         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
25794         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25795         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25796         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25797         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25798         * sysdeps/mach/hurd/access.c (__access): Likewise.
25799         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25800         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25801         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25802         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25803         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25804         (cthread_getspecific): Likewise.
25805         (cthread_setspecific): Likewise.
25806         (__libc_getspecific): Likewise.
25807         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25808         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25809         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25810         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25811         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25812         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25813         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25814         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25815         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25816         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25817         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25818         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25819         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25820         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25821         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25822         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25823         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25824         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25825         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25826         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25827         * sysdeps/mach/hurd/link.c (__link): Likewise.
25828         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25829         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25830         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25831         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25832         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25833         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25834         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25835         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25836         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25837         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25838         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25839         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25840         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25841         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25842         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25843         * sysdeps/mach/hurd/send.c (__send): Likewise.
25844         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25845         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25846         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25847         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25848         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25849         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25850         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25851         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25852         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25853         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25854         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25855         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25856         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25857         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25858         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25859         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25860         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25861         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25862         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25863         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25864         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25865         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25866         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25867         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25868         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25869         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25870         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25871         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25872         * sysdeps/posix/alarm.c (alarm): Likewise.
25873         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25874         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25875         * sysdeps/posix/dup.c (__dup): Likewise.
25876         * sysdeps/posix/dup2.c (__dup2): Likewise.
25877         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25878         (main): Likewise.
25879         * sysdeps/posix/flock.c (__flock): Likewise.
25880         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25881         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25882         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25883         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25884         * sysdeps/posix/isatty.c (__isatty): Likewise.
25885         * sysdeps/posix/killpg.c (killpg): Likewise.
25886         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25887         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25888         * sysdeps/posix/raise.c (raise): Likewise.
25889         * sysdeps/posix/remove.c (remove): Likewise.
25890         * sysdeps/posix/rename.c (rename): Likewise.
25891         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25892         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25893         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25894         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25895         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25896         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25897         * sysdeps/posix/sigset.c (sigset): Likewise.
25898         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25899         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25900         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25901         * sysdeps/posix/time.c (time): Likewise.
25902         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25903         (ttyname): Likewise.
25904         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25905         * sysdeps/posix/utime.c (utime): Likewise.
25906         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25907         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25908         Likewise.
25909         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25910         (pthread_spin_trylock): Likewise.
25911         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25912         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25913         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25914         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25915         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25916         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25917         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25918         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25919         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25920         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25921         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25922         * sysdeps/s390/ffs.c (__ffs): Likewise.
25923         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25924         Likewise.
25925         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25926         Likewise.
25927         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25928         Likewise.
25929         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25930         (pthread_barrier_destroy): Likewise.
25931         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25932         (__pthread_barrier_wait): Likewise.
25933         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25934         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25935         (__pthread_barrier_wait): Likewise.
25936         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25937         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25938         (memcmp_not_common_alignment): Likewise.
25939         (MEMCMP): Likewise.
25940         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25941         (_wordcopy_fwd_dest_aligned): Likewise.
25942         (_wordcopy_bwd_aligned): Likewise.
25943         (_wordcopy_bwd_dest_aligned): Likewise.
25944         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25945         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25946         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25947         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25948         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25949         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25950         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25951         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25952         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25953         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25954         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25955         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25956         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25957         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25958         * sysdeps/unix/stime.c (stime): Likewise.
25959         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25960         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25961         Likewise.  Use internal_function.
25962         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25963         Convert to prototype-style function definition.
25964         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25965         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25966         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25967         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25968         Likewise.  Use internal_function.
25969         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25970         prototype-style function definition
25971         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25972         Likewise.
25973         (__getlogin_r): Likewise.
25974         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25975         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25976         (__pthread_cond_broadcast): Likewise.
25977         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25978         (__pthread_cond_destroy): Likewise.
25979         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25980         (__pthread_cond_init): Likewise.
25981         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25982         (__pthread_cond_signal): Likewise.
25983         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25984         (__pthread_cond_wait): Likewise.
25985         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25986         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25987         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25988         Likewise.
25989         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25990         Likewise.
25991         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25992         Likewise.
25993         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25994         Likewise.
25995         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25997         (__ftruncate64): Likewise.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25999         (truncate64): Likewise.
26000         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26001         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26002         (pthread_getcpuclockid): Likewise.
26003         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26004         Likewise.
26005         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26006         Likewise.
26007         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26008         Likewise.
26009         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26010         Likewise.
26011         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26012         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26013         (__libc_sigaction): Likewise.
26014         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26015         Likewise.
26016         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26017         (__sigprocmask): Likewise.
26018         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26019         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26020         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26022         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26023         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26024         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26025         Likewise.
26026         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26027         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26028         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26029         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26030         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26031         Likewise.
26032         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26033         (__sigprocmask): Likewise.
26034         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26035         (cfgetispeed): Likewise.
26036         (cfsetospeed): Likewise.
26037         (cfsetispeed): Likewise.
26038         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26039         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26040         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26041         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26042         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26043         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26044         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26045         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26046         Likewise.
26047         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26048         Likewise.
26049         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26050         Likewise.
26051         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26052         Likewise.
26053         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26055 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26057         sunrpc: Rewrite with explicit TLS access using __thread.
26058         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26059         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26060         directly.
26061         (__rpc_thread_variables): Access thread_rpc_vars directly.
26062         Eliminate redundant assignment of the tvp variable.
26064 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26066         malloc: Rewrite with explicit TLS access using __thread.
26067         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26068         (tsd_setspecific, tsd_getspecific): Remove.
26069         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26070         (tsd_setspecific, tsd_getspecific): Likewise.
26071         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26072         (tsd_setspecific, tsd_getspecific): Likewise.
26073         * malloc/arena.c (thread_arena): New TLS variable.
26074         (arena_key): Remove variable.
26075         (arena_get): Use thread_arena.
26076         (arena_lookup): Remove macro.
26077         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26078         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26079         (_int_new_arena, get_free_list, reused_arena)
26080         (arena_thread_freeres): Use thread_arena.
26081         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26082         tsd_getspecific, tsd_setspecific from safety annotations.
26083         (Allocating Cleared Space): Remove arena_lookup from safety
26084         annotations.
26086 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26088         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26089         struct scratch_buffer instead of extend_alloca.
26091 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26093         * sysdeps/unix/sysv/linux/kernel-features.h
26094         (__ASSUME_SOCK_CLOEXEC): Remove.
26095         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26096         (__have_paccept): Remove unused macro.
26097         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26098         * misc/syslog.c (openlog_internal): Remove fallback code for
26099         !__ASSUME_SOCK_CLOEXEC.
26100         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26101         missing SOCK_CLOEXEC.
26102         * nscd/connections.c (have_sock_cloexec): Remove definition.
26103         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26104         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26105         !__ASSUME_SOCK_CLOEXEC.
26106         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26107         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26108         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26109         definition.
26110         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26111         code for !__ASSUME_SOCK_CLOEXEC.
26113 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26115         [BZ #18982]
26116         * manual/stdio.texi (Variable Arguments Output): Add portability
26117         note, explaining that vfprintf clobbers the va_list pointer.
26119 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26121         * math/libm-test.inc (fabs_test_data): Add more tests.
26122         (fdim_test_data): Likewise.
26123         (fma_test_data): Likewise.
26124         (fmax_test_data): Likewise.
26125         (fmin_test_data): Likewise.
26126         (fmod_test_data): Likewise.
26128 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26130         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26131         data.
26133 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26135         * math/libm-test.inc (ceil_test_data): Add more tests and more
26136         expectations for "inexact".
26137         (floor_test_data): Add more tests.
26138         (round_test_data): Likewise.
26139         (trunc_test_data): Likewise.
26141         * crypt/cert.c (good_bye): Convert to prototype-style function
26142         definition.
26143         (get8): Likewise.
26144         (put8): Likewise.
26145         * crypt/crypt-entry.c (crypt): Likewise.
26146         (__fcrypt): Likewise.
26147         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26148         (_ufc_set_bits): Likewise.
26149         (_ufc_clearmem): Likewise.
26150         (__init_des_r): Likewise.
26151         (shuffle_sb): Likewise.
26152         (shuffle_sb): Likewise.
26153         (_ufc_setup_salt_r): Likewise.
26154         (_ufc_mk_keytab_r): Likewise.
26155         (_ufc_dofinalperm_r): Likewise.
26156         (encrypt): Likewise.
26157         (__setkey_r): Likewise.
26158         (setkey): Likewise.
26159         * crypt/md5.c (md5_init_ctx): Likewise.
26160         (md5_read_ctx): Likewise.
26161         (md5_finish_ctx): Likewise.
26162         (md5_stream): Likewise.
26163         (md5_buffer): Likewise.
26164         (md5_process_bytes): Likewise.
26165         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26166         (__sha256_finish_ctx): Likewise.
26167         (__sha256_process_bytes): Likewise.
26168         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26169         (__sha512_finish_ctx): Likewise.
26170         (__sha512_process_bytes): Likewise.
26171         * ctype/isctype.c (__isctype): Likewise.
26172         * debug/backtrace.c (__backtrace): Likewise.
26173         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26174         * debug/fgets_chk.c (__fgets_chk): Likewise.
26175         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26176         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26177         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26178         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26179         * debug/memset_chk.c (__memset_chk): Likewise.
26180         * debug/strcat_chk.c (__strcat_chk): Likewise.
26181         * debug/strncat_chk.c (__strncat_chk): Likewise.
26182         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26183         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26184         * dirent/dirfd.c (dirfd): Likewise.
26185         * dirent/getdents.c (__getdirentries): Likewise.
26186         * dirent/getdents64.c (getdirentries64): Likewise.
26187         * dirent/rewinddir.c (__rewinddir): Likewise.
26188         * dirent/seekdir.c (seekdir): Likewise.
26189         * dirent/telldir.c (telldir): Likewise.
26190         * elf/sln.c (makesymlinks): Likewise.
26191         (makesymlink): Likewise.
26192         * gmon/gmon.c (__moncontrol): Likewise.
26193         (__monstartup): Likewise.
26194         (write_hist): Likewise.
26195         (write_call_graph): Likewise.
26196         (write_bb_counts): Likewise.
26197         * grp/setgroups.c (setgroups): Likewise.
26198         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26199         * inet/inet_net.c (inet_network): Likewise.
26200         * inet/inet_netof.c (inet_netof): Likewise.
26201         * inet/rcmd.c (rresvport_af): Likewise.
26202         (rresvport): Likewise.
26203         * io/access.c (__access): Likewise.
26204         * io/chdir.c (__chdir): Likewise.
26205         * io/chmod.c (__chmod): Likewise.
26206         * io/chown.c (__chown): Likewise.
26207         * io/close.c (__close): Likewise.
26208         * io/creat.c (creat): Likewise.
26209         * io/creat64.c (creat64): Likewise.
26210         * io/dup.c (__dup): Likewise.
26211         * io/dup2.c (__dup2): Likewise.
26212         * io/dup3.c (__dup3): Likewise.
26213         * io/euidaccess.c (__euidaccess): Likewise.
26214         * io/faccessat.c (faccessat): Likewise.
26215         * io/fchmod.c (__fchmod): Likewise.
26216         * io/fchmodat.c (fchmodat): Likewise.
26217         * io/fchown.c (__fchown): Likewise.
26218         * io/fchownat.c (fchownat): Likewise.
26219         * io/fcntl.c (__fcntl): Likewise.
26220         * io/flock.c (__flock): Likewise.
26221         * io/fts.c (fts_load): Likewise.
26222         (fts_close): Likewise.
26223         (fts_read): Likewise.
26224         (fts_set): Likewise.
26225         (fts_children): Likewise.
26226         (fts_build): Likewise.
26227         (fts_stat): Likewise.
26228         (fts_sort): Likewise.
26229         (fts_alloc): Likewise.
26230         (fts_lfree): Likewise.
26231         (fts_palloc): Likewise.
26232         (fts_padjust): Likewise.
26233         (fts_maxarglen): Likewise.
26234         (fts_safe_changedir): Likewise.
26235         * io/getwd.c (getwd): Likewise.
26236         * io/isatty.c (__isatty): Likewise.
26237         * io/lchown.c (__lchown): Likewise.
26238         * io/link.c (__link): Likewise.
26239         * io/linkat.c (linkat): Likewise.
26240         * io/lseek.c (__libc_lseek): Likewise.
26241         * io/mkdir.c (__mkdir): Likewise.
26242         * io/mkdirat.c (mkdirat): Likewise.
26243         * io/mkfifo.c (mkfifo): Likewise.
26244         * io/mkfifoat.c (mkfifoat): Likewise.
26245         * io/open.c (__libc_open): Likewise.
26246         * io/open64.c (__libc_open64): Likewise.
26247         * io/readlink.c (__readlink): Likewise.
26248         * io/readlinkat.c (readlinkat): Likewise.
26249         * io/rmdir.c (__rmdir): Likewise.
26250         * io/symlink.c (__symlink): Likewise.
26251         * io/symlinkat.c (symlinkat): Likewise.
26252         * io/ttyname.c (ttyname): Likewise.
26253         * io/ttyname_r.c (__ttyname_r): Likewise.
26254         * io/umask.c (__umask): Likewise.
26255         * io/unlink.c (__unlink): Likewise.
26256         * io/unlinkat.c (unlinkat): Likewise.
26257         * io/utime.c (utime): Likewise.
26258         * libio/clearerr.c (clearerr): Likewise.
26259         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26260         * libio/feof.c (_IO_feof): Likewise.
26261         * libio/feof_u.c (feof_unlocked): Likewise.
26262         * libio/ferror.c (_IO_ferror): Likewise.
26263         * libio/ferror_u.c (ferror_unlocked): Likewise.
26264         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26265         * libio/fileno.c (__fileno): Likewise.
26266         * libio/fputc.c (fputc): Likewise.
26267         * libio/fputc_u.c (fputc_unlocked): Likewise.
26268         * libio/fputwc.c (fputwc): Likewise.
26269         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26270         * libio/freopen.c (freopen): Likewise.
26271         * libio/freopen64.c (freopen64): Likewise.
26272         * libio/fseek.c (fseek): Likewise.
26273         * libio/fseeko.c (fseeko): Likewise.
26274         * libio/fseeko64.c (fseeko64): Likewise.
26275         * libio/ftello.c (__ftello): Likewise.
26276         * libio/ftello64.c (ftello64): Likewise.
26277         * libio/fwide.c (fwide): Likewise.
26278         * libio/genops.c (_IO_un_link): Likewise.
26279         (_IO_link_in): Likewise.
26280         (_IO_least_marker): Likewise.
26281         (_IO_switch_to_main_get_area): Likewise.
26282         (_IO_switch_to_backup_area): Likewise.
26283         (_IO_switch_to_get_mode): Likewise.
26284         (_IO_free_backup_area): Likewise.
26285         (_IO_switch_to_put_mode): Likewise.
26286         (__overflow): Likewise.
26287         (__underflow): Likewise.
26288         (__uflow): Likewise.
26289         (_IO_setb): Likewise.
26290         (_IO_doallocbuf): Likewise.
26291         (_IO_default_underflow): Likewise.
26292         (_IO_default_uflow): Likewise.
26293         (_IO_default_xsputn): Likewise.
26294         (_IO_sgetn): Likewise.
26295         (_IO_default_xsgetn): Likewise.
26296         (_IO_sync): Likewise.
26297         (_IO_default_setbuf): Likewise.
26298         (_IO_default_seekpos): Likewise.
26299         (_IO_default_doallocate): Likewise.
26300         (_IO_init): Likewise.
26301         (_IO_old_init): Likewise.
26302         (_IO_default_sync): Likewise.
26303         (_IO_default_finish): Likewise.
26304         (_IO_default_seekoff): Likewise.
26305         (_IO_sputbackc): Likewise.
26306         (_IO_sungetc): Likewise.
26307         (_IO_set_column): Likewise.
26308         (_IO_set_column): Likewise.
26309         (_IO_adjust_column): Likewise.
26310         (_IO_get_column): Likewise.
26311         (_IO_init_marker): Likewise.
26312         (_IO_remove_marker): Likewise.
26313         (_IO_marker_difference): Likewise.
26314         (_IO_marker_delta): Likewise.
26315         (_IO_seekmark): Likewise.
26316         (_IO_unsave_markers): Likewise.
26317         (_IO_nobackup_pbackfail): Likewise.
26318         (_IO_default_pbackfail): Likewise.
26319         (_IO_default_seek): Likewise.
26320         (_IO_default_stat): Likewise.
26321         (_IO_default_read): Likewise.
26322         (_IO_default_write): Likewise.
26323         (_IO_default_showmanyc): Likewise.
26324         (_IO_default_imbue): Likewise.
26325         (_IO_iter_next): Likewise.
26326         (_IO_iter_file): Likewise.
26327         * libio/getc.c (_IO_getc): Likewise.
26328         * libio/getwc.c (_IO_getwc): Likewise.
26329         * libio/iofclose.c (_IO_new_fclose): Likewise.
26330         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26331         * libio/iofflush.c (_IO_fflush): Likewise.
26332         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
26333         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
26334         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
26335         * libio/iofgets.c (_IO_fgets): Likewise.
26336         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
26337         * libio/iofgetws.c (fgetws): Likewise.
26338         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26339         * libio/iofopen64.c (_IO_fopen64): Likewise.
26340         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26341         (_IO_cookie_write): Likewise.
26342         (_IO_cookie_seek): Likewise.
26343         (_IO_cookie_close): Likewise.
26344         (_IO_cookie_seekoff): Likewise.
26345         (_IO_old_cookie_seek): Likewise.
26346         * libio/iofputs.c (_IO_fputs): Likewise.
26347         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
26348         * libio/iofputws.c (fputws): Likewise.
26349         * libio/iofputws_u.c (fputws_unlocked): Likewise.
26350         * libio/iofread.c (_IO_fread): Likewise.
26351         * libio/iofread_u.c (__fread_unlocked): Likewise.
26352         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
26353         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26354         * libio/ioftell.c (_IO_ftell): Likewise.
26355         * libio/iofwrite.c (_IO_fwrite): Likewise.
26356         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26357         * libio/iogets.c (_IO_gets): Likewise.
26358         * libio/iopadn.c (_IO_padn): Likewise.
26359         * libio/iopopen.c (_IO_new_proc_open): Likewise.
26360         (_IO_new_popen): Likewise.
26361         (_IO_new_proc_close): Likewise.
26362         * libio/ioputs.c (_IO_puts): Likewise.
26363         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
26364         (_IO_seekoff): Likewise.
26365         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
26366         (_IO_seekpos): Likewise.
26367         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
26368         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
26369         * libio/ioungetc.c (_IO_ungetc): Likewise.
26370         * libio/ioungetwc.c (ungetwc): Likewise.
26371         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26372         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
26373         * libio/iowpadn.c (_IO_wpadn): Likewise.
26374         * libio/libc_fatal.c (__libc_fatal): Likewise.
26375         * libio/memstream.c (__open_memstream): Likewise.
26376         (_IO_mem_sync): Likewise.
26377         (_IO_mem_finish): Likewise.
26378         * libio/oldfileops.c (_IO_old_file_init): Likewise.
26379         (_IO_old_file_close_it): Likewise.
26380         (_IO_old_file_finish): Likewise.
26381         (_IO_old_file_fopen): Likewise.
26382         (_IO_old_file_attach): Likewise.
26383         (_IO_old_file_setbuf): Likewise.
26384         (_IO_old_do_write): Likewise.
26385         (old_do_write): Likewise.
26386         (_IO_old_file_underflow): Likewise.
26387         (_IO_old_file_overflow): Likewise.
26388         (_IO_old_file_sync): Likewise.
26389         (_IO_old_file_seekoff): Likewise.
26390         (_IO_old_file_write): Likewise.
26391         (_IO_old_file_xsputn): Likewise.
26392         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
26393         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26394         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
26395         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
26396         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26397         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
26398         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
26399         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
26400         (_IO_old_popen): Likewise.
26401         (_IO_old_proc_close): Likewise.
26402         * libio/oldpclose.c (__old_pclose): Likewise.
26403         * libio/pclose.c (__new_pclose): Likewise.
26404         * libio/peekc.c (_IO_peekc_locked): Likewise.
26405         * libio/putc.c (_IO_putc): Likewise.
26406         * libio/putc_u.c (putc_unlocked): Likewise.
26407         * libio/putchar.c (putchar): Likewise.
26408         * libio/putchar_u.c (putchar_unlocked): Likewise.
26409         * libio/putwc.c (putwc): Likewise.
26410         * libio/putwc_u.c (putwc_unlocked): Likewise.
26411         * libio/putwchar.c (putwchar): Likewise.
26412         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
26413         * libio/rewind.c (rewind): Likewise.
26414         * libio/setbuf.c (setbuf): Likewise.
26415         * libio/setlinebuf.c (setlinebuf): Likewise.
26416         * libio/vasprintf.c (_IO_vasprintf): Likewise.
26417         * libio/vscanf.c (_IO_vscanf): Likewise.
26418         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
26419         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
26420         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26421         * libio/wgenops.c (_IO_least_wmarker): Likewise.
26422         (_IO_switch_to_main_wget_area): Likewise.
26423         (_IO_switch_to_wbackup_area): Likewise.
26424         (_IO_wsetb): Likewise.
26425         (_IO_wdefault_pbackfail): Likewise.
26426         (_IO_wdefault_finish): Likewise.
26427         (_IO_wdefault_uflow): Likewise.
26428         (__woverflow): Likewise.
26429         (__wuflow): Likewise.
26430         (__wunderflow): Likewise.
26431         (_IO_wdefault_xsputn): Likewise.
26432         (_IO_wdefault_xsgetn): Likewise.
26433         (_IO_wdoallocbuf): Likewise.
26434         (_IO_wdefault_doallocate): Likewise.
26435         (_IO_switch_to_wget_mode): Likewise.
26436         (_IO_free_wbackup_area): Likewise.
26437         (_IO_switch_to_wput_mode): Likewise.
26438         (_IO_sputbackwc): Likewise.
26439         (_IO_sungetwc): Likewise.
26440         (_IO_adjust_wcolumn): Likewise.
26441         (_IO_init_wmarker): Likewise.
26442         (_IO_wmarker_delta): Likewise.
26443         (_IO_seekwmark): Likewise.
26444         (_IO_unsave_wmarkers): Likewise.
26445         * libio/wmemstream.c (open_wmemstream): Likewise.
26446         (_IO_wmem_sync): Likewise.
26447         (_IO_wmem_finish): Likewise.
26448         * locale/nl_langinfo.c (nl_langinfo): Likewise.
26449         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
26450         * locale/programs/simple-hash.c (init_hash): Likewise.
26451         (delete_hash): Likewise.
26452         (insert_entry): Likewise.
26453         (set_entry): Likewise.
26454         (next_prime): Likewise.
26455         (is_prime): Likewise.
26456         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
26457         (xmalloc): Likewise.
26458         (xrealloc): Likewise.
26459         * locale/programs/xstrdup.c (xstrdup): Likewise.
26460         * localedata/collate-test.c (xstrcoll): Likewise.
26461         * localedata/xfrm-test.c (xstrcmp): Likewise.
26462         * login/getlogin_r.c (__getlogin_r): Likewise.
26463         * login/getpt.c (__posix_openpt): Likewise.
26464         * login/login_tty.c (login_tty): Likewise.
26465         * login/setlogin.c (setlogin): Likewise.
26466         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
26467         (mach_msg_destroy_port): Likewise.
26468         (mach_msg_destroy_memory): Likewise.
26469         * malloc/mcheck.c (flood): Likewise.
26470         * misc/acct.c (acct): Likewise.
26471         * misc/brk.c (__brk): Likewise.
26472         * misc/chflags.c (chflags): Likewise.
26473         * misc/chroot.c (chroot): Likewise.
26474         * misc/fchflags.c (fchflags): Likewise.
26475         * misc/fstab.c (getfsspec): Likewise.
26476         (getfsfile): Likewise.
26477         * misc/fsync.c (fsync): Likewise.
26478         * misc/ftruncate.c (__ftruncate): Likewise.
26479         * misc/ftruncate64.c (__ftruncate64): Likewise.
26480         * misc/getdomain.c (getdomainname): Likewise.
26481         (getdomainname): Likewise.
26482         * misc/gethostname.c (__gethostname): Likewise.
26483         * misc/getpass.c (getpass): Likewise.
26484         * misc/getttyent.c (skip): Likewise.
26485         (value): Likewise.
26486         * misc/gtty.c (gtty): Likewise.
26487         * misc/hsearch.c (hsearch): Likewise.
26488         (hcreate): Likewise.
26489         * misc/hsearch_r.c (__hcreate_r): Likewise.
26490         (__hdestroy_r): Likewise.
26491         * misc/ioctl.c (__ioctl): Likewise.
26492         * misc/mkdtemp.c (mkdtemp): Likewise.
26493         * misc/mkostemp.c (mkostemp): Likewise.
26494         * misc/mkostemp64.c (mkostemp64): Likewise.
26495         * misc/mkostemps.c (mkostemps): Likewise.
26496         * misc/mkostemps64.c (mkostemps64): Likewise.
26497         * misc/mkstemp.c (mkstemp): Likewise.
26498         * misc/mkstemp64.c (mkstemp64): Likewise.
26499         * misc/mkstemps.c (mkstemps): Likewise.
26500         * misc/mkstemps64.c (mkstemps64): Likewise.
26501         * misc/mktemp.c (__mktemp): Likewise.
26502         * misc/preadv.c (preadv): Likewise.
26503         * misc/preadv64.c (preadv64): Likewise.
26504         * misc/pwritev.c (pwritev): Likewise.
26505         * misc/pwritev64.c (pwritev64): Likewise.
26506         * misc/readv.c (__readv): Likewise.
26507         * misc/revoke.c (revoke): Likewise.
26508         * misc/setdomain.c (setdomainname): Likewise.
26509         * misc/setegid.c (setegid): Likewise.
26510         * misc/seteuid.c (seteuid): Likewise.
26511         * misc/sethostid.c (sethostid): Likewise.
26512         * misc/sethostname.c (sethostname): Likewise.
26513         * misc/setregid.c (__setregid): Likewise.
26514         * misc/setreuid.c (__setreuid): Likewise.
26515         * misc/sstk.c (sstk): Likewise.
26516         * misc/stty.c (stty): Likewise.
26517         * misc/syscall.c (syscall): Likewise.
26518         * misc/syslog.c (setlogmask): Likewise.
26519         * misc/truncate.c (__truncate): Likewise.
26520         * misc/truncate64.c (truncate64): Likewise.
26521         * misc/ualarm.c (ualarm): Likewise.
26522         * misc/usleep.c (usleep): Likewise.
26523         * misc/ustat.c (ustat): Likewise.
26524         * misc/writev.c (__writev): Likewise.
26525         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
26526         * nptl/old_pthread_cond_broadcast.c
26527         (__pthread_cond_broadcast_2_0): Likewise.
26528         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
26529         Likewise.
26530         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
26531         Likewise.
26532         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
26533         Likewise.
26534         * nptl/pt-raise.c (raise): Likewise.
26535         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
26536         Likewise.
26537         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
26538         * nptl/pthread_barrierattr_destroy.c
26539         (pthread_barrierattr_destroy): Likewise.
26540         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
26541         Likewise.
26542         * nptl/pthread_barrierattr_setpshared.c
26543         (pthread_barrierattr_setpshared): Likewise.
26544         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26545         Likewise.
26546         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
26547         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
26548         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
26549         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
26550         Likewise.
26551         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
26552         Likewise.
26553         * nptl/pthread_condattr_getpshared.c
26554         (pthread_condattr_getpshared): Likewise.
26555         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
26556         Likewise.
26557         * nptl/pthread_condattr_setpshared.c
26558         (pthread_condattr_setpshared): Likewise.
26559         * nptl/pthread_detach.c (pthread_detach): Likewise.
26560         * nptl/pthread_equal.c (__pthread_equal): Likewise.
26561         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
26562         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
26563         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
26564         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
26565         Likewise.
26566         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
26567         Likewise.
26568         * nptl/pthread_mutex_getprioceiling.c
26569         (pthread_mutex_getprioceiling): Likewise.
26570         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
26571         Likewise.
26572         * nptl/pthread_mutexattr_getprotocol.c
26573         (pthread_mutexattr_getprotocol): Likewise.
26574         * nptl/pthread_mutexattr_getpshared.c
26575         (pthread_mutexattr_getpshared): Likewise.
26576         * nptl/pthread_mutexattr_getrobust.c
26577         (pthread_mutexattr_getrobust): Likewise.
26578         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26579         Likewise.
26580         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
26581         Likewise.
26582         * nptl/pthread_mutexattr_setprioceiling.c
26583         (pthread_mutexattr_setprioceiling): Likewise.
26584         * nptl/pthread_mutexattr_setprotocol.c
26585         (pthread_mutexattr_setprotocol): Likewise.
26586         * nptl/pthread_mutexattr_setpshared.c
26587         (pthread_mutexattr_setpshared): Likewise.
26588         * nptl/pthread_mutexattr_setrobust.c
26589         (pthread_mutexattr_setrobust): Likewise.
26590         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
26591         Likewise.
26592         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
26593         Likewise.
26594         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
26595         Likewise.
26596         * nptl/pthread_rwlockattr_getkind_np.c
26597         (pthread_rwlockattr_getkind_np): Likewise.
26598         * nptl/pthread_rwlockattr_getpshared.c
26599         (pthread_rwlockattr_getpshared): Likewise.
26600         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
26601         Likewise.
26602         * nptl/pthread_rwlockattr_setkind_np.c
26603         (pthread_rwlockattr_setkind_np): Likewise.
26604         * nptl/pthread_rwlockattr_setpshared.c
26605         (pthread_rwlockattr_setpshared): Likewise.
26606         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
26607         Likewise.
26608         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
26609         Likewise.
26610         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
26611         Likewise.
26612         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
26613         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
26614         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
26615         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
26616         * nptl/sem_close.c (sem_close): Likewise.
26617         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
26618         * nptl/sem_init.c (__old_sem_init): Likewise.
26619         * nptl/sigaction.c (__sigaction): Likewise.
26620         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26621         * posix/_exit.c (_exit): Likewise.
26622         * posix/alarm.c (alarm): Likewise.
26623         * posix/confstr.c (confstr): Likewise.
26624         * posix/fpathconf.c (__fpathconf): Likewise.
26625         * posix/getgroups.c (__getgroups): Likewise.
26626         * posix/getpgid.c (__getpgid): Likewise.
26627         * posix/group_member.c (__group_member): Likewise.
26628         * posix/pathconf.c (__pathconf): Likewise.
26629         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
26630         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
26631         * posix/setgid.c (__setgid): Likewise.
26632         * posix/setpgid.c (__setpgid): Likewise.
26633         * posix/setuid.c (__setuid): Likewise.
26634         * posix/sleep.c (__sleep): Likewise.
26635         * posix/sysconf.c (__sysconf): Likewise.
26636         * posix/times.c (__times): Likewise.
26637         * posix/uname.c (__uname): Likewise.
26638         * posix/waitid.c (__waitid): Likewise.
26639         * pwd/getpw.c (__getpw): Likewise.
26640         * resolv/base64.c (b64_pton): Likewise.
26641         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26642         * resolv/gethnamaddr.c (Dprintf): Likewise.
26643         (gethostbyname): Likewise.
26644         (gethostbyname2): Likewise.
26645         (gethostbyaddr): Likewise.
26646         (_sethtent): Likewise.
26647         (_gethtbyname): Likewise.
26648         (_gethtbyname2): Likewise.
26649         (_gethtbyaddr): Likewise.
26650         (map_v4v6_address): Likewise.
26651         (map_v4v6_hostent): Likewise.
26652         (addrsort): Likewise.
26653         (ht_sethostent): Likewise.
26654         (ht_gethostbyname): Likewise.
26655         (ht_gethostbyaddr): Likewise.
26656         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
26657         (inet_net_ntop_ipv4): Likewise.
26658         * resolv/inet_neta.c (inet_neta): Likewise.
26659         * resolv/inet_ntop.c (inet_ntop): Likewise.
26660         (inet_ntop4): Likewise.
26661         (inet_ntop6): Likewise.
26662         * resolv/inet_pton.c (__inet_pton): Likewise.
26663         (inet_pton4): Likewise.
26664         (inet_pton6): Likewise.
26665         * resolv/res_debug.c (loc_aton): Likewise.
26666         (loc_ntoa): Likewise.
26667         * resource/getpriority.c (__getpriority): Likewise.
26668         * resource/getrusage.c (__getrusage): Likewise.
26669         * resource/nice.c (nice): Likewise.
26670         * resource/setpriority.c (__setpriority): Likewise.
26671         * resource/setrlimit64.c (setrlimit64): Likewise.
26672         * resource/vlimit.c (vlimit): Likewise.
26673         * resource/vtimes.c (vtimes): Likewise.
26674         * rt/aio_error.c (aio_error): Likewise.
26675         * rt/aio_return.c (aio_return): Likewise.
26676         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
26677         * signal/kill.c (__kill): Likewise.
26678         * signal/killpg.c (killpg): Likewise.
26679         * signal/raise.c (raise): Likewise.
26680         * signal/sigaction.c (__sigaction): Likewise.
26681         * signal/sigaddset.c (sigaddset): Likewise.
26682         * signal/sigaltstack.c (sigaltstack): Likewise.
26683         * signal/sigandset.c (sigandset): Likewise.
26684         * signal/sigblock.c (__sigblock): Likewise.
26685         * signal/sigdelset.c (sigdelset): Likewise.
26686         * signal/sigempty.c (sigemptyset): Likewise.
26687         * signal/sigfillset.c (sigfillset): Likewise.
26688         * signal/sighold.c (sighold): Likewise.
26689         * signal/sigignore.c (sigignore): Likewise.
26690         * signal/sigintr.c (siginterrupt): Likewise.
26691         * signal/sigisempty.c (sigisemptyset): Likewise.
26692         * signal/sigismem.c (sigismember): Likewise.
26693         * signal/signal.c (signal): Likewise.
26694         * signal/sigorset.c (sigorset): Likewise.
26695         * signal/sigpause.c (__sigpause): Likewise.
26696         * signal/sigpending.c (sigpending): Likewise.
26697         * signal/sigprocmask.c (__sigprocmask): Likewise.
26698         * signal/sigrelse.c (sigrelse): Likewise.
26699         * signal/sigreturn.c (__sigreturn): Likewise.
26700         * signal/sigset.c (sigset): Likewise.
26701         * signal/sigsetmask.c (__sigsetmask): Likewise.
26702         * signal/sigstack.c (sigstack): Likewise.
26703         * signal/sigsuspend.c (__sigsuspend): Likewise.
26704         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
26705         * signal/sysv_signal.c (__sysv_signal): Likewise.
26706         * socket/accept.c (accept): Likewise.
26707         * socket/accept4.c (__libc_accept4): Likewise.
26708         * socket/bind.c (__bind): Likewise.
26709         * socket/connect.c (__connect): Likewise.
26710         * socket/getpeername.c (getpeername): Likewise.
26711         * socket/getsockname.c (__getsockname): Likewise.
26712         * socket/getsockopt.c (getsockopt): Likewise.
26713         * socket/listen.c (__listen): Likewise.
26714         * socket/recv.c (__recv): Likewise.
26715         * socket/recvmsg.c (__recvmsg): Likewise.
26716         * socket/send.c (__send): Likewise.
26717         * socket/sendmsg.c (__sendmsg): Likewise.
26718         * socket/shutdown.c (shutdown): Likewise.
26719         * socket/sockatmark.c (sockatmark): Likewise.
26720         * socket/socket.c (__socket): Likewise.
26721         * stdio-common/ctermid.c (ctermid): Likewise.
26722         * stdio-common/cuserid.c (cuserid): Likewise.
26723         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
26724         * stdio-common/remove.c (remove): Likewise.
26725         * stdio-common/rename.c (rename): Likewise.
26726         * stdio-common/renameat.c (renameat): Likewise.
26727         * stdio-common/tempname.c (__gen_tempname): Likewise.
26728         * stdio-common/xbug.c (InitBuffer): Likewise.
26729         (AppendToBuffer): Likewise.
26730         (ReadFile): Likewise.
26731         * stdlib/a64l.c (a64l): Likewise.
26732         * stdlib/drand48_r.c (drand48_r): Likewise.
26733         * stdlib/getcontext.c (getcontext): Likewise.
26734         * stdlib/getenv.c (getenv): Likewise.
26735         * stdlib/l64a.c (l64a): Likewise.
26736         * stdlib/llabs.c (llabs): Likewise.
26737         * stdlib/lldiv.c (lldiv): Likewise.
26738         * stdlib/lrand48_r.c (lrand48_r): Likewise.
26739         * stdlib/mrand48_r.c (mrand48_r): Likewise.
26740         * stdlib/putenv.c (putenv): Likewise.
26741         * stdlib/random.c (__srandom): Likewise.
26742         (__initstate): Likewise.
26743         (__setstate): Likewise.
26744         * stdlib/random_r.c (__srandom_r): Likewise.
26745         (__setstate_r): Likewise.
26746         (__random_r): Likewise.
26747         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
26748         * stdlib/setcontext.c (setcontext): Likewise.
26749         * stdlib/setenv.c (setenv): Likewise.
26750         (unsetenv): Likewise.
26751         * stdlib/srand48.c (srand48): Likewise.
26752         * stdlib/srand48_r.c (__srand48_r): Likewise.
26753         * stdlib/swapcontext.c (swapcontext): Likewise.
26754         * stdlib/system.c (__libc_system): Likewise.
26755         * stdlib/tst-strtod.c (expand): Likewise.
26756         * stdlib/tst-strtol.c (expand): Likewise.
26757         * stdlib/tst-strtoll.c (expand): Likewise.
26758         * streams/fattach.c (fattach): Likewise.
26759         * streams/fdetach.c (fdetach): Likewise.
26760         * streams/getmsg.c (getmsg): Likewise.
26761         * streams/isastream.c (isastream): Likewise.
26762         * string/ffs.c (__ffs): Likewise.
26763         * string/ffsll.c (ffsll): Likewise.
26764         * string/memcmp.c (memcmp_common_alignment): Likewise.
26765         (memcmp_not_common_alignment): Likewise.
26766         (MEMCMP): Likewise.
26767         * string/memcpy.c (memcpy): Likewise.
26768         * string/memmove.c (MEMMOVE): Likewise.
26769         * string/memset.c (memset): Likewise.
26770         * string/rawmemchr.c (RAWMEMCHR): Likewise.
26771         * string/strchrnul.c (STRCHRNUL): Likewise.
26772         * string/strerror.c (strerror): Likewise.
26773         * string/strndup.c (__strndup): Likewise.
26774         * string/strverscmp.c (__strverscmp): Likewise.
26775         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
26776         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
26777         (clnttcp_freeres): Likewise.
26778         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
26779         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
26780         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
26781         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
26782         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
26783         (xdr_callhdr): Likewise.
26784         * sunrpc/rpcinfo.c (udpping): Likewise.
26785         (tcpping): Likewise.
26786         (pstatus): Likewise.
26787         (pmapdump): Likewise.
26788         (brdcst): Likewise.
26789         (deletereg): Likewise.
26790         (getprognum): Likewise.
26791         (getvers): Likewise.
26792         (get_inet_address): Likewise.
26793         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
26794         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26795         (svcudp_stat): Likewise.
26796         (svcudp_recv): Likewise.
26797         (svcudp_reply): Likewise.
26798         (svcudp_getargs): Likewise.
26799         (svcudp_freeargs): Likewise.
26800         (svcudp_destroy): Likewise.
26801         * sunrpc/xdr.c (xdr_bytes): Likewise.
26802         (xdr_netobj): Likewise.
26803         (xdr_string): Likewise.
26804         (xdr_wrapstring): Likewise.
26805         * sunrpc/xdr_float.c (xdr_float): Likewise.
26806         (xdr_double): Likewise.
26807         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26808         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26809         * sysvipc/ftok.c (ftok): Likewise.
26810         * sysvipc/msgctl.c (msgctl): Likewise.
26811         * sysvipc/msgget.c (msgget): Likewise.
26812         * sysvipc/msgrcv.c (msgrcv): Likewise.
26813         * sysvipc/msgsnd.c (msgsnd): Likewise.
26814         * sysvipc/semget.c (semget): Likewise.
26815         * sysvipc/semop.c (semop): Likewise.
26816         * sysvipc/shmat.c (shmat): Likewise.
26817         * sysvipc/shmctl.c (shmctl): Likewise.
26818         * sysvipc/shmdt.c (shmdt): Likewise.
26819         * sysvipc/shmget.c (shmget): Likewise.
26820         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26821         * termios/speed.c (cfgetospeed): Likewise.
26822         (cfgetispeed): Likewise.
26823         (cfsetospeed): Likewise.
26824         (cfsetispeed): Likewise.
26825         * termios/tcflow.c (tcflow): Likewise.
26826         * termios/tcflush.c (tcflush): Likewise.
26827         * termios/tcgetattr.c (__tcgetattr): Likewise.
26828         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26829         * termios/tcgetsid.c (tcgetsid): Likewise.
26830         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26831         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26832         * time/adjtime.c (__adjtime): Likewise.
26833         * time/dysize.c (dysize): Likewise.
26834         * time/ftime.c (ftime): Likewise.
26835         * time/getitimer.c (__getitimer): Likewise.
26836         * time/gettimeofday.c (__gettimeofday): Likewise.
26837         * time/gmtime.c (__gmtime_r): Likewise.
26838         (gmtime): Likewise.
26839         * time/localtime.c (__localtime_r): Likewise.
26840         (localtime): Likewise.
26841         * time/offtime.c (__offtime): Likewise.
26842         * time/settimeofday.c (__settimeofday): Likewise.
26843         * time/stime.c (stime): Likewise.
26844         * time/strftime_l.c (tm_diff): Likewise.
26845         (iso_week_days): Likewise.
26846         * time/strptime.c (strptime): Likewise.
26847         * time/time.c (time): Likewise.
26848         * time/timespec_get.c (timespec_get): Likewise.
26849         * time/tzset.c (tzset_internal): Likewise.
26850         (compute_change): Likewise.
26851         (__tz_compute): Likewise.
26852         * wcsmbs/btowc.c (__btowc): Likewise.
26853         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26854         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26855         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26856         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26857         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26858         * wcsmbs/wcscat.c (__wcscat): Likewise.
26859         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26860         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26861         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26862         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26863         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26864         * wcsmbs/wcslen.c (__wcslen): Likewise.
26865         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26866         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26867         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26868         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26869         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26870         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26871         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26872         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26873         * wcsmbs/wcstok.c (wcstok): Likewise.
26874         * wcsmbs/wctob.c (wctob): Likewise.
26875         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26876         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26877         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26878         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26879         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26880         * wcsmbs/wmemset.c (__wmemset): Likewise.
26881         * wctype/wcfuncs.c (__towlower): Likewise.
26882         (__towupper): Likewise.
26884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26885         (lll_unlock_elision): Add adapt_count parameter.
26887 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26889         * sysdeps/nptl/configure.ac: Do not give errors based on the
26890         results of top-level configure tests.
26891         * sysdeps/nptl/configure: Regenerated.
26893         * configure.ac (libc_cv_Bgroup): Remove configure test.
26894         * configure: Regenerated.
26895         * config.make.in (have-Bgroup): Remove variable.
26897         * configure.ac (sizeof_long_double): Remove configure test.
26898         * configure: Regenerated.
26899         * config.make.in (sizeof-long-double): Remove variable.
26901         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26902         * configure: Regenerated.
26903         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26904         variable.
26905         (exceptions): Likewise.
26906         * sysdeps/arm/configure: Regenerated.
26907         * config.make.in (exceptions): Remove variable.
26908         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26909         $(exceptions).
26910         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26911         (CFLAGS-vdprintf_chk.c): Likewise.
26912         (CFLAGS-printf_chk.c): Likewise.
26913         (CFLAGS-fprintf_chk.c): Likewise.
26914         (CFLAGS-vprintf_chk.c): Likewise.
26915         (CFLAGS-vfprintf_chk.c): Likewise.
26916         (CFLAGS-gets_chk.c): Likewise.
26917         (CFLAGS-fgets_chk.c): Likewise.
26918         (CFLAGS-fgets_u_chk.c): Likewise.
26919         (CFLAGS-fread_chk.c): Likewise.
26920         (CFLAGS-fread_u_chk.c): Likewise.
26921         (CFLAGS-wprintf_chk.c): Likewise.
26922         (CFLAGS-fwprintf_chk.c): Likewise.
26923         (CFLAGS-vwprintf_chk.c): Likewise.
26924         (CFLAGS-vfwprintf_chk.c): Likewise.
26925         (CFLAGS-fgetws_chk.c): Likewise.
26926         (CFLAGS-fgetws_u_chk.c): Likewise.
26927         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26928         (CFLAGS-fputc.c): Likewise.
26929         (CFLAGS-fputwc.c): Likewise.
26930         (CFLAGS-freopen64.c): Likewise.
26931         (CFLAGS-freopen.c): Likewise.
26932         (CFLAGS-fseek.c): Likewise.
26933         (CFLAGS-fseeko64.c): Likewise.
26934         (CFLAGS-fseeko.c): Likewise.
26935         (CFLAGS-ftello64.c): Likewise.
26936         (CFLAGS-ftello.c): Likewise.
26937         (CFLAGS-fwide.c): Likewise.
26938         (CFLAGS-genops.c): Likewise.
26939         (CFLAGS-getc.c): Likewise.
26940         (CFLAGS-getchar.c): Likewise.
26941         (CFLAGS-getwc.c): Likewise.
26942         (CFLAGS-getwchar.c): Likewise.
26943         (CFLAGS-iofclose.c): Likewise.
26944         (CFLAGS-iofflush.c): Likewise.
26945         (CFLAGS-iofgetpos64.c): Likewise.
26946         (CFLAGS-iofgetpos.c): Likewise.
26947         (CFLAGS-iofgets.c): Likewise.
26948         (CFLAGS-iofgetws.c): Likewise.
26949         (CFLAGS-iofputs.c): Likewise.
26950         (CFLAGS-iofputws.c): Likewise.
26951         (CFLAGS-iofread.c): Likewise.
26952         (CFLAGS-iofsetpos64.c): Likewise.
26953         (CFLAGS-iofsetpos.c): Likewise.
26954         (CFLAGS-ioftell.c): Likewise.
26955         (CFLAGS-iofwrite.c): Likewise.
26956         (CFLAGS-iogetdelim.c): Likewise.
26957         (CFLAGS-iogetline.c): Likewise.
26958         (CFLAGS-iogets.c): Likewise.
26959         (CFLAGS-iogetwline.c): Likewise.
26960         (CFLAGS-ioputs.c): Likewise.
26961         (CFLAGS-ioseekoff.c): Likewise.
26962         (CFLAGS-ioseekpos.c): Likewise.
26963         (CFLAGS-iosetbuffer.c): Likewise.
26964         (CFLAGS-iosetvbuf.c): Likewise.
26965         (CFLAGS-ioungetc.c): Likewise.
26966         (CFLAGS-ioungetwc.c): Likewise.
26967         (CFLAGS-oldfileops.c): Likewise.
26968         (CFLAGS-oldiofclose.c): Likewise.
26969         (CFLAGS-oldiofgetpos64.c): Likewise.
26970         (CFLAGS-oldiofgetpos.c): Likewise.
26971         (CFLAGS-oldiofsetpos64.c): Likewise.
26972         (CFLAGS-oldiofsetpos.c): Likewise.
26973         (CFLAGS-peekc.c): Likewise.
26974         (CFLAGS-putc.c): Likewise.
26975         (CFLAGS-putchar.c): Likewise.
26976         (CFLAGS-putwc.c): Likewise.
26977         (CFLAGS-putwchar.c): Likewise.
26978         (CFLAGS-rewind.c): Likewise.
26979         (CFLAGS-wfileops.c): Likewise.
26980         (CFLAGS-wgenops.c): Likewise.
26981         (CFLAGS-oldiofopen.c): Likewise.
26982         (CFLAGS-iofopen.c): Likewise.
26983         (CFLAGS-iofopen64.c): Likewise.
26984         (CFLAGS-oldtmpfile.c): Likewise.
26985         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26986         (CFLAGS-fprintf.c): Likewise.
26987         (CFLAGS-printf.c): Likewise.
26988         (CFLAGS-vfwprintf.c): Likewise.
26989         (CFLAGS-vfscanf.c): Likewise.
26990         (CFLAGS-vfwscanf.c): Likewise.
26991         (CFLAGS-fscanf.c): Likewise.
26992         (CFLAGS-scanf.c): Likewise.
26993         (CFLAGS-isoc99_vfscanf.c): Likewise.
26994         (CFLAGS-isoc99_vscanf.c): Likewise.
26995         (CFLAGS-isoc99_fscanf.c): Likewise.
26996         (CFLAGS-isoc99_scanf.c): Likewise.
26997         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26998         (CFLAGS-isoc99_fwscanf.c): Likewise.
26999         (CFLAGS-isoc99_vwscanf.c): Likewise.
27000         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27002         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27003         after mkstemp64.
27004         * login/tst-utmp.c (do_prepare): Likewise.
27005         * rt/tst-aio.c (do_prepare): Likewise.
27006         * rt/tst-aio64.c (do_prepare): Likewise.
27008 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27010         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27011         (__lll_lock_elision): Remove adapt_count decrement...
27012         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27013         (__lll_trylock_elision): Likewise.
27014         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27015         (__lll_unlock_elision): ... to here. And utilize
27016         new adapt_count parameter.
27017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27018         (__lll_unlock_elision): Update to include adapt_count
27019         parameter.
27020         (lll_unlock_elision): Pass pointer to adapt_count
27021         variable.
27023 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27025         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27026         Add elision adapt_count parameter to list of arguments.
27027         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27028         (lll_unlock_elision): Update with new parameter list
27029         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27030         (lll_unlock_elision): Likewise.
27031         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27032         (lll_unlock_elision): Likewise.
27034 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27036         [BZ #19122]
27037         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27038         attribute_hidden.
27040         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27041         attribute_hidden.
27042         [IS_IN (rtld)] (__strdup): Likewise.
27043         [IS_IN (rtld)] (__strerror_r): Likewise.
27044         [IS_IN (rtld)] (__strsep_g): Likewise.
27045         [IS_IN (rtld)] (memchr): Likewise.
27046         [IS_IN (rtld)] (memcmp): Likewise.
27047         [IS_IN (rtld)] (memcpy): Likewise.
27048         [IS_IN (rtld)] (memmove): Likewise.
27049         [IS_IN (rtld)] (memset): Likewise.
27050         [IS_IN (rtld)] (rawmemchr): Likewise.
27051         [IS_IN (rtld)] (stpcpy): Likewise.
27052         [IS_IN (rtld)] (strchr): Likewise.
27053         [IS_IN (rtld)] (strcmp): Likewise.
27054         [IS_IN (rtld)] (strlen): Likewise.
27055         [IS_IN (rtld)] (strnlen): Likewise.
27056         [IS_IN (rtld)] (strsep): Likewise.
27058         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27059         attribute_hidden.
27060         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27062         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27063         attribute_hidden.
27064         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27066         * include/setjmp.h (__longjmp): Add attribute_hidden.
27067         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27069         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27070         Add attribute_hidden.
27072         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27073         [IS_IN (rtld)] (__open): Likewise.
27074         [IS_IN (rtld)] (__fcntl): Likewise.
27076         * include/dirent.h (__opendirat): Add attribute_hidden.
27077         (__getdents): Likewise.
27078         (__getdents64): Likewise.
27079         (__alloc_dir): Likewise.
27080         [IS_IN (rtld)] (__closedir): Likewise.
27081         [IS_IN (rtld)] (__fdopendir): Likewise.
27082         [IS_IN (rtld)] (__readdir): Likewise.
27083         [IS_IN (rtld)] (__readdir64): Likewise.
27084         [IS_IN (rtld)] (__rewinddir): Likewise.
27086         * include/dlfcn.h (_dl_catch_error): Moved to ...
27087         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27088         attribute_hidden.
27090         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27091         (_itoa_word): Likewise.
27093         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27094         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27095         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27096         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27097         (_dl_higher_prime_number): Likewise.
27098         (_dl_debug_printf_c): Likewise.
27099         (_dl_signal_cerror): Likewise.
27100         (_dl_receive_error): Likewise.
27101         (_dl_reloc_bad_type): Likewise.
27102         (_dl_resolve_conflicts): Likewise.
27103         (_dl_check_all_versions): Likewise.
27104         (_dl_check_map_versions): Likewise.
27105         (_dl_sort_fini): Likewise.
27106         (_dl_debug_initialize): Likewise.
27107         (_dl_init_paths): Likewise.
27108         (_dl_show_auxv): Likewise.
27109         (_dl_next_ld_env_entry): Likewise.
27110         (_dl_important_hwcaps): Likewise.
27111         (_dl_load_cache_lookup): Likewise.
27112         (_dl_update_slotinfo): Likewise.
27113         (_dl_show_scope): Likewise.
27115         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27116         attribute_hidden.
27117         (_wordcopy_fwd_dest_aligned): Likewise.
27118         (_wordcopy_bwd_aligned): Likewise.
27119         (_wordcopy_bwd_dest_aligned): Likewise.
27121         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27122         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27123         Likewise.
27124         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27125         Likewise.
27126         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27128 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27131         GCC 5 requirement.
27133 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27135         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27136         test.
27137         * sysdeps/i386/configure: Regenerated.
27138         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27139         code unconditional.
27141         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27142         test.
27143         (libc_cv_asm_popsection_directive): Likewise.
27144         * configure: Regenerated.
27145         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27146         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27147         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27148         (__make_section_unallocated): Make definition unconditional.
27149         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27150         Remove conditional definition.
27151         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27152         (__make_section_unallocated): Likewise.
27154         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27155         * configure: Regenerated.
27156         * config.make.in (static-libgcc): Remove variable.
27157         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27158         $(static-libgcc).
27159         (build-module-helper): Likewise.
27161         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27162         * configure: Regenerated.
27164 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27166         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27167         (struct char_buffer): New type.
27168         (char_buffer_start, char_buffer_size, char_buffer_error)
27169         (char_buffer_rewind, char_buffer_add): New functions.
27170         (ADDW): Remove macro, replaced by the char_buffer_add function.
27171         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27172         of extend_alloca.  Make control flow more explicit.
27174 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27176         [BZ #19137]
27177         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27178         Add -fomit-frame-pointer.
27179         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27181 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27183         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27184         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27185         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27186         only if !__GNUC_PREREQ (5,0).
27187         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27188         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27189         (INTERNAL_SYSCALL_NCS): Likewise.
27190         (LOADREGS_0): New macro for GCC 5.
27191         (ASMARGS_0): Likewise.
27192         (LOADREGS_1): Likewise.
27193         (ASMARGS_1): Likewise.
27194         (LOADREGS_2): Likewise.
27195         (ASMARGS_2): Likewise.
27196         (LOADREGS_3): Likewise.
27197         (ASMARGS_3): Likewise.
27198         (LOADREGS_4): Likewise.
27199         (ASMARGS_4): Likewise.
27200         (LOADREGS_5): Likewise.
27201         (ASMARGS_5): Likewise.
27202         (LOADREGS_6): Likewise.
27203         (ASMARGS_6): Likewise.
27205 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27207         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27208         -fomit-frame-pointer.
27209         (CFLAGS-mmap64.c): Likewise.
27210         (CFLAGS-semtimedop.c): Likewise.
27211         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27212         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27213         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27214         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27216 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27218         [BZ #18928]
27219         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27220         _dl_pointer_guard member.
27221         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27222         initializer.
27223         (security_init): Always set up pointer guard.
27224         (process_envvars): Do not process LD_POINTER_GUARD.
27226 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27228         [BZ #19134]
27229         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27230         (.LC2): Likewise.
27231         (.LC3): Likewise.
27232         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27234 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27236         [BZ #19129]
27237         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27238         r0 and r1.
27240 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27242         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27244 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27246         * include/stap-probe.h: Fix macro definition formatting.
27248 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27250         [BZ #19074]
27251         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27252         load and store num_ifs.
27254 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27256         [BZ #18822]
27257         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27258         (__sched_getaffinity_new): Add libc_hidden_proto and
27259         libc_hidden_def.
27261 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27263         [BZ #19007]
27264         * scripts/localplt.awk: Also allow GOT references.
27265         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27266         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27267         with "+ REL R_386_GLOB_DAT".
27268         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27269         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27271 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27273         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27274         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27275         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27276         Likewise.
27277         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27278         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27279         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27280         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27281         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27282         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27283         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27284         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27285         Likewise.
27286         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27288 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27290         [BZ #19125]
27291         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27292         <math_private.h> and <stdint.h>.
27293         (__llround): Avoid conversions to and from long long int, and
27294         subtractions, where those might raise spurious exceptions.
27295         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27296         <math_private.h> and <stdint.h>.
27297         (__llroundf): Avoid conversions to and from long long int, and
27298         subtractions, where those might raise spurious exceptions.
27300 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27302         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27303         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27304         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27305         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27306         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27307         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27308         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27309         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27310         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27311         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27312         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27313         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27314         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27315         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27316         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27317         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27318         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27319         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27320         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27321         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27322         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27323         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27324         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27325         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27326         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27327         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27328         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
27329         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
27330         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27331         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
27332         (__xstat64_conv): Likewise.
27333         (__xstat32_conv): Likewise.
27335 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27337         * sysdeps/unix/sysv/linux/sysdep.h: New file.
27338         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
27339         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
27340         <sysdeps/unix/sysv/linux/sysdep.h>.
27341         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27342         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
27343         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
27344         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27345         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27346         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
27347         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
27348         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
27349         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
27350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27354         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27355         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27357         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
27358         (sysdep-dl-routines): Add sysdep.
27359         [$(subdir) == nptl] (libpthread-routines): Likewise.
27360         [$(subdir) == rt] (librt-routines): Likewise.
27361         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
27362         PIC when branching to SYSCALL_ERROR_LABEL.
27363         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
27364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
27365         <sysdeps/unix/sysv/linux/sysdep.h>.
27366         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
27367         (SYSCALL_ERROR_ERRNO): Removed.
27368         (SYSCALL_ERROR_HANDLER): Changed to empty.
27369         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
27370         (__syscall_error): New prototype.
27371         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
27372         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
27374 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27376         [BZ #19124]
27377         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
27378         (_dl_runtime_resolve_avx512): Make it a hidden alias of
27379         _dl_runtime_resolve_avx.
27380         (_dl_runtime_profile_avx512): Make it a hidden alias of
27381         _dl_runtime_profile_avx.
27383 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27385         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
27386         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
27387         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
27388         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
27390         [BZ #16422]
27391         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
27392         New configure test.
27393         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
27394         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
27395         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
27396         <math_private.h> and <stdint.h>.
27397         (__llrint): Avoid conversions to long long int where those might
27398         raise spurious exceptions.
27399         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
27400         <math_private.h> and <stdint.h>.
27401         (__llrintf): Avoid conversions to long long int where those might
27402         raise spurious exceptions.
27404 2015-10-12  Andreas Schwab  <schwab@suse.de>
27406         [BZ #18969]
27407         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
27408         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27409         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
27410         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
27411         $(gen-locales).
27412         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
27413         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
27414         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
27415         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
27416         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
27417         $(gen-locales).
27418         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
27419         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
27420         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
27421         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
27422         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
27423         ($(objpfx)tst-ftell-active-handler.out)
27424         ($(objpfx)tst-ftell-append.out)
27425         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
27426         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
27427         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
27428         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
27429         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
27430         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
27431         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
27432         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
27433         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
27434         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
27435         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
27436         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
27437         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
27438         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
27439         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
27440         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
27441         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
27442         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
27443         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
27444         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
27445         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
27446         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
27447         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
27448         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
27449         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
27450         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
27451         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
27452         $(gen-locales).
27453         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
27454         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
27455         $(gen-locales).
27456         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
27457         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
27458         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
27459         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
27460         $(gen-locales).
27461         * libio/tst_wprintf2.c (main): Use explicit locale.
27462         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
27464 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27466         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
27467         __msg_sig_post.
27468         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
27470 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27472         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27473         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27475         * sysdeps/arm/libm-test-ulps: Regenerated.
27477         [BZ #15470]
27478         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
27480         [BZ #16399]
27481         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
27482         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
27483         and <fix-fp-int-convert-overflow.h>.
27484         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27485         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27486         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
27487         and <fix-fp-int-convert-overflow.h>.
27488         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
27489         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27490         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
27491         <fix-fp-int-convert-overflow.h>.
27492         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
27493         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27494         * sysdeps/ieee754/dbl-64/s_lround.c: Include
27495         <fix-fp-int-convert-overflow.h>.
27496         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
27497         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27498         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
27499         and <fix-fp-int-convert-overflow.h>.
27500         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27501         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27502         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
27503         <limits.h> and <fix-fp-int-convert-overflow.h>.
27504         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27505         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27506         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
27507         and <fix-fp-int-convert-overflow.h>.
27508         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
27509         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27510         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
27511         and <fix-fp-int-convert-overflow.h>.
27512         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
27513         FIX_DBL_LLONG_CONVERT_OVERFLOW.
27514         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
27516 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
27518         [BZ #18589]
27519         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
27520         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
27521         $(gen-locales).
27523 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27524             Phil Blundell <pb@pbcl.net>
27526         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
27527         * nptl/tst-cancel26.c: New file.
27528         * nptl/tst-cancel27.c: Likewise.
27530 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
27532         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
27533         __ILP32__ isn't defined.
27534         (lrint): Likewise.
27535         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
27536         (lrintf): Likewise.
27537         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
27538         (lrintl): Likewise.
27539         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
27540         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
27541         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
27543 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27545         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
27546         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
27548         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
27549         file.
27550         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
27551         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
27553 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
27555         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
27556         configure test.
27557         * sysdeps/i386/configure: Regenerated.
27558         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
27559         configure test.
27560         * sysdeps/x86_64/configure: Regenerated.
27561         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
27562         Make code unconditional.
27564         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
27565         test.
27566         * sysdeps/i386/configure: Regenerated.
27567         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
27568         test.
27569         * sysdeps/x86_64/configure: Regenerated.
27570         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
27571         Make code unconditional.
27572         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27573         Likewise.
27574         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
27575         Likewise.
27576         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27577         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
27578         code unconditional.
27579         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27580         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
27581         code unconditional.
27582         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27583         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
27584         code unconditional.
27585         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
27586         code unconditional.
27587         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27588         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
27589         code unconditional.
27590         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27591         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
27592         code unconditional.
27593         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27594         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
27595         code unconditional.
27596         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27597         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
27598         code unconditional.
27599         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
27600         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
27602         [BZ #19095]
27603         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
27604         mantissa to long int before shifting left.
27606 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27608         [BZ #19094]
27609         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
27610         <limits.h>.
27611         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27612         when result overflows but exception would not result from cast.
27613         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
27614         <limits.h>.
27615         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27616         when result overflows but exception would not result from cast.
27617         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
27618         <limits.h>.
27619         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27620         when result overflows but exception would not result from cast.
27621         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
27622         <limits.h>.
27623         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27624         when result overflows but exception would not result from cast.
27625         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
27626         <limits.h>.
27627         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
27628         when result overflows but exception would not result from cast.
27629         * math/libm-test.inc (lrint_test_data): Add more tests.
27630         (llrint_test_data): Likewise.
27632 2015-10-08  Roland McGrath  <roland@hack.frob.com>
27634         [BZ #18872]
27635         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
27636         Move out from under [$(run-built-tests) = yes] conditional.
27637         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
27638         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
27640 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
27642         [BZ #18589]
27643         * string/Makefile (tests): Add bug-strcoll2.
27644         (LOCALES): Add cs_CZ.UTF-8.
27645         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
27647         [BZ #18589]
27648         * string/bug-strcoll2.c: New file.
27649         * locale/categories.def: Revert commit
27650         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
27651         * locale/langinfo.h: Likewise.
27652         * locale/localeinfo.h: Likewise.
27653         * locale/C-collate.c: Likewise.
27654         * locale/programs/ld-collate.c (collate_output): Likewise.
27655         * string/strcoll_l.c (STRDIFF): Likewise.
27656         (STRCOLL): Likewise.
27657         * wcsmbs/wcscoll_l.c: Likewise.
27659 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
27661         * math/libm-test.inc (lround_test_data): Do not expect the absence
27662         of "inexact" for some tests with non-integer arguments.
27663         (llround_test_data): Likewise.
27665         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
27666         test.
27667         (libc_cv_cc_sse2avx): Likewise.
27668         * sysdeps/i386/configure: Regenerated.
27669         * sysdeps/i386/i686/multiarch/Makefile
27670         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
27671         [$(subdir) = math].
27672         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
27673         code unconditional.
27674         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27675         Likewise.
27676         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
27677         Likewise.
27678         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27679         Likewise.
27680         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
27681         test.
27682         (libc_cv_cc_sse2avx): Likewise.
27683         * sysdeps/x86_64/configure: Regenerated.
27684         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
27685         unconditional.
27686         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
27687         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
27688         unconditional.
27689         (_dl_runtime_profile)
27690         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
27691         conditional code.
27692         * sysdeps/x86_64/fpu/multiarch/Makefile
27693         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
27694         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
27695         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27696         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27697         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27698         * sysdeps/x86_64/fpu/multiarch/e_log.c
27699         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27700         * sysdeps/x86_64/fpu/multiarch/s_atan.c
27701         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27702         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
27703         Likewise.
27704         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
27705         Likewise.
27706         * sysdeps/x86_64/fpu/multiarch/s_sin.c
27707         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27708         * sysdeps/x86_64/fpu/multiarch/s_tan.c
27709         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27710         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
27711         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
27712         (HAVE_SSE2AVX_SUPPORT): Likewise.
27714 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
27716         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
27717         instead of #pragma optimize.
27719 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27721         [BZ #17195]
27722         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
27723         as is similarly done in systrim and _int_free already.
27725 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27727         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
27729 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27731         [BZ #19088]
27732         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
27733         <limits.h>.
27734         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27735         overflows but exception would not result from cast.
27736         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
27737         and <limits.h>.
27738         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
27739         overflows but exception would not result from cast.
27740         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
27741         <limits.h>.
27742         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27743         overflows but exception would not result from cast.
27744         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
27745         <limits.h>.
27746         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27747         overflows but exception would not result from cast.
27748         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
27749         <limits.h>.
27750         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
27751         overflows but exception would not result from cast.
27752         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
27753         <limits.h>.
27754         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
27755         overflows but exception would not result from cast.
27756         * math/libm-test.inc (lround_test_data): Add more tests.
27757         (llround_test_data): Likewise.
27759 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
27761         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
27762         (CFLAGS-ialloc.c): Ditto.
27763         (CFLAGS-scheck.c): Ditto.
27765 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
27767         [BZ #19086]
27768         * manual/filesys.texi (Storage Allocation): Fix argument order for
27769         posix_fallocate64.
27771 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27773         [BZ #19085]
27774         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
27775         exponent below 48 inside case for non-overflowing exponent.
27776         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
27778 2015-10-07  Florian Weimer  <fweimer@redhat.com>
27780         * iconvdata/cp737.h (from_idx): Add const.
27781         * iconvdata/cp775.h (from_idx): Likewise.
27783 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
27785         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
27786         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
27787         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
27789         [BZ #19079]
27790         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
27791         file, conditioned on [!_LP64].
27792         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
27793         [!_LP64] (__lround): Do not define as function or alias.
27794         [!_LP64] (lround): Likewise.
27795         [!_LP64] (__lroundl): Likewise.
27796         [!_LP64] (lroundl): Likewise.
27797         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27798         macro.
27799         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27800         Likewise.
27802 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27804         * math/libm-test.inc (lrint_test_data): Add more tests.
27805         (llrint_test_data): Likewise.
27806         (lround_test_data): Likewise.
27807         (llround_test_data): Likewise.
27809         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27810         (llrint_test_data): Add tests used for lrint.
27812         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27813         test.
27814         * sysdeps/i386/configure: Regenerated.
27815         * sysdeps/i386/i686/multiarch/Makefile
27816         [$(config-cflags-sse4) = yes]: Make code unconditional.
27817         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27818         Likewise.
27819         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27820         Likewise.
27821         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27822         test.
27823         * sysdeps/x86_64/configure: Regenerated.
27824         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27825         Make code unconditional.
27826         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27827         Likewise.
27828         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27829         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27831         * scripts/rpm2dynsym.sh: Remove file.
27833 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27835         * configure.ac (libc_cv_cxx_thread_local): Define.
27836         * configure: Regenerate.
27837         * config.make.in (have-cxx-thread_local): Define.
27838         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27839         (LDLIBS-tst-thread_local1): Define.
27840         (tests): Add tst-thread_local1.
27841         [have-cxx-thread_local != yes] (tests-unsupported): Add
27842         tst-thread_local1.
27843         * nptl/tst-thread_local1.cc: New file.
27845 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27847         [BZ #19078]
27848         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27849         (u_thres): Likewise.
27850         (__expl): Determine whether to call __kernel_standard_l based on
27851         value of result, not argument.
27853         * math/libm-test.inc (scalb_test_data): Add more expectations for
27854         the "inexact" exception.
27856         [BZ #19077]
27857         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27858         0.0L for argument 1.0L.
27860         [BZ #19076]
27861         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27862         constant 0.0L when computing infinite result.
27864 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27866         [BZ #10432]
27867         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27868         malloc_usable_size.
27870 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27872         [BZ #19018]
27873         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27874         Mangle function pointer before storing it.
27875         (__call_tls_dtors): Demangle function pointer before calling it.
27877 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27879         [BZ #19012]
27880         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27881         Clean up on failure.
27883 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27885         [BZ #19071]
27886         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27887         long int variable to store possibly incremented high part of
27888         mantissa.
27889         * math/libm-test.inc (lround_test_data): Add tests used for
27890         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27891         for tests requiring 64-bit long.  Do not condition tests on
27892         [TEST_FLOAT] unnecessarily.
27893         (llround_test_data): Add tests used for lround.  Add another
27894         expectation for the "inexact" exception.  Do not condition tests
27895         on [TEST_FLOAT] unnecessarily.
27897         [BZ #887]
27898         [BZ #19049]
27899         [BZ #19050]
27900         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27901         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27902         <fix-int-fp-convert-zero.h>.
27903         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27904         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27905         <fix-int-fp-convert-zero.h>.
27906         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27907         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27908         <fix-int-fp-convert-zero.h>.
27909         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27910         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27911         <fix-int-fp-convert-zero.h>.
27912         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27913         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27914         <fix-int-fp-convert-zero.h>.
27915         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27916         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27917         <fix-int-fp-convert-zero.h>.
27918         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27919         * sysdeps/ieee754/flt-32/s_erff.c: Include
27920         <fix-int-fp-convert-zero.h>.
27921         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27922         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27923         <fix-int-fp-convert-zero.h>.
27924         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27925         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27926         <fix-int-fp-convert-zero.h>.
27927         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27929         <fix-int-fp-convert-zero.h>.
27930         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27931         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27932         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27933         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27934         file.
27935         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27937 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27941 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27943         [BZ #19059]
27944         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27945         overflowing computation.
27946         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27947         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27948         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27949         Likewise.
27950         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27951         Likewise.
27952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27953         Likewise.
27954         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27955         Likewise.
27956         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27957         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27958         Likewise.
27959         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27960         Likewise.
27961         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27963         * nss/rewrite_field.c (__nss_rewrite_field): Use
27964         internal_function.
27965         * nss/valid_field.c (__nss_valid_field): Likewise.
27966         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27968 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27970         [BZ #18724]
27971         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27972         (__nss_invalid_field_characters, __nss_valid_field)
27973         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27974         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27975         tst-field.c: New file.
27976         * nss/Makefile (routines): Add valid_field, rewrite_field.
27977         (tests-static): Define unconditionally.
27978         (tests): Include tests-static.
27979         [build-static-nss] (tests-static): Use append.
27980         [build-static-nss] (tests): Remove modification.
27981         * nss/getent.c (print_group): Call putgrent.  Report error.
27982         (print_gshadow): Call putsgent.  Report error.
27983         (print_passwd): Call putpwent.  Report error.
27984         (print_shadow): Call putspent.  Report error.
27985         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27986         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27987         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
27988         name, password, directory, shell fields for valid syntax.  Rewrite
27989         GECOS field to match syntax.
27990         * pwd/Makefile (tests): Add tst-putpwent.
27991         * pwd/tst-putpwent.c: New file.
27992         * grp/putgrent.c (putgrent): Convert to ISO function definition.
27993         Check grName, grpasswd, gr_mem fields for valid syntax.
27994         Change loop variable i to size_t.
27995         * grp/Makefile (tests): Add tst-putgrent.
27996         * grp/tst-putgrent.c: New file.
27997         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27998         valid syntax.
27999         * shadow/Makefile (tests): Add tst-putspent.
28000         * shadow/tst-putspent.c: New file.
28001         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28002         sg_mem fields for valid syntax.
28003         * gshadow/Makefile (tests): Add tst-putsgent.
28004         * gshadow/tst-putsgent.c: New file.
28006 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28008         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28009         assembly instructions.
28011 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28013         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28014         prefix from operands.
28016 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28018         [BZ #16347]
28019         [BZ #19046]
28020         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28021         <libc-internal.h>.
28022         (MAXLGM): Do not use diagnostic control macros.
28023         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28024         threshold for ldbl-128ibm.
28025         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28026         instead of multiplying by log then subtracting.
28027         * math/auto-libm-test-in: Add more tests of lgamma.
28028         * math/auto-libm-test-out: Regenerated.
28030         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28031         (TYPE_HEX_DIG): Likewise.
28032         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28033         precisions when printing floating-point numbers.
28034         (check_float_internal): Likewise.
28036 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28038         [BZ #16620]
28039         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28040         of log (10) rounded downward to 48 bits.
28041         (log10_low): Use corresponding low part of log (10).
28043         [BZ #19032]
28044         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28045         compute result as (x - x) / (x - x) not as 0 / 0.
28046         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28047         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28049         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28050         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28051         and expm1.
28052         * math/auto-libm-test-out: Regenerated.
28053         * math/libm-test.inc (acos_test_data): Add more tests.
28054         (asin_test_data): Likewise.
28055         (asinh_test_data): Likewise.
28056         (atan_test_data): Likewise.
28057         (atanh_test_data): Likewise.
28058         (atan2_test_data): Likewise.
28059         (cbrt_test_data): Likewise.
28060         (ceil_test_data): Likewise.
28061         (copysign_test_data): Likewise.
28062         (cos_test_data): Likewise.
28063         (cosh_test_data): Likewise.
28064         (erf_test_data): Likewise.
28065         (erfc_test_data): Likewise.
28066         (exp_test_data): Likewise.
28067         (exp10_test_data): Likewise.
28068         (exp2_test_data): Likewise.
28069         (expm1_test_data): Likewise.
28070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28072 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28074         [BZ #19006]
28075         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28076         to ...
28077         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28078         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28079         to ...
28080         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28081         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28082         to ...
28083         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28084         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28085         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28086         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28087         to ...
28088         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28089         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28090         Moved to ...
28091         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28092         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28093         Moved to ...
28094         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28095         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28096         to ...
28097         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28098         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28099         Moved to ...
28100         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28101         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28102         to ...
28103         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28104         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28105         Removed.
28106         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28107         Likewise.
28108         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28109         Likewise.
28110         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28111         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28112         Likewise.
28113         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28114         Likewise.
28115         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28116         Likewise.
28117         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28118         Likewise.
28119         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28120         Likewise.
28121         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28122         Likewise.
28123         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28124         Likewise.
28125         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28126         Likewise.
28127         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28128         Likewise.
28129         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28130         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28131         Likewise.
28132         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28133         Likewise.
28134         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28135         Likewise.
28136         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28137         Likewise.
28138         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28139         Likewise.
28140         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28141         Replace ../i486/pthread_cond_timedwait.S with
28142         ../pthread_cond_timedwait.S.
28144 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28146         * math/libm-test.inc (acos_test_data): Refine expectations for
28147         errno and "inexact" exceptions.
28148         (acosh_test_data): Likewise.
28149         (asin_test_data): Likewise.
28150         (asinh_test_data): Likewise.
28151         (atan_test_data): Likewise.
28152         (atanh_test_data): Likewise.
28153         (atan2_test_data): Likewise.
28154         (cbrt_test_data): Likewise.
28155         (ceil_test_data): Likewise.
28156         (copysign_test_data): Likewise.
28157         (cosh_test_data): Likewise.
28158         (erf_test_data): Likewise.
28159         (erfc_test_data): Likewise.
28160         (exp_test_data): Likewise.
28161         (exp10_test_data): Likewise.
28162         (exp2_test_data): Likewise.
28163         (expm1_test_data): Likewise.
28164         (fabs_test_data): Likewise.
28165         (floor_test_data): Likewise.
28166         (fma_test_data): Likewise.
28167         (fmax_test_data): Likewise.
28168         (fmin_test_data): Likewise.
28169         (fmod_test_data): Likewise.
28170         (fpclassify_test_data): Likewise.
28171         (frexp_test_data): Likewise.
28172         (hypot_test_data): Likewise.
28173         (ilogb_test_data): Likewise.
28174         (isgreater_test_data): Likewise.
28175         (isgreaterequal_test_data): Likewise.
28176         (isinf_test_data): Likewise.
28177         (isless_test_data): Likewise.
28178         (islessequal_test_data): Likewise.
28179         (islessgreater_test_data): Likewise.
28180         (isnan_test_data): Likewise.
28181         (isnormal_test_data): Likewise.
28182         (issignaling_test_data): Likewise.
28183         (isunordered_test_data): Likewise.
28184         (j0_test_data): Likewise.
28185         (j1_test_data): Likewise.
28186         (jn_test_data): Likewise.
28187         (lgamma_test_data): Likewise.
28188         (lrint_test_data): Likewise.
28189         (llrint_test_data): Likewise.
28190         (log_test_data): Likewise.
28191         (log10_test_data): Likewise.
28192         (log1p_test_data): Likewise.
28193         (log2_test_data): Likewise.
28194         (logb_test_data): Likewise.
28195         (lround_test_data): Likewise.
28196         (llround_test_data): Likewise.
28197         (modf_test_data): Likewise.
28198         (nearbyint_test_data): Likewise.
28199         (nextafter_test_data): Likewise.
28200         (nexttoward_test_data): Likewise.
28201         (pow_test_data): Likewise.
28202         (remainder_test_data): Likewise.
28203         (remquo_test_data): Likewise.
28204         (rint_test_data): Likewise.
28205         (round_test_data): Likewise.
28206         (signbit_test_data): Likewise.
28207         (sinh_test_data): Likewise.
28208         (sqrt_test_data): Likewise.
28209         (tanh_test_data): Likewise.
28210         (tgamma_test_data): Likewise.
28211         (trunc_test_data): Likewise.
28212         (y0_test_data): Likewise.
28213         (y1_test_data): Likewise.
28214         (yn_test_data): Likewise.
28215         (significand_test_data): Likewise.
28217 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28219         * manual/filesys.texi (Storage Allocation): Document that
28220         posix_fallocate emulation fails when fd is open with O_WRONLY.
28222 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28224         [BZ #19016]
28225         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28226         allow more cases with X^2 + Y^2 >= 0.5.
28227         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28228         normal element in sum instead of special-casing based on values of
28229         arguments.
28230         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28231         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28232         -1 as normal element in sum instead of special-casing based on
28233         values of arguments.
28234         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28235         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28236         (__x2y2m1): Update comment.
28237         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28238         as normal element in sum instead of special-casing based on values
28239         of arguments.
28240         * math/s_clog.c (__clog): Handle more cases using log1p without
28241         hypot.
28242         * math/s_clog10.c (__clog10): Likewise.
28243         * math/s_clog10f.c (__clog10f): Likewise.
28244         * math/s_clog10l.c (__clog10l): Likewise.
28245         * math/s_clogf.c (__clogf): Likewise.
28246         * math/s_clogl.c (__clogl): Likewise.
28247         * math/auto-libm-test-in: Add more tests of clog and clog10.
28248         * math/auto-libm-test-out: Regenerated.
28249         * sysdeps/i386/fpu/libm-test-ulps: Update.
28250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252 2015-09-28  Martin Sebor  <msebor@redhat.com>
28254         [BZ #18969]
28255         * string/Makefile (LOCALES): Define.
28256         (gen-locales.mk): Include.
28257         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28258         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28259         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28260         on setlocale failure.
28262 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28264         [BZ #18985]
28265         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28266         (__strftime_internal): Likewise.
28267         * time/tst-strftime.c (do_bz18985): New test.
28268         (do_test): Call it.
28270 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28272         [BZ #18956]
28273         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28274         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28275         extracting high part.
28276         * math/auto-libm-test-in: Add another test of pow.
28277         * math/auto-libm-test-out: Regenerated.
28278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28280 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28282         [BZ #18825]
28283         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28284         New macro.
28285         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28286         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28287         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28288         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28289         DBL_NARROW_EVAL, reloading the PIC register as needed.
28290         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28291         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28292         FLT_NARROW_EVAL.  Use separate return path for case when first
28293         argument is NaN.
28294         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28295         DEFINE_LDBL_MIN.
28296         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28297         PIC register.
28298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28299         math_check_force_underflow_nonneg.
28300         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28301         underflow for subnormal result.
28302         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28304         math_check_force_underflow_nonneg.
28305         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28306         math_check_force_underflow.
28307         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28308         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28309         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28310         DEFINE_LDBL_MIN.
28311         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28312         * math/auto-libm-test-in: Add more tests of pow.
28313         * math/auto-libm-test-out: Regenerated.
28315 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28317         * nss/bug17079.c (init_test_items): Add diagnostic for
28318         inconsistent entries.
28319         (test_buffer_size): Skip inconsistent entries.
28321 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28323         [BZ #13304]
28324         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28325         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28326         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
28328         [BZ #13304]
28329         * sysdeps/microblaze/s_fma.c: New file.
28330         * sysdeps/microblaze/s_fmaf.c: Likewise.
28331         * sysdeps/microblaze/sfp-machine.h: Likewise.
28333 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
28335         [BZ #17250]
28336         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
28337         member.
28339 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28341         [BZ #18803]
28342         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
28343         (MO): New macro.
28344         (__ieee754_hypot) [PIC]: Load PIC register.
28345         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
28346         DBL_NARROW_EVAL.
28347         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
28348         math_check_force_underflow_nonneg in case where result might be
28349         tiny.
28350         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28351         Likewise.
28352         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28353         Likewise.
28354         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
28355         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
28356         * math/auto-libm-test-in: Add more tests of hypot.
28357         * math/auto-libm-test-out: Regenerated.
28359 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
28361         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
28363 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
28365         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
28366         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
28367         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28368         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28369         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
28370         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28371         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28373         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
28374         LOAD_PIC_REG.
28376         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
28377         (FLT_CHECK_FORCE_UFLOW): Likewise.
28378         (DBL_CHECK_FORCE_UFLOW): Likewise.
28379         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
28380         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
28381         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
28382         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28383         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28384         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28385         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28386         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
28387         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
28388         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28389         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
28390         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
28391         (flt_min): Replace with use of DEFINE_FLT_MIN.
28392         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
28393         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
28394         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28395         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
28396         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
28397         (flt_min): Replace with use of DEFINE_FLT_MIN.
28398         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
28399         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
28400         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28401         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
28402         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
28403         (flt_min): Replace with use of DEFINE_FLT_MIN.
28404         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
28405         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
28406         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
28407         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
28408         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
28409         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
28410         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
28411         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
28412         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28413         (__atan): Use DBL_CHECK_FORCE_UFLOW.
28414         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
28415         (flt_min): Replace with use of DEFINE_FLT_MIN.
28416         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
28417         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
28418         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28419         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
28420         main computation.
28421         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
28422         (flt_min): Replace with use of DEFINE_FLT_MIN.
28423         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
28424         main computation.
28425         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
28426         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28427         (MO): New macro.
28428         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
28429         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
28430         (flt_min): Replace with use of DEFINE_FLT_MIN.
28431         (MO): New macro.
28432         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
28433         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
28434         (__log1pl): Use MO.
28436         [BZ #19003]
28437         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
28438         $(config-cflags-nofma).
28440 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28442         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28444 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
28446         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
28447         (TWO127): Likewise.
28449         * sysdeps/generic/math_private.h (fabs_tg): New macro.
28450         (min_of_type): Likewise.
28451         (math_check_force_underflow): Likewise.
28452         (math_check_force_underflow_nonneg): Likewise.
28453         (math_check_force_underflow_complex): Likewise.
28454         * math/e_exp2l.c (__ieee754_exp2l): Use
28455         math_check_force_underflow_nonneg.
28456         * math/k_casinh.c (__kernel_casinh): Likewise.
28457         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28458         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28459         * math/s_catan.c (__catan): Use
28460         math_check_force_underflow_complex.
28461         * math/s_catanf.c (__catanf): Likewise.
28462         * math/s_catanh.c (__catanh): Likewise.
28463         * math/s_catanhf.c (__catanhf): Likewise.
28464         * math/s_catanhl.c (__catanhl): Likewise.
28465         * math/s_catanl.c (__catanl): Likewise.
28466         * math/s_ccosh.c (__ccosh): Likewise.
28467         * math/s_ccoshf.c (__ccoshf): Likewise.
28468         * math/s_ccoshl.c (__ccoshl): Likewise.
28469         * math/s_cexp.c (__cexp): Likewise.
28470         * math/s_cexpf.c (__cexpf): Likewise.
28471         * math/s_cexpl.c (__cexpl): Likewise.
28472         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
28473         * math/s_clog10.c (__clog10): Likewise.
28474         * math/s_clog10f.c (__clog10f): Likewise.
28475         * math/s_clog10l.c (__clog10l): Likewise.
28476         * math/s_clogf.c (__clogf): Likewise.
28477         * math/s_clogl.c (__clogl): Likewise.
28478         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
28479         * math/s_csinf.c (__csinf): Likewise.
28480         * math/s_csinh.c (__csinh): Likewise.
28481         * math/s_csinhf.c (__csinhf): Likewise.
28482         * math/s_csinhl.c (__csinhl): Likewise.
28483         * math/s_csinl.c (__csinl): Likewise.
28484         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
28485         * math/s_csqrtf.c (__csqrtf): Likewise.
28486         * math/s_csqrtl.c (__csqrtl): Likewise.
28487         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
28488         * math/s_ctanf.c (__ctanf): Likewise.
28489         * math/s_ctanh.c (__ctanh): Likewise.
28490         * math/s_ctanhf.c (__ctanhf): Likewise.
28491         * math/s_ctanhl.c (__ctanhl): Likewise.
28492         * math/s_ctanl.c (__ctanl): Likewise.
28493         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
28494         instead of volatile.
28495         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
28496         math_check_force_underflow.
28497         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28498         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
28499         volatile when forcing underflow.
28500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28501         math_check_force_underflow_nonneg.
28502         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
28503         Likewise.
28504         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
28505         math_check_force_underflow.
28506         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28507         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28508         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28509         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
28510         math_check_force_underflow_nonneg.
28511         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
28512         math_check_force_underflow.
28513         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
28514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
28515         instead of volatile.
28516         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
28517         math_check_force_underflow.
28518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28519         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28520         math_check_force_underflow_nonneg.
28521         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
28522         math_check_force_underflow.
28523         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
28524         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28525         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
28526         math_check_force_underflow_nonneg.
28527         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28528         Likewise.
28529         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
28530         math_check_force_underflow.
28531         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28532         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28533         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
28534         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
28535         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
28536         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
28537         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
28538         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
28539         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28540         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
28541         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
28542         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
28543         Likewise.
28544         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
28545         math_check_force_underflow_nonneg.
28546         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28547         Likewise.
28548         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
28549         math_check_force_underflow.
28550         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28551         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
28552         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28553         Likewise.
28554         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
28555         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
28556         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
28557         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
28558         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
28559         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
28560         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
28561         instead of volatile.
28562         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
28563         math_check_force_underflow.
28564         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
28565         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
28566         math_check_force_underflow.
28567         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
28568         Likewise.
28569         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28570         Use math_check_force_underflow_nonneg.
28571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
28572         math_check_force_underflow.
28573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
28574         Likewise.
28575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28576         Likewise.
28577         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28578         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28579         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28580         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28581         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
28582         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28583         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
28584         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
28585         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
28586         math_check_force_underflow_nonneg.
28587         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
28588         math_check_force_underflow.
28589         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28590         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
28591         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
28592         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
28593         math_check_force_underflow_nonneg.
28594         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
28595         math_check_force_underflow.
28596         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
28597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
28598         instead of volatile.
28599         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
28600         math_check_force_underflow.
28602         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
28603         * stdlib/strtod_l.c: Include <math_private.h>.
28604         (overflow_value): Use math_narrow_eval.
28605         (underflow_value): Likewise.
28606         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28607         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28608         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
28609         (__ieee754_gamma_r): Likewise.
28610         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
28611         Likewise.
28612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
28613         Likewise.
28614         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
28615         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
28616         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
28617         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
28618         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
28619         (__ieee754_gammaf_r): Likewise.
28620         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
28621         Likewise.
28622         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
28623         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
28624         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
28625         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
28626         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
28627         volatile.
28628         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
28629         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
28630         math_narrow_eval.
28631         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28632         Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28634         Likewise.
28635         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
28636         Likewise.
28637         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
28638         volatile.
28639         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
28640         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
28641         math_narrow_eval.
28642         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28643         Likewise.
28644         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28645         Likewise.
28647 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
28649         * nptl/Versions: Remove ignored symbols.
28651 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28653         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
28654         * nss/Makefile (tests): Update.
28656 2015-09-22  Florian Weimer  <fweimer@redhat.com>
28658         * nss/bug18287.c: New file.
28659         * nss/Makefile (tests): Add bug18287.
28661 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28663         * mach/Versions (__mach_host_self_): Add symbol.
28665 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28667         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
28668         vm_page_size.
28670 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28672         Really fix sysdeps/i386/fpu/s_scalbn.S build
28674         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
28675         (libc: GLIBC_2_22): Remove unused version set.
28677 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28679         * config.make.in (enable-timezone-tools): New variable.
28680         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
28681         (enable_timezone_tools): Export to generated files.
28682         * configure: Regenerate.
28683         * INSTALL: Regenerate.
28684         * manual/install.texi (--disable-timezone-tools): Document new flag.
28685         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
28686         ifeq ($(enable-timezone-tools),yes) check.
28688 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28690         * timezone/Makefile: Revert previous change.
28692         [BZ #18980]
28693         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
28694         (DEFINE_DBL_MIN): Likewise.
28695         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28696         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
28697         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28698         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
28699         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
28700         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28701         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28702         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
28703         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
28704         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28705         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28706         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
28707         (flt_min): Replace with use of DEFINE_FLT_MIN.
28708         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28709         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
28710         (dbl_min): Replace with use of DEFINE_DBL_MIN.
28711         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
28712         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
28713         (flt_min): Replace with use of DEFINE_FLT_MIN.
28714         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28715         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
28716         (flt_min): Replace with use of DEFINE_FLT_MIN.
28717         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
28718         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
28719         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
28720         (__ieee754_hypot): Use DBL_NARROW_EVAL.
28721         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
28722         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
28723         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
28724         (__ieee754_pow): Use DBL_NARROW_EVAL.
28725         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
28726         (__ieee754_powf): Use FLT_NARROW_EVAL.
28727         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
28728         (__ieee754_expf_sse2): Convert double-precision result to single
28729         precision.
28730         * sysdeps/i386/fpu/libm-test-ulps: Update.
28732 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28734         * timezone/Makefile: Ignore unused variable errors due to private.h
28735         (time_t_min) and (time_t_max).
28736         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
28737         Likewise.
28739 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28741         [BZ #18981]
28742         * sysdeps/i386/fpu/i386-math-asm.h: New file.
28743         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
28744         (__ieee754_scalb): Use DBL_NARROW_EVAL.
28745         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
28746         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
28747         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
28748         (__scalbn): Use DBL_NARROW_EVAL.
28749         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
28750         (__scalbnf): Use FLT_NARROW_EVAL.
28752 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28754         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
28755         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
28756         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
28757         * stdio-common/printf_fp.c (___printf_fp):
28758         Use signbit to get the sign. Use isinf macro to allow inlining.
28759         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
28760         * stdio-common/printf_size.c (__printf_size): Likewise.
28762 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
28764         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28766 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
28768         [BZ #18980]
28769         * sysdeps/generic/math_private.h: Include <float.h>.
28770         (math_narrow_eval): New macro.
28771         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
28772         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
28773         math_narrow_eval on overflowing return value.
28774         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
28775         Likewise.
28776         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28777         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
28778         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
28779         Likewise.
28780         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
28782 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28784         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
28785         * math/Makefile: Remove isinf_ns.c.
28786         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
28787         * math/multc3.c (__multc3): Likewise.
28788         * math/s_casin.c (__casin): Likewise.
28789         * math/s_casinf.c (__casinf): Likewise.
28790         * math/s_casinl.c (__casinl): Likewise.
28791         * math/s_cproj.c (__cproj): Likewise.
28792         * math/s_cprojf.c (__cprojf): Likewise.
28793         * math/s_cprojl.c (__cprofl): Likewise.
28794         * math/s_ctan.c (__ctan): Likewise.
28795         * math/s_ctanf.c (__ctanf): Likewise.
28796         * math/s_ctanh.c (__ctanh): Likewise.
28797         * math/s_ctanhf.c (__ctanhf): Likewise.
28798         * math/s_ctanhl.c (__ctanhl): Likewise.
28799         * math/s_ctanl.c (__ctanl): Likewise.
28800         * math/w_fmod.c (__fmod): Likewise.
28801         * math/w_fmodf.c (__fmodf): Likewise.
28802         * math/w_fmodl.c (_fmodl): Likewise.
28803         * math/w_remainder.c (__remainder): Likewise.
28804         * math/w_remainderf.c (__remainderf): Likewise.
28805         * math/w_remainderl.c (__remainderl): Likewise.
28806         * math/w_scalb.c (__scalb): Likewise.
28807         * math/w_scalbf.c (__scalbf): Likewise.
28808         * math/w_scalbl.c (__scalbl): Likewise.
28809         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28810         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28811         with isinf.
28812         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28813         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28814         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28815         __isinf_nsf with isinf.
28816         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28817         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28818         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28819         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28820         with isinf.
28821         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28822         __isinf_nsl with isinf.
28823         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28824         with isinf.
28825         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28826         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28827         __isinf_nsl with isinf.
28828         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28829         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28830         with isinf.
28832 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28834         * resolv/base64.c (rcsid): Remove unused static.
28835         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28836         static.  (tqpi1): Likewise.
28837         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28838         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28839         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28840         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28841         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28842         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28843         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28844         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28845         Likewise.
28847 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28849         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28850         <nptl/pthreadP.h>.
28851         (_longjmp_unwind): Use __libc_ptf_call.
28852         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28854 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28856         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28857         * sysdeps/arm/__longjmp.S: Likewise.
28859 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28861         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28862         Use __builtin_signbit.
28863         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28864         Use __builtin_signbitf.
28865         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28866         Use __builtin_signbitl.
28867         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28868         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28870 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28872         [BZ #15367]
28873         [BZ #17441]
28875         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28876         * math/math.h (fpclassify): Use __builtin_fpclassify when
28877         available.  (signbit): Use __builtin_signbit(f/l).
28878         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28879         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28880         (isinf): Use __builtin_isinf_sign.
28882 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28884         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28885         * benchtests/bench-math-inlines.c: New benchmark.
28886         * benchtests/bench-util.h: New file.
28887         * benchtests/bench-util.c: New file.
28888         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28890 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28892         * elf/tst-dlmopen1.c: Define TEST_SO.
28893         (do_test): Use TEST_SO.
28895         * elf/dl-load.c: Include libc-internal.h.
28896         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28898 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28900         [BZ #17887]
28901         * time/strptime_l.c (__strptime_internal): Make %z accept
28902         [+-]HH:MM time zones.
28904 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28906         [BZ #17886]
28907         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28908         valid time zone.
28910 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28912         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28913         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28914         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28915         (__ASSUME_FDATASYNC): Delete.
28917 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28919         * conform/linknamespace.pl: Require weak undefined symbols to be
28920         in the standard namespace.
28921         (%strong_syms): Rename to %seen_syms.
28922         (%strong_seen): Rename to %seen_where.
28924 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28926         [BZ #18970]
28927         * misc/error.c (error): Replace pthread_setcancelstate with
28928         __pthread_setcancelstate.
28929         (error_at_line): Likewise.
28930         * posix/wordexp.c (parse_comm): Likewise.
28931         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28932         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28933         (__pthread_setcancelstate): This.
28934         (pthread_setcancelstate): Add an alias.
28935         * nptl/nptl-init.c (pthread_functions): Replace
28936         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28937         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28938         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28939         hidden_proto.
28940         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28941         it with hidden_def.
28942         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28943         (pthread_setcancelstate): Renamed to ...
28944         (__pthread_setcancelstate): This.
28945         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28946         __libc_ptf_call with __pthread_setcancelstate.
28948 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28949             Andreas Schwab  <schwab@suse.de>
28951         [BZ #17118]
28952         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28953         result when imaginary part of argument is infinite using sine and
28954         cosine.
28955         * math/s_ctanf.c (__ctanf): Likewise.
28956         * math/s_ctanl.c (__ctanl): Likewise.
28957         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28958         of result when real part of argument is infinite using sine and
28959         cosine.
28960         * math/s_ctanhf.c (__ctanhf): Likewise.
28961         * math/s_ctanhl.c (__ctanhl): Likewise.
28962         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28963         (ctanh_test_data): Add more tests of ctanh.
28965 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28967         [BZ #15384]
28968         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28969         bit-mask as in subtraction.
28970         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28971         Likewise.
28972         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28973         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28974         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28976         [BZ #18951]
28977         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28978         underflow exception for small results.
28979         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28980         Likewise.
28981         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28982         Likewise.
28983         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28984         Likewise.
28985         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28986         Likewise.
28987         * math/auto-libm-test-in: Add more tests of tgamma.
28988         * math/auto-libm-test-out: Regenerated.
28990 2015-09-17  Andreas Schwab  <schwab@suse.de>
28992         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28994 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28996         [BZ #18977]
28997         * math/bits/mathcalls.h
28998         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28999         not declare.
29000         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29001         Likewise.
29002         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29003         Likewise.
29004         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29005         Likewise.
29006         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29007         Likewise.
29008         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29009         Likewise.
29010         * conform/data/math.h-data
29011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29012         function.
29013         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29014         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29015         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29016         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29017         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29018         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29019         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29020         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29021         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29022         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29023         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29025         [BZ #6803]
29026         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29027         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29028         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29029         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29030         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29031         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29032         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29033         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29034         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29035         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29036         Likewise.
29037         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29038         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29039         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29040         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29041         long_double_symbol calls.
29042         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29043         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29044         strong alias of __ldexpl.
29045         (scalbnl): Define using long_double_symbol.
29046         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29047         Remove alias.
29048         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29049         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29050         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29051         (scalbln_test_data): Add more errno expectations.
29053 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29055         Cache the host port like we cache the task port.  This way we do not
29056         need to call the kernel just to get the port.  Furthermore, we no
29057         longer increase the reference count on every invocation of
29058         `mach_host_self'.
29060         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29061         Protect declarations against the macro expansion.
29062         * mach/mach_init.c (__mach_host_self_): New variable.
29063         (mach_init): Initialize `__mach_host_self_'.
29064         * mach/mach_init.h (__mach_host_self_): New declaration.
29065         (__mach_host_self, mach_host_self): New macros.
29066         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29067         Release reference.
29069 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29071         [BZ #4404]
29072         * po/de.po: Update from Translation Project.
29074         [BZ #16415]
29075         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29076         (__expm1l): Remove code to handle positive infinity and overflow.
29077         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29078         variable.
29079         (__expm1l): Remove code to handle positive infinity and overflow.
29081 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29082             Paul Pluzhnikov  <ppluzhnikov@google.com>
29084         [BZ #18872]
29085         * stdio-common/Makefile (tst-printf-bz18872): New test.
29086         (tst-printf-bz18872-mem.out): Likewise.
29087         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29088         * stdio-common/vfprintf.c: Fix memory leaks.
29090 2015-09-16  Andreas Schwab  <schwab@suse.de>
29092         [BZ #17244]
29093         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29094         Remove extra va_start/va_end calls.
29096         [BZ #17243]
29097         * posix/execl.c (execl): Add missing va_end.
29098         * posix/execle.c (execle): Likewise.
29099         * posix/execlp.c (execlp): Likewise.
29101 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29103         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29104         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29106 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29108         [BZ #18967]
29109         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29110         undefine around includes of <bits/mathcalls.h>.
29111         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29112         not declare function.
29113         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29114         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29115         (scalb): Likewise.
29116         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29117         not define macro.
29118         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29119         variable.
29120         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29121         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29122         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29124         [BZ #18857]
29125         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29126         return non-finite argument without doing ordered comparisons on
29127         it.
29129         [BZ #16296]
29130         * math/fenv.h (fegetround): Use __attribute_pure__.
29131         * include/fenv.h (__fegetround): Likewise.
29133         [BZ #18595]
29134         * math/s_ctan.c (__ctan): Force underflow exception for results
29135         whose real or imaginary part has small absolute value.
29136         * math/s_ctanf.c (__ctanf): Likewise.
29137         * math/s_ctanh.c (__ctanh): Likewise.
29138         * math/s_ctanhf.c (__ctanhf): Likewise.
29139         * math/s_ctanhl.c (__ctanhl): Likewise.
29140         * math/s_ctanl.c (__ctanl): Likewise.
29141         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29142         and ctanh.  Add more tests of ctan and ctanh.
29144         [BZ #15918]
29145         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29146         handling of cases where one argument is an infinity.
29148         [BZ #18875]
29149         [BZ #18966]
29150         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29151         (MO): New macro.
29152         (__ieee754_exp10): For small results, force underflow exception
29153         and remove excess range and precision from return value.
29154         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29155         (MO): New macro.
29156         (__ieee754_exp10f): For small results, force underflow exception
29157         and remove excess range and precision from return value.
29158         * math/auto-libm-test-in: Add more tests of exp10.
29159         * math/auto-libm-test-out: Regenerated.
29161 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29163         [BZ #18875]
29164         [BZ #18961]
29165         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29166         (MO): New macro.
29167         (__ieee754_exp): For small results, force underflow exception and
29168         remove excess range and precision from return value.
29169         (__exp_finite): Likewise.
29170         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29171         (MO): New macro.
29172         (__ieee754_expf): For small results, force underflow exception and
29173         remove excess range and precision from return value.
29174         (__expf_finite): Likewise.
29175         * math/auto-libm-test-in: Add more tests of exp.
29176         * math/auto-libm-test-out: Regenerated.
29178         [BZ #16521]
29179         [BZ #18875]
29180         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29181         small results.
29182         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29183         (MO): New macro.
29184         (__ieee754_exp2): For small results, force underflow exception and
29185         remove excess range and precision from return value.
29186         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29187         (MO): New macro.
29188         (__ieee754_exp2f): For small results, force underflow exception
29189         and remove excess range and precision from return value.
29190         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29191         (MO): New macro.
29192         (__ieee754_exp2l): Force underflow exception for small results.
29193         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29194         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29195         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29196         (MO): New macro.
29197         (__ieee754_exp2l): Force underflow exception for small results.
29198         * math/auto-libm-test-in: Add more tests or exp2.
29199         * math/auto-libm-test-out: Regenerated.
29201 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29203         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29205         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29206         /dev/null.
29208 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29210         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29211         io fs process)): Drop spurious backslash.
29213 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29215         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29216         Use sysinfo system call instead of parsing /proc/meminfo.
29217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29218         Likewise.
29220 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29222         [BZ #16985]
29223         * programs/localedef.c (main): Display argv[remaining] when
29224         output_path is NULL.
29226 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29228         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29229         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29230         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29231         tanh.
29232         * math/auto-libm-test-out: Regenerated.
29233         * sysdeps/i386/fpu/libm-test-ulps: Update.
29234         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29235         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29238 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29240         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29241         Use 'override' keyword to freeze the value here, preventing
29242         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29244 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29246         [BZ #14912]
29247         * sysdeps/aarch64/bits/atomic.h: Move to ...
29248         * sysdeps/aarch64/atomic-machine.h: ...here.
29249         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29250         _AARCH64_ATOMIC_MACHINE_H.
29251         * sysdeps/alpha/bits/atomic.h: Move to ...
29252         * sysdeps/alpha/atomic-machine.h: ...here.
29253         * sysdeps/arm/bits/atomic.h: Move to ...
29254         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29255         * bits/atomic.h: Move to ...
29256         * sysdeps/generic/atomic-machine.h: ...here.
29257         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29258         * sysdeps/i386/bits/atomic.h: Move to ...
29259         * sysdeps/i386/atomic-machine.h: ...here.
29260         * sysdeps/ia64/bits/atomic.h: Move to ...
29261         * sysdeps/ia64/atomic-machine.h: ...here.
29262         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29263         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29264         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29265         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29266         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29267         * sysdeps/microblaze/bits/atomic.h: Move to ...
29268         * sysdeps/microblaze/atomic-machine.h: ...here.
29269         * sysdeps/mips/bits/atomic.h: Move to ...
29270         * sysdeps/mips/atomic-machine.h: ...here.
29271         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29272         * sysdeps/powerpc/bits/atomic.h: Move to ...
29273         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29274         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29275         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29276         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29277         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29278         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29279         <atomic-machine.h> instead of <bits/atomic.h>.
29280         * sysdeps/s390/bits/atomic.h: Move to ...
29281         * sysdeps/s390/atomic-machine.h: ...here.
29282         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29283         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29284         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29285         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29286         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29287         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29288         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29289         * sysdeps/tile/bits/atomic.h: Move to ...
29290         * sysdeps/tile/atomic-machine.h: ...here.
29291         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29292         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29293         <sysdeps/tile/atomic-machine.h> instead of
29294         <sysdeps/tile/bits/atomic.h>.
29295         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29296         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29297         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
29298         <sysdeps/tile/atomic-machine.h> instead of
29299         <sysdeps/tile/bits/atomic.h>.
29300         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29301         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29302         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29303         <sysdeps/arm/atomic-machine.h> instead of
29304         <sysdeps/arm/bits/atomic.h>.
29305         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29306         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29307         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29308         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29309         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29310         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29311         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29312         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29313         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29314         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29315         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29316         * sysdeps/x86_64/bits/atomic.h: Move to ...
29317         * sysdeps/x86_64/atomic-machine.h: ...here.
29318         * include/atomic.h: Include <atomic-machine.h> instead of
29319         <bits/atomic.h>.
29321         * sysdeps/mips/mips32/libm-test-ulps: Update.
29322         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29324         [BZ #18952]
29325         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29326         not convert non-integer negative arguments to int to determine the
29327         value of signgam.
29328         * math/auto-libm-test-in: Add more tests of lgamma.
29329         * math/auto-libm-test-out: Regenerated.
29331         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
29332         cosh, csqrt, erfc, expm1 and lgamma.
29333         * math/auto-libm-test-out: Regenerated.
29334         * sysdeps/i386/fpu/libm-test-ulps: Update.
29335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29337 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
29339         [BZ #2542]
29340         [BZ #2543]
29341         [BZ #2558]
29342         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
29343         __lgamma_neg for arguments from -28.0 to -2.0.
29344         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
29345         __lgamma_negf for arguments from -15.0 to -2.0.
29346         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29347         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
29348         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
29349         Call __lgamma_negl for arguments from -33.0 to -2.0.
29350         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
29351         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
29352         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
29353         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
29354         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
29355         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
29357         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
29358         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
29359         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
29360         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
29361         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
29362         (__lgamma_neg): Likewise.
29363         (__lgamma_negl): Likewise.
29364         (__lgamma_product): Likewise.
29365         (__lgamma_productl): Likewise.
29366         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
29367         * math/auto-libm-test-in: Add more tests of lgamma.
29368         * math/auto-libm-test-out: Regenerated.
29369         * sysdeps/i386/fpu/libm-test-ulps: Update.
29370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29372 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
29374         [BZ #18675]
29375         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
29377 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
29379         [BZ #14912]
29380         * bits/libc-lock.h: Move to ...
29381         * sysdeps/generic/libc-lock.h: ...here.
29382         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29383         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
29384         * sysdeps/mach/hurd/libc-lock.h: ...here.
29385         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29386         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
29387         * sysdeps/mach/bits/libc-lock.h: Move to ...
29388         * sysdeps/mach/libc-lock.h: ...here.
29389         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29390         * sysdeps/nptl/bits/libc-lock.h: Move to ...
29391         * sysdeps/nptl/libc-lock.h: ...here.
29392         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
29393         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
29394         * sysdeps/nptl/libc-lockP.h: ...here.
29395         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
29396         * crypt/crypt_util.c: Include <libc-lock.h> instead of
29397         <bits/libc-lock.h>.
29398         * dirent/scandir-tail.c: Likewise.
29399         * dlfcn/dlerror.c: Likewise.
29400         * elf/dl-close.c: Likewise.
29401         * elf/dl-iteratephdr.c: Likewise.
29402         * elf/dl-lookup.c: Likewise.
29403         * elf/dl-open.c: Likewise.
29404         * elf/dl-support.c: Likewise.
29405         * elf/dl-writev.h: Likewise.
29406         * elf/rtld.c: Likewise.
29407         * grp/fgetgrent.c: Likewise.
29408         * gshadow/fgetsgent.c: Likewise.
29409         * gshadow/sgetsgent.c: Likewise.
29410         * iconv/gconv_conf.c: Likewise.
29411         * iconv/gconv_db.c: Likewise.
29412         * iconv/gconv_dl.c: Likewise.
29413         * iconv/gconv_int.h: Likewise.
29414         * iconv/gconv_trans.c: Likewise.
29415         * include/link.h: Likewise.
29416         * inet/getnameinfo.c: Likewise.
29417         * inet/getnetgrent.c: Likewise.
29418         * inet/getnetgrent_r.c: Likewise.
29419         * intl/bindtextdom.c: Likewise.
29420         * intl/dcigettext.c: Likewise.
29421         * intl/finddomain.c: Likewise.
29422         * intl/gettextP.h: Likewise.
29423         * intl/loadmsgcat.c: Likewise.
29424         * intl/localealias.c: Likewise.
29425         * intl/textdomain.c: Likewise.
29426         * libidn/idn-stub.c: Likewise.
29427         * libio/libioP.h: Likewise.
29428         * locale/duplocale.c: Likewise.
29429         * locale/freelocale.c: Likewise.
29430         * locale/newlocale.c: Likewise.
29431         * locale/setlocale.c: Likewise.
29432         * login/getutent_r.c: Likewise.
29433         * login/getutid_r.c: Likewise.
29434         * login/getutline_r.c: Likewise.
29435         * login/utmp-private.h: Likewise.
29436         * login/utmpname.c: Likewise.
29437         * malloc/mtrace.c: Likewise.
29438         * misc/efgcvt.c: Likewise.
29439         * misc/error.c: Likewise.
29440         * misc/fstab.c: Likewise.
29441         * misc/getpass.c: Likewise.
29442         * misc/mntent.c: Likewise.
29443         * misc/syslog.c: Likewise.
29444         * nis/nis_call.c: Likewise.
29445         * nis/nis_callback.c: Likewise.
29446         * nis/nss-default.c: Likewise.
29447         * nis/nss_compat/compat-grp.c: Likewise.
29448         * nis/nss_compat/compat-initgroups.c: Likewise.
29449         * nis/nss_compat/compat-pwd.c: Likewise.
29450         * nis/nss_compat/compat-spwd.c: Likewise.
29451         * nis/nss_nis/nis-alias.c: Likewise.
29452         * nis/nss_nis/nis-ethers.c: Likewise.
29453         * nis/nss_nis/nis-grp.c: Likewise.
29454         * nis/nss_nis/nis-hosts.c: Likewise.
29455         * nis/nss_nis/nis-network.c: Likewise.
29456         * nis/nss_nis/nis-proto.c: Likewise.
29457         * nis/nss_nis/nis-pwd.c: Likewise.
29458         * nis/nss_nis/nis-rpc.c: Likewise.
29459         * nis/nss_nis/nis-service.c: Likewise.
29460         * nis/nss_nis/nis-spwd.c: Likewise.
29461         * nis/nss_nisplus/nisplus-alias.c: Likewise.
29462         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
29463         * nis/nss_nisplus/nisplus-grp.c: Likewise.
29464         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
29465         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
29466         * nis/nss_nisplus/nisplus-network.c: Likewise.
29467         * nis/nss_nisplus/nisplus-proto.c: Likewise.
29468         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
29469         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
29470         * nis/nss_nisplus/nisplus-service.c: Likewise.
29471         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
29472         * nis/ypclnt.c: Likewise.
29473         * nptl/libc_pthread_init.c: Likewise.
29474         * nss/getXXbyYY.c: Likewise.
29475         * nss/getXXent.c: Likewise.
29476         * nss/getXXent_r.c: Likewise.
29477         * nss/nss_db/db-XXX.c: Likewise.
29478         * nss/nss_db/db-netgrp.c: Likewise.
29479         * nss/nss_db/nss_db.h: Likewise.
29480         * nss/nss_files/files-XXX.c: Likewise.
29481         * nss/nss_files/files-alias.c: Likewise.
29482         * nss/nsswitch.c: Likewise.
29483         * posix/regex_internal.h: Likewise.
29484         * posix/wordexp.c: Likewise.
29485         * pwd/fgetpwent.c: Likewise.
29486         * resolv/res_hconf.c: Likewise.
29487         * resolv/res_libc.c: Likewise.
29488         * shadow/fgetspent.c: Likewise.
29489         * shadow/lckpwdf.c: Likewise.
29490         * shadow/sgetspent.c: Likewise.
29491         * socket/opensock.c: Likewise.
29492         * stdio-common/reg-modifier.c: Likewise.
29493         * stdio-common/reg-printf.c: Likewise.
29494         * stdio-common/reg-type.c: Likewise.
29495         * stdio-common/vfprintf.c: Likewise.
29496         * stdio-common/vfscanf.c: Likewise.
29497         * stdlib/abort.c: Likewise.
29498         * stdlib/cxa_atexit.c: Likewise.
29499         * stdlib/fmtmsg.c: Likewise.
29500         * stdlib/random.c: Likewise.
29501         * stdlib/setenv.c: Likewise.
29502         * string/strsignal.c: Likewise.
29503         * sunrpc/auth_none.c: Likewise.
29504         * sunrpc/bindrsvprt.c: Likewise.
29505         * sunrpc/create_xid.c: Likewise.
29506         * sunrpc/key_call.c: Likewise.
29507         * sunrpc/rpc_thread.c: Likewise.
29508         * sysdeps/arm/backtrace.c: Likewise.
29509         * sysdeps/generic/ldsodefs.h: Likewise.
29510         * sysdeps/generic/stdio-lock.h: Likewise.
29511         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
29512         * sysdeps/i386/backtrace.c: Likewise.
29513         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29514         * sysdeps/m68k/backtrace.c: Likewise.
29515         * sysdeps/mach/hurd/cthreads.c: Likewise.
29516         * sysdeps/mach/hurd/dirstream.h: Likewise.
29517         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29518         * sysdeps/nptl/malloc-machine.h: Likewise.
29519         * sysdeps/nptl/stdio-lock.h: Likewise.
29520         * sysdeps/posix/dirstream.h: Likewise.
29521         * sysdeps/posix/getaddrinfo.c: Likewise.
29522         * sysdeps/posix/system.c: Likewise.
29523         * sysdeps/pthread/aio_suspend.c: Likewise.
29524         * sysdeps/s390/s390-32/backtrace.c: Likewise.
29525         * sysdeps/s390/s390-64/backtrace.c: Likewise.
29526         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29527         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29528         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
29529         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
29530         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
29531         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29532         * sysdeps/unix/sysv/linux/system.c: Likewise.
29533         * sysdeps/x86_64/backtrace.c: Likewise.
29534         * time/alt_digit.c: Likewise.
29535         * time/era.c: Likewise.
29536         * time/tzset.c: Likewise.
29537         * wcsmbs/wcsmbsload.c: Likewise.
29538         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
29539         instead of <bits/libc-lock.h> in comment.
29541 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
29543         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
29544         Only use .set mips2 if the current ISA is below mips2.
29545         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
29546         Likewise.
29547         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
29548         mips32r2 if the current ISA is below mips32r2.
29549         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
29550         (TLS_IE): Updated to use the TLD_RDHWR macro.
29551         (TLS_LE): Likewise.
29552         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
29553         __ASSEMBLER__ condition.
29555 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29557         Fix parallel build of before-compile targets.
29559         * sysdeps/mach/Makefile ($(patsubst
29560         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
29561         mach-before-compile target.
29562         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29563         io fs process)): Move rule to dedicated hurd-before-compile target.
29565 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29567         Fix rules generating headers in hurd/ and mach/ when initial make call
29568         has subdir= explicitly set.
29570         * sysdeps/mach/Makefile ($(patsubst
29571         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
29572         calling $(MAKE).
29573         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29574         io fs process)): Force subdir to hurd when calling $(MAKE).
29575         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
29576         subdir to mach when calling $(MAKE).
29578 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
29580         Check sysheaders when looking for Mach and Hurd headers
29582         * sysdeps/mach/configure.ac: Add sysheaders check.
29583         * sysdeps/mach/configure: Regenerate.
29584         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
29585         * sysdeps/mach/hurd/configure: Regenerate.
29587 2015-09-04  Roland McGrath  <roland@hack.frob.com>
29589         [BZ #18921]
29590         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
29591         Fix inverted sense of test of 'o_directory_works' value.
29592         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
29593         Bernhard Voelker <mail@bernhard-voelker.de>.
29595 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29597         [BZ #14912]
29598         * bits/linkmap.h: Move to ...
29599         * sysdeps/generic/linkmap.h: ...here.
29600         * sysdeps/aarch64/bits/linkmap.h: Move to ...
29601         * sysdeps/aarch64/linkmap.h: ...here.
29602         * sysdeps/arm/bits/linkmap.h: Move to ...
29603         * sysdeps/arm/linkmap.h: ...here.
29604         * sysdeps/hppa/bits/linkmap.h: Move to ...
29605         * sysdeps/hppa/linkmap.h: ...here.
29606         * sysdeps/ia64/bits/linkmap.h: Move to ...
29607         * sysdeps/ia64/linkmap.h: ...here.
29608         * sysdeps/mips/bits/linkmap.h: Move to ...
29609         * sysdeps/mips/linkmap.h: ...here.
29610         * sysdeps/s390/bits/linkmap.h: Move to ...
29611         * sysdeps/s390/linkmap.h: ...here.
29612         * sysdeps/sh/bits/linkmap.h: Move to ...
29613         * sysdeps/sh/linkmap.h: ...here.
29614         * sysdeps/x86/bits/linkmap.h: Move to ...
29615         * sysdeps/x86/linkmap.h: ...here.
29616         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
29618 2015-09-04  Andreas Schwab  <schwab@suse.de>
29620         [BZ #18635]
29621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
29622         (__makecontext): Terminate FDE before return label.
29623         (__novec_makecontext): Likewise.
29625 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29627         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
29628         first member of struct sv in syscall macro.
29630 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
29632         [BZ #14912]
29633         * bits/stdio-lock.h: Move to ...
29634         * sysdeps/generic/stdio-lock.h: ...here.
29635         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29636         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
29637         * sysdeps/nptl/stdio-lock.h: ...here.
29638         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
29639         * include/libio.h: Include <stdio-lock.h> instead of
29640         <bits/stdio-lock.h>.
29641         * sysdeps/nptl/fork.c: Likewise.
29642         * sysdeps/pthread/flockfile.c: Likewise.
29643         * sysdeps/pthread/ftrylockfile.c: Likewise.
29644         * sysdeps/pthread/funlockfile.c: Likewise.
29646         [BZ #14912]
29647         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
29648         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
29649         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
29650         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
29651         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
29652         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29653         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
29655 2015-09-03  Roland McGrath  <roland@hack.frob.com>
29657         * elf/Makefile (test-xfail-tst-protected1a): New variable.
29658         (test-xfail-tst-protected1b): New variable.
29660 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
29662         [BZ #14912]
29663         * bits/libc-tsd.h: Move to ...
29664         * sysdeps/generic/libc-tsd.h: ...here.
29665         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
29666         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
29667         * sysdeps/mach/hurd/libc-tsd.h: ...here.
29668         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
29669         * include/ctype.h: Include <libc-tsd.h> instead of
29670         <bits/libc-tsd.h>.
29671         * include/rpc/rpc.h: Likewise.
29672         * locale/localeinfo.h: Likewise.
29673         * sunrpc/rpc_thread.c: Likewise.
29674         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
29675         * sysdeps/nptl/malloc-machine.h: Likewise.
29677         * Makefile (headers): Remove bits/libc-lock.h.
29678         * libio/Makefile (headers): Remove bits/stdio-lock.h.
29680         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
29681         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
29682         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
29683         <bits/stdio-lock.h>.
29684         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
29685         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
29687 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29689         [BZ #18757]
29690         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
29691         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
29692         BZ #18757.
29694 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
29696         * malloc/mtrace.pl: Filter out NULL entries.
29698 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
29700         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
29701         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
29702         macro.
29704         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
29705         (TCP_CC_INFO): Likewise.
29706         (TCP_SAVE_SYN): Likewise.
29707         (TCP_SAVED_SYN): Likewise.
29709 2015-08-31  Brett Neumeier <brett@neumeier.us>
29711         [BZ #18870]
29712         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
29714 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
29716         [BZ #18873]
29717         Fix broken overflow check in posix_fallocate
29718         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
29719         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29720         Fix parenthesization typo.
29722 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
29724         [BZ #18887]
29725         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
29726         tst-mntent-blank-passno.
29727         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
29728         * misc/tst-mntent-blank-corrupt.c: New test.
29729         * misc/tst-mntent-blank-passno.c: New test ripped from ...
29730         * misc/tst-mntent.c (do_test): ... here.
29732 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
29734         [BZ #4404]
29735         * po/de.po: Fix SIGALRM typo.
29737 2015-08-28  James Perkins  <james@loowit.net>
29739         * time/tst-strptime2.c (tests): Replace short list of test
29740         strings for strptime %z specifier with code which exhaustively
29741         tests every combination of sign and 0 to 5 digits. Tests for
29742         rejection of invalid strings.
29744 2015-08-28  James Perkins  <james@loowit.net>
29746         [BZ #16141]
29747         * time/strptime_l.c (__strptime_internal): Fix %z minutes
29748         calculation, removing incorrect decimal time rounding, so that
29749         all minute values result in a valid seconds value.
29750         * time/strptime_l.c (__strptime_internal): Extend %z time zone
29751         offset range limits to UTC-99:59 through UTC+99:59 to parse
29752         current and historical use cases.
29753         * time/tst-strptime2.c (tests): Modify and add tests for the
29754         strptime %z input field descriptor, specifically conversion of
29755         minutes to seconds and validating an offset range of -9959 to
29756         +9959.
29758 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29759             Dmitry V. Levin  <ldv@altlinux.org>
29761         [BZ #18877]
29762         * posix/Makefile (tests): Add tst-mmap-offset.
29763         * posix/tst-mmap.c: New file.
29764         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
29765         offset calculation for negative values.
29767 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29769         * sysdeps/i386/init-arch.h: New file.
29770         * sysdeps/i386/i586/init-arch.h: Likewise.
29771         * sysdeps/i386/i686/init-arch.h: Likewise.
29772         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
29773         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
29774         * sysdeps/x86/cpu-features.h (bit_I586): New.
29775         (bit_I686): Likewise.
29776         (bit_CX8): Likewise.
29777         (bit_CMOV): Likewise.
29778         (index_CX8): Likewise.
29779         (index_CMOV): Likewise.
29780         (index_I586): Likewise.
29781         (index_I686): Likewise.
29782         (reg_CX8): Likewise.
29783         (reg_CMOV): Likewise.
29784         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
29785         available at compile-time.
29786         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
29787         available at compile-time.
29788         * sysdeps/x86/init-arch.h (USE_I586): New macro.
29789         (USE_I686): Likewise.
29791 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29793         * sysdeps/i386/bcopy.S: New file.
29794         * sysdeps/i386/bzero.S: Likewise.
29795         * sysdeps/i386/memcpy.S: Likewise.
29796         * sysdeps/i386/memmove.S: Likewise.
29797         * sysdeps/i386/mempcpy.S: Likewise.
29798         * sysdeps/i386/memset.S: Likewise.
29799         * sysdeps/i386/bzero.c: Removed.
29800         * sysdeps/i386/memset.c: Likewise.
29801         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29802         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29803         * sysdeps/i386/i586/memset_chk.S: Likewise.
29804         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29805         * sysdeps/i386/memcpy_chk.S: Here.
29806         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29807         * sysdeps/i386/memmove_chk.S: Here.
29808         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29809         * sysdeps/i386/mempcpy_chk.S: Likewise.
29810         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29811         * sysdeps/i386/memset_chk.S: Likewise.
29813 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29815         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29816         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29817         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29818         * soft-fp/fmadf4.c: Ditto.
29819         * soft-fp/fmatf4.c: Ditto.
29821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29823         * sysdeps/i386/i586/Implies: Removed.
29824         * sysdeps/i386/i686/Implies: Likewise.
29826 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29828         * sysdeps/i386/i486/strlen.S: Moved to ...
29829         * sysdeps/i386/strlen.S: Here.
29831 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29833         * sysdeps/i386/i486/strcat.S: Moved to ...
29834         * sysdeps/i386/strcat.S: Here.
29836 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29838         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29839         * sysdeps/i386/pthread_spin_trylock.S: Here.
29840         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29841         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29843 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29845         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29846         * sysdeps/i386/string-inlines.c: Here.
29848 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29850         * sysdeps/i386/i486/htonl.S: Moved ...
29851         * sysdeps/i386/htonl.S: here.
29853 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29855         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29856         * sysdeps/i386/bits/atomic.h: Here.
29858 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29860         * sysdeps/i386/i486/Versions: Removed.
29862 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29864         [BZ #2898]
29865         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29866         Based on patch by Aurelien Jarno.
29868 2015-08-26  Stan Shebs  <stanshebs@google.com>
29870         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29871         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29873 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29875         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29876         * sysdeps/powerpc/dl-procinfo.c:
29877         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29878         feature so it shows when LD_SHOW_AUXV=1.
29880 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29882         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29883         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29884         definition.  ISA 2.07B no longer requires full sync.
29886 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29888         [BZ #18863]
29889         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29890         (si_call_addr): Define.
29891         (si_syscall): Define.
29892         (si_arch): Define.
29894 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29896         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29897         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29898         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29899         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29900         (__memset_zero_constant_len_parameter): New.
29901         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29902         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29903         (__memset_zero_constant_len_parameter): Don't define if
29904         __memset_chk or USE_AS_BZERO are defined.
29906         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29907         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29908         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29910         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29911         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29912         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29913         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29914         comments.
29915         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29916         -mno-mmx for $(all-rtld-routines).
29917         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29918         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29919         i386.
29921 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29923         * sysdeps/generic/unwind.h
29924         (_Unwind_Word): Use __mode__(__unwind_word__)
29925         instead of __mode__(__word__).
29926         (_Unwind_Sword): Likewise.
29928         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29929         (MAX_NEEDED_INPUT): New define.
29930         (MAX_NEEDED_OUTPUT): New define.
29932         * NEWS: New item for IBM z13 string optimizations.
29934         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29935         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29936         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29937         * sysdeps/s390/multiarch/Makefile
29938         (sysdep_routines): Add memrchr functions.
29939         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29940         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29942         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29943         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29944         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29945         * sysdeps/s390/multiarch/Makefile
29946         (sysdep_routines): Add wmemcmp functions.
29947         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29948         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29949         * benchtests/bench-wmemcmp.c: New File.
29950         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29952         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29953         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29954         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29955         * sysdeps/s390/multiarch/Makefile
29956         (sysdep_routines): Add wmemset functions.
29957         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29958         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29959         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29960         * string/test-memset.c: Add wmemset support.
29961         * wcsmbs/test-wmemset.c: New File.
29962         * wcsmbs/Makefile (strop-tests): Add wmemset.
29963         * benchtests/bench-memset.c: Add wmemset support.
29964         * benchtests/bench-wmemset.c: New File.
29965         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29967         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29968         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29969         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29970         * sysdeps/s390/multiarch/Makefile
29971         (sysdep_routines): Add memccpy functions.
29972         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29973         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29974         * string/memccpy.c: Use MEMCCPY if defined.
29976         * sysdeps/s390/multiarch/memchr-vx.S: New File.
29977         * sysdeps/s390/multiarch/memchr.c: Likewise.
29978         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29979         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29980         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29981         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29982         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29983         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29984         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29985         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29987         and rawmemchr functions.
29988         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29989         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29990         and wmemchr.
29991         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29992         * string/test-memchr.c: Add wmemchr support.
29993         * wcsmbs/test-wmemchr.c: New File.
29994         * wcsmbs/Makefile (strop-tests): Add wmemchr.
29995         * benchtests/bench-memchr.c: Add wmemchr support.
29996         * benchtests/bench-wmemchr.c: New File.
29997         * benchtests/Makefile (wcsmbs-bench): wmemchr.
29999         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30000         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30001         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30002         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30003         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30004         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30006         wcscspn functions.
30007         * sysdeps/s390/multiarch/ifunc-impl-list.c
30008         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30009         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30010         * string/test-strcspn.c: Add wcscspn support.
30011         * wcsmbs/test-wcscspn.c: New File.
30012         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30013         * benchtests/bench-strcspn.c: Add wcscspn support.
30014         * benchtests/bench-wcscspn.c: New File.
30015         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30017         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30018         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30019         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30020         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30021         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30022         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30024         wcspbrk functions.
30025         * sysdeps/s390/multiarch/ifunc-impl-list.c
30026         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30027         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30028         * string/test-strpbrk.c: Add wcspbrk support.
30029         * wcsmbs/test-wcspbrk.c: New File.
30030         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30031         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30032         * benchtests/bench-wcspbrk.c: New File.
30033         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30035         * sysdeps/s390/multiarch/strspn-c.c: New File.
30036         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30037         * sysdeps/s390/multiarch/strspn.c: Likewise.
30038         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30039         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30040         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30041         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30042         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30043         wcsspn functions.
30044         * sysdeps/s390/multiarch/ifunc-impl-list.c
30045         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30046         * string/test-strspn.c: Add wcsspn support.
30047         * wcsmbs/test-wcsspn.c: New File.
30048         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30049         * benchtests/bench-strspn.c: Add wcsspn support.
30050         * benchtests/bench-wcsspn.c: New File.
30051         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30053         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30054         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30055         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30056         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30057         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30058         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30060         wcsrchr functions.
30061         * sysdeps/s390/multiarch/ifunc-impl-list.c
30062         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30063         * benchtests/bench-wcsrchr.c: New File.
30064         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30066         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30067         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30068         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30069         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30070         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30071         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30073         wcschrnul functions.
30074         * sysdeps/s390/multiarch/ifunc-impl-list.c
30075         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30076         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30077         * string/test-strchr.c: Add wcschrnul support.
30078         * wcsmbs/test-wcschrnul.c: New File.
30079         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30080         * benchtests/bench-strchr.c: Add wcschrnul support.
30081         * benchtests/bench-wcschrnul.c: New File.
30082         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30084         * sysdeps/s390/multiarch/strchr-c.c: New File.
30085         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30086         * sysdeps/s390/multiarch/strchr.c: Likewise.
30087         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30088         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30089         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30090         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30091         wcschr functions.
30092         * sysdeps/s390/multiarch/ifunc-impl-list.c
30093         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30094         * string/strchr.c (STRCHR): Define and use macro.
30095         * benchtests/bench-wcschr.c: New File.
30096         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30098         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30099         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30100         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30101         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30102         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30103         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30104         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30105         wcsncmp functions.
30106         * sysdeps/s390/multiarch/ifunc-impl-list.c
30107         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30108         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30109         * benchtests/bench-strncmp.c: Add wcsncmp support.
30110         * benchtests/bench-wcsncmp.c: New File.
30111         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30113         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30114         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30115         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30116         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30117         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30118         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30119         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30120         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30121         wcscmp functions.
30122         * sysdeps/s390/multiarch/ifunc-impl-list.c
30123         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30124         * string/strcmp.c (STRCMP): Define and use macro.
30125         * benchtests/bench-wcscmp.c: New File.
30126         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30127         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30128         instead of _HAVE_STRING_ARCH_memchr.
30130         * sysdeps/s390/multiarch/strncat-c.c: New File.
30131         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30132         * sysdeps/s390/multiarch/strncat.c: Likewise.
30133         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30134         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30135         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30137         wcsncat functions.
30138         * sysdeps/s390/multiarch/ifunc-impl-list.c
30139         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30140         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30141         * string/test-strncat.c: Add wcsncat support.
30142         * wcsmbs/test-wcsncat.c: New File.
30143         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30144         * benchtests/bench-strncat.c: Add wcsncat support.
30145         * benchtests/bench-wcsncat.c: New File.
30146         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30148         * sysdeps/s390/multiarch/strcat-c.c: New File.
30149         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30150         * sysdeps/s390/multiarch/strcat.c: Likewise.
30151         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30152         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30153         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30154         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30155         wcscat functions.
30156         * sysdeps/s390/multiarch/ifunc-impl-list.c
30157         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30158         * string/strcat.c (STRCAT): Define and use macro.
30159         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30160         * string/test-strcat.c: Add wcscat support.
30161         * wcsmbs/test-wcscat.c: New File.
30162         * wcsmbs/Makefile (strop-tests): Add wcscat.
30163         * benchtests/bench-strcat.c: Add wcscat support.
30164         * benchtests/bench-wcscat.c: New File.
30165         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30167         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30168         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30169         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30170         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30171         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30172         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30173         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30174         wcpncpy functions.
30175         * sysdeps/s390/multiarch/ifunc-impl-list.c
30176         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30177         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30178         * string/test-stpncpy.c: Add wcpncpy support.
30179         * wcsmbs/test-wcpncpy.c: New File.
30180         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30181         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30182         * benchtests/bench-wcpncpy.c: New File.
30183         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30185         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30186         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30187         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30188         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30189         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30190         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30191         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30192         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30193         wcsncpy functions.
30194         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30195         * sysdeps/s390/multiarch/ifunc-impl-list.c
30196         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30197         * string/test-strncpy.c: Add wcsncpy support.
30198         * wcsmbs/test-wcsncpy.c: New File.
30199         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30200         * benchtests/bench-strncpy.c: Add wcsncpy support.
30201         * benchtests/bench-wcsncpy.c: New File.
30202         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30204         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30205         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30206         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30207         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30208         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30209         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30210         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30211         wcpcpy functions.
30212         * string/stpcpy.c: Use STPCPY if defined.
30213         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30214         * sysdeps/s390/multiarch/ifunc-impl-list.c
30215         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30216         * string/test-stpcpy.c: Add wcpcpy support.
30217         * wcsmbs/test-wcpcpy.c: New File.
30218         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30219         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30220         * benchtests/bench-wcpcpy.c: New File.
30221         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30223         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30224         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30225         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30226         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30227         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30228         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30229         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30230         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30231         wcscpy functions.
30232         * sysdeps/s390/multiarch/ifunc-impl-list.c
30233         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30234         * benchtests/bench-wcscpy.c: New File.
30235         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30237         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30238         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30239         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30240         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30241         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30242         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30243         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30244         wcsnlen functions.
30245         * sysdeps/s390/multiarch/ifunc-impl-list.c
30246         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30247         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30248         * string/test-strnlen.c: Add wcsnlen support.
30249         * wcsmbs/test-wcsnlen.c: New File.
30250         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30251         * benchtests/bench-strnlen.c: Add wcsnlen support.
30252         * benchtests/bench-wcsnlen.c: New File.
30253         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30255         * sysdeps/s390/multiarch/Makefile: New File.
30256         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30257         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30258         * sysdeps/s390/multiarch/strlen.c: Likewise.
30259         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30260         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30261         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30262         * string/strlen.c (STRLEN): Define and use macro.
30263         * sysdeps/s390/multiarch/ifunc-impl-list.c
30264         (IFUNC_VX_IMPL): New macro function.
30265         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30266         * benchtests/Makefile (wcsmbs-bench): New variable.
30267         (string-bench-all): Added wcsmbs-bench.
30268         * benchtests/bench-wcslen.c: New File.
30270         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30271         s390_vx_libc_ifunc2): New macro function.
30273         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30274         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30275         assembler support.
30276         * sysdeps/s390/configure: Regenerated.
30278         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30279         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30281         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30282         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30283         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30285         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30286         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30287         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30288         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30289         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30290         (memcmp, bcmp): Use __memcmp_default as alias source.
30291         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30292         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30293         Rename to __memcmp_default.
30294         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30295         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30296         (memcpy): Use __memcpy_default as alias source.
30297         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30298         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30299         Rename to __memcpy_default.
30300         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30301         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30302         (memset): Use __memset_default as alias source.
30303         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30304         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30305         Rename to __memset_default.
30306         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30307         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30308         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30309         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30310         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30311         (memcmp, bcmp): Use __memcmp_default as alias source.
30312         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30313         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30314         Rename to __memcmp_default.
30315         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30316         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30317         (memcpy): Use __memcpy_default as alias source.
30318         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30319         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30320         Rename to __memcpy_default.
30321         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30322         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30323         (memset): Use __memset_default as alias source.
30324         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30325         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30326         Rename to __memset_default.
30327         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
30328         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
30330         [BZ #18610]
30331         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
30332         __ieee_instruction_pointer to __unused.
30333         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
30334         __ieee_instruction_pointer.
30335         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
30336         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
30337         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30338         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30339         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
30340         Mark dxc-field as reserved.
30342 2015-08-25  Roland McGrath  <roland@hack.frob.com>
30344         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
30345         if the weak reference is not null.
30347 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30349         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
30351         [BZ #11214]
30352         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
30354 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30356         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
30357         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
30358         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
30359         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
30360         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
30361         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
30362         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
30363         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
30364         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
30365         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
30366         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
30367         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
30368         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
30369         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
30370         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
30371         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
30372         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
30373         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
30375 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30377         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
30378         register other than r0 for tabort, it has special meaning.
30379         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
30380         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
30381         transaction before starting syscall.
30383 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30385         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
30387 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30389         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
30391         * sysdeps/x86_64/rtld-memcmp.c: Removed.
30392         * sysdeps/x86_64/rtld-memset.S: Likewise.
30393         * sysdeps/x86_64/rtld-strchr.S: Likewise.
30394         * sysdeps/x86_64/rtld-strlen.S: Likewise.
30395         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
30396         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30398         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
30400 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
30402         * debug/strcpy_chk.c: Improve performance.
30403         * debug/stpcpy_chk.c: Likewise.
30404         * sysdeps/x86_64/strcpy_chk.S: Remove.
30405         * sysdeps/x86_64/stpcpy_chk.S: Remove.
30407         [BZ #18240]
30408         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
30410 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
30412         [BZ #15128]
30413         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
30414         ifuncmain8.
30415         (modules-names): Add ifuncmod8.
30416         ($(objpfx)ifuncmain8): New rule.
30417         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
30418         <cpuid.h>.
30419         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
30420         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
30421         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
30422         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
30423         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
30424         * sysdeps/x86_64/dl-trampoline.h: Likewise.
30425         * sysdeps/x86_64/ifuncmain8.c: New file.
30426         * sysdeps/x86_64/ifuncmod8.c: Likewise.
30427         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
30428         Removed.
30429         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
30430         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
30431         Change rtld_savespace_sse to __glibc_unused2.
30432         (RTLD_CHECK_FOREIGN_CALL): Removed.
30433         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
30434         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
30435         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
30437 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30439         * sysdeps/aarch64/bzero.S (__bzero): Remove.
30441 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
30443         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
30444         Unconditionally set __fpcr to avoid uninialized warning.
30445         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
30447 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30449         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
30450         is corrupt.
30452         * malloc/arena.c (arena_get2): Drop unused argument.
30453         (arena_lock): Adjust.
30454         (arena_get_retry): Likewise.
30456 2015-08-24  Andreas Schwab  <schwab@suse.de>
30458         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
30459         Don't define.
30460         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
30461         (__ASSUME_IPC64): Don't undef.
30462         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
30463         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30464         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30465         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
30466         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
30467         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
30468         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
30469         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
30470         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
30471         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
30472         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
30473         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
30474         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
30475         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
30476         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
30477         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
30478         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
30479         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
30480         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
30481         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
30482         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
30484 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
30486         * manual/Makefile (install): Only build manual when perl is available.
30488 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30490         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
30491         '#undef memcpy' by '#undef memchr'.
30493 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30495         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
30496         memchr not point to the internal __GI_memchr implementation.
30498 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30500         * timezone/Makefile (CFLAGS-zdump.c): Remove
30501         -Wno-strict-prototypes.
30502         (CFLAGS-zic.c): Likewise.
30503         (CFLAGS-ialloc.c): Likewise.
30504         (CFLAGS-scheck.c): Likewise.
30506         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
30507         -Wno-error=undef.
30509 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30511         * i386/i686/multiarch/strcasestr-c.c: Removed.
30512         * x86_64/multiarch/strcasestr.c: Likewise.
30513         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30514         Remove strcasestr.
30516 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
30518         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
30520         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
30521         variables for high and low parts before possibly modifying them.
30523 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30525         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
30526         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
30527         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
30528         of "multiarch/init-arch.h".
30529         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
30530         * sysdeps/x86/init-arch.h: This.
30532 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
30534         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
30535         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
30537 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
30539         [BZ #17787]
30540         * manual/macros.texi: Add twoexp macro.
30541         * manual/filesys.texi: Fix exponents.
30542         * manual/llio.texi: Likewise.
30543         * manual/stdio.texi: Likewise.
30545 2015-08-20  Florian Weimer  <fweimer@redhat.com>
30547         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
30548         incorrect use.
30550 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30552         [BZ #18370]
30553         * math/s_csqrt.c (__csqrt): Force underflow exception for results
30554         whose real or imaginary part has small absolute value.
30555         * math/s_csqrtf.c (__csqrtf): Likewise.
30556         * math/s_csqrtl.c (__csqrtl): Likewise.
30557         * math/auto-libm-test-in: Add more tests of csqrt.
30558         * math/auto-libm-test-out: Regenerated.
30559         * sysdeps/i386/fpu/libm-test-ulps: Update.
30561 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30563         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
30564         __ppc_set_ppr_very_low): New functions.
30565         * manual/platform.texi: Add documentation about
30566         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
30568 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
30570         * string/stpncpy.c (stpncpy): Improve performance using
30571         __strnlen/memcpy/memset.
30573 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
30575         [BZ #18796]
30576         * scripts/test-installation.pl: Don't add -lmvec to build options if
30577         libmvec wasn't built.
30579 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
30581         [BZ #14341]
30582         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
30583         case when there is a gap between DT_REL and DT_JMPREL sections.
30584         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
30585         (LDFLAGS-tst-split-dynreloc): New.
30586         (tst-split-dynreloc-ENV): Likewise.
30587         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
30588         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
30590 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30592         [BZ #18822]
30593         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
30594         attribute_hidden.
30595         (__xstat64_conv): Likewise.
30596         (__xstat32_conv): Likewise.
30598 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30600         [BZ #18822]
30601         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
30602         Don't load %ebx when calling __setcontext.  Call __setcontext
30603         with HIDDEN_JUMPTARGET.
30604         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
30605         libc_hidden_def.
30607 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30609         * sysdeps/i386/i686/Makefile
30610         [$(subdir) == string] (sysdep_routines): Moved to ...
30611         * sysdeps/i386/Makefile: Here.
30612         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
30613         * sysdeps/i386/cacheinfo.c: Here.
30614         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
30615         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
30616         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
30617         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
30619 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
30621         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
30622         __i586__ is defined.
30623         (HAS_I686): Defined to 1 if __i686__ is defined.
30625 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
30627         * elf/Makefile [$(have-z-execstack) = yes]
30628         (CPPFLAGS-tst-execstack.c): New variable.
30630         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
30631         conditional to [defined UTMPX || _HAVE_UT_TYPE].
30632         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
30633         UTMPX || _HAVE_UT_TV].
30634         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
30635         UTMPX || _HAVE_UT_TV - 0].
30637 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
30639         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
30640         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
30641         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
30643 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30645         * sysdeps/powerpc/dl-procinfo.c:
30646         (_dl_powerpc_cap_flags): Added missing strings for some
30647         hwcap features.
30648         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
30650 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
30652         Port the 0x7efe...feff pattern to GCC 6.
30653         See Steve Ellcey's bug report in:
30654         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
30655         * string/memrchr.c (MEMRCHR):
30656         * string/rawmemchr.c (RAWMEMCHR):
30657         * string/strchr.c (strchr):
30658         * string/strchrnul.c (STRCHRNUL):
30659         Rewrite code to avoid issues with signed shift overflow.
30661 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
30663         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
30664         whether cpuid is available only if HAS_CPUID is 0.
30665         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
30666         (HAS_I586): Likewise.
30667         (HAS_I686): Likewise.
30669 2015-08-18  Zack Weinberg  <zackw@panix.com>
30671         * misc/Versions (libc): Add GLIBC_2.23.
30673 2015-08-18  Alan Modra  <amodra@gmail.com>
30675         [BZ #18421]
30676         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
30677         .Lp__global.
30678         (_start): Load %dp via .Lp__global.
30679         [!SHARED]: Use .section .rodata.
30681 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30683         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
30684         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
30686 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30688         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
30689         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
30691 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30693         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
30694         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
30696 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30698         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
30699         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
30701 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30703         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
30704         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
30706 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30708         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
30709         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
30711 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30713         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
30715 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30717         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
30718         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
30719         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30720         (__ASSUME_LWS_CAS): Delete.
30722 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
30724         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
30725         * sysdeps/hppa/configure: Regenerated.
30726         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
30727         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
30728         * sysdeps/hppa/nptl/tls.h: Likewise.
30730 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
30732         [BZ #18823]
30733         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
30734         for scaling up small arguments.
30735         * math/s_csqrtf.c (__csqrtf): Likewise.
30736         * math/s_csqrtl.c (__csqrtl): Likewise.
30737         * math/auto-libm-test-in: Add more tests of csqrt.
30738         * math/auto-libm-test-out: Regenerated.
30740 2015-08-17  Andreas Schwab  <schwab@suse.de>
30742         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
30743         version set GLIBC_2.19.
30745 2015-08-16  Zack Weinberg  <zackw@panix.com>
30747         [BZ #18681]
30748         * misc/regexp.h: This interface is no longer supported.
30749         Remove all contents, leaving only an #error directive.
30750         * misc/regexp.c (loc1, loc2, locs, step, advance):
30751         Demote to compatibility symbols.
30753 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
30755         [BZ #18084]
30756         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
30757         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
30758         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
30759         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
30760         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
30761         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
30762         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
30763         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
30764         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
30766 2015-08-15  Zack Weinberg  <zackw@panix.com>
30768         [BZ #18795]
30769         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
30770         buffer length is known to be too large, not if it's known to be
30771         small enough.
30772         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
30773         overflow at runtime, involving a length parameter, twice: once
30774         with a compile-time constant length parameter, once without.
30776 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
30778         [BZ #18824]
30779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
30780         scaling x * y up instead of down.
30781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30783         * math/auto-libm-test-in: Add more tests of fma.
30784         * math/auto-libm-test-out: Regenerated.
30786 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30788         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30790 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30792         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
30793         unnecessary movq.
30794         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30795         Likewise.
30797 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30799         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30800         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30801         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30802         and tgamma.
30803         * math/auto-libm-test-out: Regenerated.
30804         * sysdeps/i386/fpu/libm-test-ulps: Update.
30805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30807         [BZ #16520]
30808         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30809         (__tanh): Force underflow exception for arguments with small
30810         absolute value.
30811         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30812         (__tanhf): Force underflow exception for arguments with small
30813         absolute value.
30814         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30815         (__tanhl): Force underflow exception for arguments with small
30816         absolute value.
30817         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30818         (__tanhl): Force underflow exception for arguments with small
30819         absolute value.
30820         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30821         (__tanhl): Force underflow exception for arguments with small
30822         absolute value.
30823         * math/auto-libm-test-in: Add more tests of tanh.
30824         * math/auto-libm-test-out: Regenerated.
30825         * sysdeps/i386/fpu/libm-test-ulps: Update.
30827 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30829         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30830         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30832 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30834         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30835         <cpuid.h>.
30837 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30839         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30840         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30842 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30844         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30845         Remove $(objpfx)init-arch.o.
30846         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30847         init-arch.
30848         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30849         (INIT_ARCH_EXT): Defined as empty.
30850         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30851         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30852         __init_cpu_features call.  Replace HAS_XXX with
30853         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30854         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30855         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30856         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30857         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30858         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30859         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30860         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30861         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30863         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30864         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30865         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30866         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30867         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30868         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30869         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30870         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30871         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30872         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30873         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30882         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30883         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30884         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30886         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30887         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30890 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30892         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30893         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30894         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30895         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30896         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30897         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30898         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30899         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30900         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30901         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30902         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30903         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30904         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30905         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30906         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30907         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30908         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30909         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30910         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30911         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30912         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30914         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30915         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30916         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30917         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30918         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30919         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30920         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30922         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30923         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30924         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30925         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30926         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30927         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30928         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30929         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30930         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30931         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30932         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30933         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30934         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30936 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30938         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30939         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30940         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30941         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30942         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30943         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30944         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30945         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30946         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30947         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30948         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30949         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30950         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30951         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30952         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30953         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30954         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30955         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30956         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30957         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30959         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30960         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30961         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30962         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30963         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30964         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30965         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30966         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30967         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30968         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30969         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30970         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30971         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30972         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30973         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30974         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30975         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30976         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30977         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30978         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30979         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30980         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30982 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30984         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30985         (dl_platform_init): Call init_cpu_features.
30986         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30987         * sysdeps/i386/i686/cacheinfo.c
30988         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30989         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30990         * sysdeps/i386/i686/multiarch/Versions: Removed.
30991         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30992         Removed.
30993         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30994         * sysdeps/unix/sysv/linux/x86/Makefile
30995         (libpthread-sysdep_routines): Remove init-arch.
30996         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30997         <sysdeps/x86_64/dl-procinfo.c> instead of
30998         sysdeps/generic/dl-procinfo.c>.
30999         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31000         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31001         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31002         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31003         [$(subdir) == elf] (tests-static): Add
31004         tst-get-cpu-features-static.
31005         * sysdeps/x86/Versions: New file.
31006         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31007         * sysdeps/x86/cpu-features.c: Likewise.
31008         * sysdeps/x86/cpu-features.h: Likewise.
31009         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31010         * sysdeps/x86/libc-start.c: Likewise.
31011         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31012         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31013         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31014         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31015         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31016         Assume USE_MULTIARCH is defined and don't check it.
31017         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31018         (is_amd): Likewise.
31019         (max_cpuid): Likewise.
31020         (intel_check_word): Likewise.
31021         (__cache_sysconf): Don't call __init_cpu_features.
31022         (__x86_preferred_memory_instruction): Removed.
31023         (init_cacheinfo): Don't call __init_cpu_features. Replace
31024         __cpu_features with GLRO(dl_x86_cpu_features).
31025         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31026         (dl_platform_init): Call init_cpu_features.
31027         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31028         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31029         * sysdeps/x86_64/multiarch/Versions: Removed.
31030         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31031         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31032         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31033         Removed.
31034         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31036 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31038         [BZ #18820]
31039         * libio/Makefile (test-fmemopen-mem): New test.
31040         * libio/test-fmemopen.c (do_bz18820): New test.
31041         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31042         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31044 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31046         [BZ #16734]
31047         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31048         (FREE_BUF): Delete.
31049         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31050         * libio/genops.c (_IO_setb): Use malloc and free directly.
31051         (_IO_default_doallocate, _IO_default_finish): Likewise.
31052         ( _IO_unbuffer_all): Likewise.
31053         ( libc_freeres_fn): Likewise.
31054         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31055         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31056         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31057         (_IO_wdefault_doallocate): Likewise.
31059 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31061         [BZ #18086]
31062         * sysdeps/posix/nice.c (nice): Restore old errno.
31063         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31065 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31069 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31071         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31072         __bcopy and add a weak_alias to bcopy.
31073         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31074         for static build.
31076         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31077         cleanup macro usage.
31078         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31079         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31080         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31081         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31082         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31083         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31084         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31085         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31086         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31087         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31089         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31090         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31091         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31092         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31093         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31094         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31095         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31096         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31098         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31099         libc_hidden_def.
31100         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31102         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31103         (sysdep_routines): Add strstr-ppc64.
31104         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31106 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31108         [BZ #18778]
31109         * elf/Makefile (tests): Add Add tst-nodelete2.
31110         (modules-names): Add tst-nodelete2mod.
31111         (tst-nodelete2mod.so-no-z-defs): New.
31112         ($(objpfx)tst-nodelete2): Likewise.
31113         ($(objpfx)tst-nodelete2.out): Likewise.
31114         (LDFLAGS-tst-nodelete2): Likewise.
31115         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31116         out of loop through all loaded libraries.
31117         * elf/tst-nodelete2.c: New file.
31118         * elf/tst-nodelete2mod.c: Likewise.
31119         * elf/tst-znodelete-zlib.cc: Delete.
31121 2015-08-11  Andreas Schwab  <schwab@suse.de>
31123         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31124         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31125         (__openat64_nocancel): Likewise.
31127 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31129         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31130         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31131         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31132         * math/auto-libm-test-out: Regenerated.
31133         * sysdeps/i386/fpu/libm-test-ulps: Update.
31134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31136 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31138         [BZ #18790]
31139         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31140         threshold for returning +/- 1.
31141         * math/auto-libm-test-in: Add more tests of tanh.
31142         * math/auto-libm-test-out: Regenerated.
31143         * sysdeps/i386/fpu/libm-test-ulps: Update.
31145 2015-08-10  Andreas Schwab  <schwab@suse.de>
31147         [BZ #18781]
31148         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31149         MORE_OFLAGS to oflag.
31150         * io/test-lfs.c (do_test): Test openat64.
31152 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31154         [BZ #18789]
31155         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31156         smaller threshold for returning the argument.
31157         * math/auto-libm-test-in: Add more tests of sinh.
31158         * math/auto-libm-test-out: Regenerated.
31159         * sysdeps/i386/fpu/libm-test-ulps: Update.
31161 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31163         [BZ #18674]
31164         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31165         break.
31167 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31169         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31170         (generated): Don't add $(addprefix z.,$(tzfiles)).
31172 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31174         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31175         * scripts/sysd-rules.awk: Likewise.
31177 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31179         * iconvdata/tst-tables.sh: Change echo -n to printf.
31180         * nss/db-Makefile: Likewise.
31181         * posix/tst-getconf.sh: Likewise.
31182         * stdio-common/tst-unbputc.sh: Likewise.
31184 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31186         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31187         MADV_*_PAGES defines behind this feature check.
31189 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31191         [BZ #18480]
31192         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31193         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31194         Define.
31195         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31196         LOAD_REGS_5, LOAD_REGS_6): Update.
31197         (INTERNAL_SYSCALL): Update using new LOAD defines.
31198         (INTERNAL_SYSCALL_NCS): Likewise.
31199         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31201 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31203         [BZ #16734]
31204         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31206 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31208         [BZ #17905]
31209         * catgets/Makefile (tst-catgets-mem): New test.
31210         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31211         * catgets/open_catalog.c (__open_catalog): Likewise.
31212         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31214 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31216         [BZ #18787]
31217         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31218         clobber registers.
31219         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31220         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31221         Cast return to __typeof (oldval).
31223 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31225         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31226         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31227         and delete sys/syscall.h include.
31229 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31231         [BZ #16517]
31232         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31233         (tan): Force underflow exception for arguments with small absolute
31234         value.
31235         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31236         (__kernel_tanf): Force underflow exception for arguments with
31237         small absolute value.
31238         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31239         (__kernel_tanl): Force underflow exception for arguments with
31240         small absolute value.
31241         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31242         (__kernel_tanl): Force underflow exception for arguments with
31243         small absolute value.
31244         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31245         (__kernel_tanl): Force underflow exception for arguments with
31246         small absolute value.
31247         * math/auto-libm-test-in: Add more tests of tan.
31248         * math/auto-libm-test-out: Regenerated.
31250 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31252         Fix sysdeps/i386/fpu/s_scalbn.S build
31254         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31256 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31258         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31260 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31262         Fix gcrt0.o compilation
31264         When static-start-installed-name is different from
31265         start-installed-name, we must not use the shared objects.
31267         * csu/Makefile
31268         (extra-objs): Add gmon-start.o when building shared library and
31269         $(static-start-installed-name) is different from
31270         $(start-installed-name).
31271         $(objpfx)g$(static-start-installed-name): When building shared
31272         library and $(static-start-installed-name) is different from
31273         $(static-start-installed-name), revert to non-shared rule,
31274         i.e. using $(objpfx)% and gmon-start.o.
31276 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31278         [BZ #16519]
31279         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31280         (__ieee754_sinh): Force underflow exception for arguments with
31281         small absolute value.
31282         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31283         (__ieee754_sinhf): Force underflow exception for arguments with
31284         small absolute value.
31285         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31286         (__ieee754_sinhl): Force underflow exception for arguments with
31287         small absolute value.
31288         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31289         (__ieee754_sinhl): Force underflow exception for arguments with
31290         small absolute value.
31291         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31292         (__ieee754_sinhl): Force underflow exception for arguments with
31293         small absolute value.
31294         * math/auto-libm-test-in: Add more tests of sinh.
31295         * math/auto-libm-test-out: Regenerated.
31296         * sysdeps/i386/fpu/libm-test-ulps: Update.
31298 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31300         * libio/oldfileops.c: Include unistd.h.
31302 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31304         * stdlib/isomac.c: Include ctype.h.
31306 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31308         * dirent/tst-seekdir.c (main): Converted to ...
31309         (do_test): ... this.
31310         (TEST_FUNCTION): New macro.
31311         Include test-skeleton.c.
31312         * elf/tst-dlmodcount.c (main): Converted to ...
31313         (do_test): ... this.
31314         (TEST_FUNCTION): New macro.
31315         Include test-skeleton.c.
31316         * elf/tst-order-main.c (main): Converted to ...
31317         (do_test): ... this.
31318         (TEST_FUNCTION): New macro.
31319         Include test-skeleton.c.
31320         * elf/tst-pie2.c (main): Converted to ...
31321         (do_test): ... this.
31322         (TEST_FUNCTION): New macro.
31323         Include test-skeleton.c.
31324         * inet/tst-ether_aton.c (main): Converted to ...
31325         (do_test): ... this.
31326         (TEST_FUNCTION): New macro.
31327         Include test-skeleton.c.
31328         * misc/tst-mntent.c (main): Converted to ...
31329         (do_test): ... this.
31330         (TEST_FUNCTION): New macro.
31331         Include test-skeleton.c.
31332         * misc/tst-tsearch.c (main): Converted to ...
31333         (do_test): ... this.
31334         (TEST_FUNCTION): New macro.
31335         Include test-skeleton.c.
31336         * posix/tst-regexloc.c (main): Converted to ...
31337         (do_test): ... this.
31338         (TEST_FUNCTION): New macro.
31339         Include test-skeleton.c.
31340         * resolv/tst-aton.c (main): Converted to ...
31341         (do_test): ... this.
31342         (TEST_FUNCTION): New macro.
31343         Include test-skeleton.c.
31344         * stdio-common/test-fwrite.c (main): Converted to ...
31345         (do_test): ... this.
31346         (TEST_FUNCTION): New macro.
31347         Include test-skeleton.c.
31348         * stdio-common/tst-ferror.c (main): Converted to ...
31349         (do_test): ... this.
31350         (TEST_FUNCTION): New macro.
31351         Include test-skeleton.c.
31352         * stdio-common/tst-printf.c (main): Converted to ...
31353         (do_test): ... this.
31354         (TEST_FUNCTION): New macro.
31355         Include test-skeleton.c.
31356         * stdio-common/tst-printfsz.c (main): Converted to ...
31357         (do_test): ... this.
31358         (TEST_FUNCTION): New macro.
31359         Include test-skeleton.c.
31360         * stdlib/tst-strtod.c (main): Converted to ...
31361         (do_test): ... this.
31362         (TEST_FUNCTION): New macro.
31363         Include test-skeleton.c.
31364         * string/tst-strlen.c (main): Converted to ...
31365         (do_test): ... this.
31366         (TEST_FUNCTION): New macro.
31367         Include test-skeleton.c.
31368         * string/tst-svc.c (main): Converted to ...
31369         (do_test): ... this.
31370         (TEST_FUNCTION): New macro.
31371         Include test-skeleton.c.
31372         * time/tst-strptime.c (main): Converted to ...
31373         (do_test): ... this.
31374         (TEST_FUNCTION): New macro.
31375         Include test-skeleton.c.
31376         * timezone/tst-timezone.c (main): Converted to ...
31377         (do_test): ... this.
31378         (TEST_FUNCTION): New macro.
31379         Include test-skeleton.c.
31381 2015-08-05  Zack Weinberg  <zackw@panix.com>
31383         * misc/regexp.h: Update comments.
31385 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
31387         [BZ #18635]
31388         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
31389         before return label.
31391 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31393         [BZ #18661]
31394         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
31395         when calling __errno_location.
31396         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
31397         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
31399 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31401         [BZ #18661]
31402         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
31403         (__lll_timedwait_tid): Align stack to 16 bytes when calling
31404         __gettimeofday.
31406 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31408         [BZ #18661]
31409         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31410         (__start_context): Don't use pop to restore %rdi so that stack
31411         is aligned to 16 bytes when calling __setcontext.
31413 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31415         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
31416         only for libc.
31417         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31419 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31421         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
31422         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
31423         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
31425 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31427         * string/memccpy.c (memccpy):
31428         Improve performance by using memchr/memcpy/__mempcpy.
31430 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31432         * string/strncpy.c (strncpy):
31433         Improve performance by using __strnlen/memcpy.
31435 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31437         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31438         Optimize to avoid an unnecessary FPCR read.
31440 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
31442         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31443         Optimize to reduce FPCR/FPSR accesses.
31445 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
31447         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
31448         dead->data[category] != NULL.
31450 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
31452         [BZ #18647]
31453         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
31454         and |x| close to 1, use absolute value of x when computing log.
31455         * math/auto-libm-test-in: Add more tests of pow.
31456         * math/auto-libm-test-out: Regenerated.
31458 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31460         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
31461         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
31462         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
31464 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
31466         [BZ #18525]
31467         * locales/km_KH: Remove timezone definition.
31468         * locales/lo_LA: Likewise.
31469         * locales/my_MM: Likewise.
31470         * locales/nan_TW@latin: Likewise.
31471         * locales/th_TH: Likewise.
31472         * locales/uk_UA: Likewise.
31474 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31476         [BZ #18265]
31477         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
31478         (wcsncat): Likewise.
31479         (wcscmp): Likewise.
31480         (wcsncmp): Likewise.
31482 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31484         * test-skeleton.c (usage): New function.
31485         (main): Call usage when opt is '?'.
31487 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31489         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
31490         before first use.
31492 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
31494         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
31495         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
31496         in there too.
31498 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
31500         * version.h (RELEASE): Set to "development".
31501         (VERSION): Set to "2.22.90"
31503         * version.h (RELEASE): Set to "stable".
31504         (VERSION): Set to "2.22"
31505         * include/features.h (__GLIBC_MINOR__): Set to 22.
31507 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
31509         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
31510         Restructure macro to avoid "value computed is not used" warning.
31511         (atomic_compare_and_exchange_val_acq): Likewise.
31513 2015-08-04  Andreas Schwab  <schwab@suse.de>
31515         [BZ #18635]
31516         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
31517         ret.
31518         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
31520 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
31522         * po/pl.po: Updated translation.
31523         * po/uk.po: Likewise.
31524         * po/fi.po: Likewise.
31525         * po/ko.po: Likewise.
31526         * po/ru.po: Likewise.
31527         * po/vi.po: Likewise.
31529 2015-07-31  Zack Weinberg  <zackw@panix.com>
31531         [BZ #18681]
31532         * regexp.h: Add unconditional #warning stating that this header
31533         will be removed soon.  Revise banner comment to match.
31534         (compile): Consistently use ERROR instead of RETURN to report
31535         errors (partial fix for BZ #18681).
31536         * regexp.c: Don't include regexp.h. Remove some unnecessary
31537         declarations.
31539 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
31541         * po/libc.pot: Regenerated.
31543 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31545         [BZ #18740]
31546         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
31547         float-vlen4-arch-ext-cflags): Removed.
31548         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
31549         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
31551 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31553         [BZ #14113]
31554         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
31555         aligned to __aligned__.
31556         (pthread_cond_t, pthread_rwlock_t): Likewise.
31558 2015-07-30  Torvald Riegel  <triegel@redhat.com>
31560         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
31562 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31564         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
31565         (struct sigaction): Change sa_flags from a long to an int, and add
31566         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
31568 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31570         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
31571         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
31572         sysdeps/generic/sysdep.h include.
31573         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
31574         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
31575         sysdeps/hppa/sysdep.h.
31576         (ENTRY, PSEUDO): Undefine before defining.
31578 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
31580         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
31581         from scratch to use INTERNAL_SYSCALL.
31583 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
31585         [BZ #18078]
31586         * scripts/check-localplt.awk: Support alternate relocations.
31587         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
31588         sections.
31589         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
31590         malloc entries with + REL R_386_GLOB_DAT.
31591         * sysdeps/x86_64/localplt.data: New file.
31593 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
31595         [BZ #18731]
31596         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
31597         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
31598         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
31600 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31602         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
31604 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31606         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
31607         directly in terms of __sync_fetch_and_add and delete (int) cast.
31609 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31611         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
31612         the -D_ASM_IA64_CURRENT_H flag.
31614 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
31616         [BZ #18641]
31617         * pwd/pwd.h (putpwent): Delete __nonnull markings.
31619 2015-07-27  Andreas Schwab  <schwab@suse.de>
31621         * conform/conformtest.pl (checknamespace): Filter out string
31622         literals while tokenizing.
31624 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31626         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31627         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
31628         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31630 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
31632         * nptl/tst-join7mod.c: Add #include <string.h>.
31634 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31636         * sysdeps/nios2/libm-test-ulps: Update.
31638 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
31640         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
31641         Fix order of arguments to the rt_sigprocmask syscall.
31642         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
31643         Likewise.
31645 2015-07-24  Roland McGrath  <roland@hack.frob.com>
31647         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
31649 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31651         [BZ #18457]
31652         * nptl/Makefile (tests): New test case tst-join7.
31653         (modules-names): New test case module tst-join7mod.
31654         * nptl/tst-join7.c: New file.
31655         * nptl/tst-join7mod.c: New file.
31656         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
31657         all translation units in libc.so, libpthread.so and rtld.
31659 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31663 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31665         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
31666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31667         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31668         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31669         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31671         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31672         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31675         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31677         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
31678         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
31679         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
31680         implementation.
31682 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31684         [BZ #17711]
31685         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31686         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
31687         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31688         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
31689         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
31690         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31692 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31694         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
31695         instead of just saying load lock in the comments.
31697 2015-07-23  Roland McGrath  <roland@hack.frob.com>
31699         * sysdeps/unix/Subdirs: Moved ...
31700         * sysdeps/posix/Subdirs: ... here.
31701         * login/pty.h (struct termios, struct winsize): Add forward decls.
31702         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
31703         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
31704         * sysdeps/arm/nacl/libc.abilist: Updated.
31705         * sysdeps/nacl/libutil.abilist: New file.
31707         * bits/signum.h: Update comments to mention 1003.1-2013 too.
31708         (SIGWINCH): New macro.
31710         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
31711         * sysdeps/arm/nacl/libc.abilist: Add it.
31713 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31715         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
31717 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
31719         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31720         Swap __glibc_reserved0 and sa_flags order.
31722 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31724         [BZ #18657]
31725         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
31726         are pending TLS destructor calls.
31727         * include/link.h (struct link_map): Add concurrency note for
31728         L_TLS_DTOR_COUNT.
31729         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31730         Don't touch the link map flag.  Atomically increment
31731         l_tls_dtor_count.
31732         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
31733         Avoid taking the load lock and don't touch the link map flag.
31734         * stdlib/tst-tls-atexit-nodelete.c: New test case.
31735         * stdlib/Makefile (tests): Use it.
31736         * stdlib/tst-tls-atexit.c (do_test): dlopen
31737         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
31738         to allow tst-tls-atexit-nodelete test case to use it.
31740 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31742         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
31743         to bits/types.h.
31744         (msgqnum_t): New typedef.
31745         (msglen_t): Likewise.
31746         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
31747         and msg_qbytes type to msglen_t.
31749 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31751         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
31752         pad0 to __glibc_reserved0.
31753         (struct stat64): Likewise.
31755 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31757         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
31758         Change sa_flags from a long to an int and add __glibc_reserved0 before
31759         it for padding.
31761 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
31763         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
31764         anonymous by deleting "siginfo" name.
31766 2015-07-21  Roland McGrath  <roland@hack.frob.com>
31768         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
31769         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31770         rather than __nacl_irt_filename.
31771         * sysdeps/nacl/xstat.c (__xstat): Likewise.
31773         * NEWS: New item for arm-nacl port.
31774         * sysdeps/arm/nacl/libc.abilist: New file.
31775         * sysdeps/nacl/ld.abilist: New file.
31776         * sysdeps/nacl/libBrokenLocale.abilist: New file.
31777         * sysdeps/nacl/libanl.abilist: New file.
31778         * sysdeps/nacl/libcrypt.abilist: New file.
31779         * sysdeps/nacl/libdl.abilist: New file.
31780         * sysdeps/nacl/libm.abilist: New file.
31781         * sysdeps/nacl/libpthread.abilist: New file.
31782         * sysdeps/nacl/libresolv.abilist: New file.
31783         * sysdeps/nacl/librt.abilist: New file.
31785 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
31787         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
31788         __startcontext to initialize the new context.
31789         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
31790         up CFI directive to forbid further backtracing.
31792 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
31794         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31795         reference.
31796         * charmaps/ANSI_X3.4-1968: Likewise.
31797         * charmaps/BS_4730: Likewise.
31798         * charmaps/BS_VIEWDATA: Likewise.
31799         * charmaps/CP1250: Likewise.
31800         * charmaps/CP1251: Likewise.
31801         * charmaps/CP1252: Likewise.
31802         * charmaps/CP1253: Likewise.
31803         * charmaps/CP1254: Likewise.
31804         * charmaps/CP1255: Likewise.
31805         * charmaps/CP1256: Likewise.
31806         * charmaps/CSN_369103: Likewise.
31807         * charmaps/EBCDIC-DK-NO: Likewise.
31808         * charmaps/GB_1988-80: Likewise.
31809         * charmaps/GREEK-CCITT: Likewise.
31810         * charmaps/GREEK7: Likewise.
31811         * charmaps/INIS-8: Likewise.
31812         * charmaps/ISIRI-3342: Likewise.
31813         * charmaps/ISO_2033-1983: Likewise.
31814         * charmaps/ISO_5427-EXT: Likewise.
31815         * locales/POSIX: Likewise.
31816         * locales/ar_SA: Likewise.
31817         * locales/be_BY: Likewise.
31818         * locales/be_BY@latin: Likewise.
31819         * locales/ca_ES: Likewise.
31820         * locales/cs_CZ: Likewise.
31821         * locales/da_DK: Likewise.
31822         * locales/de_BE: Likewise.
31823         * locales/de_CH: Likewise.
31824         * locales/de_LU: Likewise.
31825         * locales/en_AU: Likewise.
31826         * locales/en_BW: Likewise.
31827         * locales/en_CA: Likewise.
31828         * locales/en_DK: Likewise.
31829         * locales/en_GB: Likewise.
31830         * locales/en_IE: Likewise.
31831         * locales/en_NZ: Likewise.
31832         * locales/en_ZA: Likewise.
31833         * locales/en_ZW: Likewise.
31834         * locales/es_AR: Likewise.
31835         * locales/es_BO: Likewise.
31836         * locales/es_CL: Likewise.
31837         * locales/es_CO: Likewise.
31838         * locales/es_DO: Likewise.
31839         * locales/es_EC: Likewise.
31840         * locales/es_ES: Likewise.
31841         * locales/es_HN: Likewise.
31842         * locales/es_MX: Likewise.
31843         * locales/es_PA: Likewise.
31844         * locales/es_PE: Likewise.
31845         * locales/es_PY: Likewise.
31846         * locales/es_SV: Likewise.
31847         * locales/es_US: Likewise.
31848         * locales/es_UY: Likewise.
31849         * locales/es_VE: Likewise.
31850         * locales/et_EE: Likewise.
31851         * locales/fa_IR: Likewise.
31852         * locales/fo_FO: Likewise.
31853         * locales/fr_CA: Likewise.
31854         * locales/fr_CH: Likewise.
31855         * locales/gv_GB: Likewise.
31856         * locales/he_IL: Likewise.
31857         * locales/hr_HR: Likewise.
31858         * locales/id_ID: Likewise.
31859         * locales/is_IS: Likewise.
31860         * locales/it_CH: Likewise.
31861         * locales/iw_IL: Likewise.
31862         * locales/kl_GL: Likewise.
31863         * locales/ko_KR: Likewise.
31864         * locales/kw_GB: Likewise.
31865         * locales/lg_UG: Likewise.
31866         * locales/lt_LT: Likewise.
31867         * locales/lv_LV: Likewise.
31868         * locales/mi_NZ: Likewise.
31869         * locales/nhn_MX: Likewise.
31870         * locales/nl_BE: Likewise.
31871         * locales/pl_PL: Likewise.
31872         * locales/sk_SK: Likewise.
31873         * locales/sl_SI: Likewise.
31874         * locales/sv_FI: Likewise.
31875         * locales/tl_PH: Likewise.
31876         * locales/tr_TR: Likewise.
31877         * locales/vi_VN: Likewise.
31879 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31881         [BZ #17475]
31882         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31883         of tu_IN and bh_IN.
31885 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31887         [BZ #18694]
31888         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31889         bits/wordsize.h.
31890         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31892 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31894         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31895         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31896         (spawn_thread): New function.
31897         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31898         (do_test): ... here.  Use IS_LOADED to test for its
31899         availability.
31901 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31903         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31905 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31907         [BZ #18696]
31908         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31909         si_addr_bnd.
31910         (si_lower): New.
31911         (si_upper): Likewise.
31913 2015-07-16  David S. Miller  <davem@davemloft.net>
31915         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31917 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31919         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31920         buffer.
31921         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31922         fail output information.
31924 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31927         and strstr-ppc64..
31928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31929         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31930         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31931         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31932         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31934 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31936         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31937         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31938         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31939         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31941 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31943         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31944         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31945         rtld_hidden_proto.
31946         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31948 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31950         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31951         the test can fail.
31953         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31955         [BZ #18676]
31956         * elf/tst-nodelete-opened.c: New test case.
31957         * elf/tst-nodelete-opened-lib.c: New test case module.
31958         * elf/Makefile (tests, modules-names): Use them.
31959         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31960         early.
31962 2015-07-15  David S. Miller  <davem@davemloft.net>
31964         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31965         futex-intenal.h
31966         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31967         * sysdeps/sparc/sparc64/Makefile: Likewise.
31968         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31969         Remove space from macro define.
31970         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31972 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31974         [BZ #17475]
31975         * locale/iso-639.def: Update Bhili and Tulu language codes as
31976         per iso639-3.
31978 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
31980         * elf/tst-leaks1.c (main): Converted to ...
31981         (do_test): ... this.
31982         (TEST_FUNCTION): New macro.
31983         Include test-skeleton.c.
31984         * localedata/tst-langinfo.c (main): Converted to ...
31985         (do_test): ... this.
31986         (TEST_FUNCTION): New macro.
31987         Include test-skeleton.c.
31988         * math/test-fpucw.c (main): Converted to ...
31989         (do_test): ... this.
31990         (TEST_FUNCTION): New macro.
31991         Include test-skeleton.c.
31992         * math/test-tgmath.c (main): Converted to ...
31993         (do_test): ... this.
31994         (TEST_FUNCTION): New macro.
31995         Include test-skeleton.c.
31996         * math/test-tgmath2.c (main): Converted to ...
31997         (do_test): ... this.
31998         (TEST_FUNCTION): New macro.
31999         Include test-skeleton.c.
32000         * setjmp/tst-setjmp.c (main): Converted to ...
32001         (do_test): ... this.
32002         (TEST_FUNCTION): New macro.
32003         Include test-skeleton.c.
32004         * stdio-common/tst-sscanf.c (main): Converted to ...
32005         (do_test): ... this.
32006         (TEST_FUNCTION): New macro.
32007         Include test-skeleton.c.
32008         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32009         (do_test): ... this.
32010         (TEST_FUNCTION): New macro.
32011         Include test-skeleton.c.
32013         * elf/tst-audit9.c (main): Converted to ...
32014         (do_test): ... this.
32015         (TEST_FUNCTION): New macro.
32016         Include test-skeleton.c.
32018 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32020         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32022 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32024         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32025         New variable.
32027 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32029         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32031 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32033         * sysdeps/generic/dl-fileid.h: New file.
32034         * sysdeps/posix/dl-fileid.h: New file.
32035         * sysdeps/nacl/dl-fileid.h: New file.
32036         * include/link.h: Include <dl-fileid.h>.
32037         (struct link_map): Replace l_dev and l_ino with l_file_id.
32038         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32039         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32040         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32042 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32044         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32046 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32048         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32049         Add iff $CXX is set.
32050         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32051         Likewise.
32052         (tst-nodelete-zmodiff): Likewise.
32053         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32055 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32057         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32059 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32061         * sysdeps/aarch64/fpu/math_private.h
32062         (define math_opt_barrier): Add AArch64 version.
32063         (math_force_eval): Likewise.
32065 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32067         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32069 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32071         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32072         %ld with %jd and cast to intmax_t.
32073         (do_test_length_zero): Likewise.
32075 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32077         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32079 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32081         * sysdeps/tile/libm-test-ulps: Regenerated.
32083         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32084         Comment out the whole function, not just its body.
32086 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32088         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32089         locks.
32091         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32093 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32095         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32096         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32098 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32100         * sysdeps/nptl/futex-internal.h: New file.
32101         * sysdeps/nacl/futex-internal.h: New file.
32102         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32103         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32104         error checking.
32105         (setxid_unmark_thread): Likewise.
32106         (__nptl_setxid): Likewise.
32107         (__wait_lookup_done): Likewise.
32108         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32109         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32110         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32111         * nptl/pthread_once.c (clear_once_control): Likewise.
32112         (__pthread_once_slow): Likewise.
32113         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32114         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32115         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32116         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32117         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32118         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32119         Likewise.
32120         (__pthread_rwlock_rdlock): Likewise.
32121         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32122         Likewise.
32123         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32124         Likewise.
32125         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32126         Likewise.
32127         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32128         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32129         Likewise.
32130         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32131         __ASSUME_PRIVATE_FUTEX check.
32132         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32133         Check that shared futexes are supported.
32134         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32135         wrappers with error checking.
32136         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32137         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32138         * nptl/pthread_barrierattr_setpshared.c
32139         (pthread_barrierattr_setpshared): Check that shared futexes are
32140         supported.
32141         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32142         Likewise.
32143         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32144         Likewise.
32145         * nptl/sem_init.c (futex_private_if_supported): Remove.
32146         (__new_sem_init): Adapt and check that shared futexes are supported.
32147         * nptl/sem_open.c (sem_open): Likewise.
32148         * nptl/sem_post.c (futex_wake): Remove.
32149         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32150         (do_futex_wait): Use futex wrappers with error checking.
32151         * nptl/sem_wait.c: Include lowlevellock.h.
32152         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32153         Use futex_supports_pshared.
32154         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32155         Use futex wrappers with error checking.
32156         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32157         Likewise.
32158         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32159         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32160         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32161         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32162         (futex_wake): Likewise.
32163         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32164         (do_futex_wait): Use futex wrappers with error checking.
32165         (__new_sem_wait_slow): Update EINTR handling.
32166         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32168 2015-07-09  Martin Sebor  <msebor@redhat.com>
32170         [BZ #18435]
32171         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32172         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32173         * nptl/Makefile (test-xfail-tst-once5): Define.
32175 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32177         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32178         * elf/dl-minimal.c: For readability, reorder some definitions and
32179         introduce more page breaks.  Include <stdio.h>.
32180         (__libc_fatal): New function.
32182         * include/unistd.h: Add rtld_hidden_proto for _exit.
32183         * posix/_exit.c: Add rtld_hidden_def.
32184         * sysdeps/mach/hurd/_exit.c: Likewise.
32185         * sysdeps/nacl/_exit.c: Likewise.
32186         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32187         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32189 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32192         bndmov encoding with zero displacement.
32194 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32195             H.J. Lu  <hongjiu.lu@intel.com>
32197         [BZ #18134]
32198         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32199         * sysdeps/i386/configure: Regenerated.
32200         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32201         (_dl_runtime_profile): Save and restore Intel MPX return bound
32202         registers when calling _dl_call_pltexit.  Add
32203         PRESERVE_BND_REGS_PREFIX before return.
32204         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32205         (LRV_BND1_OFFSET): Likewise.
32206         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32207         lrv_bnd1.
32208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32209         typo in bndmov encoding.
32210         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32211         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32212         branch instructions to preserve bounds.
32214 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32217         [GLIBC_2.22]: Add fmemopen.
32219 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32221         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32222         returns an error, also try to use host port from __mach_host_self for
32223         the __vm_wire call.
32224         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32226 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32228         [BZ #18400]
32229         [BZ #18648]
32230         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32231         Fix pr_uid and pr_gid members.
32232         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32233         definition to elf_greg_t.
32235 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32237         [BZ #18383]
32238         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32239         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32240         * sysdeps/arm/configure: Regenerated.
32241         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32242         (test-xfail-tst-tlsalign-static): Variable removed.
32244         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32245         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32246         rather than explicit 'ln -s'.
32248         * resolv/rpc/netdb.h: New file.
32249         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32251 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32253         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32254         length buffers.
32255         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32256         test-skeleton.c.
32258         [BZ #6544]
32259         [BZ #11216]
32260         [BZ #12836]
32261         [BZ #13151]
32262         [BZ #13152]
32263         [BZ #14292]
32264         * include/stdio.h (fmemopen): Remove hidden prototype.
32265         (__fmemopen): Add new hidden prototype.
32266         * libio/Makefile: Add oldfmemopen object.
32267         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32268         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32269         compliance.
32270         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32271         symbol compatibility.
32272         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32273         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32274         fmemopen.
32275         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32276         on append and read mode.
32277         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32278         fmemopen.
32279         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32280         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32281         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32282         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32283         Likewise.
32284         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32285         [GLIBC_2.22]: Likewise.
32286         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32287         Likewise.
32288         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32289         Likewise.
32290         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32291         [GLIBC_2.22]: Likewise.
32292         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32293         [GLIBC_2.22]: Likewise.
32294         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32295         [GLIBC_2.22]: Likewise.
32296         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32297         [GLIBC_2.22]: Likewise.
32298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32299         [GLIBC_2.22]: Likewise.
32300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32301         [GLIBC_2.22]: Likewise.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32303         [GLIBC_2.22]: Likewise.
32304         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32305         Likewise.
32306         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32307         Likewise.
32308         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32309         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32310         [GLIBC_2.22]: Likewise.
32311         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32312         [GLIBC_2.22]: Likewise.
32313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32314         [GLIBC_2.22]: Likewise.
32315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32316         [GLIBC_2.22]: Likewise.
32317         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32318         Likewise.
32319         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32320         Likewise.
32321         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32322         Likewise.
32323         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32324         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32326 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32328         [BZ #18643]
32329         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
32330         IPV6_PATHMTU, and IPV6_DONTFRAG.
32332 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
32334         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
32335         and _IO_UNBUFFERED.
32336         * libio/oldfileops.c: Likewise.
32337         * libio/wfileops.c: Likewise.
32339 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32341         * nscd/selinux.c: Delete selinux/flask.h include.
32343 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
32345         [BZ #18641]
32346         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
32347         (putpwent): Likewise.
32348         (getpwnam): Likewise.
32349         (getpwent_r): Likewise.
32350         (getpwuid_r): Likewise.
32351         (getpwnam_r): Likewise.
32352         (fgetpwent_r): Likewise.
32354 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
32356         [BZ #18557]
32357         * inet/rcmd.c (__validuser2_sa): Check user first to
32358         short-circuit host check.
32360 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
32361             Mikhail Ilin  <m.ilin@samsung.com>
32363         [BZ #17833]
32364         * elf/Makefile (tests): Add tst-nodelete.
32365         (modules-names): Add tst-nodelete-uniquemod.
32366         (tst-nodelete-uniquemod.so-no-z-defs): New.
32367         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
32368         (tst-nodelete-zmod.so-no-z-defs): Likewise.
32369         ($(objpfx)tst-nodelete): Likewise.
32370         ($(objpfx)tst-nodelete.out): Likewise.
32371         (LDFLAGS-tst-nodelete): Likewise.
32372         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
32373         * elf/dl-close.c (_dl_close_worker): Add a parameter to
32374         implement forced object deletion.
32375         (_dl_close): Pass false to _dl_close_worker.
32376         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
32377         * elf/tst-nodelete.cc: New file.
32378         * elf/tst-nodeletelib.cc: Likewise.
32379         * elf/tst-znodeletelib.cc: Likewise.
32380         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
32382 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32384         [BZ #18508]
32385         * stdlib/Makefile ($(objpfx)tst-makecontext3):
32386         Depend on $(libdl).
32387         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
32388         is not called infinitely times.
32389         (backtrace_helper): New function.
32390         (trace_arg): New struct.
32391         (st1): Enlarge stack size.
32392         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32393         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
32394         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32395         Likewise.
32397 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32399         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32401 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
32403         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
32404         Include sys/types.h instead of bits/types.h.
32405         Remove inclusion of bits/wordsize.h.
32407 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32409         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
32410         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
32411         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
32412         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
32413         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
32414         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
32416 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32418         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
32419         link-defines.sym.
32420         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
32421         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
32422         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
32423         and LR_SIZE.
32424         * sysdeps/i386/link-defines.sym: New file.
32426 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
32428         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
32429         (modules-names): Add tst-auditmod3a tst-auditmod3b.
32430         ($(objpfx)tst-audit3): New rule.
32431         ($(objpfx)tst-audit3.out): Likewise.
32432         * sysdeps/i386/tst-audit3.c: New file.
32433         * sysdeps/i386/tst-audit3.h: Likewise.
32434         * sysdeps/i386/tst-auditmod3a.c: Likewise.
32435         * sysdeps/i386/tst-auditmod3b.c: Likewise.
32437 2015-07-07  Torvald Riegel  <triegel@redhat.com>
32439         [BZ #18633]
32440         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
32441         pointer in C code.
32442         (__strcat_c): Likewise.
32443         (__strcat_g): Likewise.
32445 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
32447         [BZ #18592]
32448         * misc/sbrk.c: Set errno to ENOMEM on overflow.
32450 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32452         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
32453         New function.  (__ieee754_sqrtf): New function.
32454         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
32455         New function.
32456         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
32457         New function.
32459 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
32461         * sysdeps/ieee754/support.c: Remove unused file.
32463 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32465         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
32466         registers instead of d ones so the layout is kernel abi compatible.
32467         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
32468         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
32469         Likewise.
32471 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32473         * sysdeps/aarch64/libm-test-ulps: Regenerated.
32475 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32477         [BZ #18619]
32478         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
32479         and return argument in case of subnormal argument.
32481 2015-07-01  Martin Sebor  <msebor@redhat.com>
32483         [BZ #18435]
32484         * nptl/Makefile: Add tst-once5.cc.
32485         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32486         Remove macro redefinitions.
32487         * nptl/tst-once5.cc: New test.
32489 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
32491         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32493         * sysdeps/arm/libm-test-ulps: Regenerated.
32495         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32496         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32498 2015-06-30  Torvald Riegel  <triegel@redhat.com>
32500         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
32501         lll_lock_wait_private and lll_futex_wake probes.
32503         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
32505         Likewise.
32506         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
32507         atomic_spin_nop.
32508         * sysdeps/x86_64/bits/atomic.h: Likewise.
32509         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
32510         to atomic_spin_nop and move ...
32511         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32512         ... here and ...
32513         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
32514         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
32515         atomic_spin_nop instead of BUSY_WAIT_NOP.
32516         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
32517         Likewise.
32518         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
32519         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
32520         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
32521         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
32522         instead of atomic_delay.
32524 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
32526         [BZ #18613]
32527         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
32528         X_ADJ not X when adjusting exponent.
32529         (__ieee754_gamma_r): Do intermediate computations in
32530         round-to-nearest then adjust overflowing and underflowing results
32531         as needed.
32532         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
32533         of X_ADJ not X when adjusting exponent.
32534         (__ieee754_gammaf_r): Do intermediate computations in
32535         round-to-nearest then adjust overflowing and underflowing results
32536         as needed.
32537         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
32538         log of X_ADJ not X when adjusting exponent.
32539         (__ieee754_gammal_r): Do intermediate computations in
32540         round-to-nearest then adjust overflowing and underflowing results
32541         as needed.  Use 1.0L not 1.0f as numerator of division.
32542         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
32543         log of X_ADJ not X when adjusting exponent.
32544         (__ieee754_gammal_r): Do intermediate computations in
32545         round-to-nearest then adjust overflowing and underflowing results
32546         as needed.  Use 1.0L not 1.0f as numerator of division.
32547         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
32548         of X_ADJ not X when adjusting exponent.
32549         (__ieee754_gammal_r): Do intermediate computations in
32550         round-to-nearest then adjust overflowing and underflowing results
32551         as needed.  Use 1.0L not 1.0f as numerator of division.
32552         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
32553         to auto-libm-test-in.
32554         (tgamma_test): Use ALL_RM_TEST.
32555         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
32556         tests of tgamma with spurious-overflow.
32557         * math/auto-libm-test-out: Regenerated.
32558         * math/gen-libm-have-vector-test.sh: Do not check for START.
32559         * sysdeps/i386/fpu/libm-test-ulps: Update.
32560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32562         [BZ #18612]
32563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
32564         arguments, just return 0.5 times the argument, with underflow
32565         forced as needed.
32566         * math/auto-libm-test-in: Add more tests of j1.
32567         * math/auto-libm-test-out: Regenerated.
32569         [BZ #16559]
32570         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
32571         (__ieee754_j1): Force underflow exception for small results.
32572         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
32573         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
32574         (__ieee754_j1f): Force underflow exception for small results.
32575         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32576         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32578         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
32579         (__ieee754_j1l): Force underflow exception for small results.
32580         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32581         * math/auto-libm-test-in: Add more tests of j1 and jn.
32582         * math/auto-libm-test-out: Regenerated.
32584         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
32585         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
32586         (PF_MPLS): Likewise.
32587         (AF_IB): Likewise.
32588         (AF_MPLS): Likewise.
32589         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
32590         value and macro.
32591         (MS_RMT_MASK): Include MS_LAZYTIME.
32593 2015-06-26  Mel Gorman  <mgorman@suse.de>
32595         [BZ #18502]
32596         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
32597         already minimal.
32599 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
32601         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
32602         (DT_MIPS_NUM): Update.
32603         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
32604         DT_MIPS_RLD_MAP_REL.
32606 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
32608         [BZ #16559]
32609         [BZ #18602]
32610         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
32611         round-to-nearest internally then recompute results that
32612         underflowed to zero in the original rounding mode.
32613         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
32614         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
32615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32616         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
32617         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
32618         * sysdeps/i386/fpu/libm-test-ulps: Update.
32619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32621 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
32623         * NEWS: Fixed description of link with vector math library.
32625 2015-06-25  Andreas Schwab  <schwab@suse.de>
32627         [BZ #18549]
32628         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
32629         * libio/test-fmemopen.c (do_test): Add test for it.
32631 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
32633         [BZ #17841]
32634         * Makeconfig (no-pie-ldflag): New.
32635         (+link): Set to $(+link-pie) if default to PIE.
32636         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
32637         * config.make.in (build-pie-default): New.
32638         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
32639         is default.  AC_SUBST.
32640         * configure: Regenerated.
32641         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
32643 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32645         * nptl/descr.h (struct pthread): Change type of field setxid_futex
32646         to 'unsigned int'.
32648         * resolv/gai_misc.h (struct waitlist): Change type of field
32649         counterp to 'volatile unsigned int *'.
32650         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
32651         FUTEXADDR and OLDVAL.
32652         * resolv/getaddrinfo_a.c (getaddrinfo_a):
32653         Give local variable TOTAL type 'volatile unsigned int'.
32654         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32655         * resolv/gai_suspend.c (gai_suspend):
32656         Give local variable CNTR type 'unsigned int'.
32658         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
32659         counterp to 'volatile unsigned int *'.
32660         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
32661         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
32662         (aio_suspend): Give local variable CNTR type 'unsigned int'.
32663         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
32664         Give local variable TOTAL type 'volatile unsigned int'.
32665         (struct async_waitlist): Change type of field counter to 'unsigned int'.
32667 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32669         [BZ #18383]
32670         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
32671         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
32672         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
32673         comment for i386/x86-64.
32674         (test-xfail-tst-tlsalign-extern-static): Removed.
32676 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32678         * math/test-double.h: New file.
32679         * math/test-float.h: Likewise.
32680         * math/test-ldouble.h: Likewise.
32681         * math/test-math-inline.h: Likewise.
32682         * math/test-math-no-inline.h: Likewise.
32683         * math/test-math-scalar.h: Likewise.
32684         * math/test-math-vector.h: Likewise.
32685         * math/test-vec-loop.h: Remove file.  Contents moved into
32686         test-math-vector.h.
32687         * math/libm-test.inc (MATHCONST): Do not document macro.
32688         * math/test-double.c: Include test-double.h, test-math-no-inline.h
32689         and test-math-scalar.h.
32690         (FUNC): Remove macro.
32691         (FUNC_TEST): Likewise.
32692         (FLOAT): Likewise.
32693         (MATHCONST): Likewise.
32694         (PRINTF_EXPR): Likewise.
32695         (PRINTF_XEXPR): Likewise.
32696         (PRINTF_NEXPR): Likewise.
32697         (TEST_DOUBLE): Likewise.
32698         (TEST_MATHVEC): Likewise.
32699         (__NO_MATH_INLINES): Likewise.
32700         * math/test-float.c: Include test-float.h, test-math-no-inline.h
32701         and test-math-scalar.h.
32702         (FUNC): Remove macro.
32703         (FUNC_TEST): Likewise.
32704         (FLOAT): Likewise.
32705         (MATHCONST): Likewise.
32706         (PRINTF_EXPR): Likewise.
32707         (PRINTF_XEXPR): Likewise.
32708         (PRINTF_NEXPR): Likewise.
32709         (TEST_FLOAT): Likewise.
32710         (TEST_MATHVEC): Likewise.
32711         (__NO_MATH_INLINES): Likewise.
32712         * math/test-idouble.c: Include test-double.h, test-math-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         (TEST_INLINE): Likewise.
32724         (__NO_MATH_INLINES): Likewise.
32725         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
32726         test-math-scalar.h.
32727         (FUNC): Remove macro.
32728         (FUNC_TEST): Likewise.
32729         (FLOAT): Likewise.
32730         (MATHCONST): Likewise.
32731         (PRINTF_EXPR): Likewise.
32732         (PRINTF_XEXPR): Likewise.
32733         (PRINTF_NEXPR): Likewise.
32734         (TEST_FLOAT): Likewise.
32735         (TEST_MATHVEC): Likewise.
32736         (TEST_INLINE): Likewise.
32737         (__NO_MATH_INLINES): Likewise.
32738         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
32739         and test-math-scalar.h.
32740         (FUNC): Remove macro.
32741         (FUNC_TEST): Likewise.
32742         (FLOAT): Likewise.
32743         (MATHCONST): Likewise.
32744         (PRINTF_EXPR): Likewise.
32745         (PRINTF_XEXPR): Likewise.
32746         (PRINTF_NEXPR): Likewise.
32747         (TEST_LDOUBLE): Likewise.
32748         (TEST_MATHVEC): Likewise.
32749         (TEST_INLINE): Likewise.
32750         (__NO_MATH_INLINES): Likewise.
32751         * math/test-ldouble.c: Include test-ldouble.h,
32752         test-math-no-inline.h and test-math-scalar.h.
32753         (FUNC): Remove macro.
32754         (FUNC_TEST): Likewise.
32755         (FLOAT): Likewise.
32756         (MATHCONST): Likewise.
32757         (PRINTF_EXPR): Likewise.
32758         (PRINTF_XEXPR): Likewise.
32759         (PRINTF_NEXPR): Likewise.
32760         (TEST_LDOUBLE): Likewise.
32761         (TEST_MATHVEC): Likewise.
32762         (__NO_MATH_INLINES): Likewise.
32763         * math/test-double-vlen2.h: Include test-double.h,
32764         test-math-no-inline.h and test-math-vector.h.
32765         (FLOAT): Remove macro.
32766         (FUNC): Likewise.
32767         (MATHCONST): Likewise.
32768         (PRINTF_EXPR): Likewise.
32769         (PRINTF_XEXPR): Likewise.
32770         (PRINTF_NEXPR): Likewise.
32771         (TEST_DOUBLE): Likewise.
32772         (TEST_MATHVEC): Likewise.
32773         (__NO_MATH_INLINES): Likewise.
32774         (CNCT): Likewise.
32775         (CONCAT): Likewise.
32776         (WRAPPER_NAME): Likewise.
32777         (WRAPPER_DECL): Likewise.
32778         (WRAPPER_DECL_ff): Likewise.
32779         (WRAPPER_DECL_fFF): Likewise.
32780         (VECTOR_WRAPPER): Likewise.
32781         (VECTOR_WRAPPER_ff): Likewise.
32782         (VECTOR_WRAPPER_fFF): Likewise.
32783         (VEC_LEN): New macro.
32784         * math/test-double-vlen4.h: Include test-double.h,
32785         test-math-no-inline.h and test-math-vector.h.
32786         (FLOAT): Remove macro.
32787         (FUNC): Likewise.
32788         (MATHCONST): Likewise.
32789         (PRINTF_EXPR): Likewise.
32790         (PRINTF_XEXPR): Likewise.
32791         (PRINTF_NEXPR): Likewise.
32792         (TEST_DOUBLE): Likewise.
32793         (TEST_MATHVEC): Likewise.
32794         (__NO_MATH_INLINES): Likewise.
32795         (CNCT): Likewise.
32796         (CONCAT): Likewise.
32797         (WRAPPER_NAME): Likewise.
32798         (WRAPPER_DECL): Likewise.
32799         (WRAPPER_DECL_ff): Likewise.
32800         (WRAPPER_DECL_fFF): Likewise.
32801         (VECTOR_WRAPPER): Likewise.
32802         (VECTOR_WRAPPER_ff): Likewise.
32803         (VECTOR_WRAPPER_fFF): Likewise.
32804         (VEC_LEN): New macro.
32805         * math/test-double-vlen8.h: Include test-double.h,
32806         test-math-no-inline.h and test-math-vector.h.
32807         (FLOAT): Remove macro.
32808         (FUNC): Likewise.
32809         (MATHCONST): Likewise.
32810         (PRINTF_EXPR): Likewise.
32811         (PRINTF_XEXPR): Likewise.
32812         (PRINTF_NEXPR): Likewise.
32813         (TEST_DOUBLE): Likewise.
32814         (TEST_MATHVEC): Likewise.
32815         (__NO_MATH_INLINES): Likewise.
32816         (CNCT): Likewise.
32817         (CONCAT): Likewise.
32818         (WRAPPER_NAME): Likewise.
32819         (WRAPPER_DECL): Likewise.
32820         (WRAPPER_DECL_ff): Likewise.
32821         (WRAPPER_DECL_fFF): Likewise.
32822         (VECTOR_WRAPPER): Likewise.
32823         (VECTOR_WRAPPER_ff): Likewise.
32824         (VECTOR_WRAPPER_fFF): Likewise.
32825         (VEC_LEN): New macro.
32826         * math/test-float-vlen4.h: Include test-float.h,
32827         test-math-no-inline.h and test-math-vector.h.
32828         (FLOAT): Remove macro.
32829         (FUNC): Likewise.
32830         (MATHCONST): Likewise.
32831         (PRINTF_EXPR): Likewise.
32832         (PRINTF_XEXPR): Likewise.
32833         (PRINTF_NEXPR): Likewise.
32834         (TEST_FLOAT): Likewise.
32835         (TEST_MATHVEC): Likewise.
32836         (__NO_MATH_INLINES): Likewise.
32837         (CNCT): Likewise.
32838         (CONCAT): Likewise.
32839         (WRAPPER_NAME): Likewise.
32840         (WRAPPER_DECL): Likewise.
32841         (WRAPPER_DECL_ff): Likewise.
32842         (WRAPPER_DECL_fFF): Likewise.
32843         (VECTOR_WRAPPER): Likewise.
32844         (VECTOR_WRAPPER_ff): Likewise.
32845         (VECTOR_WRAPPER_fFF): Likewise.
32846         (VEC_LEN): New macro.
32847         * math/test-float-vlen8.h: Include test-float.h,
32848         test-math-no-inline.h and test-math-vector.h.
32849         (FLOAT): Remove macro.
32850         (FUNC): Likewise.
32851         (MATHCONST): Likewise.
32852         (PRINTF_EXPR): Likewise.
32853         (PRINTF_XEXPR): Likewise.
32854         (PRINTF_NEXPR): Likewise.
32855         (TEST_FLOAT): Likewise.
32856         (TEST_MATHVEC): Likewise.
32857         (__NO_MATH_INLINES): Likewise.
32858         (CNCT): Likewise.
32859         (CONCAT): Likewise.
32860         (WRAPPER_NAME): Likewise.
32861         (WRAPPER_DECL): Likewise.
32862         (WRAPPER_DECL_ff): Likewise.
32863         (WRAPPER_DECL_fFF): Likewise.
32864         (VECTOR_WRAPPER): Likewise.
32865         (VECTOR_WRAPPER_ff): Likewise.
32866         (VECTOR_WRAPPER_fFF): Likewise.
32867         (VEC_LEN): New macro.
32868         * math/test-float-vlen16.h: Include test-float.h,
32869         test-math-no-inline.h and test-math-vector.h.
32870         (FLOAT): Remove macro.
32871         (FUNC): Likewise.
32872         (MATHCONST): Likewise.
32873         (PRINTF_EXPR): Likewise.
32874         (PRINTF_XEXPR): Likewise.
32875         (PRINTF_NEXPR): Likewise.
32876         (TEST_FLOAT): Likewise.
32877         (TEST_MATHVEC): Likewise.
32878         (__NO_MATH_INLINES): Likewise.
32879         (CNCT): Likewise.
32880         (CONCAT): Likewise.
32881         (WRAPPER_NAME): Likewise.
32882         (WRAPPER_DECL): Likewise.
32883         (WRAPPER_DECL_ff): Likewise.
32884         (WRAPPER_DECL_fFF): Likewise.
32885         (VECTOR_WRAPPER): Likewise.
32886         (VECTOR_WRAPPER_ff): Likewise.
32887         (VECTOR_WRAPPER_fFF): Likewise.
32888         (VEC_LEN): New macro.
32889         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32890         test-vec-loop.h.
32891         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32892         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32893         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32894         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32895         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32896         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32897         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32899 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32901         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32902         (__getlogin_r): ... this.
32904 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32906         [BZ #18594]
32907         * math/s_ccosh.c (__ccosh): Compare with least normal value
32908         instead of comparing class with FP_SUBNORMAL.
32909         * math/s_ccoshf.c (__ccoshf): Likewise.
32910         * math/s_ccoshl.c (__ccoshl): Likewise.
32911         * math/s_cexp.c (__cexp): Likewise.
32912         * math/s_cexpf.c (__cexpf): Likewise.
32913         * math/s_cexpl.c (__cexpl): Likewise.
32914         * math/s_csin.c (__csin): Likewise.
32915         * math/s_csinf.c (__csinf): Likewise.
32916         * math/s_csinh.c (__csinh): Likewise.
32917         * math/s_csinhf.c (__csinhf): Likewise.
32918         * math/s_csinhl.c (__csinhl): Likewise.
32919         * math/s_csinl.c (__csinl): Likewise.
32920         * math/s_ctan.c (__ctan): Likewise.
32921         * math/s_ctanf.c (__ctanf): Likewise.
32922         * math/s_ctanh.c (__ctanh): Likewise.
32923         * math/s_ctanhf.c (__ctanhf): Likewise.
32924         * math/s_ctanhl.c (__ctanhl): Likewise.
32925         * math/s_ctanl.c (__ctanl): Likewise.
32926         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32927         csin, csinh, ctan and ctanh.
32928         * math/auto-libm-test-out: Regenerated.
32929         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32930         * sysdeps/i386/fpu/libm-test-ulps: Update.
32931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32933 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32935         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32936         return value is wrong, print the expected value too.
32938 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32940         [BZ #18585]
32941         * elf/readlib.c (is_gdb_python_file): New.
32942         (process_file): Don't issue errors on filenames with -gdb.py
32943         suffix.
32945 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32947         * math/auto-libm-test-in: Add more tests of csin and csinh.
32948         * math/auto-libm-test-out: Regenerated.
32949         * math/libm-test.inc (csin_test_data): Remove tests moved to
32950         auto-libm-test-in.
32951         (csinh_test_data): Likewise.
32953         [BZ #18593]
32954         * math/s_csin.c (__csin): Negate before rather than after possibly
32955         overflowing multiplication.
32956         * math/s_csinf.c (__csinf): Likewise.
32957         * math/s_csinh.c (__csinh): Likewise.
32958         * math/s_csinhf.c (__csinhf): Likewise.
32959         * math/s_csinhl.c (__csinhl): Likewise.
32960         * math/s_csinl.c (__csinl): Likewise.
32961         * math/auto-libm-test-in: Add some tests of csin and csinh.
32962         * math/auto-libm-test-out: Regenerated.
32963         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32964         (csinh_test_data): Likewise.
32965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32967         [BZ #18586]
32968         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32969         underflow exception for small results.
32971 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32973         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32974         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32975         variable and included header.
32976         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32977         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32978         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32979         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32980         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32981         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32982         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32983         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32984         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32985         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32986         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32987         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32988         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32989         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32990         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32991         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32993 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32995         [BZ #16526]
32996         [BZ #16538]
32997         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32998         (__sin): Force underflow exception for arguments with small
32999         absolute value.
33000         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33001         (__kernel_sinf): Force underflow exception for arguments with
33002         small absolute value.
33003         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33004         (__kernel_sincosl): Force underflow exception for arguments with
33005         small absolute value.
33006         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33007         (__kernel_sinl): Force underflow exception for arguments with
33008         small absolute value.
33009         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33010         (__kernel_sincosl): Force underflow exception for arguments with
33011         small absolute value.
33012         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33013         (__kernel_sinl): Force underflow exception for arguments with
33014         small absolute value.
33015         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33016         (__kernel_sinl): Force underflow exception for arguments with
33017         small absolute value.
33018         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33019         (__kernel_sinf): Force underflow exception for arguments with
33020         small absolute value.
33021         * math/auto-libm-test-in: Add more tests of sin and sincos.
33022         * math/auto-libm-test-out: Regenerated.
33024         [BZ #18245]
33025         [BZ #18583]
33026         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33027         (__kernel_standard_l): Use feholdexcept and fesetenv around
33028         conversion to double instead of special-casing overflow and
33029         underflow.
33030         * math/libm-test.inc (fmod_test_data): Add more tests.
33031         (remainder_test_data): Likewise.
33032         (sqrt_test_data): Likewise.
33034 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33036         [BZ #17403]
33037         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33038         atomic_read_barrier, atomic_write_barrier): Define.
33039         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33040         atomic_read_barrier, atomic_write_barrier): Define.
33042 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33044         * math/Makefile [$(PERL) != no]
33045         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33046         dependency on libm-test.stmp below the inclusion of Rules.
33048 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33050         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33051         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33052         and included header.
33053         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33055         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33056         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33057         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33059         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33060         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33061         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33062         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33063         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33064         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33065         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33066         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33067         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33068         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33069         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33070         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33071         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33073 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33075         [BZ #18371]
33076         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33077         intermediate but not final result might underflow.
33078         * math/s_csqrtf.c (__csqrtf): Likewise.
33079         * math/s_csqrtl.c (__csqrtl): Likewise.
33080         * math/auto-libm-test-in: Add more tests of csqrt.
33081         * math/auto-libm-test-out: Regenerated.
33082         * sysdeps/i386/fpu/libm-test-ulps: Update.
33084         [BZ #18219]
33085         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33086         threshold on absolute value of exponent for which scaling is used.
33087         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33088         * math/auto-libm-test-in: Add more tests of exp2.
33089         * math/auto-libm-test-out: Regenerated.
33091 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33093         [BZ #17977]
33094         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33095         when initializing interface list, based on the bug analysis
33096         and the patch proposed by Eric Newton.
33097         * resolv/tst-res_hconf_reorder.c: New test.
33098         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33099         tst-res_hconf_reorder.
33100         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33101         and $(shared-thread-library).
33102         (tst-res_hconf_reorder-ENV): New variable.
33104         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33105         in comment.
33107 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33109         [BZ #16353]
33110         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33111         (__expm1): Force underflow exception for arguments with small
33112         absolute value.
33113         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33114         (__expm1f): Force underflow exception for arguments with small
33115         absolute value.
33116         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33117         (__expm1): Force underflow exception for arguments with small
33118         absolute value.
33119         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33120         (__expm1f): Force underflow exception for arguments with small
33121         absolute value.
33122         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33123         Check for small arguments before calling __expm1.
33124         * math/auto-libm-test-in: Do not mark underflow exceptions as
33125         possibly missing for bug 16353.
33126         * math/auto-libm-test-out: Regenerated.
33128 2015-06-22  Andreas Schwab  <schwab@suse.de>
33130         [BZ #18513]
33131         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33132         PTR queries.
33134 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33136         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33138         * string/strcoll_l.c: Remove unused struct element idxnow.
33140 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33142         [BZ #18569]
33143         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33144         underflow and return argument in case of subnormal argument.
33145         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33146         Likewise.
33147         * math/auto-libm-test-in: Add more tests of expm1.
33148         * math/auto-libm-test-out: Regenerated.
33150         [BZ #16361]
33151         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33152         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33153         tiny results.
33154         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33155         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33156         tiny results.
33157         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33158         mark underflow exceptions as possibly missing for bug 16361.
33159         * math/auto-libm-test-out: Regenerated.
33161 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33163         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33164         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33165         Remove variable.
33166         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33167         (test-xfail-XOPEN2K8/utmpx.h/conform).
33169         * conform/conformtest.pl ($xerrors): New variable.
33170         (note_error): New function.
33171         (compiletest): New argument $xfail.  Use not_error.
33172         (runtest): Likewise.
33173         (top level): Handle xfail- lines.  Update calls to compiletest and
33174         runtest.  Handle xfail- and optional- in headers listed with
33175         allow-header.
33176         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33177         (O_EXEC): Likewise.
33178         (O_SEARCH): Likewise.
33179         * conform/data/stropts.h-data (ioctl): Likewise.
33180         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33181         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33182         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33183         (msghdr.msg_controllen): Likewise.
33184         (cmsghdr.cmsg_len): Likewise.
33185         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33186         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33187         variable.
33188         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33189         (test-xfail-XPG4/stropts.h/conform): Likewise.
33190         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33191         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33192         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33193         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33194         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33195         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33196         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33197         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33198         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33199         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33200         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33201         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33202         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33203         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33204         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33205         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33206         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33207         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33208         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33210 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33212         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33213         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33214         definitions for proper unfolding of __MATHDECL_VEC.
33216 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33218         * benchtests/bench-strcoll.c:
33219         Include string.h.
33220         (main): Remove unused variable res.
33222 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33224         * timezone/Makefile (%/UTC %/Universal):
33225         Generate test-result files for UTC and Universal.
33227 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33229         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33231 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33233         [BZ #16350]
33234         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33235         for arguments with small absolute value.
33236         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33237         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33238         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33239         (__asinh): Force underflow exception for arguments with small
33240         absolute value.
33241         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33242         (__asinhf): Force underflow exception for arguments with small
33243         absolute value.
33244         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33245         (__asinhl): Force underflow exception for arguments with small
33246         absolute value.
33247         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33248         (__asinhl): Force underflow exception for arguments with small
33249         absolute value.
33250         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33251         (__asinhl): Force underflow exception for arguments with small
33252         absolute value.
33253         * math/auto-libm-test-in: Do not mark underflow exceptions as
33254         possibly missing for bug 16350.
33255         * math/auto-libm-test-out: Regenerated.
33257         * include/bits/ipc.h: Remove file.
33258         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33259         variable.
33260         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33261         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33262         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33263         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33264         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33265         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33266         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33267         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33268         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33270         * math/auto-libm-test-in: Remove spurious underflow allowance for
33271         tests of cexp.
33272         * math/auto-libm-test-out: Regenerated.
33274         [BZ #18558]
33275         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33276         unconditional definition.
33277         (MCAST_BLOCK_SOURCE): Likewise.
33278         (MCAST_UNBLOCK_SOURCE): Likewise.
33279         (MCAST_LEAVE_GROUP): Likewise.
33280         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33281         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33282         (MCAST_MSFILTER): Likewise.
33283         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33284         Remove variable.
33285         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33286         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33287         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33288         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33289         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33291 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33293         * NEWS: Mention addition of x86_64 vector sincosf.
33294         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33295         * math/test-float-vlen4.h: Likewise.
33296         * math/test-float-vlen8.h: Likewise.
33297         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33298         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33299         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33300         * sysdeps/x86_64/fpu/Versions: New versions added.
33301         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33302         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33303         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33305         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33306         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33307         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33308         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33309         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33310         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33311         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33312         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33313         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33314         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33315         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33316         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33317         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33318         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33319         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33320         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33321         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33323         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33324         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33326         * NEWS: Mention addition of x86_64 vector sincos.
33327         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
33328         * math/math.h (__MATHDECL_VEC): New macro.
33329         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
33330         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
33331         declaration under condition.
33332         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
33333         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
33334         TEST_VEC_LOOP change.
33335         * math/test-double-vlen4.h: Likewise.
33336         * math/test-double-vlen8.h: Likewise.
33337         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
33338         * math/test-float-vlen4.h: Likewise.
33339         * math/test-float-vlen8.h: Likewise.
33340         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33341         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
33342         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33343         * sysdeps/x86_64/fpu/Versions: New versions added.
33344         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33345         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33346         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33347         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
33348         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
33349         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
33350         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
33351         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
33352         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
33353         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
33354         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
33355         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
33356         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
33357         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
33358         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
33359         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
33360         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
33361         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33362         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33363         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33364         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33365         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33366         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33367         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33369         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33370         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33371         redirections for powf.
33372         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33373         * sysdeps/x86_64/fpu/Versions: New versions added.
33374         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33375         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33376         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33377         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
33378         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
33379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
33380         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
33381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
33382         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
33383         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
33384         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
33385         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
33386         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
33387         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
33388         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
33389         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
33390         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
33391         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33392         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33393         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33394         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33395         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33396         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33397         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33398         * math/test-float-vlen16.h: Fixed 2 argument macro.
33399         * math/test-float-vlen4.h: Likewise.
33400         * math/test-float-vlen8.h: Likewise.
33401         * NEWS: Mention addition of x86_64 vector powf.
33403 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
33405         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33406         and redefine.
33407         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33408         and redefine.
33409         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
33410         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33411         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33413         [BZ #18553]
33414         * resource/getpriority.c (getpriority): Rename to __getpriority
33415         and define as weak alias of __getpriority.
33416         * resource/setpriority.c (setpriority): Rename to __setpriority
33417         and define as weak alias of __setpriority.
33418         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
33419         __getpriority and define as weak alias of __getpriority.
33420         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
33421         __setpriority and define as weak alias of __setpriority.
33422         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
33423         strong name.
33424         (setpriority): Use __setpriority as strong name.
33425         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
33426         __getpriority and define as weak alias of __getpriority.
33427         * include/sys/resource.h (__getpriority): Declare.  Use
33428         libc_hidden_proto.
33429         (__setpriority): Likewise.
33430         (getpriority): Don't use libc_hidden_proto.
33431         (setpriority): Likewise.
33432         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
33433         getpriority.  Call __setpriority instead of setpriority.
33434         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33435         Remove variable.
33437         [BZ #18547]
33438         * misc/getttyent.c (getttynam): Rename to __getttynam and define
33439         as weak alias of __getttynam.  Use prototype function definition.
33440         Call __setttyent, __getttyent and __endttyent instead of
33441         setttyent, getttyent and endttyent.
33442         (getttyent): Rename to __getttyent and define as weak alias of
33443         __getttyent.  Call __setttyent instead of setttyent.  Call
33444         __fgets_unlocked instead of fgets_unlocked.
33445         (setttyent): Rename to __setttyent and define as weak alias of
33446         __setttyent.
33447         (endttyent): Rename to __endttyent and define as weak alias of
33448         __endttyent.
33449         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
33450         (__setttyent): Likewise.
33451         (__endttyent): Likewise.
33452         (getttyent): Don't use libc_hidden_proto.
33453         (setttyent): Likewise.
33454         (endttyent): Likewise.
33455         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
33456         __endttyent instead of setttyent, getttyent and endttyent.
33457         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
33458         Remove variable.
33460         [BZ #18546]
33461         * socket/recv.c (__recv): Use libc_hidden_def.
33462         * socket/socket.c (__socket): Likewise.
33463         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
33464         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
33465         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
33466         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
33467         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
33468         libc_hidden_def.
33469         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
33470         libc_hidden_weak.
33471         * include/sys/socket.h (__socket): Do not use attribute_hidden.
33472         Use libc_hidden_proto.
33473         (__recv): Likewise.
33474         * socket/Versions (libc): Export __recv and __socket at version
33475         GLIBC_PRIVATE.
33476         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
33477         instead of recv.
33478         (init_mq_netlink): Call __socket instead of socket.
33479         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
33480         Remove variable.
33482         [BZ #18545]
33483         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
33484         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
33485         hidden_weak.
33486         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
33487         define as alias of __mq_timedsend.  Use hidden_weak.
33488         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
33489         __mq_timedsend as strong name.
33490         (mq_timedreceive): Use __mq_timedreceive as strong name.
33491         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
33492         (__mq_timedreceive): Likewise.
33493         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
33494         __mq_timedreceive instead of mq_timedreceive.
33495         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
33496         instead of mq_timedsend.
33497         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
33498         Remove variable.
33500         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
33501         hidden_def and hidden_weak instead of libc_hidden_def and
33502         libc_hidden_weak.
33503         (top level): Refer to hidden_def in comment.
33504         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
33505         macro.  Use it instead of libc_hidden_def.
33506         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
33507         specify __GI_* name explicitly.
33508         (mq_timedreceive): Likewise.
33509         (mq_setattr): Likewise.
33511         [BZ #18544]
33512         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
33513         __pthread_barrier_init and define as weak alias of
33514         __pthread_barrier_init.
33515         * sysdeps/sparc/nptl/pthread_barrier_init.c
33516         (pthread_barrier_init): Likewise.
33517         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
33518         __pthread_barrier_wait and define as weak alias of
33519         __pthread_barrier_wait.
33520         * sysdeps/sparc/nptl/pthread_barrier_wait.c
33521         (pthread_barrier_wait): Likewise.
33522         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
33523         (pthread_barrier_wait): Likewise.
33524         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
33525         (pthread_barrier_wait): Likewise.
33526         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
33527         (pthread_barrier_wait): Likewise.
33528         * nptl/Versions (libpthread): Export __pthread_barrier_init and
33529         __pthread_barrier_wait at version GLIBC_PRIVATE.
33530         * include/pthread.h (__pthread_barrier_init): Declare.
33531         (__pthread_barrier_wait): Likewise.
33532         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
33533         Call __pthread_barrier_wait instead of pthread_barrier_wait.
33534         (helper_thread): Likewise.
33535         (init_mq_netlink): Call __pthread_barrier_init instead of
33536         pthread_barrier_init.
33538         [BZ #18542]
33539         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
33540         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
33541         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
33542         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
33543         vswscanf.
33544         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
33545         Remove variable.
33547         [BZ #18540]
33548         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
33549         strong alias of _IO_fflush.  Use libc_hidden_def.
33550         * libio/iofflush_u.c (fflush_unlocked): Rename to
33551         __fflush_unlocked and define as weak alias of __fflush_unlocked.
33552         Use libc_hidden_weak.
33553         * include/stdio.h (__fflush_unlocked): Declare.  Use
33554         libc_hidden_proto.
33555         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
33556         fflush_unlocked.
33557         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
33558         Remove variable.
33560         [BZ #18539]
33561         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
33562         define as weak alias of __addseverity.
33563         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
33564         Remove variable.
33565         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33566         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33567         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33569         [BZ #18536]
33570         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
33571         (__tfind): Likewise.
33572         (__tdelete): Likewise.
33573         (__twalk): Likewise.
33574         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
33575         __twalk to GLIBC_PRIVATE.
33576         * include/search.h (__tsearch): Use libc_hidden_proto.
33577         (__tfind): Likewise.
33578         (__tdelete): Likewise.
33579         (__twalk): Likewise.
33580         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
33581         Call __tdelete instead of tdelete.
33582         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
33583         tfind.  Call __tsearch instead of tsearch.
33584         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
33585         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
33586         Remove variable.
33587         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33589         [BZ #18534]
33590         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
33591         (dprintf): Define as a weak alias of __dprintf, not a strong
33592         alias.
33593         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
33594         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
33595         dprintf.
33596         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
33597         Remove variable.
33598         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33599         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33601         [BZ #18533]
33602         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
33603         not a strong alias.
33604         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
33605         Remove variable.
33607         [BZ #18532]
33608         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
33609         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
33610         (in6addr_loopback): Rename to __in6addr_loopback and define as
33611         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
33612         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
33613         libc_hidden_proto.
33614         (__in6addr_any): Likewise.
33615         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
33616         in6addr_any.
33617         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
33618         variable.
33619         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33621 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
33623         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
33624         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
33625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33626         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33627         redirections for pow.
33628         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33629         * sysdeps/x86_64/fpu/Versions: New versions added.
33630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33631         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33632         build of SSE, AVX2 and AVX512 IFUNC versions.
33633         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
33634         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
33635         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
33636         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
33637         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
33638         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
33639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
33640         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
33641         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
33642         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
33643         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
33644         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
33645         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
33646         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
33647         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33648         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33649         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33650         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33651         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33652         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33653         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33654         * NEWS: Mention addition of x86_64 vector pow.
33656         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33657         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33658         redirections for expf.
33659         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33660         * sysdeps/x86_64/fpu/Versions: New versions added.
33661         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33662         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33663         build of SSE, AVX2 and AVX512 IFUNC versions.
33664         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
33665         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
33666         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
33667         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
33668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
33669         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
33670         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
33671         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
33672         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
33673         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
33674         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
33675         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
33676         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
33677         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33678         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33679         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33680         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33681         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33682         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33683         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33684         * NEWS: Mention addition of x86_64 vector expf.
33686         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
33687         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
33688         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33689         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33690         redirections for exp.
33691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33692         * sysdeps/x86_64/fpu/Versions: New versions added.
33693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33695         build of SSE, AVX2 and AVX512 IFUNC versions.
33696         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
33697         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
33698         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
33699         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
33700         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
33701         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
33702         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
33703         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
33704         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
33705         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
33706         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
33707         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
33708         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
33709         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33710         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33712         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33713         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33714         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33715         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33716         * NEWS: Mention addition of x86_64 vector exp.
33718         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33719         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33720         redirections for logf.
33721         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33722         * sysdeps/x86_64/fpu/Versions: New versions added.
33723         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33724         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33725         build of SSE, AVX2 and AVX512 IFUNC versions.
33726         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
33727         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
33728         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
33729         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
33730         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
33731         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
33732         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
33733         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
33734         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
33735         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
33736         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
33737         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
33738         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
33739         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33740         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33741         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33742         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33743         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33744         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33745         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33746         * NEWS: Mention addition of x86_64 vector logf.
33748         * bits/libm-simd-decl-stubs.h: Added stubs for log.
33749         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
33750         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33751         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
33752         redirections for log.
33753         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33754         * sysdeps/x86_64/fpu/Versions: New versions added.
33755         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33756         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33757         build of SSE, AVX2 and AVX512 IFUNC versions.
33758         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
33759         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
33760         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
33761         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
33762         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
33763         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
33764         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
33765         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
33766         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
33767         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
33768         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
33769         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
33770         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
33771         test.
33772         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33775         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33776         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33777         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33778         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33779         * NEWS: Mention addition of x86_64 vector log.
33781 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33783         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
33784         cfi_adjust_cfa_offset argument.
33785         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
33786         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
33788         [BZ #18034]
33789         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
33790         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
33791         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
33792         ordering using ldar.
33793         (_dl_tlsdesc_dynamic): Likewise.
33794         (_dl_tlsdesc_return_lazy): Likewise.
33795         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33796         relaxed atomics instead of volatile and synchronize with release store.
33797         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33798         volatile.
33799         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33801 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33803         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33804         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33805         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33806         * sysdeps/x86_64/fpu/Versions: New versions added.
33807         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33808         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33809         build of SSE, AVX2 and AVX512 IFUNC versions.
33810         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33811         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33812         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33814         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33815         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33816         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33817         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33818         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33819         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33820         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33821         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33822         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33823         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33824         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33825         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33826         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33828         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33829         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33830         * NEWS: Mention addition of x86_64 vector sinf.
33832 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33834         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33835         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33836         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33837         Remove variable.
33838         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33839         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33841 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33843         [BZ #18530]
33844         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33845         strong alias of _IO_fputs.  Use libc_hidden_def.
33846         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33847         and define as weak alias of __fputs_unlocked.  Use
33848         libc_hidden_weak.
33849         * include/stdio.h (__fputs_unlocked): Declare.  Use
33850         libc_hidden_proto.
33851         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33852         fputs_unlocked.
33854         [BZ #18529]
33855         * resolv/netdb.h [__USE_POSIX]: Change condition to
33856         [__USE_XOPEN2K].
33857         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33858         not expect.
33859         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33860         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33861         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33862         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33863         [XPG4 || UNIX98] (AI_ALL): Likewise.
33864         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33865         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33866         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33867         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33868         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33869         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33870         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33871         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33872         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33873         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33874         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33875         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33876         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33877         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33878         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33879         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33880         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33881         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33882         [XPG4 || UNIX98] (gai_strerror): Likewise.
33883         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33884         [XPG4 || UNIX98] (getnameinfo): Likewise.
33886         [BZ #18528]
33887         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33888         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33889         __USE_XOPEN2K8].
33890         (getgrent): Likewise.
33891         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33892         expect.
33893         [XPG3 || POSIX2008] (endgrent): Likewise.
33894         [XPG3] (setgrent): Likewise.
33895         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33896         variable.
33897         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33899         [BZ #18527]
33900         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33901         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33902         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33903         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33904         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33905         * include/unistd.h (__getlogin_r): Declare.  Use
33906         libc_hidden_proto.
33907         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33908         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33909         variable.
33910         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33911         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33912         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33914 2015-06-12  Martin Sebor  <msebor@redhat.com>
33916         [BZ #18512]
33917         * Makerules (check-install-supported): New target.
33918         (install): Add check-install-supported as a dependency.
33919         * manual/install.texi (Installing the C Library): Document
33920         that overriding prefix and exec_prefix is not supported.
33921         Mention DESTDIR.
33922         * INSTALL: Regenerate from the above.
33924 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33926         [BZ #18519]
33927         * posix/Versions (libc): Export __libc_pread at version
33928         GLIBC_PRIVATE.
33929         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33930         instead of pread.
33931         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33932         variable.
33934         [BZ #18522]
33935         * misc/efgcvt_r.c
33936         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33937         (cvt_symbol): Use weak_alias instead of strong_alias.
33938         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33939         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33940         Remove variable.
33941         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33942         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33944         [BZ #18520]
33945         * inet/herrno.c (h_errno): Rename to __h_errno.
33946         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33947         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33948         to __h_errno instead of h_errno.
33949         * nptl/herrno.c (h_errno): Rename to __h_errno.
33950         (__h_errno_location): Refer to __h_errno not h_errno.
33951         * resolv/Versions (h_errno): Rename to __h_errno.
33952         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33953         Remove variable.
33954         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33956 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33958         * configure.ac: More strict check for AVX512 assembler support.
33959         * configure: Regenerated.
33961         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33962         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33963         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33964         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33965         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33966         * sysdeps/x86_64/fpu/Versions: New versions added.
33967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33968         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33969         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33971         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33972         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33973         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33974         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33975         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33976         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33977         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33978         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33979         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33980         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33981         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33982         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33983         test.
33984         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33985         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33986         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33987         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33988         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33989         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33990         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33991         * NEWS: Mention addition of x86_64 vector sin.
33993 2015-06-11  Florian Weimer  <fweimer@redhat.com>
33995         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33996         comment.
33998 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34000         [BZ #18479]
34001         * nptl/pt-interp.c: New file.
34002         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34003         Add pt-interp.
34004         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34005         $(common-objpfx)runtime-linker.h.
34007 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34009         * Makeconfig (+interp): Remove unused variable.
34010         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34011         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34012         $(elf-objpfx)runtime-linker.h.
34013         ($(elf-objpfx)runtime-linker.h): Rename to
34014         $(common-objpfx)runtime-linker.h and move ...
34015         * Makerules [$(build-shared) = yes]: ... here.
34016         * elf/interp.c: Include <runtime-linker.h> instead of
34017         <elf/runtime-linker.h>.
34019 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34021         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34022         (__gettimeofday_syscall): Remove vsyscall fallback.
34023         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34024         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34025         Add syscall fallback function.
34026         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34027         if vDSO is not present.
34028         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34029         fallback function.
34030         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34031         present.
34032         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34033         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34035 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34037         [BZ #18497]
34038         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34039         of wcscmp.
34040         (wcscmp): Define as weak alias of WCSCMP.
34041         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34042         wcscoll.
34043         (USE_HIDDEN_DEF): Define.
34044         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34045         __wcscoll.  Don't use libc_hidden_weak.
34046         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34047         wcscmp.
34048         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34049         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34050         __GI_wcscmp.
34051         (weak_alias): Undefine and redefine.
34052         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34053         __wcscmp and define as weak alias of __wcscmp.
34054         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34055         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34056         (__wcscoll): Likewise.
34057         (wcscmp): Don't use libc_hidden_proto.
34058         (wcscoll): Likewise.
34059         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34060         wcscoll.
34061         * posix/regexec.c (check_node_accept_bytes): Likewise.
34062         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34063         variable.
34064         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34065         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34067         [BZ #18507]
34068         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34069         __fstatvfs and define as weak alias of __fstatvfs.  Use
34070         libc_hidden_weak.
34071         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34072         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34073         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34074         Define as alias of __fstatvfs, not fstatvfs.
34075         (fstatvfs64): Likewise.
34076         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34077         Define as alias of __statvfs, not statvfs.
34078         (statvfs64): Likewise.
34079         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34080         Remove variable.
34082 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34085         (HAVE_GETCPU_VSYSCALL): Define.
34086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34087         (HAVE_GETCPU_VSYSCALL): Likewise.
34088         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34089         * sysdeps/unix/sysv/linux/sched_getcpu.c
34090         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34091         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34092         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34093         prototype.
34094         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34095         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34096         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34098         Define.
34099         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34100         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34101         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34102         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34104 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34106         * sysdeps/x86_64/fpu/Makefile: New file.
34107         * sysdeps/x86_64/fpu/Versions: New file.
34108         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34109         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34110         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34111         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34112         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34113         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34114         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34116         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34118         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34119         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34120         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34121         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34122         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34123         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34124         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34125         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34126         * sysdeps/x86_64/configure: Regenerated.
34127         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34128         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34129         * manual/install.texi (Configuring and compiling): Document
34130         --disable-mathvec.
34131         * INSTALL: Regenerated.
34132         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34134         * math/Makefile: Added rules for vector tests.
34135         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34136         declaration under condition.
34137         * math/test-double-vlen2.h: New file.
34138         * math/test-double-vlen4.h: New file.
34139         * math/test-double-vlen8.h: New file.
34140         * math/test-vec-loop.h: Added initialization macro.
34141         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34143         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34144         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34145         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34147         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34148         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34149         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34150         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34151         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34154         * sysdeps/x86_64/fpu/Versions: New versions added.
34155         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34157         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34158         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34159         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34160         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34161         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34162         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34163         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34164         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34165         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34166         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34167         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34168         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34169         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34170         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34171         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34172         * NEWS: Mention addition of x86_64 vector cosf.
34174         * math/Makefile: Added CFLAGS for new tests.
34175         * math/test-float-vlen16.h: New file.
34176         * math/test-float-vlen4.h: New file.
34177         * math/test-float-vlen8.h: New file.
34178         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34179         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34180         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34181         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34182         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34183         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34184         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34186         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34187         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34188         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34190 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34192         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34193         * locale/programs/ld-ctype.c: Likewise.
34195 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34197         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34198         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34199         bit_ZMM16_31_state): New macro.
34200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34201         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34203 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34205         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34207 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34209         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34211 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34213         [BZ #18498]
34214         * libio/memstream.c (open_memstream): Rename to __open_memstream
34215         and define as weak alias of __open_memstream.
34216         * include/stdio.h (__open_memstream): Declare.  Use
34217         libc_hidden_proto.
34218         (open_memstream): Don't use libc_hidden_proto.
34219         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34220         open_memstream.
34221         * posix/getopt.c (_getopt_internal_r): Likewise.
34222         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34223         variable.
34224         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34225         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34226         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34228         [BZ #18496]
34229         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34230         instead of wcrtomb.
34232         [BZ #18483]
34233         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34234         [__USE_XOPEN2K8].  Remove redundant #endif.
34235         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34236         Remove redundant #if.
34237         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34238         Remove variable.
34239         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34240         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34242         [BZ #18495]
34243         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34244         (__iswlower): Likewise.
34245         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34246         (__iswlower): Likewise.
34247         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34248         instead of towlower.
34249         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34250         instead of iswlower.  Call __towupper instead of towupper.
34251         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34252         instead of iswalnum.
34254 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34256         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34257         errors to stderr.
34259 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34261         [BZ #15661]
34262         [BZ #17322]
34263         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34264         Check for overflow properly.  Check for O_APPEND.  Ignore large
34265         file system block sizes.  Add comments about problems.
34266         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34267         * manual/filesys.texi (Storage Allocation): New node.
34269 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34271         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34272         cancellable syscalls.
34273         (SYS_ify): Add guard to no redefine it.
34274         (INLINE_SYSCALL): Likewise.
34275         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34276         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34277         SYSCALL_CANCEL instead.
34278         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34279         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34280         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34281         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34282         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34283         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34284         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34285         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34286         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34287         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34288         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34289         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34290         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34291         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34292         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34294         Likewise.
34295         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34296         (__libc_pread64): Likewise.
34297         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34298         (__libc_preadv): Likewise.
34299         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34300         (__libc_readv64): Likewise.
34301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34302         (__libc_pwrite): Likewise.
34303         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34304         (__libc_pwrite64): Likewise.
34305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34306         (__libc_pwritev): Likewise.
34307         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34308         (__libc_pwritev64): Likewise.
34309         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34310         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34311         (sync_file_range): Likewise.
34312         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34313         Likewise.
34314         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34315         Likewise.
34316         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34317         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34318         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34319         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34320         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34321         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34322         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34323         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34325         Likewise.
34326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34327         (__libc_read64): Likewise.
34328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
34329         Likewise.
34330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
34331         Likewise.
34332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
34333         Likewise.
34334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
34335         Likewise.
34336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34337         (__libc_pread64): Likewise.
34338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
34339         Likewise.
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34341         (__libc_pwrite64): Likewise.
34342         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
34343         (sync_file_range): Likewise.
34344         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
34345         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34346         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34347         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
34348         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
34349         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34350         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34351         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
34352         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
34353         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34354         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34355         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34356         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34357         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34358         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
34359         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34360         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34361         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34362         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34363         Likewise.
34364         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
34365         Likewise.
34366         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
34367         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
34368         Likewise.
34369         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
34370         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
34371         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
34372         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
34373         Likewise.
34374         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
34375         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
34376         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
34377         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
34378         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
34380 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
34382         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
34383         Include dl-vdso.
34384         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
34385         Use VDSO routines for gettimeofday, clock_gettime if
34386         available.
34387         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
34388         Declare VDSO symbols.
34389         * sysdeps/unix/sysv/linux/arm/sysdep.h:
34390         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
34391         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34392         * sysdeps/unix/sysv/linux/arm/Versions: Add
34393         __vdso_clock_gettime.
34395 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34397         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
34398         be an inline implementation regardless of library is built within.
34399         (open_not_cancel_2): Likewise.
34400         (__read_nocancel): Likewise.
34401         (__write_nocancel): Likewise.
34402         (openat_not_cancel): Likewise.
34403         (openat_not_cancel_3): Likewise.
34404         (openat64_not_cancel): Likewise.
34405         (openat64_not_cancel_3): Likewise.
34406         (__close_nocancel): Likewise.
34407         (pause_not_cancel): Likewise.
34408         (nanosleep_not_cancel): Likewise.
34409         (sigsuspend_not_cancel): Likewise.
34411 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34413         [BZ #14958]
34414         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
34415         wake-up.
34416         (__pthread_rwlock_rdlock_slow): Likewise.
34417         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34418         Likewise.
34419         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34420         Likewise.
34421         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
34422         * nptl/tst-rwlock16.c: New file.
34423         * nptl/Makefile (tests): Add new test.
34425 2015-06-04  Torvald Riegel  <triegel@redhat.com>
34427         [BZ #18324]
34428         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
34429         missing wake-up of readers.
34430         * nptl/tst-rwlock15.c: New file.
34431         * nptl/Makefile (tests): Add new test.
34433 2015-06-03  Roland McGrath  <roland@hack.frob.com>
34435         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
34436         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
34437         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
34438         and __nacl_supply_interface_rtld.
34439         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
34440         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
34441         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
34442         Add __nacl_supply_interface_rtld.
34443         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
34445 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34447         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
34448         isfinite.
34449         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34450         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
34452 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
34454         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
34455         __signbit* with standard C99 macros.
34456         * math/e_exp10l.c: Likewise.
34457         * math/e_exp2l.c: Likewise.
34458         * math/e_scalb.c: Likewise.
34459         * math/e_scalbf.c: Likewise.
34460         * math/e_scalbl.c: Likewise.
34461         * math/s_ldexp.c: Likewise.
34462         * math/s_ldexpf.c: Likewise.
34463         * math/s_ldexpl.c: Likewise.
34464         * math/w_atan2.c: Likewise.
34465         * math/w_atan2f.c: Likewise.
34466         * math/w_atan2l.c: Likewise.
34467         * math/w_cosh.c: Likewise.
34468         * math/w_coshf.c: Likewise.
34469         * math/w_coshl.c: Likewise.
34470         * math/w_exp10.c: Likewise.
34471         * math/w_exp10f.c: Likewise.
34472         * math/w_exp10l.c: Likewise.
34473         * math/w_exp2.c: Likewise.
34474         * math/w_exp2f.c: Likewise.
34475         * math/w_exp2l.c: Likewise.
34476         * math/w_fmod.c: Likewise.
34477         * math/w_fmodf.c: Likewise.
34478         * math/w_fmodl.c: Likewise.
34479         * math/w_hypot.c: Likewise.
34480         * math/w_hypotf.c: Likewise.
34481         * math/w_hypotl.c: Likewise.
34482         * math/w_jnl.c: Likewise.
34483         * math/w_lgamma.c: Likewise.
34484         * math/w_lgamma_r.c: Likewise.
34485         * math/w_lgammaf.c: Likewise.
34486         * math/w_lgammaf_r.c: Likewise.
34487         * math/w_lgammal.c: Likewise.
34488         * math/w_lgammal_r.c: Likewise.
34489         * math/w_pow.c: Likewise.
34490         * math/w_powf.c: Likewise.
34491         * math/w_powl.c: Likewise.
34492         * math/w_remainder.c: Likewise.
34493         * math/w_remainderf.c: Likewise.
34494         * math/w_remainderl.c: Likewise.
34495         * math/w_scalb.c: Likewise.
34496         * math/w_scalbf.c: Likewise.
34497         * math/w_scalbl.c: Likewise.
34498         * math/w_scalbln.c: Likewise.
34499         * math/w_scalblnf.c: Likewise.
34500         * math/w_scalblnl.c: Likewise.
34501         * math/w_sinh.c: Likewise.
34502         * math/w_sinhf.c: Likewise.
34503         * math/w_sinhl.c: Likewise.
34504         * math/w_tgamma.c: Likewise.
34505         * math/w_tgammaf.c: Likewise.
34506         * math/w_tgammal.c: Likewise.
34507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34508         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
34509         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34510         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34511         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34512         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34513         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34514         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34515         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34516         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34517         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34518         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34519         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34521         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34522         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34535         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
34538         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
34539         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
34540         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
34541         * stdio-common/printf_fp.c: Likewise.
34542         * stdio-common/printf_fphex.c: Likewise.
34543         * stdio-common/printf_size.c: Likewise.
34545 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
34547         [BZ #18470]
34548         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
34549         strnlen.
34550         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
34551         Remove variable.
34552         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34553         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34554         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34555         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34556         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34557         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34558         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34559         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34560         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34561         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34563         [BZ #18468]
34564         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
34565         weak alias of __wmemchr.  Use libc_hidden_weak.
34566         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
34567         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
34568         instead of wmemchr.
34570 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34572         [BZ #18383]
34573         * elf/tst-tlsalign-extern.c: New file.
34574         * elf/tst-tlsalign-extern-static.c: New file.
34575         * elf/tst-tlsalign-vars.c: New file.
34576         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
34577         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
34578         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
34579         ($(objpfx)tst-tlsalign-extern-static): Likewise.
34580         (test-xfail-tst-tlsalign-extern-static): New variable.
34582 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
34584         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
34585         Use variable name _sc_err instead of err.
34586         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
34587         instead of ret.
34588         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
34589         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
34590         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
34591         (INLINE_SYSCALL): Likewise.
34593         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
34594         * include/string.h (__strnlen): Use libc_hidden_proto.
34595         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
34596         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
34597         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
34598         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
34599         (libc_hidden_def): Undefine and redefine.
34600         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
34601         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
34602         __GI_strnlen.
34603         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
34604         libc_hidden_def.
34605         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
34607         [BZ #18469]
34608         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
34609         weak alias of __towlower.  Use libc_hidden_weak.
34610         (towupper): Rename to __towupper and define as weak alias of
34611         __towupper.  Use libc_hidden_weak.
34612         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
34613         (__towupper): Likewise.
34614         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
34615         __towlower instead of towlower.
34617 2015-06-02  Roland McGrath  <roland@hack.frob.com>
34619         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
34620         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
34622 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34624         * sysdeps/aarch64/libm-test-ulps: Update.
34626 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34628         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
34629         Define.
34630         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
34632         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34633         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34634         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
34635         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
34636         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
34638 2015-06-01  Martin Sebor  <msebor@redhat.com>
34640         [BZ #18116]
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34642         (__setcontext): Use extended four-operand version of mtsf whenever
34643         possible.
34644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34645         (__novec_swapcontext): Likewise.
34647 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34649         * benchtests/scripts/compare_bench.py: New file.
34650         * benchtests/scripts/import_bench.py (mean): New function.
34651         (split_list): Likewise.
34652         (do_for_all_timings): Likewise.
34653         (compress_timings): Likewise.
34655         * benchtests/scripts/import_bench.py: New file.
34656         * benchtests/scripts/validate_benchout.py: Import import_bench
34657         instead of jsonschema.
34658         (validate_bench): Remove function.
34659         (main): Use import_bench.
34661 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
34663         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
34664         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
34666 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34670 2015-05-28  Roland McGrath  <roland@hack.frob.com>
34672         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
34673         set THREAD_SELF->tid to a magic value and futex-wake it.
34674         Pass its address to the thread_exit system call.
34675         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
34676         bit is clear.
34677         * sysdeps/nacl/lowlevellock.h: New file.
34678         * sysdeps/nacl/lll_timedwait_tid.c: New file.
34680         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
34681         Add TIMEOUT to current time, don't subtract it.
34683 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
34685         [BZ #2981]
34686         [BZ #18422]
34687         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
34688         ($(objpfx)tst-audit2.out): Also depend on
34689         $(objpfx)tst-auditmod9b.so.
34690         * elf/tst-audit2.c: Include <dlfcn.h>.
34691         (calloc_called): New.
34692         (calloc): Allow to be called more than once.
34693         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
34695 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
34697         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
34698         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
34700 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
34702         * stdlib/monetary.h: Fix comment.
34704 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
34706         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
34707         Avoid using variables in #defines that might cause shadowing.
34708         (INTERNAL_VSYSCALL_CALL): Likewise.
34710 2015-05-26  Roland McGrath  <roland@hack.frob.com>
34712         * sysdeps/nacl/lll_timedlock_wait.c: New file.
34714         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
34715         * nptl/lll_timedlock_wait.c: ... to this new file.
34716         * nptl/Makefile (libpthread-routines): Add it.
34717         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
34718         * nptl/lll_timedwait_tid.c: ... to this new file.
34719         * nptl/Makefile (libpthread-routines): Add it.
34720         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
34721         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
34722         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
34723         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
34724         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
34725         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
34726         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
34727         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
34728         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
34729         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
34731 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34733         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
34734         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34735         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
34737         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
34738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34739         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34740         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34741         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34742         * sysdeps/unix/sysv/linux/tile/sysdep.h
34743         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
34744         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
34745         using vDSO syscall macro.
34747 2015-05-26  Andriy Rysin  <arysin@gmail.com>
34749         [BZ #17293]
34750         * uk_UA: Fix sorting order for Ukrainian locale
34752 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
34754         * stdlib/monetary.h: Fix comment.
34756 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34758         [BZ #18234]
34759         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
34760         st_mtim and st_ctim members.
34761         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
34762         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
34763         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
34764         (struct stat64): Likewise.
34765         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
34766         (struct stat64): Likewise.
34767         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
34768         (struct stat64): Likewise.
34770 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34772         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
34773         Define and include sysdep-vdso.h.
34774         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
34775         Likewise.
34776         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
34777         Likewise.
34778         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
34779         Define with VDSO_SYMBOL and use PTR_MANGLE.
34780         (__vdso_clock_gettime): Likewise.
34781         (__vdso_clock_getres): Likewise.
34782         (_libc_vdso_platform_setup): Likewise.
34783         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34784         Likewise.
34785         (_libc_vdso_platform_setup): Likewise.
34786         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
34787         Likewise.
34788         (__vdso_clock_gettime): Likewise.
34789         (__vdso_clock_getres): Likewise.
34790         (__vdso_get_tbfreq): Likewise.
34791         (__vdso_getcpu): Likewise.
34792         (__vdso_time): Likewise.
34793         (__vdso_sigtramp_rt64): Likewise.
34794         (__vdso_signtramp32): Likewise.
34795         (__vdso_sigtramp_rt32): Likewise.
34796         (_libc_vdso_platform_setup): Likewise.
34797         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34798         Likewise.
34799         (__vdso_clock_gettime): Likewise.
34800         (__vdso_clock_getres): Likewise.
34801         (_libc_vdso_platform_setup): Likewise.
34802         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34803         Likewise.
34804         (__vdso_clock_gettime): Likewise.
34805         (_libc_vdso_platform_setup): Likewise.
34806         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34807         Likewise.
34808         (__vdso_getcpu): Likewise.
34809         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34810         Use VDSO_SYMBOL macro to define.
34811         (__vdso_clock_gettime): Likewise.
34812         (__vdso_clock_getres): Likewise.
34813         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34814         Likewise.
34815         (__vdso_clock_gettime): Likewise.
34816         (__vdso_clock_getres): Likewise.
34817         (__vdso_get_tbfreq): Likewise.
34818         (__vdso_getcpu): Likewise.
34819         (__vdso_time): Likewise.
34820         (__vdso_sigtramp_rt64): Likewise.
34821         (__vdso_signtramp32): Likewise.
34822         (__vdso_sigtramp_rt32): Likewise.
34823         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34824         Likewise.
34825         (__vdso_clock_gettime): Likewise.
34826         (__vdso_clock_getres): Likewise.
34827         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34828         Likewise.
34829         (__vdso_clock_gettime): Likewise.
34830         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34831         Likewise.
34832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34833         macro.
34834         (INTERNAL_VSYSCALL): Likewise.
34835         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34836         Remove macro.
34837         (INTERNAL_VSYSCALL): Likewise.
34838         (INTERNAL_VSYSCALL_NCS): Likewise.
34839         (INTERNAL_VSYSCALL_CALL): New macro.
34840         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34842         Likewise.
34843         (INTERNAL_VSYSCALL): Likewise.
34844         (INTERNAL_VSYSCALL_NCS): Likewise.
34845         (INTERNAL_VSYSCALL_CALL): New macro.
34846         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34848         (INLINE_VSYSCALL): Remove macro.
34849         (INTERNAL_VSYSCALL): Remove macro.
34850         (INTERNAL_VSYSCALL_NCS): Remove macro.
34851         (INTERNAL_VSYSCALL_CALL): New macro.
34852         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34853         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34854         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34855         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34856         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34858         (INLINE_VSYSCALL): Remove macro.
34859         (INTERNAL_VSYSCALL): Likewise.
34860         (INTERNAL_VSYSCALL_NCS): Likewise.
34861         (INTERNAL_VSYSCALL_CALL): New macro.
34862         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34863         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34864         PTR_DEMANGLE on vDSO pointer.
34865         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34866         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34867         macro.
34868         (INTERNAL_SYSCALL): Likewise.
34869         (INTERNAL_VSYSCALL_NCS): Remove macro.
34870         (INTERNAL_VSYSCALL_CALL): New macro.
34871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34872         Remove macro.
34873         (INTERNAL_VSYSCALL): Likewise.
34874         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34875         sysdep-vdso.h instead of libc-vdso.h.
34876         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34877         definition.
34878         (INLINE_VSYSCALL): Likewise.
34879         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34880         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34881         definition.
34882         (INLINE_VSYSCALL): Likewise.
34883         (INTERNAL_VSYSCALL): Likewise.
34884         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34885         * sysdeps/unix/sysv/linux/timespec_get.c
34886         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34887         (timespec_get): Use ANSI prototype.
34888         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34889         and definition for Linux.
34891 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34893         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34894         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34896 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34898         [BZ #2981]
34899         [BZ #18410]
34900         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34901         for missing DT_PLTRELSZ.
34903 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34905         Remove obsolete aliases that broke 'locale -a'
34906         [BZ #18412]
34907         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34908         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34909         breaking some applications that use 'locale -a' output.
34910         Change the encoding of this file from Latin-1 to ASCII to avoid
34911         other potential problems with people grepping this file.
34913 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34915         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34916         -fasynchronous-unwind-tables.
34917         (CFLAGS-sendto.c): Likewise.
34918         (CFLAGS-sendmsg.c): Likewise.
34919         (CFLAGS-connect.c): Likewise.
34920         (CFLAGS-recvmsg.c): Likewise.
34921         (CFLAGS-recvfrom.c): Likewise.
34922         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34923         (SOCKETCALL): New macro: non-cancellable socketcall.
34924         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34925         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34926         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34927         * sysdeps/unix/sysv/linux/accept.c: New file.
34928         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34929         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34930         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34931         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34932         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34933         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34934         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34935         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34936         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34937         * sysdeps/unix/sysv/linux/send.c: Likewise.
34938         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34939         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34940         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34941         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34942         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34943         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34944         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34945         prototype.
34946         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34947         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34948         instead of __internal_xxx function.
34949         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34950         prototype.
34951         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34952         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34953         instead of __internal_xxx function.
34954         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34955         prototype.
34956         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34957         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34958         instead of __internal_xxx function.
34959         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34960         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34961         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34962         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34963         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34964         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34965         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34966         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34967         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34968         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34969         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34970         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34971         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34972         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34973         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34974         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34975         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34976         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34977         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34978         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34981         * sysdeps/unix/sysv/linux/recv.S: Likewise.
34982         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34983         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34984         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34985         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34986         * sysdeps/unix/sysv/linux/send.S: Likewise.
34987         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34988         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34989         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34990         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34991         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34992         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34993         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34994         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34995         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34996         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34997         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34998         socketcall is implemented in GLIBC.
35000 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35002         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35003         (__fma): Ignore uninitialized warnings around packing.
35004         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35005         (__fmaf): Ignore uninitialized warnings around packing.
35006         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35007         (__fmal): Ignore uninitialized warnings around packing.
35009         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35010         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35011         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35012         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35014         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35015         switch statement into default case.
35016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35018         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35019         a conditional in forcing "inexact".
35020         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35021         Likewise.
35023 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35025         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35026         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35027         for each INTERNAL_SYSCALL use.
35029 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35031         [BZ #438]
35032         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35033         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35034         variable.
35036         [BZ #18444]
35037         * string/basename.c (basename): Rename to __basename and define as
35038         weak alias of __basename.  Use libc_hidden_weak.
35039         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35040         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35041         __basename instead of basename.
35042         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35043         Remove variable.
35044         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35046 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35048         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35049         (_IO_JUMPS_FILE_plus): New.
35050         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35051         _IO_CAST_FIELD_ACCESS.
35052         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35053         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35054         * libio/freopen.c (freopen): Likewise.
35055         * libio/freopen64.c (freopen64): Likewise.
35056         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35057         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35058         * libio/iofwide.c (_IO_fwide): Likewise.
35059         * libio/memstream.c (open_memstream): Likewise.
35060         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35061         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35062         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35064 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35066         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35067         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35068         NADJ.
35069         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35070         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35071         NADJ.
35072         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35073         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35074         NADJ.
35076         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35077         (p == 4) case.
35079         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35080         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35081         Remove variable.
35082         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35083         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35084         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35086 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35088         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35089         Adjust jump table label generation macros.
35091 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35093         * stdio-common/vfprintf.c (vfprintf): Move local variables
35094         args_malloced, specs, specs_malloced, and the code after
35095         do_positional to the printf_positional function.
35096         (printf_positional): New function.
35098 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35100         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35101         function.
35102         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35103         STEP4_TABLE, process_arg): Move macro definitions
35104         out of the vfprintf function.  (Cosmetic change only.)
35106 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35108         * benchtests/Makefile (stdio-common-bench): Define.
35109         (benchset): Add stdio-common-bench.
35110         * sprintf-inputs: New file.
35111         * sprintf-source.c: New file.
35113 2015-05-21  Andreas Schwab  <schwab@suse.de>
35115         [BZ #13028]
35116         [BZ #17053]
35117         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35118         of struct __res_state.
35119         * resolv/res_send.c (__libc_res_nsend): Likewise.
35120         (get_nsaddr): New function.
35121         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35122         statp directly.
35124 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35126         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35127         -D_POSIX_C_SOURCE=199506L.
35129         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35131         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35132         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35133         Do not mention otherwise.
35134         [POSIX] (_XOPEN_VERSION): Do not expect.
35135         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35136         [POSIX] (_POSIX2_C_BIND): Likewise.
35137         [POSIX] (_POSIX2_VERSION): Likewise.
35138         [POSIX] (_XOPEN_XPG2): Likewise.
35139         [POSIX] (_XOPEN_XPG3): Likewise.
35140         [POSIX] (_XOPEN_XPG4): Likewise.
35141         [POSIX] (_XOPEN_UNIX): Likewise.
35142         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35143         [POSIX] (_POSIX_BARRIERS): Likewise.
35144         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35145         [POSIX] (_POSIX_CPUTIME): Likewise.
35146         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35147         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35148         [POSIX] (_POSIX_SHELL): Likewise.
35149         [POSIX] (_POSIX_SPAWN): Likewise.
35150         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35151         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35152         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35153         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35154         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35155         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35156         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35157         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35158         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35159         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35160         [POSIX] (_POSIX2_PBS): Likewise.
35161         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35162         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35163         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35164         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35165         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35166         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35167         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35168         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35169         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35170         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35171         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35172         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35173         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35174         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35175         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35176         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35177         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35178         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35179         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35180         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35181         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35182         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35183         [POSIX] (_SC_2_C_BIND): Likewise.
35184         [POSIX] (_SC_2_C_VERSION): Likewise.
35185         [POSIX] (_SC_2_PBS): Likewise.
35186         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35187         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35188         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35189         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35190         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35191         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35192         [POSIX] (_SC_BARRIERS): Likewise.
35193         [POSIX] (_SC_BASE): Likewise.
35194         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35195         [POSIX] (_SC_DEVICE_IO): Likewise.
35196         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35197         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35198         [POSIX] (_SC_FD_MGMT): Likewise.
35199         [POSIX] (_SC_FIFO): Likewise.
35200         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35201         [POSIX] (_SC_FILE_LOCKING): Likewise.
35202         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35203         [POSIX] (_SC_IOV_MAX): Likewise.
35204         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35205         [POSIX] (_SC_NETWORKING): Likewise.
35206         [POSIX] (_SC_PAGE_SIZE): Likewise.
35207         [POSIX] (_SC_PASS_MAX): Likewise.
35208         [POSIX] (_SC_PIPE): Likewise.
35209         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35210         [POSIX] (_SC_REGEXP): Likewise.
35211         [POSIX] (_SC_SHELL): Likewise.
35212         [POSIX] (_SC_SIGNALS): Likewise.
35213         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35214         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35215         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35216         [POSIX] (_SC_USER_GROUPS): Likewise.
35217         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35218         [POSIX] (_SC_STREAMS): Likewise.
35219         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35220         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35221         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35222         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35223         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35224         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35225         [POSIX] (_PC_FILESIZEBITS): Likewise.
35226         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35227         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35228         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35229         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35230         [POSIX] (uid_t): Likewise.
35231         [POSIX] (gid_t): Likewise.
35232         [POSIX] (off_t): Likewise.
35233         [POSIX] (pid_t): Likewise.
35234         [POSIX] (cuserid): Allow.
35235         (_SC_2_CHAR_TERM): Require constant.
35236         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35237         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35238         variable.
35240 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35242         * sysdeps/nacl/pthread-pids.h: New file.
35243         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35244         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35246         * nptl/pthread-pids.h: New file.
35247         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35248         * nptl/nptl-init.c: Include <pthread-pids.h>.
35249         (__pthread_initialize_minimal_internal):
35250         Call __pthread_initialize_pids instead of set_tid_address syscall.
35252         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35253         * sysdeps/posix/usleep.c: ... here.
35255 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35257         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35258         call_pselect6 object.
35259         [$(subdir) = io]: Remove call_sync_file_range object.
35260         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35261         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35262         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35263         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35265 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35267         * math/s_cproj.c: Add include "math_private.h".
35268         * math/s_cprojf.c: Likewise.
35269         * math/s_cprojl.c: Likewise.
35271 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35273         [BZ #18244]
35274         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35275         high mantissa bit when testing whether P is a NaN.
35276         * math/libm-test.inc (remainder_test_data): Add more tests.
35277         (remquo_test_data): Likewise.
35279         [BZ #18049]
35280         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35281         below -32, return the argument, with underflow if subnormal.
35282         * math/auto-libm-test-in: Add more tests of atanh.
35283         * math/auto-libm-test-out: Regenerated.
35285 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35287         [BZ #18434]
35288         * nptl/tst-sem15.c: New file.
35289         * nptl/Makefile (tests): Add it.
35290         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35291         s/<</>>/ to fix typo in EOVERFLOW check.
35292         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35294 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35296         * manual/strings.texi (envz_remove): Fix typo in safety
35297         annotations.
35299 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35300             Steve Ellcey  <sellcey@imgtec.com>
35302         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35303         in order to avoid strict alias warnings.
35304         (iruserok_af): Ditto for ra.
35306 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35308         [BZ #17581]
35309         * malloc/hooks.c
35310         (magicbyte): Convert to a function and avoid returning 0x01.
35311         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35312         (mem2chunk_check): Fix unsigned comparisons to zero.
35313         Hoist defs of sz and magic.
35315 2015-05-19  Richard Henderson  <rth@redhat.com>
35317         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35319         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35321 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35323         [BZ #16159]
35324         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35325         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35326         (reused_arena): Find a non-corrupt arena.
35327         (heap_trim): Pass arena to unlink.
35328         * malloc/hooks.c (malloc_check_get_size): Pass arena to
35329         malloc_printerr.
35330         (top_check): Likewise.
35331         (free_check): Likewise.
35332         (realloc_check): Likewise.
35333         * malloc/malloc.c (malloc_printerr): Add arena argument.
35334         (unlink): Likewise.
35335         (munmap_chunk): Adjust.
35336         (ARENA_CORRUPTION_BIT): New macro.
35337         (arena_is_corrupt): Likewise.
35338         (set_arena_corrupt): Likewise.
35339         (sysmalloc): Use mmap if there are no usable arenas.
35340         (_int_malloc): Likewise.
35341         (__libc_malloc): Don't fail if arena_get returns NULL.
35342         (_mid_memalign): Likewise.
35343         (__libc_calloc): Likewise.
35344         (__libc_realloc): Adjust for additional argument to
35345         malloc_printerr.
35346         (_int_free): Likewise.
35347         (malloc_consolidate): Likewise.
35348         (_int_realloc): Likewise.
35349         (_int_memalign): Don't touch corrupt arenas.
35350         * malloc/tst-malloc-backtrace.c: New test case.
35352         * Makefile (summarize-tests): Fix return value on success.
35354         * manual/string.texi (Envz Functions): Add envz_remove.
35356 2015-05-18  Roland McGrath  <roland@hack.frob.com>
35358         * sysdeps/posix/opendir.c: Include <stdbool.h>.
35359         (invalid_name): New function, broken out of ...
35360         (__opendirat): ... here.  Call it.
35361         (need_isdir_precheck): New function, broken out of ...
35362         (__opendirat): ... here.  Call it.
35363         Use __fxstatat64, not __xstatat64.
35364         (opendir_oflags): New function, broken out of ...
35365         (__opendirat): ... here.  Call it.
35366         (opendir_tail): New function, broken out of ...
35367         (__opendirat): ... here.  Call it.
35368         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
35369         opendir_tail, rather than punting to __opendirat.
35370         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
35372 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35374         * .gitignore: Ignore generated *.pyc.
35376 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
35378         * include/stdio.h: Define __need_wint_t.
35379         * test-skeleton.c: Avoid `for' loop initial declaration.
35380         * nptl/tst-initializers1.c: Use test-skeleton.c.
35382 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35384         [BZ #18418]
35385         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
35387 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35389         [BZ #16352]
35390         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
35391         (__ieee754_atanh): Force underflow exception for results with
35392         small absolute value.
35393         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
35394         (__ieee754_atanhf): Force underflow exception for results with
35395         small absolute value.
35396         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
35397         (__ieee754_atanh): Force underflow exception for results with
35398         small absolute value.
35399         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
35400         (__ieee754_atanhf): Force underflow exception for results with
35401         small absolute value.
35402         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
35403         (__ieee754_atanhl): Force underflow exception for results with
35404         small absolute value.
35405         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
35406         (__ieee754_atanhl): Force underflow exception for results with
35407         small absolute value.
35408         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
35409         (__ieee754_atanhl): Force underflow exception for results with
35410         small absolute value.
35411         * math/auto-libm-test-in: Do not allow missing underflow
35412         exceptions from atanh.
35413         * math/auto-libm-test-out: Regenerated.
35415         [BZ #18221]
35416         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
35417         2**-28 as threshold for returning x or +/- 1/x.
35418         * math/auto-libm-test-in: Add more tests of tan.
35419         * math/auto-libm-test-out: Regenerated.
35421         [BZ #18220]
35422         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
35423         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
35424         * math/auto-libm-test-in: Add another test of lgamma.
35425         * math/auto-libm-test-out: Regenerated.
35427 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
35429         * stdio-common/printf_fp.c (___printf_fp): Use abs.
35430         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
35431         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
35432         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
35433         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
35434         (ADD2A): Use fabs.  (SUB2A): Use fabs.
35435         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
35436         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
35437         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
35438         (log1): Use fabs.  (my_log2): Use fabs.
35439         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
35440         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
35441         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
35442         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
35443         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
35444         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
35445         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
35446         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
35447         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
35448         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
35449         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
35451 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
35453         [BZ #18217]
35454         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
35455         as threshold for returning 1 - x.
35456         * math/auto-libm-test-in: Add more tests of erfc.
35457         * math/auto-libm-test-out: Regenerated.
35459 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
35461         [BZ #18196]
35462         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
35463         threshold for large arguments.
35464         * math/auto-libm-test-in: Add another test of atan.
35465         * math/auto-libm-test-out: Regenerated.
35467         [BZ #16339]
35468         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
35469         (__log1p): Force underflow exception for results with small
35470         absolute value.
35471         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
35472         (__log1pf): Force underflow exception for results with small
35473         absolute value.
35474         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
35475         (__log1p): Force underflow exception for results with small
35476         absolute value.
35477         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
35478         (__log1pf): Force underflow exception for results with small
35479         absolute value.
35480         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
35481         (__log1pl): Force underflow exception for results with small
35482         absolute value.
35483         * math/auto-libm-test-in: Do not allow missing underflow
35484         exceptions from log1p.
35485         * math/auto-libm-test-out: Regenerated.
35487 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
35488             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35490         [BZ #16704]
35491         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
35493 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
35495         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
35496         (libmvec): New variable.
35497         * configure.ac: Added option for mathvec build.
35498         * configure: Regenerated.
35499         * mathvec/Depend: New file.
35500         * mathvec/Makefile: New file.
35501         * shlib-versions: Added libmvec.
35502         * math/Makefile: Added rule for libm.so installation.
35504         * bits/math-vector.h: New file.
35505         * bits/libm-simd-decl-stubs.h: New header.
35506         * math/Makefile (headers): Added new header
35507         libm-simd-decl-stubs.h.
35508         * math/math.h (__MATHCALL_VEC): New macro.
35510         * math/gen-libm-have-vector-test.sh: Script generates series of macros
35511         for conditions in testing functions.
35512         * math/Makefile: Added call of libm-have-vector-test.sh.
35513         * math/libm-test.inc (HAVE_VECTOR): New macros.
35515         * math/libm-test.inc: START refactored.
35516         * math/test-double.c (TEST_MATHVEC): Add define.
35517         * math/test-float.c: Likewise.
35518         * math/test-idouble.c: Likewise.
35519         * math/test-ifloat.c: Likewise.
35520         * math/test-ildoubl.c: Likewise.
35521         * math/test-ldouble.c: Likewise.
35522         * sysdeps/generic/math-tests-arch.h
35523         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
35524         architecture check.
35526         * math/test-double.c (FUNC_TEST): New macro.
35527         * math/test-float.c: Likewise.
35528         * math/test-idouble.c: Likewise.
35529         * math/test-ifloat.c: Likewise.
35530         * math/test-ildoubl.c: Likewise.
35531         * math/test-ldouble.c: Likewise.
35532         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
35534 2015-05-13  Roland McGrath  <roland@hack.frob.com>
35536         * sysdeps/nacl/fdopendir.c: New file.
35538         * dirent/scandir-tail.c: New file.
35539         * dirent/scandir64-tail.c: New file.
35540         * dirent/Makefile (routines): Add them.
35541         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
35542         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
35543         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
35544         [!SCANDIR] (SCANDIR_TAIL): New macro.
35545         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
35546         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
35547         (SCANDIRAT): Macro removed.
35548         (SCANDIR_TAIL): New macro.
35549         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
35550         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
35551         (SCANDIRAT): Just call __opendirat and __scandir_tail.
35552         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
35553         (READDIR): Macro removed.
35554         (SCANDIR_TAIL): New macro.
35555         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
35556         (SCANDIR_TAIL): New macro.
35558         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
35559         * dirent/scandir-cancel.c: ... to this new file.
35560         * dirent/Makefile (routines): Add it.
35561         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
35562         * sysdeps/unix/sysv/linux/i386/scandir64.c
35563         (SKIP_SCANDIR_CANCEL): Macro removed.
35564         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
35566         * dirent/tst-scandir.c: New file.
35567         * dirent/tst-scandir64.c: New file.
35568         * dirent/Makefile (tests): Add them.
35570 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
35572         [BZ #18409]
35573         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
35575 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35577         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
35578         list.
35580 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
35582         * benchtests/bench-strcoll.c: New benchmark.
35583         * benchtests/Makefile: Generate locales and run benchmark.
35584         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
35585         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
35586         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
35587         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
35588         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
35589         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
35590         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
35591         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
35592         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
35593         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
35594         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
35595         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
35596         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
35597         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
35598         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
35599         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
35600         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
35601         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
35602         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
35603         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
35604         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
35605         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
35606         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
35607         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
35609 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
35611         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
35612         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35614 2015-05-12  Roland McGrath  <roland@hack.frob.com>
35616         * posix/uname-values.h: New file.
35617         * posix/uname.c: Include that instead of <config-name.h>.
35618         * sysdeps/nacl/uname-values.h: New file.
35619         * sysdeps/arm/nacl/uname-values.h: New file.
35621 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
35623         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
35624         splitting into fields.
35626 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
35628         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
35629         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
35630         * locale/localeinfo.h: Add enum collation_encoding_type.
35631         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
35632         * programs/ld-collate.c (collate_output): Add encoding type info.
35633         * string/strcoll_l.c (STRDIFF): New function.
35634         * (STRCOLL): Use STRDIFF to skip over equal prefix.
35635         * wcsmbs/wcscoll_l.c: Define STRDIFF.
35637 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
35639         [BZ #18397]
35640         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
35641         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
35642         <fpu_control.h> instead of <math/fpu_control.c>.
35643         * sysdeps/mips/mips32/fpu/Makefile: New file.
35645 2015-05-11  Andreas Schwab  <schwab@suse.de>
35647         [BZ #18007]
35648         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
35649         nss_endgrent.
35650         (_nss_compat_endgrent): Call nss_endgrent.
35651         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
35652         nss_endpwent.
35653         (_nss_compat_endpwent): Call nss_endpwent.
35654         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
35655         needent, call nss_setspent only if non-zero.
35656         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
35657         (internal_endspent): Don't call nss_endspent.
35658         (_nss_compat_endspent): Call nss_endspent.
35659         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
35660         Remove.  All uses removed.
35661         (internal_setent): Remove parameter stayopen, add parameter
35662         stream.  Use it instead of global variable.
35663         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
35664         (internal_endent, internal_getent): Add parameter stream.  Use it
35665         instead of global variable.
35666         (CONCAT(_nss_files_end,ENTNAME))
35667         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
35668         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
35669         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
35670         uses removed.
35671         (internal_setent, internal_endent): Add parameter stream.  Use it
35672         instead of global variable.
35673         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
35674         stream.
35675         (get_next_alias): Add parameter stream.
35676         (_nss_files_getaliasent_r): Pass global stream.
35677         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
35678         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
35679         (_nss_files_gethostbyname4_r): Pass local stream to
35680         internal_setent, internal_getent and internal_endent.  Remove
35681         locking.
35683 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35685         * tst-strfmon1.c (tests): Update expected currency symbol.
35687 2015-05-08  Roland McGrath  <roland@hack.frob.com>
35689         * sysdeps/nacl/gethostname.c: New file.
35691 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
35693         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
35694         and sinh.
35695         * math/auto-libm-test-out: Regenerated.
35696         * sysdeps/i386/fpu/libm-test-ulps: Update.
35697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35699 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
35701         [BZ #18125]
35702         * stdlib/tst-setcontext3.c: New file.
35703         * stdlib/tst-setcontext3.sh: New file.
35704         * stdlib/Makefile (tests): Add tst-setcontext3.
35705         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
35706         to verify test program created output file.
35707         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
35708         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
35709         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
35710         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
35712 2015-05-06  Roland McGrath  <roland@hack.frob.com>
35714         [BZ #18383]
35715         * elf/tst-tlsalign.c: New file.
35716         * elf/tst-tlsalign-static.c: New file.
35717         * elf/tst-tlsalign-lib.c: New file.
35718         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
35719         (tests-static): Add tst-tlsalign-static.
35720         (modules-names): Add tst-tlsalign-lib.
35721         (test-xfail-tst-tlsalign): New variable.
35722         (test-xfail-tst-tlsalign-static): New variable.
35724         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35725         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
35727 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
35729         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
35730         csqrt, erfc, sin and sincos.
35731         * math/auto-libm-test-out: Regenerated.
35732         * sysdeps/i386/fpu/libm-test-ulps: Update.
35733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35735 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35737         * sysdeps/aarch64/libm-test-ulps: Update.
35739 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
35741         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
35742         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
35743         * math/auto-libm-test-out: Regenerated.
35744         * sysdeps/i386/fpu/libm-test-ulps: Update.
35745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35747 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
35749         [BZ #18265]
35750         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
35751         (wcsncpy): Likewise.
35753 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35755         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35756         Assume __ASSUME_FALLOCATE is always true.
35757         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35758         (__posix_fallocate64_l64): Likewise.
35759         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
35760         (posix_fallocate): Likewise.
35761         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
35762         (__posix_fallocate64_l64): Likewise.
35763         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35764         [!__ASSUME_FALLOCATE]: Add comment.
35766 2015-05-05  Florian Weimer  <fweimer@redhat.com>
35768         * sysdeps/unix/sysv/linux/i386/Makefile
35769         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
35770         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
35771         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
35772         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35773         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35774         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
35775         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
35777 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
35779         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
35780         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35781         tgamma.
35782         * math/auto-libm-test-out: Regenerated.
35783         * sysdeps/i386/fpu/libm-test-ulps: Update.
35784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35786 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35788         * math/auto-libm-test-in: Add more tests of tgamma.
35789         * math/auto-libm-test-out: Regenerated.
35790         * sysdeps/i386/fpu/libm-test-ulps: Update.
35791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35793         * math/auto-libm-test-in: Add more tests of tanh.
35794         * math/auto-libm-test-out: Regenerated.
35795         * sysdeps/i386/fpu/libm-test-ulps: Update.
35796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35798         * math/auto-libm-test-in: Add more tests of tan.
35799         * math/auto-libm-test-out: Regenerated.
35800         * sysdeps/i386/fpu/libm-test-ulps: Update.
35801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35803         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35804         * math/auto-libm-test-out: Regenerated.
35805         * sysdeps/i386/fpu/libm-test-ulps: Update.
35806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35808         * math/auto-libm-test-in: Add another test of pow.
35809         * math/auto-libm-test-out: Regenerated.
35810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35812         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
35818         log1p.
35819         * math/auto-libm-test-out: Regenerated.
35820         * sysdeps/i386/fpu/libm-test-ulps: Update.
35821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35823 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35825         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35826         Elf64_Chdr structs and ELFCOMPRESS constants.
35828 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35830         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35831         expm1.
35832         * math/auto-libm-test-out: Regenerated.
35833         * sysdeps/i386/fpu/libm-test-ulps: Update.
35834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35836         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35843         * config.h.in (HAVE_AARCH64_BE): Add.
35845 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35847         * math/auto-libm-test-in: Add more tests of csqrt.
35848         * math/auto-libm-test-out: Regenerated.
35849         * sysdeps/i386/fpu/libm-test-ulps: Update.
35850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35852         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35853         * math/auto-libm-test-out: Regenerated.
35854         * sysdeps/i386/fpu/libm-test-ulps: Update.
35855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35857         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35859 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35861         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35862         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35864         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35865         (euidaccess, eaccess): Define as weak aliases.
35867         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35868         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35869         but __suseconds_t is often 'long int' so some sources assume that
35870         type is being used (e.g. they use %ld to print tv_usec).
35872 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35874         [BZ #18007]
35875         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35876         (CVE-2014-8121)
35877         * nss/tst-nss-getpwent.c: New file.
35878         * nss/Makefile (tests): Add new test.
35880 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35882         [BZ #18346]
35883         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35884         exponents less than 48 as cases where high part of mantissa needs
35885         examining to determine whether argument is integral.
35886         * math/libm-test.inc (round_test_data): Add more tests.
35888 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35890         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35892 2015-04-27  David S. Miller  <davem@davemloft.net>
35894         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35895         __tls_get_addr.
35896         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35898 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35900         [BZ #18333]
35901         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35903 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35905         [BZ #18333]
35906         * time/tzset.c (parse_tzname): Return error on memory allocation
35907         failure.
35908         * test-skeleton.c (struct temp_name_list): Change type of name
35909         member to non-const.
35910         (add_temp_file): Create a copy of the file name.
35911         (delete_temp_files): Deallocate memory.
35912         (create_temp_file): Add comment.
35914 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35916         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35917         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35919 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35921         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35922         * sysdeps/arm/configure: Regenerated.
35924 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35926         [BZ #17715]
35927         * time/tzfile.c (__tzfile_read): Check for large values of
35928         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35929         * time/tzset.c (__tzstring_len): New function, based on the old
35930         __tzstring function.
35931         (__tzstring): Call __tzstring_len.
35932         (parse_tzname): New helper function extracted from
35933         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35934         the input string.
35935         (parse_offset): New helper function extracted from
35936         __tzset_parse_tz.  Replace switch with fallthrough with
35937         initialization before sscanf.
35938         (parse_rule): Likewise.
35939         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35940         new-style function definition.
35941         * timezone/Makefile (tests): Add tst-tzset.
35942         (tst-tzset.out): Dependencies on time zone files.
35943         (tst-tzset-ENV): Set TZDIR.
35944         (testdata/XT%): Copy crafted time zone files.
35945         * timezone/README: Mention crafted time zone files.
35946         * timezone/testdata/XT1, timezone/testdata/XT2,
35947         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35948         files.
35949         * timezone/tst-tzset.c: New test.
35951 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35953         * Makeconfig (+gccwarn): Remove -Winline.
35955 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35957         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35959 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35961         * NEWS: Mention sysconf() cache information support for s390.
35962         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35964 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35966         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35967         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35968         (__nearbyint): Likewise.
35969         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35970         (copysignl): Likewise.
35972 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35974         [BZ #18287]
35975         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35976         based on padding.  (CVE-2015-1781)
35978 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35980         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35981         libc-vdso.h.
35982         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35983         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35984         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35985         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35986         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35987         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35988         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35990         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35991         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35992         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35993         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35994         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35995         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35996         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35997         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35998         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35999         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36000         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36001         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36002         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36003         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36004         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36006 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36008         * stdlib/setenv.c (__add_to_environ):
36009         Dump core quickly if setenv (..., NULL, ...) is called.
36010         This time, do it the right way, and pacify GCC with a pragma.
36012 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36014         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36015         IMAP->l_prev cannot be null, and #if out the code for the contrary
36016         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36017         believe that NS (&_dl_ns[NSID]) could point outside the array.
36019         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36020         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36021         before using NSID as an index.
36023 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36025         [BZ #17825]
36026         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36027         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36028         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36030 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36032         Add preliminary port to Google Native Client on ARM.
36033         * abi-tags (.*-.*-nacl.*): New entry.
36034         * sysdeps/arm/nacl: New directory.
36035         * sysdeps/nacl: New directory.
36037 2015-04-16  David S. Miller  <davem@davemloft.net>
36039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36040         lowlevellock-futex.h
36042 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36044         * sysdeps/tile/configure.ac: New file.
36045         * sysdeps/tile/configure: Regenerated.
36047 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36049         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36050         conditionals for weak_alias and libc_hidden_weak.
36051         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36052         libc_hidden_weak and weak_alias.
36053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36054         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36055         and weak_alias for static one.
36057 2015-04-15  David S. Miller  <davem@davemloft.net>
36059         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36061 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36063         [BZ #18206]
36064         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36065           Use signed comparision instead of substraction to avoid
36066           overflow bug.
36067         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36068           Take the sign of ret.
36069         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36070           Do not expect precise return values. Only the sign matters.
36071         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36072         * wcsmbs/test-wcsncmp.c: New File.
36073         * string/test-strncmp.c: Add wcsncmp support.
36075 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36077         [BZ #6792]
36078         * math/w_log1p.c: New file.
36079         * math/w_log1pf.c: Likewise.
36080         * math/w_log1pl.c: Likewise.
36081         * math/Makefile (libm-calls): Add w_log1p.
36082         * math/s_log1pl.c (log1pl): Remove weak_alias.
36083         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36084         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36085         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36086         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36087         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36088         [NO_LONG_DOUBLE] (log1pl): Likewise.
36089         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36091         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36092         (log1p): Remove long_double_symbol.
36093         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36094         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36095         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36096         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36097         remove weak_alias for corresponding log1p function.
36098         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36099         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36100         * sysdeps/ia64/fpu/w_log1p.c: New file.
36101         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36102         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36103         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36105 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36107         [BZ #18247]
36108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36109         decimal exponent by 1.
36110         * stdlib/tst-strtod-round-data: Add more tests.
36111         * stdlib/tst-strtod-round.c (tests): Regenerated.
36113 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36115         * math/auto-libm-test-in: Add more tests of clog and clog10.
36116         * math/auto-libm-test-out: Regenerated.
36117         * sysdeps/i386/fpu/libm-test-ulps: Update.
36118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36120 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36122         * Makeconfig (module-cppflags): Exclude all .v.i files.
36123         (skip-module-cppflags): Variable removed.
36125         * configure.ac (libc_config_ok): Initialize before reading
36126         preconfigure scripts, not after.
36127         * configure: Regenerated.
36129         * test-skeleton.c (TIMEOUT): Move #define to top level.
36130         (main): Grok environment variable TEST_DIRECT.  If set, print
36131         test expectation details into that file and then behave as if
36132         given --direct.
36134 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36136         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36137         warning on 32-bit.
36139 2015-04-08  David S. Miller  <davem@davemloft.net>
36141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36143 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36145         * math/auto-libm-test-in: Add more tests of atanh.
36146         * math/auto-libm-test-out: Regenerated.
36147         * sysdeps/i386/fpu/libm-test-ulps: Update.
36148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36150         * math/auto-libm-test-in: Add more tests of atan.
36151         * math/auto-libm-test-out: Regenerated.
36152         * sysdeps/i386/fpu/libm-test-ulps: Update.
36153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36155 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36157         * elf/pldd.c (main): Rewrite to use struct
36158         scratch_buffer instead of extend_alloca.
36159         * elf/pldd-xx.c (find_maps): Likewise.
36160         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36161         <alloca.h>.
36162         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36163         scratch_buffer instead of extend_alloca.
36164         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36165         grp/compat-initgroups.c.
36166         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36167         Rewrite to use struct scratch_buffer instead of extend_alloca.
36168         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36169         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36171 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36173         * math/auto-libm-test-in: Add more tests of cbrt.
36174         * math/auto-libm-test-out: Regenerated.
36175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36177         * math/auto-libm-test-in: Add more tests of cabs.
36178         * math/auto-libm-test-out: Regenerated.
36179         * sysdeps/i386/fpu/libm-test-ulps: Update.
36180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36182         [BZ #18210]
36183         [BZ #18211]
36184         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36185         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36186         computations.
36187         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36188         clog10.
36189         * math/auto-libm-test-out: Regenerated.
36190         * sysdeps/i386/fpu/libm-test-ulps: Update.
36191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36193         [BZ #18197]
36194         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36195         (atan): Set FE_TONEAREST mode for internal computations.
36196         * math/auto-libm-test-in: Add more tests of atan.
36197         * math/auto-libm-test-out: Regenerated.
36199 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36201         [BZ #17930]
36202         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36204 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36206         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36208 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36210         * include/scratch_buffer.h: New file.
36211         * malloc/scratch_buffer_grow.c: Likewise.
36212         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36213         * malloc/scratch_buffer_set_array_size.c: Likewise.
36214         * malloc/tst-scratch_buffer.c: Likewise.
36215         * malloc/Makefile (routines): Add scratch_buffer_grow.
36216         (tests): Add test case.
36217         * malloc/Versions (GLIBC_PRIVATE): Export
36218         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36219         __libc_scratch_buffer_set_array_size.
36221 2015-04-06  Richard Henderson  <rth@redhat.com>
36223         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36224         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36226         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36227         unsigned int before printing.
36229 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36231         [BZ #17596]
36232         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36233         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36235 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36237         * include/libc-internal.h (libc_max_align_t): Define.
36239 2015-04-02  Andreas Schwab  <schwab@suse.de>
36241         [BZ #16850]
36242         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36244 2015-04-02  Mel Gorman  <mgorman@suse.de>
36246         [BZ #17195]
36247         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36248         as well as the main arena.
36250 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36252         [BZ #18185]
36253         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36254         sharing L2 cache to 2 for Silvermont/Knights Landing.
36256 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36258         [BZ #17711]
36259         * config.make.in (have-protected-data): New.
36260         * configure.ac: Check linker support for protected data symbol.
36261         * configure: Regenerated.
36262         * elf/Makefile (modules-names): Add tst-protected1moda and
36263         tst-protected1modb if $(have-protected-data) is yes.
36264         (tests): Add tst-protected1a and tst-protected1b if
36265         $(have-protected-data) is yes.
36266         ($(objpfx)tst-protected1a): New.
36267         ($(objpfx)tst-protected1b): Likewise.
36268         (tst-protected1modb.so-no-z-defs): Likewise.
36269         * elf/tst-protected1a.c: New file.
36270         * elf/tst-protected1b.c: Likewise.
36271         * elf/tst-protected1mod.h: Likewise.
36272         * elf/tst-protected1moda.c: Likewise.
36273         * elf/tst-protected1modb.c: Likewise.
36275 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36277         [BZ #17711]
36278         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36279         indicates it is called from do_lookup_x on relocation against
36280         protected data, skip the data definion in the executable from
36281         copy reloc.
36282         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36283         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36284         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36285         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36286         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36287         otherwise to 0.
36288         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36289         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36290         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36291         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36292         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36293         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36295 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36297         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36298         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36300 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36302         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36303         THREAD_SETMEM_NC.
36304         * sysdeps/x86_64/nptl/tls.h: Ditto.
36306 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36308         * dlfcn/tststatic.c (main): Converted to ...
36309         (do_test): ... this.
36310         (TEST_FUNCTION): New macro.
36311         Include test-skeleton.c.
36313 2015-03-26  Alan Modra  <amodra@gmail.com>
36315         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36316         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36317         zero for undefined weak.
36318         (elf_machine_plt_conflict): Similarly.
36320 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36322         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36323         atanh.
36324         * math/auto-libm-test-out: Regenerated.
36325         * sysdeps/i386/fpu/libm-test-ulps: Update.
36326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36328         * math/auto-libm-test-in: Add another test of asin.
36329         * math/auto-libm-test-out: Regenerated.
36330         * sysdeps/i386/fpu/libm-test-ulps: Update.
36331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36333         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
36334         Remove macro.
36335         (LLL_EBX_REG): Likewise.
36336         (LLL_ENTER_KERNEL): Likewise.
36338         * math/auto-libm-test-in: Add more tests of asin.
36339         * math/auto-libm-test-out: Regenerated.
36340         * sysdeps/i386/fpu/libm-test-ulps: Update.
36341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36343         [BZ #18138]
36344         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
36345         libc_do_syscall_args): New structure.
36346         (INTERNAL_SYSCALL_MAIN_0): New macro.
36347         (INTERNAL_SYSCALL_MAIN_1): Likewise.
36348         (INTERNAL_SYSCALL_MAIN_2): Likewise.
36349         (INTERNAL_SYSCALL_MAIN_3): Likewise.
36350         (INTERNAL_SYSCALL_MAIN_4): Likewise.
36351         (INTERNAL_SYSCALL_MAIN_5): Likewise.
36352         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
36353         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
36354         Replace conditional definitions by conditional definitions of ....
36355         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
36356         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
36357         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
36358         (libpthread-sysdep_routines): Add libc-do-syscall.
36359         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
36360         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
36361         to __NR_futex not 240.
36363 2015-03-25  Alan Modra  <amodra@gmail.com>
36365         * NEWS: Advertise TLS optimization.
36366         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
36367         (DT_PPC_NUM): Increment.
36368         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
36369         (CHECK_STATIC_TLS): Use here.
36370         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
36371         TLS descriptors.
36372         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36373         * sysdeps/powerpc/dl-tls.c: New file.
36374         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
36375         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
36376         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
36377         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
36378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
36382 2015-03-25  Alan Modra  <amodra@gmail.com>
36384         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
36385         for overlapping .opd entries" to "support...".
36386         * sysdeps/powerpc/powerpc64/configure: Regenerate
36388 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36390         * math/auto-libm-test-in: Add more tests of acos.
36391         * math/auto-libm-test-out: Regenerated.
36392         * sysdeps/i386/fpu/libm-test-ulps: Update.
36393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36395         * math/auto-libm-test-in: Add more tests of expm1.
36396         * math/auto-libm-test-out: Regenerated.
36397         * sysdeps/i386/fpu/libm-test-ulps: Update.
36398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36400 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
36402         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36403         * math/auto-libm-test-out: Regenerated.
36404         * sysdeps/i386/fpu/libm-test-ulps: Update.
36405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36407         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36410         * math/auto-libm-test-in: Add more tests of log2.
36411         * math/auto-libm-test-out: Regenerated.
36412         * sysdeps/i386/fpu/libm-test-ulps: Update.
36413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36415 2015-03-23  Roland McGrath  <roland@hack.frob.com>
36417         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
36418         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
36419         _IO_IS_APPENDING bit in READ_WRITE instead.
36421 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36423         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
36424         (__determine_cpumask_size): Replace extend_alloca with a
36425         variable-length array.  Do not treat res == 0 as an error.
36427 2015-03-23  Florian Weimer  <fweimer@redhat.com>
36429         [BZ #18100]
36430         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
36431         and integer overflow.
36432         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
36433         (main): Add integer overflow tests.
36434         * manual/pattern.texi (Calling Wordexp): Document additional use
36435         for WRDE_SYNTAX.
36437 2015-03-23  Alan Modra  <amodra@gmail.com>
36439         * config.h.in: Remove HAVE_ASM_PPC_REL16.
36440         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
36441         and false branch of conditional.
36442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
36443         Likewise.
36445 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
36447         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
36448         libc-modules.h
36449         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
36450         unused declaration of _hurd_intr_rpc_msg_in_trap.
36451         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
36452         defined instead of whether it is non-zero.
36453         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
36454         input constraint instead of both input and output constraint.  Use ecx
36455         clobber instead of %ecx.
36456         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
36457         mutex_unlock): Use a statement expression instead of an expression list.
36458         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
36459         type to vm_size_t instead of vm_address_t.
36460         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
36461         defined instead of whether it is non-zero.
36462         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
36463         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
36464         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
36465         comparisons with mapaddr.
36466         * nscd/nscd-client.h: Include <time.h>.
36467         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
36468         9th parameter to __vm_region instead of int.
36469         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
36470         * scripts/check-local-headers.sh (exclude): Add device/,
36471         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
36472         cthreads.h.
36474 2015-03-19  Roland McGrath  <roland@hack.frob.com>
36476         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
36477         to account for alignment padding.
36478         * sysdeps/arm/memmove.S: Likewise.
36480 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
36482         * sysdeps/unix/sysv/linux/generic/README: New file.
36484 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
36486         [BZ #18138]
36487         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
36488         (futex_abstimed_wait)
36489         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
36490         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
36491         of lll_futex_timed_wait.
36493 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
36495         [BZ #17542]
36496         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
36498 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
36500         [BZ #17090]
36501         [BZ #17620]
36502         [BZ #17621]
36503         [BZ #17628]
36504         * NEWS: Update.
36505         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
36506         entries with Static TLS too.  Skip entries past the end of the
36507         allocated DTV, from Alan Modra.
36508         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
36509         Static TLS DTV entry set up from...
36510         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
36511         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
36512         * nptl/allocatestack.c (init_one_static_tls): ... and here...
36513         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
36514         for Static TLS.
36515         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
36516         that the slot we find is associated with the given map before
36517         using its generation count.
36518         * nptl_db/db_info.c: Include ldsodefs.h.
36519         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
36520         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
36521         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
36522         (link_map::l_tls_offset): New struct field.
36523         (dtv_t::counter): Likewise.
36524         (rtld_global): New struct.
36525         (_rtld_global): New rtld variable.
36526         (dl_tls_dtv_slotinfo_list): New rtld global field.
36527         (dtv_slotinfo_list): New struct.
36528         (dtv_slotinfo): Likewise.
36529         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
36530         (td_lookup): Rename to...
36531         (td_mod_lookup): ... this.  Use new mod parameter instead of
36532         LIBPTHREAD_SO.
36533         * nptl_db/td_thr_tlsbase.c: Include link.h.
36534         (dtv_slotinfo_list, dtv_slotinfo): New functions.
36535         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
36536         addresses even if the DTV is out of date or missing them.
36537         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
36538         index zero-length arrays.
36539         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
36540         (td_lookup): Make it a macro implemented in terms of...
36541         (td_mod_lookup): ... this declaration.
36542         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
36543         (DB_MAIN_VARIABLE): Likewise.
36545 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36547         [BZ #18134]
36548         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
36550 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
36552         * stdlib/setenv.c (__add_to_environ): Revert previous change.
36554 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
36556         [BZ #18128]
36557         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
36558         (atomic_add, atomic_increment_and_test)
36559         (atomic_decrement_and_test): Fix 64-bit arithmetic.
36561 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
36563         * stdlib/setenv.c (__add_to_environ):
36564         Dump core quickly if setenv (..., NULL, ...) is called.
36566 2015-03-13  Roland McGrath  <roland@hack.frob.com>
36568         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
36569         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
36570         all the necessary asm magic in one place.
36571         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
36572         using those.
36574 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
36576         [BZ #14906]
36577         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
36578         traced file mtime. Use consistent log message.
36579         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
36580         (register_traced_file): Call install_watches. Always set mtime.
36581         (invalidate_cache): Iterate over all trace files. Call install_watches.
36582         (inotify_check_files): Don't inline. Handle watching parent
36583         directories and configuration file movement in and out.
36584         (handle_inotify_events): New function.
36585         (main_loop_poll): Call handle_inotify_events.
36586         (main_loop_epoll): Likewise.
36587         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
36588         (struct traced_file): Use array of inotify fds. Add parent directory,
36589         and basename.
36590         (struct database_dyn): Remove unused file_mtime.
36591         (init_traced_file): New inline function.
36592         (define_traced_file): New macro.
36593         * nss/nss_db/db-init.c: Use define_traced_file.
36594         (_nss_db_init): Use init_traced_file.
36595         * nss/nss_files/files-init.c: Use define_traced_file.
36596         (_nss_files_init): Use init_traced_file.
36598 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
36600         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
36601         [_LIBC]: Do not include <stdlib.h>.
36602         [!_LIBC] (abort): Remove declaration.
36603         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
36604         _FP_STATIC_ASSERT instead of conditionally calling abort.
36605         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
36606         (_FP_EXTEND_CNAN): Likewise.
36607         (FP_TRUNC): Likewise.
36608         (__FP_CLZ): Likewise.
36609         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
36611 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
36613         * manual/string.texi (XPG basename): Fix prototype.
36615 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36617         [BZ #18080]
36618         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
36619         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36620         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
36621         (__setcontext): Likewise.
36622         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
36623         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
36624         Call rt_sigprocmask syscall one time to set new signal mask
36625         and retrieve the current signal mask instead of two calls.
36626         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
36627         (__swapcontext): Likewise.
36628         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
36629         * stdlib/tst-setcontext2.c: New file.
36631 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36633         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36635 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
36637         [BZ #18093]
36638         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
36639         the wrong size.
36641 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36643         [BZ #18043]
36644         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
36646 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36648         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
36649         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
36650         Remove define.
36651         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
36652         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
36653         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
36654         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
36655         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
36656         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
36657         define.
36658         * nptl_db/td_symbol_list.c (td_lookup): Remove
36659         HAVE_ASM_GLOBAL_DOT_NAME code.
36660         * sysdeps/powerpc/powerpc64/configure.ac: Remove
36661         HAVE_ASM_GLOBAL_DOT_NAME check.
36662         * sysdeps/powerpc/powerpc64/configure: Regenerate.
36663         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
36664         (DOT_LABEL): Remove define.
36665         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
36666         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
36667         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
36668         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
36669         (__TLS_GET_ADDR): Likewise.
36670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
36671         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
36673 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
36675         [BZ #18111]
36676         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
36677         (_FPU_SETCW): Initialize cw from fpsr before storing.
36678         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
36679         (fesetexceptflag): Rewrite using fpu_control.h.
36680         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
36682 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
36684         [BZ #18110]
36685         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
36686         asms.
36687         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
36689 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
36691         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
36692         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
36693         abort.
36694         (_FP_FMA): Likewise.
36695         (_FP_DIV): Likewise.
36697 2015-03-10  Roland McGrath  <roland@hack.frob.com>
36699         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
36700         with 0 in that case.
36701         * Makefile (summarize-tests): New canned sequence, factored out of
36702         commands for targets tests and xtests.  Display summary lines that
36703         don't start with PASS: or XFAIL: rather than ones that do start with
36704         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
36705         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
36706         do start with ERROR: or FAIL:.
36707         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
36708         (except for [$(build-shared) = yes]).
36709         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
36710         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
36711         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
36712         * nptl/Makefile: Revert 2015-03-04 changes.
36713         [$(CXX) empty] (tests-unsupported): New variable.
36714         * debug/Makefile: Likewise.
36716         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
36717         gnulib file.  Replace __attribute with __attribute__ throughout.
36719 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
36721         * sysdeps/hppa/fpu/libm-test-ulps: Update.
36723 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36725         [BZ #18104]
36726         * math/auto-libm-test-in: Add another test of pow.
36727         * math/auto-libm-test-out: Regenerated.
36729 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36731         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
36732         $(config-cflags-nofma).
36734 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
36736         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
36737         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
36738         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
36739         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
36740         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
36741         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
36742         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
36743         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
36744         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
36745         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
36746         Add comment on closing #endif.
36748 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36750         * posix/wordexp.c (CHAR_IN_SET): New macro.
36751         (parse_param): Use it.
36753 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36755         * sysdeps/powerpc/fpu/libm-test-ulps: update.
36757 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36759         [BZ #18043]
36760         * posix/wordexp.c (parse_param): Fix buffer overflow.
36761         * posix/wordexp-test.c (test_case): Add test case.
36763 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36765         [BZ #18042]
36766         * posix/wordexp.c (parse_backtick): Fix off-by-one.
36767         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
36769 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
36771         [BZ #18043]
36772         * posix/wordexp-test.c (test_case): Add test for BZ #18043
36773         (do_bz18043): Delete.
36774         (at_page_end): New.
36775         (testit): Refactor to have words at the edge of unreadable page.
36777 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36779         [BZ #16734]
36780         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
36781         Cleanup read-only streams as well.
36782         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
36784 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36786         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
36787         <bits/libc-lockP.h>
36789 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
36791         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
36792         on [__KERNEL__].
36793         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
36794         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36795         * soft-fp/op-common.h (_FP_DECL): Likewise.
36797 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36799         * elf/ifuncdep2.c (global): Replace
36800         __attribute__((visibility("protected"))) with
36801         asm (".protected global").
36802         * elf/ifuncmod1.c (global): Likewise.
36803         * elf/ifuncmod5.c (global): Likewise.
36805 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36807         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36808         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36810 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36812         * manual/install.texi (Configuring and compiling):
36813         Document test-wrapper-env-only.
36814         * INSTALL: Regenerated.
36816 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36818         [BZ #18043]
36819         * posix/wordexp.c (parse_param): Fix buffer overflow.
36820         * posix/wordexp-test.c (do_bz18043): Add test case.
36822 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36824         * time/tst-strptime2.c (do_test): Ensure failing tests are
36825         reported correctly.
36826         * time/tst-strptime3.c (do_test): Likewise.
36828 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36830         Fix aio_error thread-safety.
36831         * sysdeps/pthread/aio_error.c: New file
36832         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36833         synchronization.
36835 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36837         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36838         (group_number, vfprintf): Use it.
36839         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36840         (JUMP, REF): Use it.
36841         (WORK_BUFFER_SIZE): New enum constant.
36842         (process_arg, vfprintf): Use it.
36844 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36846         * manual/errno.texi (Error Messages): Complete example function
36847         by adding missing #define.
36848         (program_invocation_name): Add statement indicating GNU
36849         extension and reference which header file declares the variable.
36850         (program_invocation_short_name): Likewise.
36852 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36854         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36855         compatibility note.
36857 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36859         * Makeconfig (test-wrapper-env-only): New variable.
36860         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36861         then use that with $(test-wrapper-env-only) rather than using
36862         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36864 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36866         [BZ #18082]
36867         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36868         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36869         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36870         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36871         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36872         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36873         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36874         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36875         Likewise.
36876         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36877         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36878         Likewise.
36879         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36880         Likewise.
36881         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36882         Likewise.
36883         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36884         Likewise.
36885         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36886         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36887         Likewise.
36888         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36889         Likewise.
36890         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36891         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36893 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36895         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36896         (ETH_ALEN): New macro.
36897         (struct ether_addr): Use it for length of ether_addr_octet.
36899         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36900         (setdb): Don't call __nss_configure_lookup for "rpc".
36901         (do_test): Don't call test_rpc.
36902         (output_rpcent, test_rpc): Functions moved ...
36903         * sunrpc/test-rpcent.c: ... to this new file.
36904         * sunrpc/Makefile (tests): Add it.
36906         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36907         __xpg_sigpause.
36908         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36909         * nptl/tst-signal6.c: Likewise.
36910         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36911         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36913         * configure.ac (libc_cv_cxx_link_ok): New check.
36914         Reset CXX to empty if it fails to link.
36915         * configure: Regenerated.
36916         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36917         bug-atexit3-lib only if $(CXX) is nonempty.
36918         * nptl/Makefile (tests): Likewise for tst-cancel24.
36919         (tests, tests-static): Likewise for tst-cancel24-static.
36920         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36921         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36922         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36923         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36925 2015-03-04  Andreas Schwab  <schwab@suse.de>
36927         [BZ #17631]
36928         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36929         for non-GCC compilers.
36930         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36931         Likewise.
36933 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36935         [BZ #17776]
36936         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36937         integer before bitwise and assembly operations.
36938         (feclearexcept): Likewise.
36939         * math/test-fenvinline.c: New file.
36940         * math/Makefile: Add test-fenvinline test.
36942 2015-03-03  Alan Modra  <amodra@gmail.com>
36944         [BZ #16512]
36945         * scripts/localplt.awk: Strip off symbol version.
36946         * NEWS: Mention bug fix.
36948 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36950         * sysdeps/pthread/timer_routines.c
36951         (timer_free_list, thread_free_list, thread_active_list): Make static.
36953 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36955         [BZ #17779]
36956         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36957         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36958         Undefine.
36959         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36960         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36961         Likewise.
36962         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36963         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36964         Likewise.
36966 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36968         [BZ #18036]
36969         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36970         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36972 2015-03-02  Andreas Schwab  <schwab@suse.de>
36974         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36975         variable name.
36977 2015-03-02  Florian Weimer  <fweimer@redhat.com>
36979         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36980         Return error status.
36982 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
36984         [BZ #15969]
36985         * locale/findlocale.c (_nl_find_locale): Introduce const
36986         version of loc_name and drop unsafe type casts.
36988 2015-02-27  Roland McGrath  <roland@hack.frob.com>
36990         * dlfcn/tststatic2.c (main): Converted to ...
36991         (do_test): ... this.
36992         (TEST_FUNCTION): New macro.
36993         Include test-skeleton.c.
36995 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36997         [BZ #17711]
36998         * elf/Makefile (tests): Add vismain only if PIE is enabled.
36999         (tests-pie): Add vismain.
37000         (CFLAGS-vismain.c): New.
37001         * elf/vismain.c: Add comments for PIE requirement.
37003 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37005         [BZ #18046]
37006         [BZ #18047]
37007         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37008         0x1p-56L as threshold for just returning the argument.
37009         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37010         0x1p-32L as threshold for just returning the argument.
37011         * math/auto-libm-test-in: Add more tests of atanh.
37012         * math/auto-libm-test-out: Regenerated.
37013         * sysdeps/i386/fpu/libm-test-ulps: Update.
37014         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37016 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37018         * string/bcopy.c (bcopy): Call memmove for performance.
37020 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37022         * string/bzero.c (__bzero): Call memset for performance.
37024 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37026         [BZ #18068]
37027         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37028         to 00100000.
37030 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37032         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37034 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37036         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37037         (__kernel_standard): Use CSTR macro when setting exc.name.
37038         * sysdeps/ieee754/Makefile [$(subdir) = math]
37039         (CFLAGS-k_standard.c): Remove variable.
37041         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37042         setting p and q from "else if" to "else".
37043         (qzero): Likewise.
37044         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37045         (qone): Likewise.
37046         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37047         (qzerof): Likewise.
37048         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37049         (qonef): Likewise.
37050         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37051         (qzero): Likewise.
37052         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37053         (qone): Likewise.
37055         [BZ #18038]
37056         [BZ #18039]
37057         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37058         return pi/2 for arguments below 0x1p-113L.
37059         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37060         return pi/2 for arguments below 0x1p-106L.
37061         * math/auto-libm-test-in: Add more tests of acos.
37062         * math/auto-libm-test-out: Regenerated.
37064         [BZ #16351]
37065         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37066         (MO): New macro.
37067         (__ieee754_asin): Force underflow exception for results with small
37068         absolute value.
37069         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37070         (MO): New macro.
37071         (__ieee754_asinf): Force underflow exception for results with
37072         small absolute value.
37073         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37074         (__ieee754_asin): Force underflow exception for results with small
37075         absolute value.
37076         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37077         (__ieee754_asinf): Force underflow exception for results with
37078         small absolute value.
37079         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37080         (__ieee754_asinl): Force underflow exception for results with
37081         small absolute value.
37082         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37083         (__ieee754_asinl): Force underflow exception for results with
37084         small absolute value.
37085         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37086         (__ieee754_asinl): Force underflow exception for results with
37087         small absolute value.
37088         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37089         Include <math.h>.
37090         * math/auto-libm-test-in: Do not mark underflow exceptions as
37091         possibly missing for bug 16351.
37092         * math/auto-libm-test-out: Regenerated.
37094         [BZ #18030]
37095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37096         of power of 2 down when low part has opposite sign.
37097         * math/libm-test.inc (logb_test_data): Add more tests.
37099 2015-02-26  Andreas Schwab  <schwab@suse.de>
37101         [BZ #18032]
37102         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37103         over collating symbol inside a bracket expression.  Minor cleanup.
37104         * posix/tst-fnmatch3.c (do_test): Add test case.
37106 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37108         [BZ #18029]
37109         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37110         Adjust exponent of power of 2 down when low part has opposite
37111         sign.
37112         * math/libm-test.inc (ilogb_test_data): Add more tests.
37114 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37116         [BZ #15969]
37117         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37118         the previous change.
37120         [BZ #15969]
37121         * locale/findlocale.c (_nl_find_locale): Retry archive search
37122         after alias expansion.
37124 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37126         * iconv/tst-iconv3.c (main): Converted to ...
37127         (do_test): ... this.
37128         (TEST_FUNCTION): New macro.
37129         Include test-skeleton.c.
37131         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37132         (convert): Make function static.
37133         (test_unalign): Likewise.  Add const to argument pointee types.
37134         (main): Replace with static function do_test.
37135         Print "Succeeded." only if RET is zero.
37136         (TEST_FUNCTION): New macro.
37137         Include test-skeleton.c.
37139         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37140         returns a null pointer.
37142 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37144         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37145         to __memcpy_ppc only for static builds.
37147 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37149         [BZ #18020]
37150         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37151         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37152         * math/auto-libm-test-in: Add more tests of asinh.
37153         * math/auto-libm-test-out: Regenerated.
37154         * sysdeps/i386/fpu/libm-test-ulps: Update.
37155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37159         [BZ #15850]
37160         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37161         and ip6_mtuinfo definitions here.
37162         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37163         in this define too.  Update comment.
37165 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37167         * elf/sprof.c (load_shobj): Tweak error message to match others.
37169 2015-02-24  Kevin Easton  <kevin@guarana.org>
37171         [BZ #16145] (partial fix)
37172         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37173         to reduce lock contention.
37175 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37177         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37178         (struct timex): Update time comment.
37179         (ADJ_SETOFFSET): Define.
37181 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37183         [BZ #18019]
37184         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37185         2**56 not 2**28 as threshold for log (2x) formula.
37186         * math/auto-libm-test-in: Add more tests of acosh.
37187         * math/auto-libm-test-out: Regenerated.
37188         * sysdeps/i386/fpu/libm-test-ulps: Update.
37189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37191 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37193         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37194         parenthesis around the buf assignment.
37195         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37197 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37199         [BZ #16783]
37200         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37201         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37202         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37203         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37204         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37205         * math/libm-test.inc (scalb_test_data): Add more tests.
37207 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37209         [BZ #17916]
37210         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37211         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37213 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37215         [BZ #17523]
37216         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37217         * io/bits/fcntl2.h (open): Use it.
37218         (openat): Likewise.
37219         * io/open.c (__libc_open): Likewise.
37220         * io/open64.c (__libc_open64): Likewise.
37221         * io/open64_2.c (__open64_2): Likewise.
37222         * io/open_2.c (__open_2): Likewise.
37223         * io/openat.c (__openat): Likewise.
37224         * io/openat64.c (__openat64): Likewise.
37225         * io/openat64_2.c (__openat64_2): Likewise.
37226         * io/openat_2.c (__openat_2): Likewise.
37227         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37228         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37229         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37230         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37231         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37232         (__open_nocancel): Likewise.
37233         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37234         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37235         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37237 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         [BZ #14841]
37240         * resolv/gethnamaddr.c (getanswer): Skip logging if
37241         RES_USE_DNSSEC is set.
37242         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37244 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37246         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37248 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37250         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37251         201304L, for Unicode 7.
37253 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37255         [BZ #17836]
37256         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37257         shared library.  Add gmon-start.os otherwise.
37258         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37259         $(objpfx)gmon-start.os if builing shared library.
37260         ($(objpfx)g$(static-start-installed-name)): Likewise.
37262 2015-02-23  Andreas Schwab  <schwab@suse.de>
37264         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37266 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37268         [BZ #17269]
37269         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37270         (enlarge_userbuf): Likewise.
37272 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37274         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37275         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37276         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37277         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37279 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37281         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37282         expression inside statement expression.
37284 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37286         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37287         <sysdeps/nptl/lowlevellock.h> and remove macros and
37288         functions that are now defined there.
37289         (SYS_futex): Remove.
37290         (lll_compare_and_swap): Remove.
37291         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37293 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37295         [BZ #17999]
37296         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37297         instead of scandirat.
37298         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37299         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37300         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37301         __scandirat.
37302         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37303         (__scandirat): Declare.  Use libc_hidden_proto.
37304         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37305         Remove variable.
37306         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37308 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37310         [BZ #15319]
37311         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37312         (MO): New macro.
37313         (__ieee754_atan2): For results with small absolute value, force
37314         underflow exception and remove excess range and precision from
37315         return value.
37316         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37317         (MO): New macro.
37318         (__ieee754_atan2f): For results with small absolute value, force
37319         underflow exception and remove excess range and precision from
37320         return value.
37321         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37322         (MO): New macro.
37323         (__atan): For results with small absolute value, force underflow
37324         exception and remove excess range and precision from return value.
37325         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37326         (MO): New macro.
37327         (__atanf): For results with small absolute value, force underflow
37328         exception and remove excess range and precision from return value.
37329         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
37330         <math.h>.
37331         (__ieee754_atan2): Force underflow exception for results with
37332         small absolute value.
37333         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
37334         <math_private.h>.
37335         (atan): Force underflow exception for results with small absolute
37336         value.
37337         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
37338         (__atanf): Force underflow exception for results with small
37339         absolute value.
37340         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
37341         <math.h>.
37342         (__atanl): Force underflow exception for results with small
37343         absolute value.
37344         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
37345         (__atanl): Force underflow exception for results with small
37346         absolute value.
37347         * sysdeps/x86/fpu/bits/mathinline.h
37348         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
37349         (__ieee754_atan2): Only define inline for long double.
37350         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
37351         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
37352         * math/auto-libm-test-in: Do not mark underflow exceptions as
37353         possibly missing for bug 15319.  Add more tests of atan2.
37354         * math/auto-libm-test-out: Regenerated.
37355         * math/libm-test.inc (casin_test_data): Do not mark underflow
37356         exceptions as possibly missing for bug 15319.
37357         (casinh_test_data): Likewise.
37358         * sysdeps/i386/fpu/libm-test-ulps: Update.
37360 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
37362         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
37363         * sysdeps/mips/bits/endian.h: Fix comments.
37365 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37367         [BZ #17996]
37368         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
37369         (hdestroy_r): Likewise.
37370         (hsearch_r): Likewise.
37371         (__hcreate_r): Declare and use libc_hidden_proto.
37372         (__hdestroy_r): Likewise.
37373         (__hsearch_r): Likewise.
37374         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
37375         (hcreate): Call __hcreate_r instead of hcreate_r.
37376         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
37377         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
37378         as weak alias of __hcreate_r.
37379         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
37380         __hdestroy_r.
37381         (hsearch_r): Rename to __hsearch_r and define as weak alias of
37382         __hsearch_r.
37383         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
37384         Remove variable.
37385         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37386         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37387         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37388         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37390 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37392         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
37393         arena_lock into a single arena_get.
37395 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
37397         * dl-reloc.c: Inlucde libc-internal.h.
37398         (_dl_try_allocate_static_tls): Call ALIGN_UP.
37399         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
37400         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
37401         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
37402         (grow_heap): Likewise.
37403         * malloc/malloc.c: Include libc-internal.h.
37404         (do_check_malloc): Call powerof2.
37405         (sysmalloc): Use pagesize. Call ALIGN_UP.
37406         (systrim): Use pagesize.
37407         (mremap_chunk): Use pagesize. Call ALIGN_UP.
37408         (__libc_valloc): Use pagesize.
37409         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
37411 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37413         [BZ #17991]
37414         * include/sys/resource.h (__getrlimit64): Declare.  Use
37415         libc_hidden_proto.
37416         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
37417         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
37418         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
37419         getrlimit64.
37420         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
37421         __getrlimit64.
37422         [!getrlimit64] (getrlimit64): Define as weak alias of
37423         __getrlimit64.  Use libc_hidden_weak.
37424         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
37425         using __getrlimit64 not __new_getrlimit64.
37426         (__GI_getrlimit64): Likewise.
37427         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
37428         Likewise.
37429         (__GI_getrlimit64): Likewise.
37430         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
37431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
37432         (getrlimit): Add __getrlimit64 alias.
37433         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
37434         Likewise.
37435         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
37436         Remove variable.
37437         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37438         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37440 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
37442         * libio/fileops.c: Add missing sys/mman.h
37443         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
37445 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
37447         * manual/math.texi (Errors in Math Functions): Clarify goals
37448         regarding inexact and underflow exceptions.
37450 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37452         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
37453         * sysdeps/mips/memset.S: Ditto.
37455 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
37457         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
37459 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
37461         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
37462         (__v1longjmp): Remove versioned symbol.
37463         (__v1siglongjmp): Remove alias and versioned symbol.
37464         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
37465         (__v2siglongjmp): Likewise.
37467 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
37471 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
37473         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
37475 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37477         [BZ #17987]
37478         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
37479         zero result does not depend on the sign resulting from
37480         subtraction.
37481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37482         Likewise.
37483         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37484         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37485         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37486         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37487         * math/libm-test.inc (remquo_test_data): Add more tests.
37489 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
37491         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
37492         Problem reported by J William Piggott.
37494 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
37496         [BZ #17978]
37497         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
37498         products 4 * y and 2 * y where those would overflow.
37499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37500         Likewise.
37501         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37502         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
37503         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37504         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
37505         * math/libm-test.inc (remquo_test_data): Add more tests.
37507         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
37509         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
37510         [defined _COMPILING_NEWLIB].
37511         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
37512         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
37514         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
37515         [!defined __mips_isa_rev || __mips_isa_rev < 6].
37517 2015-02-16  Torvald Riegel  <triegel@redhat.com>
37519         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
37520         acquired.
37522 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
37524         [BZ #17792]
37525         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
37526         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
37527         HOST_STACK_END_ADDR): Likewise.
37529 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
37531         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
37532         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
37533         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
37535 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37537         * sysdeps/generic/c++-types.data: New file.
37538         * sysdeps/generic/ld.abilist: New file.
37539         * sysdeps/generic/libBrokenLocale.abilist: New file.
37540         * sysdeps/generic/libanl.abilist: New file.
37541         * sysdeps/generic/libc.abilist: New file.
37542         * sysdeps/generic/libcrypt.abilist: New file.
37543         * sysdeps/generic/libdl.abilist: New file.
37544         * sysdeps/generic/libm.abilist: New file.
37545         * sysdeps/generic/libpthread.abilist: New file.
37546         * sysdeps/generic/libresolv.abilist: New file.
37547         * sysdeps/generic/librt.abilist: New file.
37549 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37551         [BZ #17569]
37552         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
37553         Compute absolute value of x as modified by fmod, not original
37554         value of x.
37555         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
37556         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
37557         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
37558         RUN_TEST_ffI_f1_mod8.
37559         (remquo_test_data): Add more tests.
37561 2015-02-13  Roland McGrath  <roland@hack.frob.com>
37563         * sysdeps/init_array/pt-crti.S: New file.
37565 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
37567         [BZ #17967]
37568         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
37569         __builtin_fmaf instead of relying on contraction of a * b + c.
37571 2015-02-12  J William Piggott  <elseifthen@gmx.com>
37573         [BZ #17969]
37574         * manual/time.texi: correct the zoneinfo path in the TZ Variable
37575         node.
37577 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37579         [BZ #17964]
37580         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
37581         __builtin_fma instead of relying on contraction of a * b + c.
37583 2015-02-12  Roland McGrath  <roland@hack.frob.com>
37585         * Makeconfig (ASFLAGS): Add -Werror=undef.
37586         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
37587         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
37588         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
37590         * Makeconfig (after-link): New variable.
37591         (+link-pie, +link-pie-tests): Use it.
37592         (+link-static, +link-static-tests): Likewise.
37593         (+link, +link-tests): Likewise.
37594         * Makerules (build-module, build-module-asneeded): Likewise.
37595         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
37596         Likewise.
37597         * elf/Makefile ($(objpfx)ld.so): Likewise.
37599 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
37601         [BZ #17965]
37602         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
37603         both struct timeval and struct timespec.
37605 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
37607         [BZ #16560]
37608         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37609         and redefine.
37610         (__ieee754_exp2l): Do not multiply small fractional parts by
37611         M_LN2l.
37612         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37613         small argument.
37614         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37615         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
37616         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
37617         * math/auto-libm-test-in: Add more tests of exp2.
37618         * math/auto-libm-test-out: Regenerated.
37620 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37622         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
37623         unaligned path.
37625 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37627         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
37628         little endian.
37630 2015-02-12  Andreas Schwab  <schwab@suse.de>
37632         [BZ #15790]
37633         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
37634         Filter out elision flags from value returned in kind.
37635         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
37636         * nptl/tst-pthread-mutexattr.c: New file.
37638 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37640         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
37641         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
37642         into gnu-gnu, and update comment to refer to abi-tags.
37644 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
37646         [BZ #15467]
37647         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
37648         (__sincos): Set errno to EDOM for infinite argument.
37649         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
37650         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
37651         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
37652         (__sincosl): Set errno to EDOM for infinite argument.
37653         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
37654         (__sincosl): Set errno to EDOM for infinite argument.
37655         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
37656         (__sincosl): Set errno to EDOM for infinite argument.
37657         * math/libm-test.inc (sincos_test_data): Test errno setting.
37659 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
37661         * string/strxfrm_l.c: Remove #define STRCMP.
37662         * string/strcoll_l.c: Remove #define STRLEN.
37663         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
37664         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
37666 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
37668         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
37669         * sysdeps/mips/mips32/sfp-machine.h: ... here.
37670         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
37671         * sysdeps/mips/mips64/Makefile: ... here.
37672         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
37673         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
37674         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
37675         * sysdeps/mips/mips64/sfp-machine.h: ... here.
37676         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
37677         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
37678         * sysdeps/mips/mips64/n64/Implies: Likewise.
37680 2015-02-10  Roland McGrath  <roland@hack.frob.com>
37682         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
37683         <sys/time.h>, <string.h>, and <errno.h>.
37684         (dest_offset, dest_address, value, zero): Remove unused variables.
37685         (ldouble): Remove typedef.
37686         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
37687         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
37688         1).  Fix code style.
37689         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
37690         (check): Function removed.
37691         (CHECK): New macro.
37692         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
37693         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
37694         Don't call set_sigaction_FP and remove_sigaction_FP here.
37695         (ldouble_test): Just use 'long double' as macro argument, no need for
37696         the 'ldouble' typedef.
37697         (do_test): Set up SIGFPE handler at start, using plain signal rather
37698         than sigaction.  Fix code style.
37700 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
37702         [BZ #17949]
37703         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
37704         jump label.
37706 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37708         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
37709         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37711         * sysdeps/powerpc/configure.ac: Remove file.
37712         * sysdeps/powerpc/configure: Likewise.
37714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37715         [sysdep_routines]: Remove wordcopy-power6 object.
37716         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37717         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
37718         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
37719         (__memmove_ppc32): Likewise.
37720         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
37721         file.
37722         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
37723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
37724         Remove preprocessor.
37726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
37727         [sysdep_routines]: Remove wide chars objects.
37728         [wcsmbs]: New rule for wide char objects.
37730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37731         Remove wordcopy-power6 obejct.
37732         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
37733         Use local call for wordcopy and memcpy symbols.
37734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
37735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
37736         implementation for loader.
37737         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
37739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37740         Remove wordcopy-power7 object.
37741         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
37742         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
37743         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
37744         (_wordcopy_fwd_dest_aligned): Likewise.
37745         (_wordcopy_bwd_aligned): Likewise.
37746         (_wordcopy_bwd_dest_aligned): Likewise.
37748         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
37749         Rewrite to call __memmove_ppc instead of include default
37750         implementation.
37752         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37753         Remove wide chars objects.
37754         [wcsmbs]: New rule for wide char objects.
37756 2015-02-09  Andreas Schwab  <schwab@suse.de>
37758         [BZ #17912]
37759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37760         in terms of __O_DIRECTORY.
37762 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37764         * time/getdate.c: Include <stdbool.h>.
37765         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
37766         call PTR_MANGLE.
37767         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
37768         PTR_DEMANGLE.
37770 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
37772         Add ersatz _Static_assert on older C hosts
37773         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
37774         pre-C11 C platform that is not known to support _Static_assert.
37776 2015-02-07  Richard Braun  <rbraun@sceen.net>
37778         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
37779         sigstate.
37780         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
37782 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37784         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
37785         priority against unexistent AIO_PRIO_DELTA_MAX.
37786         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
37787         instead of int.
37788         * misc/fchflags.c (fchflags): Likewise.
37789         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
37790         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
37791         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
37792         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
37793         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
37794         Declare macros.
37795         [__USE_MISC] (chflags, fchflags): Declare functions.
37796         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37797         EINVAL when nfds is greater than FD_SETSIZE.
37798         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37799         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37800         45.
37801         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37802         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37803         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37804         MACH_RCV_TIMED_OUT.
37805         * hurd/hurd/signal.h (_hurd_self_sigstate,
37806         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37807         Explicit casts from void *.
37808         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37809         * abi-tags: Rename gnu-gnu os into gnu.
37811         [BZ #4719]
37812         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37813         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37814         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37815         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37816         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37817         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37819         [BZ #17944]
37820         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37821         duplicates ADDR->sun_path with sockaddr LEN limitation.
37822         * sysdeps/mach/hurd/connect.c: Include <string.h>
37823         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37824         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37825         * sysdeps/mach/hurd/sendto.c: Likewise.
37826         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37827         implementing it by hand.
37829 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37831         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37832         Use sfi_breg on ldr.
37833         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37834         Likewise.
37836         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37837         it's defined.
37838         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37839         Test SIGSETXID only if it's defined.
37841         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37843         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37844         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37846         * nptl/tst-align2.c: Moved ...
37847         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37848         * nptl/Makefile (tests): Remove tst-align2.
37849         * sysdeps/unix/sysv/linux/Makefile
37850         [$(subdir) = nptl] (tests): Add tst-align-clone.
37851         * nptl/tst-getpid1.c: Moved ...
37852         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37853         * nptl/tst-getpid2.c: Moved ...
37854         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37855         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37856         * sysdeps/unix/sysv/linux/Makefile
37857         [$(subdir) = nptl] (tests): ... here.
37858         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37859         * sysdeps/unix/sysv/linux/Makefile
37860         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37862         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37863         Drop trailing \n from perror argument.  Use return rather than exit.
37865         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37866         on [SA_SIGINFO].
37867         * nptl/tst-cancel21.c (do_test): Likewise.
37868         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37869         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37870         [!SA_SIGINFO]: Make it a stub test.
37872         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37873         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37875         * posix/tst-getlogin.c: Move to ...
37876         * login/tst-getlogin.c: ... here.
37877         * posix/Makefile (tests): Move tst-getlogin to ...
37878         * login/Makefile (tests): ... here.
37880         * libio/tst-atime.c (do_test): Move local variables SV and E
37881         inside [ST_NOATIME] conditional.
37883         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37885         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37887         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37888         (wait_code): New function replaces macro.
37889         Call nanosleep rather than syscall.
37891         * nptl/pt-system.c: Rewritten.  Put everything under
37892         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37893         Use IFUNC to redirect when possible.
37895         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37896         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37897         Use IFUNC to redirect when possible.
37899         * nptl/pt-fork.c: Rewritten.  Put everything under
37900         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37901         Use IFUNC to redirect when possible.
37902         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37905         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37906         unconditionally nowadays.  This included the only reference to
37907         __vdso_clock_gettime that appears outside libc proper.
37908         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37909         Remove version set (containing only __vdso_clock_gettime).
37910         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37911         Add attribute_hidden.
37912         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37913         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37914         libc_hidden_data_def.
37915         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37916         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37918         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37919         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37920         setrpcent, and getrpcport to ...
37921         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37922         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37923         getrpcbynumber_r, and getrpcent_r to ...
37924         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37925         * inet/getrpcbyname.c: Moved ...
37926         * sunrpc/getrpcbyname.c: ... here.
37927         * inet/getrpcbyname_r.c: Moved ...
37928         * sunrpc/getrpcbyname_r.c: ... here.
37929         * inet/getrpcbynumber.c: Moved ...
37930         * sunrpc/getrpcbynumber.c: ... here.
37931         * inet/getrpcbynumber_r.c: Moved ...
37932         * sunrpc/getrpcbynumber_r.c: ... here.
37933         * inet/getrpcent.c: Moved ...
37934         * sunrpc/getrpcent.c: ... here.
37935         * inet/getrpcent_r.c: Moved ...
37936         * sunrpc/getrpcent_r.c: ... here.
37937         * inet/Makefile (routines): Move those to ...
37938         * sunrpc/Makefile (routines): ... here.
37939         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37940         the $(subdirs) list.
37941         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37942         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37943         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37944         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37946         * elf/Makefile (routines): Include $(all-dl-routines), not just
37947         $(dl-routines).
37948         (rtld-routines): Likewise.  Use = rather than :=.
37949         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37950         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37951         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37952         * sysdeps/arm/Makefile: Likewise.
37953         * sysdeps/i386/Makefile: Likewise.
37954         * sysdeps/x86_64/Makefile: Likewise.
37955         * sysdeps/hppa/Makefile [$(subdir) = elf]
37956         (sysdep_routines, sysdep-rtld-routines): Don't add
37957         $(sysdep-dl-routines) to these.
37958         * sysdeps/ia64/Makefile: Likewise.
37959         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37960         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37961         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37962         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37963         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37964         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37965         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37966         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37967         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37968         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37969         these; sysdep-dl-routines alone is enough.
37971 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37973         [BZ #17932]
37974         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37975         where multiplication results in zero and third argument is finite
37976         and nonzero.
37977         * math/auto-libm-test-in: Add more tests of fma.
37978         * math/auto-libm-test-out: Regenerated.
37980         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37981         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37982         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37983         (_FP_CMP_EQ): Likewise.
37984         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37986         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37987         extra argument CHECK_NAN.  Redefine as wrapper around
37988         _FP_EXTEND_CNAN.
37990 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
37992         * version.h (RELEASE): Set to "stable".
37993         (VERSION): Set to "2.21"
37994         * include/features.h (__GLIBC_MINOR__): Set to 21.
37996         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37998 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37999             Paul Eggert  <eggert@cs.ucla.edu>
38001         [BZ #16618]
38002         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38003         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38004         size in bytes. Store needed elements in wpmax. Use needed size
38005         in bytes for extend_alloca.
38007 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38009         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38010         binutls 2.25, and texinfo 5.2.
38011         * INSTALL: Regenerate.
38012         * sysdeps/nios2/configure: Regenerate.
38013         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38014         * manual/contrib.texi: Update.
38015         * po/be.po: Update.
38016         * po/bg.po: Update.
38017         * po/ca.po: Update.
38018         * po/cs.po: Update.
38019         * po/da.po: Update.
38020         * po/de.po: Update.
38021         * po/el.po: Update.
38022         * po/eo.po: Update.
38023         * po/es.po: Update.
38024         * po/fi.po: Update.
38025         * po/fr.po: Update.
38026         * po/gl.po: Update.
38027         * po/hr.po: Update.
38028         * po/hu.po: Update.
38029         * po/ia.po: Update.
38030         * po/id.po: Update.
38031         * po/it.po: Update.
38032         * po/ja.po: Update.
38033         * po/ko.po: Update.
38034         * po/lt.po: Update.
38035         * po/nb.po: Update.
38036         * po/nl.po: Update.
38037         * po/pl.po: Update.
38038         * po/pt_BR.po: Update.
38039         * po/ru.po: Update.
38040         * po/rw.po: Update.
38041         * po/sk.po: Update.
38042         * po/sl.po: Update.
38043         * po/sv.po: Update.
38044         * po/tr.po: Update.
38045         * po/uk.po: Update.
38046         * po/vi.po: Update.
38047         * po/zh_CN.po: Update.
38048         * po/zh_TW.po: Update.
38050         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38051         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38052         * sysdeps/hppa/dl-irel.h: Remove #warning.
38053         * sysdeps/hppa/entry.h: Provide prototype for
38054         __canonicalize_funcptr_for_compare and cast argument.
38055         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38056         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38057         * sysdeps/hppa/sotruss-lib.c: New file.
38058         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38059         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38060         (atomic_compare_and_exchange_bool_acq): Likewise.
38061         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38062         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38064         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38065         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38066         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38068 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38070         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38071         called function in non-PIC case.
38073 2015-01-31  David S. Miller  <davem@davemloft.net>
38075         * sysdeps/sparc/sparc32/bits/atomic.h
38076         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38077         unlock not after it.
38078         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38079         volatile register usage warnings from the compiler.
38081         * sysdeps/sparc/nptl/sem_init.c: Delete.
38082         * sysdeps/sparc/nptl/sem_post.c: Delete.
38083         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38084         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38085         * sysdeps/sparc/sparc32/sem_init.c: New file.
38086         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38087         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38088         padding explicitly initialized.
38089         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38090         padding for in-semaphore spinlock.
38091         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38092         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38093         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38094         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38095         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38096         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38097         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38098         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38099         version.
38100         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38101         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38103 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38105         [BZ #17801]
38106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38107         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38108         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38109         New.
38110         (index_AVX_Fast_Unaligned_Load): Likewise.
38111         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38112         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38113         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38114         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38115         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38116         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38117         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38118         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38119         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38121 2015-01-29  Andreas Schwab  <schwab@suse.de>
38123         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38125 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38127         [BZ #17892]
38128         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38130 2015-01-28  Martin Sebor  <msebor@redhat.com>
38132         * math/README.libm-test: Clarify. Add "How to read the test output."
38134 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38136         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38137         Define to 0.
38139 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38141         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38142         (__HAVE_64B_ATOMICS): Define to 0.
38144 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38146         [BZ #17885]
38147         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38148         value to set as new flag.
38150         [BZ #16576]
38151         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38152         and use _ARCH_PPCSQ instead.
38153         (__ieee754_sqrt): Likewise.
38154         (__ieee754_sqrtf): Likewise.
38155         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38156         _ARCH_PPCSQ is defined.
38157         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38158         fsqrt instruction.
38159         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38160         _ARCH_PPCSQ is defined.
38161         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38162         fsqrts instruction.
38163         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38165 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38167         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38168         bug (GCC BZ #64739).
38170 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38172         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38173         Mark _retval as used.
38174         (lll_futex_wake_unlock): Likewise.
38175         (lll_futex_timed_wait_requeue_pi): Likewise.
38177         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38178         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38179         register variables.
38181         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38182         libm_hidden_def.
38184         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38185         (__bswap_64): Mark as __always_inline.
38187 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38189         [BZ #15378]
38190         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38191         when none of the search directories exist.
38193 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38195         [BZ #17869]
38196         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38197         power8 in .machine directive.
38199         [BZ #17868]
38200         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38201         set dependency from opd value.
38203 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38206         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38207         architecture.
38209 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38211         [BZ #17870]
38212         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38213         with uint64_t.
38214         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38215         (uint64_t) 1.
38216         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38217         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38218         Replace 1UL with (uint64_t) 1.
38219         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38220         int with uint64_t.
38222 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38224         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38225         (if_freenameindex): Likewise.
38227         * resource/getrlimit64.c: Add missing libc_hidden_def.
38229 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38231         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38232         __label__.
38233         (_FP_FMA): Likewise.
38234         (_FP_TO_INT_ROUND): Likewise.
38235         (_FP_FROM_INT): Likewise.
38237 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38239         [BZ #16418]
38240         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38241         Make code racy and cancel safe.
38243 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38245         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38246         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38247         attribution.
38249         * pwd/tst-getpw.c: Rewrite.
38251         [BZ #17702]
38252         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38253         (modules-names): Add moddummy1 and moddummy2.
38254         ($(objpfx)tst-rec-dlopen): Define.
38255         * dlfcn/moddummy1.c: New file.
38256         * dlfcn/moddummy2.c: New file.
38257         * dlfcn/tst-rec-dlopen.c: New file.
38258         * elf/dl-cache.c (_dl_load_cache_lookup):
38259         Return char*. Copy result with alloca/strcpy/strdup.
38260         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38261         returns char*. Free cached. If not saving realname
38262         free cached.
38263         * elf/dl-open.c (dl_open_worker): Do not assert that
38264         _r_debug->r_state is RT_CONSISTENT.
38265         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38266         returns char*.
38268 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38269             Carlos O'Donell  <carlos@redhat.com>
38271         [BZ #12674]
38272         * nptl/sem_waitcommon.c: New file.
38273         * nptl/sem_wait.c: Include sem_waitcommon.c.
38274         (__sem_wait_cleanup, do_futex_wait): Remove.
38275         (__new_sem_wait): Adapt.
38276         (__new_sem_trywait): New function.
38277         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38278         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38279         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38280         (sem_timedwait): Adapt.
38281         * nptl/sem_post.c (__new_sem_post): Adapt.
38282         (futex_wake): New function.
38283         (__old_sem_post): Add release MO fence.
38284         * nptl/sem_open.c (sem_open): Adapt.
38285         * nptl/sem_init.c (__new_sem_init): Adapt.
38286         (futex_private_if_supported): New function.
38287         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38288         (__old_sem_getvalue): Add using previous code.
38289         * sysdeps/nptl/internaltypes.h: Adapt.
38290         * nptl/tst-sem13.c (do_test): Adapt.
38291         * nptl/tst-sem11.c (main): Adapt.
38292         * nptl/sem_trywait.c: Remove.
38293         * nptl/DESIGN-sem.txt: Remove.
38294         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38295         (gen-as-const-headers): Remove structsem.sym.
38296         * nptl/structsem.sym: Remove.
38297         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38298         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38299         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38300         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38301         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38302         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38303         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38304         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38305         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38306         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38307         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38308         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38309         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38310         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38311         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38312         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38313         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38314         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38315         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38316         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38317         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38318         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38320 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38322         * INSTALL: Regenerated.
38324         * po/libc.pot: Regenerated.
38326 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38327             Sandra Loosemore  <sandra@codesourcery.com>
38328             Andrew Jenner  <andrew@codesourcery.com>
38329             Joseph Myers  <joseph@codesourcery.com>
38330             Nathan Sidwell  <nathan@codesourcery.com>
38332         * NEWS: Mention new Nios II port.
38333         * sysdeps/nios2/Implies: New file.
38334         * sysdeps/nios2/Makefile: New file.
38335         * sysdeps/nios2/Subdirs: New file.
38336         * sysdeps/nios2/Versions: New file.
38337         * sysdeps/nios2/__longjmp.S: New file.
38338         * sysdeps/nios2/abort-instr.h: New file.
38339         * sysdeps/nios2/backtrace.c: New file.
38340         * sysdeps/nios2/bits/endian.h: New file.
38341         * sysdeps/nios2/bits/fenv.h: New file.
38342         * sysdeps/nios2/bits/link.h: New file.
38343         * sysdeps/nios2/bits/setjmp.h: New file.
38344         * sysdeps/nios2/bsd-_setjmp.S: New file.
38345         * sysdeps/nios2/bsd-setjmp.S: New file.
38346         * sysdeps/nios2/configure: New generated file.
38347         * sysdeps/nios2/configure.ac: New file.
38348         * sysdeps/nios2/crti.S: New file.
38349         * sysdeps/nios2/crtn.S: New file.
38350         * sysdeps/nios2/dl-init.c: New file.
38351         * sysdeps/nios2/dl-machine.h: New file.
38352         * sysdeps/nios2/dl-sysdep.h: New file.
38353         * sysdeps/nios2/dl-tls.h: New file.
38354         * sysdeps/nios2/dl-trampoline.S: New file.
38355         * sysdeps/nios2/gccframe.h: New file.
38356         * sysdeps/nios2/gmp-mparam.h: New file.
38357         * sysdeps/nios2/jmpbuf-offsets.h: New file.
38358         * sysdeps/nios2/jmpbuf-unwind.h: New file.
38359         * sysdeps/nios2/ldsodefs.h: New file.
38360         * sysdeps/nios2/libc-tls.c: New file.
38361         * sysdeps/nios2/libm-test-ulps: New file.
38362         * sysdeps/nios2/machine-gmon.h: New file.
38363         * sysdeps/nios2/math-tests.h: New file.
38364         * sysdeps/nios2/math_private.h: New file.
38365         * sysdeps/nios2/memusage.h: New file.
38366         * sysdeps/nios2/nptl/Makefile: New file.
38367         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
38368         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
38369         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
38370         * sysdeps/nios2/nptl/pthreaddef.h: New file.
38371         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
38372         * sysdeps/nios2/nptl/tls.h: New file.
38373         * sysdeps/nios2/preconfigure: New file.
38374         * sysdeps/nios2/s_fma.c: New file.
38375         * sysdeps/nios2/s_fmaf.c: New file.
38376         * sysdeps/nios2/setjmp.S: New file.
38377         * sysdeps/nios2/sfp-machine.h: New file.
38378         * sysdeps/nios2/sotruss-lib.c: New file.
38379         * sysdeps/nios2/stackguard-macros.h: New file.
38380         * sysdeps/nios2/stackinfo.h: New file.
38381         * sysdeps/nios2/start.S: New file.
38382         * sysdeps/nios2/sysdep.h: New file.
38383         * sysdeps/nios2/tls-macros.h: New file.
38384         * sysdeps/nios2/tst-audit.h: New file.
38385         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
38386         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
38387         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
38388         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
38389         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
38390         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
38391         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
38392         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
38393         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
38394         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
38395         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
38396         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
38397         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
38398         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
38399         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
38400         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
38401         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
38402         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
38403         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
38404         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
38405         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
38406         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
38407         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
38408         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
38409         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
38410         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
38411         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
38412         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
38413         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
38414         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
38415         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
38416         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
38417         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
38418         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
38419         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
38420         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
38421         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
38422         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
38423         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
38424         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
38425         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
38426         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
38427         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
38428         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
38430 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38432         [BZ #17844]
38433         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
38434         (getutent): Use weak_alias in non SHARED case
38435         and default_symbol_version in SHARED case.
38436         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
38437         (getutent_r, pututline): Likewise.
38438         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
38439         (getutid): Likewise.
38440         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
38441         (getutid_r): Likewise.
38442         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
38443         (getutline): Likewise.
38444         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
38445         (getutline_r): Likewise.
38446         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
38447         (updwtmp): Likewise.
38449 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38451         [BZ #17848]
38452         * sysdeps/s390/s390-32/memcmp.S
38453         (memcmp_g5): Rename to __memcmp_g5.
38454         * sysdeps/s390/s390-32/memcpy.S
38455         (memcpy_g5): Rename to __memcpy_g5.
38456         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38457         (memcpy_mvcle) Rename to __memcpy_mvcle.
38458         * sysdeps/s390/s390-32/memset.S
38459         (memset_g5): Rename to __memset_g5.
38460         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38461         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38462         and use prefixed functions.
38463         * sysdeps/s390/s390-32/multiarch/memcmp.S
38464         (memcmp_z196): Rename to __memcmp_z196.
38465         (memcmp_z10): Rename to __memcmp_z10.
38466         (memcmp): Set alias to __memcmp_g5.
38467         (bcmp): Set alias to __memcmp_g5.
38468         * sysdeps/s390/s390-32/multiarch/memcpy.S
38469         (memcpy_z196): Rename to __memcpy_z196.
38470         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38471         (memcpy_z10): Rename to __memcpy_z10.
38472         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38473         (memcpy): Set alias to __memcpy_g5.
38474         * sysdeps/s390/s390-32/multiarch/memset.S
38475         (memset_z196): Rename to __memset_z196.
38476         Jump to __memset_mvcle instead of memset_mvcle.
38477         (memset_z10): Rename to __memset_z10.
38478         Jump to __memset_mvcle instead of memset_mvcle.
38479         (memset_mvcle) Rename to __memset_mvcle.
38480         (memset): Set alias to __memset_g5.
38481         * sysdeps/s390/s390-64/memcmp.S
38482         (memcmp_z900): Rename to __memcmp_z900.
38483         * sysdeps/s390/s390-64/memcpy.S
38484         (memcpy_z900): Rename to __memcpy_z900.
38485         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38486         (memcpy_mvcle) Rename to __memcpy_mvcle.
38487         * sysdeps/s390/s390-64/memset.S
38488         (memset_z900): Rename to __memset_z900.
38489         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
38490         (IFUNC_RESOLVE): Prefix ifunc-resolve function
38491         and use prefixed functions.
38492         * sysdeps/s390/s390-64/multiarch/memcmp.S
38493         (memcmp_z196): Rename to __memcmp_z196.
38494         (memcmp_z10): Rename to __memcmp_z10.
38495         (memcmp): Set alias to __memcmp_z900.
38496         (bcmp): Set alias to __memcmp_z900.
38497         * sysdeps/s390/s390-64/multiarch/memcpy.S
38498         (memcpy_z196): Rename to __memcpy_z196.
38499         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38500         (memcpy_z10): Rename to __memcpy_z10.
38501         Jump to __memcpy_mvcle instead of memcpy_mvcle.
38502         (memcpy): Set alias to __memcpy_z900.
38503         * sysdeps/s390/s390-64/multiarch/memset.S
38504         (memset_z196): Rename to __memset_z196.
38505         Jump to __memset_mvcle instead of memset_mvcle.
38506         (memset_z10): Rename to __memset_z10.
38507         Jump to __memset_mvcle instead of memset_mvcle.
38508         (memset_mvcle) Rename to __memset_mvcle.
38509         (memset): Set alias to __memset_z900.
38511 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
38513         [BZ #17748]
38514         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
38515         __fesetenv instead of fesetenv.
38517 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38519         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
38520         macro.
38522 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38524         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
38525         regression on LE.
38527         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
38528         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
38529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38530         strncmp-power8 object.
38531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38532         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
38533         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
38534         * NEWS: Update.
38536 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38537             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38539         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
38540         trailing byte check.
38542 2015-01-13  David S. Miller  <davem@davemloft.net>
38544         * include/signal.h (__sigreturn): Guard with __USE_MISC.
38546 2015-01-13  Roland McGrath  <roland@hack.frob.com>
38548         * login/logout.c (logout): Use memset rather than bzero.
38549         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
38550         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
38551         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
38552         (_gethtbyaddr): Likewise.
38553         * locale/programs/simple-hash.c (bcopy): Macro removed.
38555 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38557         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38558         Add strcmp-power8 object.
38559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38560         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
38561         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
38562         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
38563         __strcmp_power8 implementation.
38564         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
38565         * NEWS: Update.
38567         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38568         Add strncpy-power8 and stpncpy-power8 objects.
38569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38570         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
38571         implementations.
38572         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
38573         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
38574         __stpncpy_power8 implementation.
38575         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
38576         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
38577         __strncpy_power8 implementation.
38578         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
38579         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
38580         * NEWS: Update.
38582         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
38583         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
38584         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
38586         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38587         strncat-power8 object.
38588         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
38589         __strcat_power8 implementation.
38590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38591         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
38592         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
38593         optimized strcat for power8.
38595         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
38596         strcpy-power8 and stpcpy-power8 objects.
38597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38598         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
38599         implementations.
38600         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
38601         multiarch stpcpy implementation for POWER8.
38602         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
38603         multiarch strcpy implementation for POWER8.
38604         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
38605         __strcpy_power8 function.
38606         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
38607         stpcpy for POWER8.
38608         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
38609         strcpy for POWER8.
38610         * NEWS: Update.
38612 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
38614         [BZ #16009]
38615         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
38616         weights and rules. Use do_xfrm_cached if data fits in cache,
38617         do_xfrm otherwise.  Moved former main loop to...
38618         * (do_xfrm_cached): New function.
38619         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
38620         find_idx, find_position and stack_push.
38621         * (find_idx): New function.
38622         * (find_position): Likewise.
38623         * localedata/sort-test.sh: Added test run for do_xfrm.
38624         * localedata/xfrm-test.c (main): Added command line option
38625         -nocache to run the test with strings that are too large for
38626         the STRXFRM cache.
38628 2015-01-13  Torvald Riegel  <triegel@redhat.com>
38630         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
38631         variable to lll_futex_wake call, not the value itself.
38633 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
38635         [BZ #17803]
38636         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
38637         twom64.  Adjust value to 0x1p-64L.
38638         (__scalblnl): Only return standard underflowing result for K <=
38639         -64 not K <= -63; adjust exponent for underflowing result by 64
38640         not 63.
38641         * math/libm-test.inc (scalbn_test_data): Add more tests.
38642         (scalbln_test_data): Likewise.
38644         [BZ #17834]
38645         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
38646         0x1p63L.
38647         (__scalblnl): Get new exponent of adjusted subnormal value from ES
38648         not HX.
38649         * math/libm-test.inc (scalbn_test_data): Add more tests.
38650         (scalbln_test_data): Likewise.
38652 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38653             Stefani Seibold  <stefani@seibold.net>
38655         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
38656         (sysdep_routines): Add dl-vdso here, ...
38657         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
38658         (sysdep_routines): ... not here.
38659         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
38660         fallback when vDSO is not presented.
38661         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
38662         Define with libc_hidden_proto/libc_hidden_data_def definitions.
38663         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
38664         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
38665         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
38666         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
38667         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
38668         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
38669         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38670         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
38671         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
38672         fallback configurable symbol when vDSO is not available.
38673         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
38674         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
38675         be able to redefine fallback symbol when vDSO is not available.
38676         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
38677         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
38679 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38681         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
38682         (TLS_INIT_TP): Add tm_capable initialization.
38683         (TLS_DEFINE_INIT_TP): Likewise.
38684         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
38685         TCB.
38686         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
38687         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
38688         calculation.
38689         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
38690         transactoion is lock elision is built and TCB tm_capable is set.
38691         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
38692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38693         (INTERNAL_SYSCALL_NCS): Likewise.
38694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38695         (INTERNAL_SYSCALL_NCS): Likewise.
38696         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
38698         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
38699         for powerpc.
38700         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38701         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
38702         and remove it for 32 bits case.
38703         [pthread_rwlock_t] (__rwelision): New field for lock elision.
38704         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
38705         initialization.
38706         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
38707         Disable lock elision with rdlocks if elision is not available.
38709         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
38710         (sysdep_routines): Add lock elision objects.
38711         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38712         [pthread_mutex_t] (__spins): Rework to add lock elision field.
38713         [pthread_mutex_t] (__elision): Add field.
38714         [__PTHREAD_SPINS]: Adjust to init lock elision field.
38715         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
38716         elision definitions for powerpc.
38717         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
38718         implementation of lock elision for powerpc.
38719         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
38720         implementation of timed lock elision for powerpc.
38721         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
38722         implementation of trylock with lock elision for powerpc.
38723         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
38724         implementaion of unlock for lock elision for powerpc.
38725         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
38726         automatic enable lock elision for mutexes.
38727         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
38728         transaction execution definitions for powerpc.
38729         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
38730         definitions.
38731         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
38732         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38733         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
38734         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
38735         * NEWS: Update.
38737 2015-01-09  Roland McGrath  <roland@hack.frob.com>
38739         * sysdeps/posix/shm-directory.c: Use <> rather than ""
38740         for #include of <shm-directory.h>.
38742 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
38744         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
38745         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
38747 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
38749         [BZ #17791]
38750         * NEWS: Mention bug fix.
38751         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
38752         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
38753         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
38755 2015-01-09  Torvald Riegel <triegel@redhat.com>
38757         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
38759 2015-01-09  Torvald Riegel <triegel@redhat.com>
38761         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
38763 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38765         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
38766         pointer and cast to uintptr_t.
38768 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38770         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
38771         removed.
38772         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
38774 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
38776         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
38777         of 0.
38779 2015-01-08  Roland McGrath  <roland@hack.frob.com>
38781         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
38782         <nptl/pthreadP.h> instead.
38783         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
38785         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
38786         already defined.
38787         [__SIGRTMIN] (init): Function removed.
38788         [__SIGRTMIN] (initialized): Variable removed.
38789         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
38790         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
38791         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
38792         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
38793         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
38794         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38795         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38796         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38797         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38798         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38799         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38800         * sysdeps/nptl/allocrtsig.c: New file.
38801         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38802         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38803         * sysdeps/generic/testrtsig.h: File removed.
38805         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38806         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38808         * nptl/nptl-init.c (pthread_functions): Conditionalize
38809         .ptr__nptl_setxid initialization on [SIGSETXID].
38811         * sysdeps/nptl/sys/procfs.h: New file.
38812         * nptl_db/Makefile (headers): Add it.
38813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38815         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38816         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38817         * nptl/pthread_attr_setaffinity.c: Include it.
38818         * nptl/pthread_setattr_default_np.c: Likewise.
38819         * nptl/check-cpuset.h: New file.
38821 2015-01-08  Richard Henderson  <rth@redhat.com>
38823         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38824         (CFLAGS-tst-execstack-prog.c): Likewise.
38825         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38827 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38828             Sandra Loosemore  <sandra@codesourcery.com>
38829             Andrew Jenner  <andrew@codesourcery.com>
38830             Joseph Myers  <joseph@codesourcery.com>
38831             Nathan Sidwell  <nathan@codesourcery.com>
38833         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38834         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38835         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38836         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38837         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38838         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38839         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38840         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38841         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38842         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38843         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38844         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38845         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38846         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38847         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38848         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38849         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38851 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38853         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38854         timespec struct member in syscall macro.
38855         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38856         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38857         first timeval struct member in syscall macro.
38858         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38860 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38862         [BZ #17748]
38863         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38864         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38865         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38866         __feupdateenv and define as weak alias of __feupdateenv.  Use
38867         libm_hidden_weak.
38868         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38869         libm_hidden_def.
38870         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38871         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38872         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38873         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38874         libm_hidden_def.
38875         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38876         __feupdateenv and define as weak alias of __feupdateenv.  Use
38877         libm_hidden_weak.
38878         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38879         libm_hidden_def.
38880         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38881         __feupdateenv and define as weak alias of __feupdateenv.  Use
38882         libm_hidden_weak.
38883         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38884         libm_hidden_def.
38885         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38886         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38887         (__feupdateenv): Likewise.
38888         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38889         __feupdateenv and define as weak alias of __feupdateenv.  Use
38890         libm_hidden_weak.
38891         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38892         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38893         libm_hidden_def.
38894         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38895         function.
38896         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38897         libm_hidden_def.
38898         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38899         __feupdateenv instead of feupdateenv.
38900         (default_libc_feupdateenv_test): Likewise.
38901         (libc_feresetround_ctx): Likewise.
38903 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38905         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38906         prototype.
38908 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38910         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38911         COLL_SYM in a couple of places to avoid uninitialized variable
38912         wanings on tilegx gcc 4.8.2.
38914 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38916         * sysdeps/aarch64/strcpy.S: New file.
38917         * sysdeps/aarch64/stpcpy.S: New file.
38918         * NEWS: Updated.
38920 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38922         * sysdeps/aarch64/strrchr.S: New file.
38923         * NEWS: Updated.
38925 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38927         [BZ #17658]
38928         * stdlib/setenv.c: Fix memory leak when setting large,
38929         duplicate string.
38931 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38933         [BZ #17273]
38934         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38935         and tabs from buffer before parsing fstab entry.
38936         * misc/tst-mntent.c (main): Add test for mount entry with
38937         trailing spaces and tabs.
38939 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38941         [BZ #17748]
38942         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38943         * math/fesetround.c (fesetround): Rename to __fesetround and
38944         define as weak alias of __fesetround.  Use libm_hidden_weak.
38945         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38946         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38947         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38948         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38949         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38950         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38951         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38952         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38953         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38954         __fesetround_inline.
38955         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38956         __fesetround_inline instead of __fesetround.
38957         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38958         __fesetround and define as weak alias of __fesetround.  Use
38959         libm_hidden_weak.  Call __fesetround_inline instead of
38960         __fesetround.
38961         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38962         __fesetround and define as weak alias of __fesetround.  Use
38963         libm_hidden_weak.
38964         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38965         Likewise.
38966         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38968         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38969         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38970         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38971         __fesetround and define as weak alias of __fesetround.  Use
38972         libm_hidden_weak.
38973         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38974         __fesetround instead of fesetround.
38975         (default_libc_feholdexcept_setround): Likewise.
38976         (libc_feholdsetround_ctx): Likewise.
38977         (libc_feholdsetround_noex_ctx): Likewise.
38979         [BZ #17748]
38980         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38981         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38982         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38983         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38984         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38985         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38986         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38987         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38988         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38989         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38990         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38991         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38992         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38993         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38994         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38995         libm_hidden_def.
38996         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38997         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38998         Likewise.
38999         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39000         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39001         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39002         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39003         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39004         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39005         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39006         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39007         __fesetenv instead of fesetenv.
39008         (libc_feresetround_noex_ctx): Likewise.
39009         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39010         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39011         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39012         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39013         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39014         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39015         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39016         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39017         (__feupdateenv): Likewise.
39018         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39019         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39020         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39021         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39023 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39025         [BZ #17806]
39026         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39027         addresses have been freed.
39029 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39031         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39032         and nservall.
39034 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39036         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39037         Clean up check_pf allocation pattern. addresses
39039 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39041         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39042         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39043         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39044         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39045         * nptl/pthread_join.c (pthread_join): Likewise.
39046         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39047         * sysdeps/posix/waitid.c (__waitid): Likewise.
39048         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39049         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39050         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39051         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39052         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39053         Likewise.
39054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39055         (__libc_pread64): Likewise.
39056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39057         (__libc_pwrite): Likewise.
39058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39059         (__libc_pwrite64): Likewsie.
39060         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39061         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39062         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39063         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39064         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39065         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39066         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39068         Likewise.
39069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39070         (__libc_pread64): Likewise.
39071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39072         Likewise.
39073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39074         (__libc_pwrite64): Likewise.
39075         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39076         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39077         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39078         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39079         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39080         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39081         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39082         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39083         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39084         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39085         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39086         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39087         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39088         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39089         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39090         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39091         Likewise.
39093 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39095         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39096         (CFLAGS-test-double.c): Likewise.
39097         (CFLAGS-test-ldouble.c): Likewise.
39098         (CPPFLAGS-test-ifloat.c): Likewise.
39099         (CPPFLAGS-test-idouble.c): Likewise.
39100         (CPPFLAGS-test-ildoubl.c): Likewise.
39101         (CFLAGS-test-test-fenv.c): Remove variable.
39102         (CFLAGS-test-misc.c): Likewise.
39104 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39106         [BZ #17797]
39107         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39108         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39109         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39110         CLOCKS_PER_SEC == 1000000.
39111         * time/clocktest.c (main): Replace %ld with %jd and cast to
39112         intmax_t.
39114 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39116         * sysdeps/generic/unwind-resume.h: New file.
39117         * sysdeps/gnu/unwind-resume.c: Include it.
39118         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39119         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39120         argument list.
39121         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39122         global rather than static.
39123         (_Unwind_Resume): Update user.
39124         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39125         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39126         rather than static.  Add __attribute__ ((cold)).
39127         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39128         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39129         * sysdeps/arm/arm-unwind-resume.S: New file.
39130         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39131         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39132         * sysdeps/arm/Makefile [$(subdir) = csu]
39133         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39134         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39135         Add rt-arm-unwind-resume.
39136         [$(subdir) = nptl]
39137         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39138         Add pt-arm-unwind-resume.
39139         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39140         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39142 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39144         [BZ #17748]
39145         * include/fenv.h (__feholdexcept): Declare.  Use
39146         libm_hidden_proto.
39147         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39148         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39149         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39150         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39151         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39152         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39153         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39154         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39155         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39156         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39157         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39158         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39159         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39160         (feholdexcept): Likewise.
39161         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39162         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39163         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39164         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39165         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39166         __feholdexcept instead of feholdexcept.
39167         (default_libc_feholdexcept_setround): Likewise.
39169 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39171         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39172         to avoid using stl/str to align destination.
39174 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39176         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39178 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39180         [BZ #17796]
39181         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39182         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39183         Define as weak alias not strong alias.
39185 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39187         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39188         bltzal with addiupc.
39189         (RTLD_START): Ditto.
39191 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39193         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39194         for __vdso_* functions in declarations.
39195         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39196         definitions.
39197         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39198         INTERNAL_VSYSCALL): Use struct return types to check for error.
39200         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39201         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39202         function with cast from llround().
39203         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39204         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39205         Define.
39207 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39209         [BZ #17793]
39210         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39211         Define as weak alias not strong alias.
39213         [BZ #17635]
39214         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39215         ...
39216         * ctype/ctype-extn.c: ... here.
39217         (__isblank_l): Move to ...
39218         * ctype/ctype-c99_l.c: ... here.  New file.
39219         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39220         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39221         Remove variable.
39222         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39223         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39224         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39225         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39226         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39228         [BZ #17777]
39229         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39230         (posix_fadvise64): Define as weak alias not strong alias.
39231         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39232         (posix_fallocate64): Likewise.
39233         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39234         Remove variable.
39235         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39236         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39237         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39238         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39239         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39241 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39243         [BZ #16191]
39244         * NEWS: Mention bug fix.
39245         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39246         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39247         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39248         (HOST_STACK_END_ADDR): Likewise.
39250 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39252         [BZ #17748]
39253         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39254         * math/fegetround.c (fegetround): Rename to __fegetround and
39255         define as weak alias of __fegetround.  Use libm_hidden_weak.
39256         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39257         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39258         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39259         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39260         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39261         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39262         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39263         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39264         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39265         Undefine after rather than before function definition; use
39266         parentheses around function name in definition.
39267         (__fegetround): Also undefine macro after function definition.
39268         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39269         __fegetround and define as weak alias of __fegetround.  Use
39270         libm_hidden_weak.  Do not undefine as macro.
39271         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39272         Likewise.
39273         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39274         __fegetround and define as weak alias of __fegetround.  Use
39275         libm_hidden_weak.
39276         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39277         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39278         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39279         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39280         __fegetround and define as weak alias of __fegetround.  Use
39281         libm_hidden_weak.
39282         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39283         __fegetround instead of fegetround.
39285         [BZ #17782]
39286         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39287         Condition macro definition on [__USE_MISC].
39289         [BZ #17781]
39290         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39291         (struct sigaction): Change type of sa_flags field to int.
39293         [BZ #17780]
39294         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39295         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39296         __glibc_reserved0.
39298         * nptl/version.c (banner): Use single year in copyright notice.
39300         * NEWS: Update copyright dates.
39301         * catgets/gencat.c (print_version): Likewise.
39302         * csu/version.c (banner): Likewise.
39303         * debug/catchsegv.sh: Likewise.
39304         * debug/pcprofiledump.c (print_version): Likewise.
39305         * debug/xtrace.sh (do_version): Likewise.
39306         * elf/ldconfig.c (print_version): Likewise.
39307         * elf/ldd.bash.in: Likewise.
39308         * elf/pldd.c (print_version): Likewise.
39309         * elf/sotruss.sh: Likewise.
39310         * elf/sprof.c (print_version): Likewise.
39311         * iconv/iconv_prog.c (print_version): Likewise.
39312         * iconv/iconvconfig.c (print_version): Likewise.
39313         * locale/programs/locale.c (print_version): Likewise.
39314         * locale/programs/localedef.c (print_version): Likewise.
39315         * login/programs/pt_chown.c (print_version): Likewise.
39316         * malloc/memusage.sh (do_version): Likewise.
39317         * malloc/memusagestat.c (print_version): Likewise.
39318         * malloc/mtrace.pl: Likewise.
39319         * manual/libc.texinfo: Likewise.
39320         * nptl/version.c (banner): Likewise.
39321         * nscd/nscd.c (print_version): Likewise.
39322         * nss/getent.c (print_version): Likewise.
39323         * nss/makedb.c (print_version): Likewise.
39324         * posix/getconf.c (main): Likewise.
39325         * scripts/test-installation.pl: Likewise.
39326         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
39328 2015-01-02  Will Newton  <will.newton@linaro.org>
39330         * sysdeps/arm/armv7/configure: Removed.
39331         * sysdeps/arm/armv7/configure.ac: Likewise.
39333 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39335         * All files with FSF copyright notices: Update copyright dates
39336         using scripts/update-copyrights.
39337         * intl/plural.c: Regenerated.
39338         * locale/programs/charmap-kw.h: Likewise.
39339         * locale/programs/locfile-kw.h: Likewise.
39341 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39343         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
39345 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39347         [BZ #17748]
39348         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
39349         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
39350         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39351         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39352         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39353         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
39354         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39355         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
39356         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39357         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39358         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39359         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39360         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39361         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39362         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
39363         libm_hidden_def.
39364         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
39365         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
39366         Likewise.
39367         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
39368         define as weak alias of __fegetenv.  Use libm_hidden_weak.
39369         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39370         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39371         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
39372         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
39373         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
39374         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
39375         __fegetenv instead of fegetenv.
39376         (libc_feholdsetround_noex_ctx): Likewise.
39378 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39380         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
39381         (Elf_MIPS_ABIFlags_v0): New structure.
39382         (EF_MIPS_FP64): Define.
39383         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
39384         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
39385         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
39386         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
39387         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
39388         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
39389         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
39390         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
39391         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
39392         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
39393         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
39394         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
39395         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
39396         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
39397         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
39398         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
39399         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
39400         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
39401         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
39402         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
39403         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
39404         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
39405         field.
39406         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
39407         EF_MIPS_FP64.
39408         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
39409         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
39410         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
39411         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
39412         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
39413         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
39414         * sysdeps/mips/tst-abi-interlink.c: Likewise.
39415         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
39416         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
39417         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
39418         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
39419         record the current FP ABI extension.
39420         (mips-mode-switch): Define to show if kernel headers support mode
39421         switching.
39422         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
39423         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
39424         supported SYSV ABI version to 3.
39425         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
39426         feature.
39428 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39429             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39431         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
39432         path.
39433         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
39435 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
39437         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
39438         __fegetround and redefine to call __fegetround.  Remove condition
39439         on [!__NO_MATH_INLINES].
39440         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
39441         function.
39442         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
39443         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39444         Remove macro.
39445         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
39446         instead of <fenv_libc.h>.
39447         (__llrintl): Call fegetround instead of __fegetround.
39448         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
39449         instead of <fenv_libc.h>.
39450         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39451         (__lrintl): Call fegetround instead of __fegetround.
39452         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
39453         instead of <fenv_libc.h>.
39454         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39455         (__rintl): Call fegetround instead of __fegetround.
39457 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39459         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
39460         arrays.
39462 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39464         [BZ #17775]
39465         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
39466         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
39467         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
39469 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39471         * sysdeps/i386/tls-macros.h: Include <features.h>.
39472         (TLS_LE): Use non-PIC version for GCC >= 5.0.
39473         (TLS_IE): Likewise.
39474         (TLS_LD): Likewise.
39475         (TLS_GD): Likewise.
39476         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
39477         define for GCC >= 5.0.
39479 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
39481         * math/test-fenv.c (test_single_exception, set_single_exc,
39482         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
39483         feexcp_mask_test, feenable_test, fe_single_test): Add
39484         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
39485         case where they are not used.
39486         * math/libm-test.inc: Likewise.
39487         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
39488         unused in the absence of FP rounding/exception support.
39489         * stdio-common/tst-printf-round.c: Likewise.
39490         * stdlib/tst-strtod-round.c: Likewise.
39491         * stdlib/tst-strtod-underflow.c: Likewise.
39493 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
39495         [BZ #17723]
39496         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
39497         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
39498         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39499         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39500         libm_hidden_weak.
39501         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
39502         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39503         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
39504         libm_hidden_def.
39505         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39506         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39507         libm_hidden_weak.
39508         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
39509         Likewise.
39510         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
39511         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39512         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39513         libm_hidden_weak.
39514         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39515         libm_hidden_def.
39516         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39517         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
39518         (__feraiseexcept): Likewise.
39519         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
39520         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
39521         libm_hidden_weak.
39522         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
39523         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
39524         libm_hidden_def.
39525         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
39526         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
39527         Use libm_hidden_def.
39528         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
39529         libm_hidden_def.
39530         (feraiseexcept): Define as weak not strong alias.  Use
39531         libm_hidden_weak.
39532         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
39533         New inline function.  Factored out of ...
39534         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
39535         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
39536         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
39537         feraiseexcept.
39538         * math/w_acos.c (__acos): Likewise.
39539         * math/w_asin.c (__asin): Likewise.
39540         * math/w_ilogb.c (__ilogb): Likewise.
39541         * math/w_j0.c (y0): Likewise.
39542         * math/w_j1.c (y1): Likewise.
39543         * math/w_jn.c (yn): Likewise.
39544         * math/w_log.c (__log): Likewise.
39545         * math/w_log10.c (__log10): Likewise.
39546         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
39547         * sysdeps/aarch64/fpu/math_private.h
39548         (libc_feupdateenv_test_aarch64): Likewise.
39549         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39550         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
39551         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
39552         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39553         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39554         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39555         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
39556         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39557         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39558         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39560 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
39562         [BZ #17732]
39563         * io/test-utime.c (main): Replace %ld with %jd and cast to
39564         intmax_t.
39565         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
39566         * nptl/tst-mutex5.c: Include <stdint.h>.
39567         (do_test): Replace %ld with %jd and cast to intmax_t.
39568         * posix/tst-regex.c (run_test): Likewise.
39569         (run_test_backwards): Likewise.
39570         * rt/tst-clock.c: Include <stdint.h>.
39571         (clock_test): Replace %ld with %jd and cast to intmax_t.
39572         * rt/tst-cpuclock1.c: Include <stdint.h>.
39573         (do_test): Replace %lu with %ju and cast to uintmax_t.
39574         * rt/tst-cpuclock2.c: Include <stdint.h>.
39575         (do_test): Replace %lu with %ju and cast to uintmax_t.
39576         * rt/tst-mqueue1.c: Include <stdint.h>.
39577         (check_attrs): Replace %ld with %jd and cast to intmax_t.
39578         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
39579         intmax_t.
39580         * rt/tst-mqueue4.c (do_test): Likewise.
39581         * rt/tst-timer4.c: Include <stdint.h>.
39582         (check_ts): Replace %ld with %jd and cast to intmax_t.
39583         (do_test): Likewise.
39584         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
39585         and cast to intmax_t.
39586         * sysdeps/pthread/tst-timer.c (main): Likewise.
39587         * time/clocktest.c (main): Likewise.
39588         * time/tst-posixtz.c (do_test): Likewise.
39589         * timezone/tst-timezone.c (main): Likewise.
39591 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
39592             H.J. Lu  <hongjiu.lu@intel.com>
39594         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
39595         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
39596         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
39597         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
39598         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
39599         version if bit_Fast_Unaligned_Load is set.
39600         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39601         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39602         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39603         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39604         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39605         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39606         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39607         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
39608         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
39609         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
39610         to 4.
39611         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
39612         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
39613         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
39614         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
39616 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
39618         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
39619         instead of #if to avoid a Wundef warning.
39620         * stdlib/tst-limits.c (do_test): Likewise.
39622         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
39623         parallel other exception macros.
39624         (fegetenv): Convert from macro to extern inline so that it applies
39625         retroactively to inline functions already seen by the compiler.
39626         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
39628         * posix/Makefile (before-compile): Use $(objpfx) for
39629         posix-conf-vars-def.h.
39631 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39633         * posix/getconf.c (main): Use size_t for type of I.
39634         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
39635         NSPEC.
39637         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
39638         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
39639         * posix/posix-envs.def: Likewise.
39640         * sysdeps/posix/sysconf.c: Likewise.
39641         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
39642         (specs): Remove array.
39643         * scripts/gen-posix-conf-vars.awk: Support generation of specs
39644         array.
39646         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
39647         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
39648         (__sysconf): Use CONF_IS_* macros.
39650         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
39651         ($(objpfx)posix-conf-vars-def.h): New target.
39652         * posix/posix-conf-vars.list: New file.
39653         * posix/posix-conf-vars.h: New file.
39654         * posix/confstr.c: Include posix-conf-vars.h.
39655         (confstr): Use CONF_IS_* macros.
39656         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
39657         CONF_IS_* macros.
39658         * scripts/gen-posix-conf-vars.awk: New file.
39660 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
39662         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
39663         fegetround): Add no-op macros to avoid linknamespace issues.
39665         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
39666         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
39668         * sysdeps/unix/sysv/linux/tile/sysdep.h
39669         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
39670         assembly-specific section to avoid a redefinition warning.
39672         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
39673         long before casting to pointer to avoid a cast warning.
39675 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
39677         * sysdeps/tile/tilegx/Implies: New file.
39679 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
39681         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
39683 2014-12-23  Florian Weimer  <fweimer@redhat.com>
39685         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
39687 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39689         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
39690         not define.
39691         * sysdeps/unix/sysv/linux/utimes.c: Do not include
39692         <kernel-features.h>.
39693         (__utimes) [__NR_utimes]: Make code unconditional.
39694         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
39695         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39696         (__ASSUME_UTIMES): Do not undefine.
39697         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39698         (__ASSUME_UTIMES): Likewise.
39699         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39700         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
39701         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
39702         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
39704 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39706         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
39708 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
39710         [BZ #17747]
39711         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
39712         alias to weak alias for j0l, y0l.
39713         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
39714         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
39716         [BZ #17746]
39717         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
39718         conversion.
39720 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
39722         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
39723         to zero if not already defined.
39725 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39727         [BZ #17724]
39728         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
39729         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
39730         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
39731         (char *) casts added.
39732         * sysdeps/ieee754/k_standardf.c: New file.
39733         * sysdeps/ieee754/k_standardl.c: Likewise.
39734         * math/Makefile (libm-support): Remove k_standard.
39735         (libm-calls): Add k_standard.
39737 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39739         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39740         Optimize to avoid an unnecessary FPCR read.
39742 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39744         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
39745         Optimize to reduce FPCR/FPSR accesses.
39747 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39749         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
39750         Call libc_fetestexcept_aarch64.
39752 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
39754         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
39755         Call libc_fesetround_aarch64.
39757 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
39759         [BZ #17733]
39760         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
39761         (__bind): Do not define as weak alias.
39762         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
39763         define.
39764         (__getsockname): Do not define as weak alias.
39766 2014-12-22  Will Newton  <will.newton@linaro.org>
39768         * manual/install.texi: Document that we require bison 2.7
39769         or above.
39770         * INSTALL: Regenerate.
39771         * configure.ac: Use AC_CHECK_PROG_VER instead of
39772         AC_PATH_PROG when checking for bison and check for
39773         version 2.7 or above.
39774         * configure: Regenerate.
39776 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
39778         [BZ #17745]
39779         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
39780         * sysdeps/tile/ffsll.c (ffsll): To here.
39782         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
39784 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39786         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
39787         if not defined.
39788         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
39789         definition.
39790         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39791         hidden ___tls_get_addr.
39792         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
39793         hidden __tls_get_addr.
39794         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39795         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39796         Likewise.
39798 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39800         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39801         _dl_init call.
39803 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39805         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39806         from "call _dl_init@PLT".
39807         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39809 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39811         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39812         guarantees.
39814 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39816         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39818 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39820         [BZ #17744]
39821         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39822         strnlen.
39824 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39826         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39827         of multu on MIPSr6.
39828         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39829         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39830         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39831         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39832         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39834 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39836         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39837         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39838         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39839         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39840         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39841         mips32r6/mips64r6.
39842         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39844 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39846         * string/strncat.c (STRNCAT): Simplify implementation.
39848 2014-12-19  David S. Miller  <davem@davemloft.net>
39850         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39851         access the quad as both a long double and as a series of 4 words.
39853         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39854         link_map->l_info array access.
39856 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39858         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39860         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39861         * math/atest-exp2.c (TIMEOUT): Likewise.
39862         * math/atest-sincos.c (TIMEOUT): Likewise.
39864 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39866         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39867         -Wno-error with -fno-builtin-lround.
39869 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39871         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39872         Contains futex constants and functions moved over from ...
39873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39874         <lowlevellock-futex.h>.
39875         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39876         (lll_timedwait_tid): Add comments and parentheses around macro
39877         arguments.
39879 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39882         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39883         (__lll_private_flag): Remove.
39884         (lll_futex_wait): Likewise.
39885         (lll_futex_timed_wait): Likewise.
39886         (lll_futex_wake): Likewise.
39887         (lll_futex_requeue): Likewise.
39888         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39889         (__lll_timedwait_tid): Spell out argument names.
39890         (lll_timedwait_tid): Add comments and parentheses around macro
39891         arguments.
39892         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39893         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39895 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39897         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39898         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39899         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39900         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39901         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39902         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39903         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39904         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39905         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39906         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39908         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39909         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39910         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39911         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39912         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39913         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39914         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39915         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39917 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39919         * sysdeps/x86_64/x32/Makefile: New file.
39921 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39923         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39924         1L with (mp_limb_t) 1.
39926 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39928         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39929         * nptl/libc_pthread_init.c: ... here.
39930         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39931         * nptl/register-atfork.c: ... here.
39933         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39934         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39935         Use assert_perror to check its return value.
39936         (__gai_create_helper_thread): Likewise.
39938         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39940         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39942 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39944         [BZ #17725]
39945         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39946         __profil_counter.
39947         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39948         Likewise.
39949         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39950         Likewise.
39951         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39952         Likewise.
39953         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39954         (profil_counter): Likewise.
39955         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39956         (profil_counter): Likewise.
39957         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39958         Likewise.
39959         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39960         Likewise.
39961         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39962         (profil_counter): Likewise.
39963         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39964         Likewise.
39965         [!__profil_counter] (profil_counter): Define as weak alias of
39966         __profil_counter.
39967         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39968         (profil_counter): Rename to __profil_counter.
39969         [!__profil_counter] (profil_counter): Define as weak alias of
39970         __profil_counter.
39971         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39972         (profil_counter): Rename to __profil_counter.
39973         [!__profil_counter] (profil_counter): Define as weak alias of
39974         __profil_counter.
39975         * sysdeps/posix/profil.c: Update comment referring to
39976         profil_counter.
39977         (__profil): Use __profil_counter instead of profil_counter.
39978         * sysdeps/posix/sprofil.c (profil_counter): Rename to
39979         __profil_counter.  Use __profil_counter_ushort and
39980         __profil_counter_uint in definitions.
39981         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39982         instead of profil_counter_uint and profil_counter_ushort.
39984         [BZ #17722]
39985         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39986         define as weak alias of __inet_makeaddr.
39987         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39988         as weak alias of __inet_addr.
39989         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39990         as weak alias of __inet_pton.  Use libc_hidden_weak.
39991         * include/arpa/inet.h (__inet_pton): Declare.  Use
39992         libc_hidden_proto.
39993         (inet_makeaddr): Don't use libc_hidden_proto.
39994         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
39995         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39996         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
39997         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39998         Remove variable.
39999         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40000         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40002 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40004         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40006 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40008         * stdio-common/bug-vfprintf-nargs.c (do_test):
40009         Cast value to intptr_t to avoid format warning
40010         for usage with PRIdPTR printing macro.
40012 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40014         * libio/tst-widetext.c (do_test):
40015         Use format type %td instead of %Zd for ptrdiff_t
40016         in order to avoid format warning.
40018 2014-12-17  Andreas Schwab  <schwab@suse.de>
40020         * nscd/mem.c (gc): Add size_t cast to match printf format.
40022 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40024         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40025         (init): Apply PTR_MANGLE to pointers before storing them.
40026         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40027         before using them.
40029 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40031         [BZ #17719]
40032         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40033         define as weak alias of __memrchr.
40034         (__memrchr): Do not define as strong alias of memrchr.
40035         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40036         Remove variable.
40037         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40038         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40039         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40041         [BZ #17717]
40042         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40043         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40044         (if_indextoname): Rename to __if_indextoname and define as weak
40045         alias of __if_indextoname.  Use libc_hidden_weak.
40046         (if_freenameindex): Rename to __if_freenameindex and define as
40047         weak alias of __if_freenameindex.
40048         (if_nameindex): Rename to __if_nameindex and define as weak alias
40049         of __if_nameindex.
40050         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40051         __if_nametoindex and define as weak alias of __if_nametoindex.
40052         Use libc_hidden_weak.
40053         (if_freenameindex): Rename to __if_freenameindex and define as
40054         weak alias of __if_freenameindex.
40055         (if_nameindex): Rename to __if_nameindex and define as weak alias
40056         of __if_nameindex.
40057         (if_indextoname): Rename to __if_indextoname and define as weak
40058         alias of __if_indextoname.  Use libc_hidden_weak.
40059         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40060         __if_nametoindex and define as weak alias of __if_nametoindex.
40061         Use libc_hidden_weak.
40062         (if_freenameindex): Rename to __if_freenameindex and define as
40063         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40064         (if_nameindex_netlink): Use __if_freenameindex instead of
40065         if_freenameindex.
40066         (if_nameindex): Rename to __if_nameindex and define as weak alias
40067         of __if_nameindex.  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         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40071         libc_hidden_proto.
40072         [!_ISOMAC] (__if_freenameindex): Likewise.
40073         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40074         if_nametoindex.
40075         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40076         variable.
40077         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40078         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40079         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40080         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40081         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40082         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40083         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40085         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40086         Remove variable.
40087         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40088         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40090 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40092         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40093         subscript above bounds'
40095         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40096         bounds.
40098 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40100         * libio/tst-fopenloc.c: Use test-skeleton.c.
40102         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40103         (entry): Rename to ITEM.
40104         (do_test, comp): Adjust.
40106         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40108 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40110         * string/tester.c: Include <libc-internal.h>.
40111         (test_memset): Ignore -Wmemset-transposed-args.
40113 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40115         * misc/tst-mntent2.c (do_test): Fix warning.
40117 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40119         * elf/tst-unique4lib.cc(a): Mark as used.
40121 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40123         [BZ #17630]
40124         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40125         names.
40127 2014-12-16  Allan McRae  <allan@archlinux.org>
40129         * stdio-common/Makefile (tests): Re-add bug26.
40131 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40133         [BZ #17657]
40134         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40135         static array.
40137 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40139         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40140         (__lll_lock_wait): Likewise.
40141         (__lll_timedlock_wait): Likewise.
40142         (__lll_timedwait_tid): Likewise.
40143         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40144         (__lll_robust_timedlock_wait): Likewise.
40145         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40146         (lll_cond_trylock): Likewise.
40147         (__lll_lock): Likewise.
40148         (__lll_robust_lock): Likewise.
40149         (__lll_cond_lock): Likewise.
40150         (lll_robust_cond_lock): Likewise.
40151         (__lll_timedlock): Likewise.
40152         (__lll_robust_timedlock): Likewise.
40153         (__lll_unlock): Likewise.
40154         (__lll_robust_unlock): Likewise.
40155         (lll_wait_tid): Likewise.
40156         (lll_timedwait_tid): Likewise.
40158 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40160         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40162 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40164         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40166 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40168         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40169         * stdio-common/tst-sprintf.c: Likewise.
40171 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40173         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40175 2014-12-15  Jeff Law  <law@redhat.com>
40177         [BZ #16617]
40178         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40179         on the heap.  (CVE-2012-3406)
40180         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40181         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40182         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40184 2014-12-15  Will Newton  <will.newton@linaro.org>
40186         * manual/install.texi: Bump required version of texinfo
40187         to 4.7 from 4.5.
40188         * INSTALL: Regenerated.
40189         * configure.ac: Check for makeinfo version 4.7 and above.
40190         * configure: Regenerated.
40192 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40194         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40195         PREFIX, string constant to insert between directory and name.
40196         * sysdeps/posix/shm_open.c: Update caller.
40197         * sysdeps/posix/shm_unlink.c: Likewise.
40198         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40199         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40200         (SEM_SHM_PREFIX): New macro.
40201         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40202         [$(have-thread-library) = no].
40203         * nptl/Makefile (libpthread-routines): Add shm-directory.
40204         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40205         * sysdeps/nptl/shm-directory.h: New file.
40206         * sysdeps/posix/shm-directory.c
40207         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40208         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40209         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40210         INTERNAL_SYSCALL.
40211         (__where_is_shmfs): Function removed.
40212         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40213         Variables removed.
40214         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40215         Use SHM_GET_NAME.
40216         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40218         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40219         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40220         unconditional for use inside libpthread.
40221         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40223 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40225         * nptl/pthread_getaffinity.c: New file.
40226         * nptl/pthread_setaffinity.c: New file.
40227         * nptl/pthread_getname.c: New file.
40228         * nptl/pthread_setname.c: New file.
40230         * nptl/pthread_create.c (START_THREAD_DEFN)
40231         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40233 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40234             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40236         * resolv/res_send.c (send_vc): Disable warning resplen may
40237         be used uninitialized.
40239 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40241         * nptl/tst-mutex6.c
40242         (ATTR_NULL): New define checks ATTR against NULL.
40243         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40244         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40246 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40248         [BZ #17581]
40249         * malloc/hooks.c
40250         (mem2mem_check): Revert my previous change.
40251         (malloc_check_get_size): Revert my previous change.
40252         (mem2chunk_check): Revert my previous change.
40254 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40256         * sysdeps/posix/shm-directory.c: New file.
40257         * sysdeps/posix/shm-directory.h: New file.
40258         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40259         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40260         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40261         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40262         Transmute EPERM to EACCES.
40263         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40264         from ...
40265         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40266         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40268 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40270         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40271         pointer and cast to uintptr_t.
40272         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40273         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40274         Add cast to avoid warning.
40275         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40277 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40279         * nptl/semaphore.h: Move to ...
40280         * sysdeps/pthread/semaphore.h: ... here.
40281         * Makefile (installed-headers): Change nptl/semaphore.h to
40282         sysdeps/pthread/semaphore.h.
40284 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40286         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40287         generated error format strings.
40289         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40290         -Wformat-extra-args warnings for scanf formats.
40291         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40292         test of zero-length format (duh).
40293         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40294         corner-case scanf format test.
40295         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40296         generated fprintf format string.
40297         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40298         corner-case sprintf format tests.
40299         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40300         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40301         -Wformat-extra-args warnings throughout.
40302         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40303         (CFLAGS-scanf4.c): Likewise.
40304         (CFLAGS-scanf7.c): Likewise.
40305         (CFLAGS-tst-sprintf.c): Likewise.
40306         (CFLAGS-tst-printf.c): Likewise.
40307         (CFLAGS-tst-printfsz.c): Likewise.
40309 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40311         * include/cpio.h: New file.
40312         * include/fmtmsg.h: Likewise.
40314         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40315         corresponding format argument to size_t.
40316         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40317         arguments.
40318         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40319         corresponding format argument to size_t.
40320         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40321         arguments.
40322         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40323         corresponding format argument to size_t.
40324         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40325         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40326         (CFLAGS-tst-mbswcs2.c): Likewise.
40327         (CFLAGS-tst-mbswcs3.c): Likewise.
40328         (CFLAGS-tst-mbswcs4.c): Likewise.
40329         (CFLAGS-tst-mbswcs5.c): Likewise.
40330         (CFLAGS-tst-trans.c): Likewise.
40332 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40334         * posix/regexbug1.c (main): Use "%s" format with regerror results,
40335         rather than assuming they won't contain any '%'s.
40337 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
40339         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
40340         inhibit_loop_to_libcall to avoid recursive calls.
40341         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
40342         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
40344 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40346         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
40347         prototype.
40349 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40351         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
40352         integer value instead of boolean.
40354 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
40356         * malloc/malloc.c: Fix powerof2 check.
40358 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40360         * locale/programs/locfile.h (maybe_swap_uint32):
40361         Remove inline and add unused attribute.
40363 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40365         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
40366         Truncating assembler expression to a .long expression.
40368 2014-12-11  Andreas Schwab  <schwab@suse.de>
40370         * elf/rtld.c (struct map_args): Constify str member.
40371         (do_preload): Constify fname argument.
40373 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40375         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
40376         constants definition.
40378 2014-12-11  Andreas Schwab  <schwab@suse.de>
40380         [BZ #16657]
40381         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
40382         FORCE_ELISION instead of DO_ELISION.
40383         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
40384         Remove.
40385         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
40386         Likewise.
40388         * iconvdata/gconv-modules: Remove duplicate entry.
40390 2014-12-11  Will Newton  <will.newton@linaro.org>
40392         Merge gettext 0.19.3 into intl/.
40394         This involves a number of cosmetic changes to comments
40395         and ANSI function definitions and prototypes throughout
40396         all the files. The gettext copyright header is used but
40397         with the date ranges taken from the glibc copy.
40399         * NEWS: Add gettext merge to 2.21.
40400         * intl/bindtextdom.c: Switch to gettext copyright.
40401         Use ANSI definitions and prototypes.
40402         Use gl_* locking primitives rather than __libc_* ones.
40403         Use __builtin_expect rather than __glibc_likely/unlikely.
40404         * intl/dcgettext.c: Switch to gettext copyright.
40405         Use ANSI definitions and prototypes.
40406         * intl/dcigettext.c: Switch to gettext copyright.
40407         Use ANSI definitions and prototypes.
40408         (INTDIV0_RAISES_SIGFPE): New define.
40409         Use gl_* locking primitives rather than __libc_* ones.
40410         Include eval-plural.h instead of plural-eval.c.
40411         Use __builtin_expect rather than __glibc_likely/unlikely.
40412         * intl/dcngettext.c: Switch to gettext copyright.
40413         Use ANSI definitions and prototypes.
40414         * intl/dgettext.c: Likewise.
40415         * intl/dngettext.c: Likewise.
40416         * intl/plural-eval.c: Renamed to...
40417         * intl/eval-plural.h: ...this.
40418         * intl/explodename.c: Switch to gettext copyright.
40419         Use ANSI definitions and prototypes.
40420         (_nl_explode_name): Use strchr instead of __rawmemchr.
40421         * intl/finddomain.c: Switch to gettext copyright.
40422         Use ANSI definitions and prototypes.
40423         Use gl_* locking primitives rather than __libc_* ones.
40424         (_nl_find_domain): Use malloc rather than alloca for
40425         allocation of temporary locale name.
40426         * intl/gettext.c: Switch to gettext copyright.
40427         Use ANSI definitions and prototypes.
40428         * intl/gettextP.h: Switch to gettext copyright.
40429         Use ANSI definitions and prototypes.
40430         Use gl_* locking primitives rather than __libc_* ones.
40431         * intl/gmo.h: Switch to gettext copyright.
40432         (struct sysdep_string): Move struct segment_pair outside of
40433         struct definition.
40434         * intl/hash-string.c: Use ANSI definitions and prototypes.
40435         * intl/hash-string.h: Switch to gettext copyright.
40436         Use ANSI definitions and prototypes.
40437         * intl/l10nflist.c: Switch to gettext copyright.
40438         Use ANSI definitions and prototypes.
40439         (_nl_normalize_codeset): Avoid integer overflow.
40440         * intl/loadinfo.h: Switch to gettext copyright.
40441         Use ANSI definitions and prototypes.
40442         (LIBINTL_DLL_EXPORTED): New define.
40443         (PATH_SEPARATOR): New define.
40444         * intl/loadmsgcat.c: Switch to gettext copyright.
40445         * intl/localealias.c: Switch to gettext copyright.
40446         Use ANSI definitions and prototypes.
40447         (_nl_expand_alias): Use PATH_SEPARATOR.
40448         * intl/ngettext.c: Switch to gettext copyright.
40449         Use ANSI definitions and prototypes.
40450         * intl/plural-exp.c: Likewise.
40451         * intl/plural-exp.h: Switch to gettext copyright.
40452         Use ANSI definitions and prototypes.
40453         (struct expression): Move definition of enum operator outside
40454         of struct definition.
40455         * intl/plural.c: Regenerate.
40456         * intl/plural.y: Switch to gettext copyright.
40457         Use ANSI definitions and prototypes.
40458         Port to bison 3.0.
40459         * intl/textdomain.c: Switch to gettext copyright.
40460         Use ANSI definitions and prototypes.
40461         Use gl_* locking primitives rather than __libc_* ones.
40463 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
40465         * debug/warning-nop.c: Add used atrribute.
40467 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40469         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
40471         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
40472         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
40473         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
40475 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40476             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40478         [BZ #17634]
40479         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
40480         Undefine after defining function.  Define as weak alias of
40481         __wcschr.  Use libc_hidden_weak.
40482         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
40483         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
40484         (libc_hidden_def): Also define __GI___wcschr alias.
40485         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
40486         __wcschr and define as weak alias of __wcschr.
40487         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
40488         __wcschr.
40489         [!WCSCHR] (DEFAULT_WCSCHR): Define.
40490         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
40491         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
40492         libc_hidden_weak.  Do not use libc_hidden_def.
40493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
40494         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
40495         __GI___wcschr alias.
40496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
40497         [IS_IN (libc)] (wcschr): Define as macro expanding to
40498         __redirect_wcschr.
40499         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
40500         [IS_IN (libc)] (__wcschr_power6): Likewise.
40501         [IS_IN (libc)] (__wcschr_power7): Likewise.
40502         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
40503         instead of wcschr.
40504         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
40505         __libc_wcschr.
40506         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
40507         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
40508         __wcschr and define as weak alias of __wcschr.  Use
40509         libc_hidden_builtin_def.
40510         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
40511         as weak alias of __wcschr.  Use libc_hidden_weak.
40512         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
40513         wcschr.
40514         * time/era.c (_nl_init_era_entries): Likewise.
40515         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
40516         variable.
40517         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40518         (test-xfail-XPG4/time.h/linknamespace): Likewise.
40520 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40522         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
40523         format for long int variable.
40525 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
40527         [BZ #10672]
40528         * manual/search.texi: (Array Sort Function): Remove claim how to make
40529         qsort stable.
40531 2014-12-10  Andreas Schwab  <schwab@suse.de>
40533         [BZ #12847]
40534         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
40535         user-controlled locks.
40537 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
40539         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
40540         register.
40542 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
40544         * configure.ac (--disable-werror): New configure option.
40545         (enable_werror): New AC_SUBST.
40546         * configure: Regenerated.
40547         * config.make.in (enable-werror): New variable.
40548         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
40549         -Wno-error=undef.
40550         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
40551         * manual/install.texi (Configuring and compiling): Document
40552         --disable-werror.
40553         * INSTALL: Regenerated.
40554         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
40555         (CFLAGS-tst-chk2.c): Likewise.
40556         (CFLAGS-tst-chk3.c): Likewise.
40557         (CFLAGS-tst-chk4.cc): Likewise.
40558         (CFLAGS-tst-chk5.cc): Likewise.
40559         (CFLAGS-tst-chk6.cc): Likewise.
40560         (CFLAGS-tst-lfschk1.c): Likewise.
40561         (CFLAGS-tst-lfschk2.c): Likewise.
40562         (CFLAGS-tst-lfschk3.c): Likewise.
40563         (CFLAGS-tst-lfschk4.cc): Likewise.
40564         (CFLAGS-tst-lfschk5.cc): Likewise.
40565         (CFLAGS-tst-lfschk6.cc): Likewise.
40567         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
40568         (main): Disable -Wdeprecated-declarations around calls to
40569         register_printf_function.
40571         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
40572         (do_test): Disable -Wdiv-by-zero around some calls to
40573         fwrite_unlocked and fread_unlocked.
40575         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
40576         (DIAG_POP_NEEDS_COMMENT): Likewise.
40577         (_DIAG_STR1): Likewise.
40578         (_DIAG_STR): Likewise.
40579         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
40580         * stdio-common/bug21.c: Include <libc-internal.h>.
40581         (do_test): Disable -Wformat around call to sscanf.
40582         * stdio-common/scanf14.c: Include <libc-internal.h>.
40583         (main): Disable -Wformat around some calls to scanf functions.
40585 2014-12-09  Torvald Riegel  <triegel@redhat.com>
40587         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
40589 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40591         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
40592         stack variable alignment.
40594 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
40596         [BZ #17682]
40597         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
40598         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
40599         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
40600         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
40601         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
40602         __getrlimit instead of getrlimit.
40603         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
40604         __gettimeofday instead of gettimeofday.
40605         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
40606         Likewise.
40607         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
40608         Likewise.
40609         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40610         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
40611         Remove variable.
40612         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
40613         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
40615 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40617         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
40618         for wide-character tests.
40620 2014-12-04  Roland McGrath  <roland@hack.frob.com>
40622         * io/openat64.c: #include <libc-internal.h>
40623         (__openat64): Prototypify.  Use ignore_value on MODE.
40624         * io/openat.c: Likewise.
40625         * misc/reboot.c: #include <libc-internal.h>
40626         (reboot): Prototypify.  Use ignore_value on HOWTO.
40627         * misc/ptrace.c: #include <libc-internal.h>
40628         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
40630 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
40632         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
40633         XPG4, UNIX98 and XOPEN2K.
40634         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
40635         Remove variable.
40636         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
40638 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40640         * libio/fileops.c: Use ISO C style for function definitions.
40641         * libio/iofopen.c: Likewise.
40642         * libio/wfileops.c: Likewise.
40644         [BZ #17653]
40645         * libio/fileops.c (_IO_new_file_underflow): Unset cached
40646         offset on EOF.
40647         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
40648         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
40649         (fgets_func): Function pointer to fgets and fgetws.
40650         (do_ftell_test): Add test to verify ftell value after read
40651         EOF.
40652         (do_test): Set fgets_func.
40654         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
40655         O_TRUNC flag for w and w+ modes.
40656         (do_rewind_test): Likewise.
40657         (do_ftell_test): Likewise.
40658         (do_write_test): Likewise.
40660         [BZ #17647]
40661         * libio/fileops.c (do_ftell): Seek only when there are
40662         unflushed writes.
40663         * libio/wfileops.c (do_ftell_wide): Likewise.
40664         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
40665         test case.
40666         (do_one_test): Call it.
40668 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
40670         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
40671         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
40672         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
40673         Remove variable.
40674         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
40675         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
40676         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
40678 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40680         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
40681         Remove variable.
40682         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
40684         [BZ #17668]
40685         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
40686         as weak alias of __getifaddrs.  Use libc_hidden_weak.
40687         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40688         __freeifaddrs.  Use libc_hidden_weak.
40689         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
40690         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
40691         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40692         __freeifaddrs.  Use libc_hidden_weak.
40693         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
40694         __getifaddrs and define as weak alias of __getifaddrs.  Use
40695         libc_hidden_weak.
40696         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
40697         __freeifaddrs.  Use libc_hidden_weak.
40698         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
40699         Remove variable.
40700         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
40701         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
40703 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
40705         [BZ #17601]
40706         * sysdeps/mips/start.S (__start): Use indirect jump to call
40707         __libc_start_main.
40709 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
40711         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
40713         * nptl/tst-mutex1.c: Include <stdbool.h>.
40714         [!ATTR] (ATTR_NULL): New macro.
40715         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
40716         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
40717         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
40719         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
40720         to char *.
40722         [BZ #17665]
40723         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
40724         Change conditional to [__USE_MISC].
40726         [BZ #17664]
40727         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
40728         fgets_unlocked.
40729         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
40730         __fgets_unlocked.
40731         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
40732         fgets_unlocked.
40733         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
40734         Remove variable.
40735         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
40736         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
40737         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
40738         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
40739         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
40740         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
40741         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
40742         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
40743         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
40745         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
40747 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40749         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40750         Remove strpbrk objects.
40751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40752         (__libc_ifunc_impl_list): Remove strpbrk implementation.
40753         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
40754         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
40755         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
40756         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
40758         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40759         Remove strcspn objects.
40760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40761         (__libc_ifunc_impl_list): Remove strcspn implementation.
40762         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
40763         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
40764         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
40765         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
40767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40768         Remove strspn objetcs.
40769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40770         (__libc_ifunc_impl_list): Remove strspn implementation.
40771         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
40772         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40773         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
40774         * sysdeps/powerpc/powerpc64/strspn.S: New file.
40776 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
40778         [BZ #17581]
40779         * malloc/hooks.c
40780         (mem2mem_check): Add a terminator to the chain of checking blocks.
40781         (malloc_check_get_size): Use it here.
40782         (mem2chunk_check): Ditto.
40784 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40786         * sysdeps/powerpc/powerpc64/strtok.S: New file.
40787         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
40789 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
40791         * bits/ioctl-types.h: Indent preprocessor directives correctly.
40793         * nptl/nptl-init.c: Include libc-internal.h.
40794         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40796         * elf/ldconfig.c (search_dir): Expand comment.
40798 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40800         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40801         variable.
40802         (linknamespace-symlist-stdlibs-tests): Likewise.
40803         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40804         instead of $(objpfx)symlist-stdlibs.
40805         (linknamespace-libs-isoc): New variable.
40806         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40807         (linknamespace-libs-ISO): New variable.
40808         (linknamespace-libs-ISO99): Likewise.
40809         (linknamespace-libs-ISO11): Likewise.
40810         (linknamespace-libs-XPG3): Likewise.
40811         (linknamespace-libs-XPG4): Likewise.
40812         (linknamespace-libs-POSIX): Likewise.
40813         (linknamespace-libs-UNIX98): Likewise.
40814         (linknamespace-libs-XOPEN2K): Likewise.
40815         (linknamespace-libs-POSIX2008): Likewise.
40816         (linknamespace-libs-XOPEN2K8): Likewise.
40817         ($(objpfx)symlist-stdlibs): Replace by
40818         $(linknamespace-symlist-stdlibs-tests).  Use
40819         $(linknamespace-libs-$*) as set of libraries.
40820         ($(linknamespace-header-tests)): Update dependencies.  Use
40821         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40822         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40823         * conform/linknamespace.pl: Remove comment about considering
40824         definitions of symbols from irrelevant libraries.
40826 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40828         [BZ #13862]
40829         * elf/dl-tls.c: Include <atomic.h>.
40830         (oom): Remove #ifdef SHARED/#endif.
40831         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40832         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40833         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40834         big enough.
40835         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40836         * nptl/Makefile (tests): Add tst-stack4.
40837         (modules-names): Add tst-stack4mod.
40838         ($(objpfx)tst-stack4): New.
40839         (tst-stack4mod.sos): Likewise.
40840         ($(objpfx)tst-stack4.out): Likewise.
40841         ($(tst-stack4mod.sos)): Likewise.
40842         (clean): Likewise.
40843         * nptl/tst-stack4.c: New file.
40844         * nptl/tst-stack4mod.c: Likewise.
40846 2014-11-27  J. Brown  <jb999@gmx.de>
40848         * sysdeps/x86/bits/string.h: Add recent CPUs.
40850 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40852         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40853         sigblock.
40855         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40856         feof.
40858         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40859         variable.
40861 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40863         * nscd/connections.c: Include libc-internal.h because of macro
40864         usage ignore_value.
40866 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40868         * string/bits/string3.h (__warn_memset_zero_len): Don't
40869         declare for gcc newer than 5.0.
40870         (memset): Don't test for zero-length __LEN for gcc newer than
40871         5.0.
40873 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40875         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40876         size_t for %zu format.
40878         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40879         difference, not %ju.
40881 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40883         * include/libc-internal.h (ignore_value): New macro.
40884         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40885         with ignore_value.
40887         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40888         definition.
40890         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40891         pthread_cleanup_push to void *.
40893         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40894         Undefine.
40896         [BZ #16619]
40897         [BZ #16740]
40898         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40899         instead of 1L << 52.
40901         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40902         * libio/bug-rewind2.c (do_test): Likewise.
40904         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40905         * debug/test-strcpy_chk-ifunc.c: Likewise.
40906         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40907         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40908         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40909         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40910         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40911         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40912         * Rules [$(multi-arch) = no] (tests): Do not filter out
40913         $(tests-ifunc).
40914         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40915         * debug/Makefile (tests-ifunc): Remove variable.
40916         (tests): Do not add $(tests-ifunc).
40917         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40918         (tests): Do not add $(tests-ifunc).
40919         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40920         [TEST_IFUNC]: Remove conditionals.
40921         * string/test-string.h (TEST_IFUNC): Remove macro.
40922         [TEST_IFUNC]: Remove conditionals.
40924         * string/test-strchr.c [!WIDE] (L): New macro.
40925         [WIDE] (L): Likewise.
40926         (check1): Use CHAR instead of char.  Use L on string and character
40927         constants.
40929 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40931         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40932         tests.
40933         * sysdeps/powerpc/bits/atomic.h
40934         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40935         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40936         (atomic_exchange_and_add_acq): Likewise.
40937         (atomic_exchange_and_add_rel): Likewise.
40938         * sysdeps/powerpc/powerpc32/bits/atomic.h
40939         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40940         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40941         * sysdeps/powerpc/powerpc64/bits/atomic.h
40942         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40943         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40945 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40947         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40948         Change synchronization of __sched_fifo_min_prio and
40949         __sched_fifo_max_prio.
40950         * nptl/pthread_mutexattr_getprioceiling.c
40951         (pthread_mutexattr_getprioceiling): Likewise.
40952         * nptl/pthread_mutexattr_setprioceiling.c
40953         (pthread_mutexattr_setprioceiling): Likewise.
40954         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40955         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40956         Likewise.
40958 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40960         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40961         void.
40963 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40965         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40966         third argument const.
40968 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40970         fnmatch: work around GCC compiler warning bug with uninit var
40971         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40972         This works around a bug with x86-64 GCC 4.9.2 and earlier
40973         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40974         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40975         used uninitialized in this function [-Wmaybe-uninitialized]".
40977 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40979         * posix/bug-regex31.c (main): Return RES not 0.
40981 2014-11-25  Anton Blanchard <anton@samba.org>
40983         * sysdeps/powerpc/bits/atomic.h
40984         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40986 2014-11-24  Sterling Augustine  <saugustine@google.com>
40988         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40990 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
40992         [BZ #17608]
40993         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40995 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
40997         [BZ #17633]
40998         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40999         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41000         variable.
41001         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41002         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41004 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41006         * string/strncpy.c (strncpy): Improve performance by using memset.
41008 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41010         * string/strcpy.c (strcpy):
41011         Improve performance by using strlen and memcpy.
41013 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41015         * string/strcoll_l.c (get_next_seq): __always_inline.
41016         * string/strcoll_l.c (do_compare): __always_inline.
41018 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41020         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41021         defined.
41022         * include/mqueue.h: Likewise.
41023         * include/stdlib.h: Likewise.
41025         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41026         (get_null_defines): Adjust.
41027         * sunrpc/Makefile: Adjust comment.
41028         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41029         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41030         (CFLAGS-interp.c): Likewise.
41031         (CFLAGS-ldconfig.c): Likewise.
41032         (CPPFLAGS-.os): Likewise.
41033         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41034         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41035         * extra-modules.mk (extra-modules.mk): Likewise.
41036         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41037         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41038         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41039         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41040         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41041         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41042         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41043         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41044         * iconvdata/Makefile (CPPFLAGS): Likewise.
41045         (cpp-srcs-left): Add libof for all iconvdata routines.
41046         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41047         * include/assert.h: Likewise.
41048         * include/ctype.h: Likewise.
41049         * include/errno.h: Likewise.
41050         * include/libc-symbols.h: Likewise.
41051         * include/math.h: Likewise.
41052         * include/netdb.h: Likewise.
41053         * include/resolv.h: Likewise.
41054         * include/stdio.h: Likewise.
41055         * include/stdlib.h: Likewise.
41056         * include/string.h: Likewise.
41057         * include/sys/stat.h: Likewise.
41058         * include/wctype.h: Likewise.
41059         * intl/l10nflist.c: Likewise.
41060         * libidn/idn-stub.c: Likewise.
41061         * libio/libioP.h: Likewise.
41062         * nptl/libc_multiple_threads.c: Likewise.
41063         * nptl/pthreadP.h: Likewise.
41064         * posix/regex_internal.h: Likewise.
41065         * resolv/res_hconf.c: Likewise.
41066         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41067         * sysdeps/arm/memmove.S: Likewise.
41068         * sysdeps/arm/sysdep.h: Likewise.
41069         * sysdeps/generic/_itoa.h: Likewise.
41070         * sysdeps/generic/symbol-hacks.h: Likewise.
41071         * sysdeps/gnu/errlist.awk: Likewise.
41072         * sysdeps/gnu/errlist.c: Likewise.
41073         * sysdeps/i386/i586/memcpy.S: Likewise.
41074         * sysdeps/i386/i586/memset.S: Likewise.
41075         * sysdeps/i386/i686/memcpy.S: Likewise.
41076         * sysdeps/i386/i686/memmove.S: Likewise.
41077         * sysdeps/i386/i686/mempcpy.S: Likewise.
41078         * sysdeps/i386/i686/memset.S: Likewise.
41079         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41080         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41081         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41082         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41083         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41084         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41085         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41086         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41087         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41089         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41090         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41091         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41092         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41093         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41094         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41095         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41096         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41097         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41098         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41099         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41100         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41101         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41102         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41103         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41104         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41105         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41106         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41107         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41108         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41109         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41112         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41113         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41114         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41115         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41116         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41117         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41118         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41119         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41120         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41121         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41122         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41123         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41124         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41125         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41126         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41127         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41128         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41129         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41130         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41131         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41132         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41133         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41134         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41135         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41136         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41137         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41138         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41139         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41140         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41141         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41142         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41143         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41144         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41145         * sysdeps/posix/closedir.c: Likewise.
41146         * sysdeps/posix/opendir.c: Likewise.
41147         * sysdeps/posix/readdir.c: Likewise.
41148         * sysdeps/posix/rewinddir.c: Likewise.
41149         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41150         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41151         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41152         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41153         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41154         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41155         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41159         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41160         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41161         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41162         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41163         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41164         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41165         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41166         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41168         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41169         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41170         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41171         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41172         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41173         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41174         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41175         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41177         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41183         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41184         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41186         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41187         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41188         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41189         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41190         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41191         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41192         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41193         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41194         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41195         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41196         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41197         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41198         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41199         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41200         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41201         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41202         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41203         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41204         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41205         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41206         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41207         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41208         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41209         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41210         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41211         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41212         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41213         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41214         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41215         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41216         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41217         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41218         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41219         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41220         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41221         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41222         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41223         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41224         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41225         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41226         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41227         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41228         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41229         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41230         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41232         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41233         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41234         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41235         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41236         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41237         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41238         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41239         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41240         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41241         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41242         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41243         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41244         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41245         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41247         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41248         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41250         * sysdeps/unix/alpha/sysdep.S: Likewise.
41251         * sysdeps/unix/alpha/sysdep.h: Likewise.
41252         * sysdeps/unix/make-syscalls.sh: Likewise.
41253         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41255         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41256         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41257         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41258         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41259         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41260         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41261         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41262         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41263         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41265         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41266         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41267         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41268         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41269         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41270         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41271         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41272         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41273         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41274         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41275         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41276         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41277         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41278         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41279         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41282         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41283         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41286         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41287         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41288         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41289         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41291         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41292         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41293         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41294         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41295         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41296         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41297         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41300         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41303         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41304         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41305         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41306         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41307         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41308         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41309         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41311         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41312         * sysdeps/x86_64/memcpy.S: Likewise.
41313         * sysdeps/x86_64/memmove.c: Likewise.
41314         * sysdeps/x86_64/memset.S: Likewise.
41315         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41316         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41317         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41318         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41319         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41320         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41321         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41322         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41323         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41324         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41325         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41326         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41327         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
41328         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41329         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41330         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
41331         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
41332         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41333         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41334         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41335         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
41336         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41337         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41338         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41339         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41340         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41341         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41342         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
41343         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41344         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41345         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
41346         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41347         * sysdeps/x86_64/strcmp.S: Likewise.
41349         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
41351         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
41352         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
41353         * elf/rtld-Rules: Likewise.
41354         * elf/setup-vdso.h: Likewise.
41355         * include/assert.h: Likewise.
41356         * include/bits/stdlib-float.h: Likewise.
41357         * include/errno.h: Likewise.
41358         * include/sys/stat.h: Likewise.
41359         * include/unistd.h: Likewise.
41360         * sysdeps/aarch64/setjmp.S: Likewise.
41361         * sysdeps/alpha/setjmp.S: Likewise.
41362         * sysdeps/arm/__longjmp.S: Likewise.
41363         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
41364         * sysdeps/arm/setjmp.S: Likewise.
41365         * sysdeps/arm/sysdep.h: Likewise.
41366         * sysdeps/generic/_itoa.h: Likewise.
41367         * sysdeps/generic/dl-sysdep.h: Likewise.
41368         * sysdeps/generic/ldsodefs.h: Likewise.
41369         * sysdeps/i386/dl-tls.h: Likewise.
41370         * sysdeps/i386/setjmp.S: Likewise.
41371         * sysdeps/m68k/setjmp.c: Likewise.
41372         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
41373         * sysdeps/mach/hurd/opendir.c: Likewise.
41374         * sysdeps/posix/getcwd.c: Likewise.
41375         * sysdeps/posix/opendir.c: Likewise.
41376         * sysdeps/posix/profil.c: Likewise.
41377         * sysdeps/powerpc/dl-procinfo.h: Likewise.
41378         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41379         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41380         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41381         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41382         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
41383         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41384         * sysdeps/s390/dl-tls.h: Likewise.
41385         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41386         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41387         * sysdeps/sh/sh3/setjmp.S: Likewise.
41388         * sysdeps/sh/sh4/setjmp.S: Likewise.
41389         * sysdeps/unix/alpha/sysdep.h: Likewise.
41390         * sysdeps/unix/arm/sysdep.S: Likewise.
41391         * sysdeps/unix/i386/sysdep.S: Likewise.
41392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41393         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41394         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41395         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41396         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41397         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41398         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41399         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41400         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41401         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41402         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
41403         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41404         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41408         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41410         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41411         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41412         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41415         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41416         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41419         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41420         * sysdeps/x86_64/setjmp.S: Likewise.
41422         * include/math.h: Use IS_IN instead of IS_IN_libm.
41423         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
41424         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41425         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41426         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
41427         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41428         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41429         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41430         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41431         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41432         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41433         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
41434         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
41435         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
41436         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
41437         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
41438         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
41439         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
41440         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
41441         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
41442         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
41443         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
41444         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
41445         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
41446         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
41447         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
41448         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
41449         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
41450         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
41451         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
41452         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
41453         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
41454         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41455         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
41457         Likewise.
41458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
41459         Likewise.
41460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
41461         Likewise.
41462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
41463         Likewise.
41464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
41465         Likewise.
41466         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41467         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
41468         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41469         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41470         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41471         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
41473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
41474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
41475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
41476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
41477         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
41478         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
41479         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41480         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41481         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41482         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41483         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41484         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41485         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41486         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
41487         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
41488         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
41489         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
41490         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
41491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41492         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
41494         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
41495         * nptl/pthreadP.h: Likewise.
41496         * nptl_db/structs.def: Likewise.
41497         * sysdeps/arm/sysdep.h: Likewise.
41498         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41499         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41500         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
41501         * sysdeps/unix/alpha/sysdep.h: Likewise.
41502         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41504         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41505         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41506         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41507         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41509         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41510         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41511         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41512         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41513         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41514         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41515         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41518         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41519         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41520         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41521         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41522         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41523         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41524         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41525         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41526         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
41527         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41529         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
41530         * nptl/pthreadP.h: Likewise.
41531         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41532         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41533         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41534         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41535         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41536         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41537         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41538         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41539         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41540         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41541         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41542         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41544         Likewise.
41545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41546         Likewise.
41547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41549         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41552         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41553         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41554         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41556         * dlfcn/dladdr.c: Use IS_IN.
41557         * dlfcn/dladdr1.c: Likewise.
41558         * dlfcn/dlclose.c: Likewise.
41559         * dlfcn/dlerror.c: Likewise.
41560         * dlfcn/dlinfo.c: Likewise.
41561         * dlfcn/dlmopen.c: Likewise.
41562         * dlfcn/dlopen.c: Likewise.
41563         * dlfcn/dlsym.c: Likewise.
41564         * dlfcn/dlvsym.c: Likewise.
41566         * include/ifaddrs.h: Use IS_IN.
41567         * inet/check_pf.c: Likewise.
41568         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41569         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
41571         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
41572         IS_IN_ldconfig.
41573         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
41574         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
41576         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
41577         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
41578         IS_IN (libc).
41580         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
41582         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
41583         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41584         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41585         * include/libc-symbols.h (IS_IN_LIB): New macro.
41586         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
41587         * include/netdb.h: Likewise.
41588         * include/stap-probe.h: Remove all uses of IN_LIB.
41590         * Makeconfig (module-cppflags-real): Define MODULE_NAME
41591         instead of IN_MODULE.
41592         * include/libc-symbols.h (IN_MODULE): Define using
41593         MODULE_NAME.
41594         (PASTE_NAME, PASTE_NAME1): New macros.
41595         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
41596         of IN_LIB.
41597         (STAP_PROBE_ASM): Likewise.
41599 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41601         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
41602         __mach_init in dlopened libc.
41604 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
41606         * sysdeps/arm/preconfigure.ac: Delete EABI check.
41607         * sysdeps/arm/preconfigure: Regenerate.
41609 2014-11-21  Roland McGrath  <roland@hack.frob.com>
41611         * nptl/pthread_create.c (__pthread_create_2_1): Set
41612         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
41613         when copying values from IATTR into PD.
41615 2014-11-21  Will Newton  <will.newton@linaro.org>
41616             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
41618         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
41619         Refactor inline-asm.  Also add comment.
41621         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
41622         ElfW macro instead of hardcoded Elf64 types.
41623         (la_aarch64_gnu_pltenter): Likewise.
41624         * sysdeps/aarch64/dl-machine.h
41625         (elf_machine_runtime_setup): Use ElfW(Addr).
41627         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
41628         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
41629         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
41630         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
41631         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
41632         (R_AARCH64_TLS_DTPMOD64): Rename to ..
41633         (R_AARCH64_TLS_DTPMOD): This.
41634         (R_AARCH64_TLS_DTPREL64): Rename to ...
41635         (R_AARCH64_TLS_DTPREL): This.
41636         (R_AARCH64_TLS_TPREL64): Rename to ...
41637         (R_AARCH64_TLS_TPREL): This.
41638         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
41639         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
41640         R_AARCH64_TLS_TPREL64.
41641         (elf_machine_rela): Likewise.
41643 2014-11-21  Torvald Riegel  <triegel@redhat.com>
41645         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
41646         by setting it to 0.  64b atomics are not supported currently.
41648 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41650         [BZ #16469]
41651         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
41652         search domain names.
41654 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41656         [BZ #16469]
41657         * NEWS: Update.
41658         * resolv/res_query.c (__libc_res_nquerydomain): Retain
41659         trailing dot.
41660         * posix/tst-getaddrinfo5.c: New.
41661         * posix/Makefile (tests): Add it.
41663 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41665         [BZ #14498]
41666         * NEWS: Fixed.
41667         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
41668         after parsing line but before break_if_match.
41669         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
41670         if there is a protocol mismatch.
41672 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
41674         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
41675         because the potential race is on the user-supplied stream.
41677 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41679         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
41680         string literal if not passed a buffer.
41681         * manual/job.texi (ctermid): Update reasoning, note deviation
41682         from posix, suggest mtasurace when not passed a buffer, for
41683         future non-preliminary safety notes.
41685 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41687         * manual/users.texi (cuserid): Fix MT-Safety note for the case
41688         of not passing it a buffer.
41689         Reported by Peng Haitao.
41691 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
41693         * manual/Makefile ($(objpfx)stamp-summary): Require
41694         check-safety.sh to pass.
41695         * manual/check-safety.sh: Wish for verification that every
41696         @deftypefn and @deftypefun is followed by a @safety remark.
41698 2014-11-20  Roland McGrath  <roland@hack.frob.com>
41700         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
41702         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41703         PTHREAD_CANCEL_ASYNCHRONOUS.
41704         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
41705         send SIGCANCEL.
41707         * nptl/default-sched.h: New file.
41708         * sysdeps/unix/sysv/linux/default-sched.h: New file.
41709         * nptl/pthread_create.c: Include it.
41710         (__pthread_create_2_1): Use collect_default_sched instead of making
41711         Linux syscalls here directly.
41713 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41715         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
41716         __pthread_once): Use C11 atomics.
41718 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41720         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
41722 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41724         * include/atomic.h (__atomic_link_error, __atomic_check_size,
41725         atomic_thread_fence_acquire, atomic_thread_fence_release,
41726         atomic_thread_fence_seq_cst, atomic_load_relaxed,
41727         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
41728         atomic_compare_exchange_weak_relaxed,
41729         atomic_compare_exchange_weak_acquire,
41730         atomic_compare_exchange_weak_release,
41731         atomic_exchange_acquire, atomic_exchange_release,
41732         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
41733         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
41734         atomic_fetch_and_acquire,
41735         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
41737 2014-11-20  Torvald Riegel  <triegel@redhat.com>
41739         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
41740         USE_ATOMIC_COMPILER_BUILTINS): Define.
41741         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
41742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41743         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
41744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41745         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
41746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41747         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
41748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41749         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
41750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41751         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
41752         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41753         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
41754         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41755         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
41756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41757         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41758         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41759         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41760         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41761         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41762         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41763         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
41764         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41765         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
41766         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41767         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
41768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41769         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
41770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41771         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
41772         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41773         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
41774         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41775         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
41776         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41777         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
41778         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41779         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
41780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
41782 2014-11-19  Roland McGrath  <roland@hack.frob.com>
41784         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
41785         the sched_priority value here.  It was already checked when the user
41786         called pthread_attr_setschedparam.
41788         * nptl/tst-bad-schedattr.c: New file.
41789         * nptl/Makefile (tests): Add it.
41791 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
41792             Florian Weimer  <fweimer@redhat.com>
41793             Joseph Myers  <joseph@codesourcery.com>
41794             Adam Conrad  <adconrad@0c3.net>
41795             Andreas Schwab  <schwab@suse.de>
41796             Brooks  <bmoses@google.com>
41798         [BZ #17625]
41799         * wordexp-test.c (__dso_handle): Add prototype.
41800         (__register_atfork): Likewise.
41801         (__app_register_atfork): New function.
41802         (registered_forks): New global.
41803         (register_fork): New function.
41804         (test_case): Add 3 new tests for WRDE_CMDSUB.
41805         (main): Call __app_register_atfork.
41806         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41807         fork count is non-zero fail the test.
41808         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41809         is set.
41810         (parse_dollars): Remove check for WRDE_NOCMD.
41811         (parse_dquote): Likewise.
41813 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41815         * Makeconfig (built-modules): List non-library modules to be
41816         built.
41817         (module-cppflags): Include libc-modules.h for
41818         everything except shlib-versions.v.i.
41819         (CPPFLAGS): Use it.
41820         (before-compile): Add libc-modules.h.
41821         ($(common-objpfx)libc-modules.h,
41822         $(common-objpfx)libc-modules.stmp): New targets.
41823         (common-generated): Add libc-modules.h and libc-modules.stmp.
41824         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41825         * include/libc-symbols.h: Don't include libc-modules.h.
41826         * include/libc-modules.h: Remove file.
41827         * scripts/gen-libc-modules.awk: New script to generate
41828         libc-modules.h.
41829         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41830         Depend on libc-modules.stmp.
41832         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41834         * Makeconfig (in-module): Get value of libof set for the
41835         translation unit.
41836         (CPPFLAGS): Use $(in-module).
41837         * Makerules: Don't suffix routine names for nonlib.
41838         * include/libc-modules.h: New file.
41839         * include/libc-symbols.h: Include libc-modules.h
41840         (IS_IN): New macro to replace IS_IN_* macros.
41841         * elf/Makefile: Set libof-* for each routine.
41842         * elf/rtld-Rules: Likewise.
41843         * extra-modules.mk: Likewise.
41844         * iconv/Makefile: Likewise.
41845         * iconvdata/Makefile: Likewise.
41846         * locale/Makefile: Likewise.
41847         * malloc/Makefile: Likewise.
41848         * nss/Makefile: Likewise.
41849         * sysdeps/gnu/Makefile: Likewise.
41850         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41851         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41852         * sysdeps/s390/s390-64/Makefile: Likewise.
41853         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41854         CPPFLAGS for nscd instead of nonlib.
41856 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41858         * nptl/createthread.c: New file.
41860         * nptl/createthread.c: Moved ...
41861         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41863         * nptl/createthread.c: Add proper top-line comment.
41864         (do_clone): Folded into ...
41865         (create_thread): ... here.  Take new arguments STOPPED_START and
41866         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41867         increment __nptl_threads, do event-reporting logic, do
41868         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41869         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41870         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41871         just send SIGCANCEL.
41872         * nptl/pthread_create.c: Forward-declare create_thread before
41873         including createthread.c.
41874         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41875         declaration, and new macro START_THREAD_SELF to replace argument.
41876         Remove return statement.
41877         (report_thread_creation): New function.
41878         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41879         synchronization logic, and __nptl_nthreads increment here, around
41880         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41881         PD->parent_cancelhandling here, before create_thread.  When
41882         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41883         __deallocate_stack, and ENOMEM translation here.
41885 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41887         [BZ #17616]
41888         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41889         (mptwo): Rename to __mptwo.
41890         (__inv): Use __mptwo instead of mptwo.
41891         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41892         (mptwo): Rename to __mptwo.
41893         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41894         of mpone and __mptwo instead of mptwo.
41895         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41896         instead of mpone.
41897         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41898         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41899         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41900         of mpone and __mptwo instead of mptwo.
41901         (__mpranred): Use __mpone instead of mpone.
41902         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41903         variable.
41904         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41905         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41906         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41907         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41908         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41909         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41910         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41911         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41912         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41913         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41914         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41915         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41916         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41917         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41918         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41919         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41920         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41921         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41922         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41924 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41926         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41927         replace BSD Handler xref with BSD Signal Handling.
41929 2014-11-17  Richard Henderson  <rth@redhat.com>
41931         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41932         (_FP_PACK_RAW_2): Remove.
41933         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41934         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41935         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41936         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41937         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41938         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41939         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41940         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41941         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41942         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41943         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41944         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41945         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41946         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41947         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41948         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41950 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41952         * signal/signal.h [__USE_MISC]
41953         (struct sigvec): Remove type.
41954         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41955         (sigvec): Remove declaration.
41956         * sysdeps/posix/sigvec.c: Moved ...
41957         * signal/sigvec.c: ... here, replacing old file.
41958         (struct sigvec): New type, copied from old signal.h definition.
41959         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41960         (__sigvec): Convert definition to prototype.
41961         (sigvec): Replace weak_alias with compat_symbol.
41962         * signal/Versions (libc: GLIBC_2.21): New version set.
41963         * include/signal.h: Remove __sigvec declaration.
41964         * sysdeps/unix/bsd/sigvec.c: Remove file.
41965         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41966         * manual/signal.texi (BSD Handler): Remove subsection.
41967         Move siginterrupt up to ...
41968         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41969         (Blocking in BSD): Fold subsection into its parent.
41970         * NEWS: Mention sigvec removal.
41972 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41974         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41975         (DLA_FMS): Make definition conditional only on [__FMA4__].
41976         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41977         definition.
41979         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41980         Make definition conditional only on [PROF].
41981         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41982         definition.
41983         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41984         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41986         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41987         !__GNUC__].
41988         * include/signal.h (__sigpause): Move declaration above call to
41989         libc_hidden_proto.
41990         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41991         variable.
41992         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41993         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41995 2014-11-14  David S. Miller  <davem@davemloft.net>
41997         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41998         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42000 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42002         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42003         * configure: Regenerated.
42004         * manual/install.texi (Tools for Compilation): Document a
42005         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42006         compiler verified to work.
42007         * INSTALL: Regenerated.
42009         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42010         redeclare with asm name.
42011         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42012         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42013         including <string.h>.
42014         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42015         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42016         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42017         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42018         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42019         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42020         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42022 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42024         * stdlib/strtol.c (__strtol): Use prototype definition.
42026         [BZ #17594]
42027         * stdlib/strtol.c (SYM__): New macro.
42028         (SYM__1): Likewise.
42029         (__strtol): Likewise.
42030         (strtol): Rename to __strtol and define as weak alias of
42031         __strtol.  Use libc_hidden_weak.
42033 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42035         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42036         Use numbered labels in inline assembly.
42038 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42040         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42041         Add setjmp LIBC_PROBE.
42042         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42043         Likewise.
42044         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42045         Add longjmp, longjmp_target LIBC_PROBE.
42046         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42047         Likewise.
42049 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42051         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42052         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42053         to get rid of unused variable warning.
42055 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42057         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42058         Check for unwind_backtrace ==  NULL only in SHARED case.
42059         (__backchain_backtrace): Compile only in SHARED case.
42060         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42061         Likewise.
42062         (__backchain_backtrace): Declare as static.
42064 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42066         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42067         (__libc_multiple_threads_ptr): Variable moved ...
42068         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42070 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42072         * conform/GlibcConform.pm: New file.
42073         * conform/conformtest.pl: Use GlibcConform module.
42074         * conform/linknamespace.pl: New file.
42075         * conform/list-header-symbols.pl: Likewise.
42076         * conform/Makefile (linknamespace-symlists-base): New variable.
42077         (linknamespace-symlists-tests): Likewise.
42078         (linknamespace-header-base): Likewise.
42079         (linknamespace-header-tests): Likewise.
42080         (tests-special): Add new tests.
42081         ($(linknamespace-symlists-tests)): New rule.
42082         (linknamespace-libs): New variable.
42083         ($(objpfx)symlist-stdlibs): New rule.
42084         ($(linknamespace-header-tests)): Likewise.
42085         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42086         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42087         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42088         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42089         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42090         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42091         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42092         (test-xfail-ISO/math.h/linknamespace): Likewise.
42093         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42094         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42095         (test-xfail-ISO/time.h/linknamespace): Likewise.
42096         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42097         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42098         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42099         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42100         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42101         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42102         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42103         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42104         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42105         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42106         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42107         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42108         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42109         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42110         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42111         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42112         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42113         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42114         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42115         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42116         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42117         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42118         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42119         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42120         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42121         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42122         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42123         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42124         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42125         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42126         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42127         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42128         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42129         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42130         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42131         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42132         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42133         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42134         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42135         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42136         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42137         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42138         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42139         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42140         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42141         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42142         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42143         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42144         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42145         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42146         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42147         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42148         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42149         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42150         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42151         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42152         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42153         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42154         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42155         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42156         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42157         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42158         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42159         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42160         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42161         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42162         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42163         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42164         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42165         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42166         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42167         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42168         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42169         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42170         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42171         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42172         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42173         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42174         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42175         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42176         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42177         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42178         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42179         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42180         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42181         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42182         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42183         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42184         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42185         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42186         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42187         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42188         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42189         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42190         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42191         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42192         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42193         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42194         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42195         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42196         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42197         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42198         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42199         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42200         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42201         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42202         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42203         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42204         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42205         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42206         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42207         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42208         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42209         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42210         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42211         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42212         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42213         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42214         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42215         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42216         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42217         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42218         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42219         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42220         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42221         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42222         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42223         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42224         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42225         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42226         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42227         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42228         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42229         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42230         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42231         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42232         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42233         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42234         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42235         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42236         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42237         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42238         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42239         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42240         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42241         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42242         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42243         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42244         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42245         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42247         [BZ #17589]
42248         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42249         of fgets_unlocked.
42251         [BZ #17585]
42252         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42253         (memmem): Rename to __memmem and define as weak alias of
42254         __memmem.  Use libc_hidden_weak.
42255         (__memmem): Use libc_hidden_def.
42256         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42257         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42258         memmem.
42260         [BZ #17582]
42261         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42262         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42263         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42264         and define as weak alias of __fgets_unlocked.  Use
42265         libc_hidden_weak.
42266         (__fgets_unlocked): Use libc_hidden_def.
42267         * include/stdio.h (__fgets_unlocked): Declare.  Use
42268         libc_hidden_proto.
42269         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42270         __fgets_unlocked instead of fgets_unlocked.
42271         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42272         (GET_NPROCS_CONF_PARSER): Likewise.
42273         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42274         (GET_NPROCS_CONF_PARSER): Likewise.
42276         [BZ #17574]
42277         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42278         weak alias of __wmemset.  Use libc_hidden_weak.
42279         (__wmemset): Use libc_hidden_def.
42280         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42281         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42282         of wmemset.
42284         [BZ #17573]
42285         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42286         with asm name __mempcpy.
42287         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42289         [BZ #17572]
42290         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42291         and define as weak alias of __rawmemchr.
42292         (__rawmemchr): Do not define as strong alias of rawmemchr.
42294         [BZ #17571]
42295         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42296         alias of __qsort_r.
42297         (qsort): Call __qsort_r instead of qsort_r.
42298         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42299         (__qsort_r): Declare.  Call libc_hidden_proto.
42300         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42301         instead of qsort_r.
42302         * nscd/gai.c (__qsort_r): Define to qsort_r.
42303         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42304         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42305         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42307         [BZ #17570]
42308         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42309         define as weak alias of __malloc_info.
42311         [BZ #17584]
42312         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42313         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42314         (__rewinddir): Use libc_hidden_def.
42315         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42316         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42317         (__rewinddir): Use libc_hidden_def.
42318         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42319         weak alias of __rewinddir.  Don't use libc_hidden_def.
42320         (__rewinddir): Use libc_hidden_def.
42321         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42322         (__rewinddir): Use libc_hidden_proto.
42323         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42324         rewinddir.
42325         (__getcwd): Use __rewinddir instead of rewinddir.
42327         [BZ #17583]
42328         * libio/fileno.c (fileno): Rename to __fileno and define as weak
42329         alias of __fileno.  Use libc_hidden_weak.
42330         (__fileno): Use libc_hidden_def.
42331         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
42332         * libio/ftello.c (ftello): Rename to __ftello and define as weak
42333         alias of __ftello.
42334         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
42335         __ftello.
42336         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
42337         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
42338         libc_hidden_def.
42339         (fread_unlocked): Don't use libc_hidden_ver.
42340         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
42341         and define as weak alias of __fread_unlocked.  Don't use
42342         libc_hidden_def.
42343         (__fread_unlocked): Use libc_hidden_def.
42344         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
42345         (ftello): Don't use libc_hidden_proto.
42346         (__ftello): Declare.  Use libc_hidden_proto.
42347         (fread_unlocked): Don't use libc_hidden_proto.
42348         (__fread_unlocked): Declare.  Use libc_hidden_proto.
42349         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
42350         and __ftello instead of fileno, fread_unlocked and ftello.
42352 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42354         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
42355         GOT12.
42356         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42357         Likewise.
42358         (_dl_start_user): Likewise.
42359         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
42361 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
42362             Siddhesh Poyarekar  <siddhesh@redhat.com>
42364         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
42365         Move argv and envp down instead of moving argc up.
42366         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
42368 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
42370         [BZ #17506]
42371         * test-skeleton.c (main): Return successful if one of
42372         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
42373         * string/tst-strcoll-overflow.c: Define expected status.
42375 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
42377         [BZ #17475]
42378         * locale/iso-639.def: Define Bhili and Tulu language codes.
42380 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
42382         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
42384 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
42386         [BZ #17555]
42387         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
42389 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
42391         * configure.ac: Updated check of minimal required version to
42392         2.22.
42393         * manual/install.texi (Tools for Compilation): Updated version
42394         number.
42395         * configure: Regenerated.
42396         * INSTALL: Likewise.
42398 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
42400         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
42401         __tls_get_addr.
42403 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
42405         * include/sys/wait.h (__libc_waitpid): Remove declaration.
42406         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
42407         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42408         libc_hidden_weak.
42409         (waitpid): Define as alias of __waitpid.
42410         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
42411         __waitpid.
42412         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42413         libc_hidden_weak.
42414         (waitpid): Define as alias of __waitpid.
42415         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
42416         __libc_waitpid alias.
42417         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
42418         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
42419         Likewise.
42420         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
42421         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
42422         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
42423         alias.
42424         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
42425         __waitpid.
42426         (__waitpid): Don't define as alias.  Use libc_hidden_def not
42427         libc_hidden_weak.
42428         (waitpid): Define as alias of __waitpid.
42430 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
42432         * manual/llio.texi: Add comment that write safety has been
42433         fixed in Linux.
42435         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
42436         (localplt-build-dso): Add elf/ld.so.
42437         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
42438         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42439         and free for ld.so.
42440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
42441         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
42442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
42443         Likewise.
42444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42445         Likewise.
42446         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
42447         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
42448         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
42449         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
42450         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
42451         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
42452         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
42453         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
42454         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
42455         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
42456         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
42458 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
42460         [BZ #14132]
42461         * include/libc-symbols.h (INTUSE): Remove macro.
42462         (INTDEF): Likewise.
42463         (INTVARDEF): Likewise.
42464         (_INTVARDEF): Likewise.
42465         (INTDEF2): Likewise.
42466         (INTVARDEF2): Likewise.
42467         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
42468         rtld_hidden_def instead of INTVARDEF.
42469         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
42470         (_dl_starting_up_internal): Remove declaration.
42471         (_dl_starting_up): Use rtld_hidden_proto.
42472         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42473         declaration.
42474         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
42475         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
42476         _dl_starting_up.
42477         * elf/dl-writev.h (_dl_writev): Likewise.
42478         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
42479         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
42480         _dl_starting_up_internal.
42482 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42484         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
42485         test-skeleton.c.
42487 2014-11-05  Will Newton  <will.newton@linaro.org>
42489         * benchtests/Makefile: (bench-malloc): Add malloc thread
42490         scalability benchmark.
42491         * benchtests/bench-malloc-threads.c: New file.
42493 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
42495         * sysdeps/aarch64/strchrnul.S: New file.
42497 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42499         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
42500         definition.
42501         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42502         Likewise.
42503         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42504         Likewise.
42505         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42506         Likewise.
42507         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42508         Likewise.
42509         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42510         Likewise.
42512 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
42514         * catgets/test-gencat.c: Use test-skeleton.c.
42515         * catgets/tst-catgets.c: Likewise.
42516         * csu/tst-empty.c: Likewise.
42517         * elf/tst-audit2.c: Likewise.
42518         * elf/tst-global1.c: Likewise.
42519         * elf/tst-pathopt.c: Likewise.
42520         * elf/tst-piemod1.c: Likewise.
42521         * elf/tst-tls10.c: Likewise.
42522         * elf/tst-tls11.c: Likewise.
42523         * elf/tst-tls12.c: Likewise.
42524         * gnulib/tst-gcc.c: Likewise.
42525         * iconvdata/tst-e2big.c: Likewise.
42526         * iconvdata/tst-loading.c: Likewise.
42527         * iconv/tst-iconv1.c: Likewise.
42528         * iconv/tst-iconv2.c: Likewise.
42529         * inet/test-inet6_opt.c: Likewise.
42530         * inet/tst-gethnm.c: Likewise.
42531         * inet/tst-network.c: Likewise.
42532         * inet/tst-ntoa.c: Likewise.
42533         * intl/tst-codeset.c: Likewise.
42534         * intl/tst-gettext2.c: Likewise.
42535         * intl/tst-gettext3.c: Likewise.
42536         * intl/tst-ngettext.c: Likewise.
42537         * intl/tst-translit.c: Likewise.
42538         * io/test-stat.c: Likewise.
42539         * libio/test-fmemopen.c: Likewise.
42540         * libio/tst-freopen.c: Likewise.
42541         * libio/tst-sscanf.c: Likewise.
42542         * libio/tst-ungetwc1.c: Likewise.
42543         * libio/tst-ungetwc2.c: Likewise.
42544         * libio/tst-widetext.c: Likewise.
42545         * localedata/tst-ctype.c: Likewise.
42546         * localedata/tst-digits.c: Likewise.
42547         * localedata/tst-leaks.c: Likewise.
42548         * localedata/tst-mbswcs1.c: Likewise.
42549         * localedata/tst-mbswcs2.c: Likewise.
42550         * localedata/tst-mbswcs3.c: Likewise.
42551         * localedata/tst-mbswcs4.c: Likewise.
42552         * localedata/tst-mbswcs5.c: Likewise.
42553         * localedata/tst-setlocale.c: Likewise.
42554         * localedata/tst-trans.c: Likewise.
42555         * localedata/tst-wctype.c: Likewise.
42556         * localedata/tst-xlocale1.c: Likewise.
42557         * login/tst-grantpt.c: Likewise.
42558         * malloc/tst-calloc.c: Likewise.
42559         * malloc/tst-malloc.c: Likewise.
42560         * malloc/tst-mallocstate.c: Likewise.
42561         * malloc/tst-mcheck.c: Likewise.
42562         * malloc/tst-mtrace.c: Likewise.
42563         * malloc/tst-obstack.c: Likewise.
42564         * math/atest-exp2.c: Likewise.
42565         * math/atest-exp.c: Likewise.
42566         * math/atest-sincos.c: Likewise.
42567         * math/test-matherr.c: Likewise.
42568         * math/test-misc.c: Likewise.
42569         * math/test-powl.c: Likewise.
42570         * math/tst-definitions.c: Likewise.
42571         * misc/tst-dirname.c: Likewise.
42572         * misc/tst-efgcvt.c: Likewise.
42573         * misc/tst-fdset.c: Likewise.
42574         * misc/tst-hsearch.c: Likewise.
42575         * misc/tst-mntent2.c: Likewise.
42576         * nptl/tst-sem7.c: Likewise.
42577         * nptl/tst-sem8.c: Likewise.
42578         * nptl/tst-sem9.c: Likewise.
42579         * nss/test-netdb.c: Likewise.
42580         * posix/tst-fnmatch.c: Likewise.
42581         * posix/tst-getlogin.c: Likewise.
42582         * posix/tst-gnuglob.c: Likewise.
42583         * posix/tst-mmap.c: Likewise.
42584         * pwd/tst-getpw.c: Likewise.
42585         * resolv/tst-inet_ntop.c: Likewise.
42586         * rt/tst-timer.c: Likewise.
42587         * stdio-common/test-fseek.c: Likewise.
42588         * stdio-common/test-popen.c: Likewise.
42589         * stdio-common/test-vfprintf.c: Likewise.
42590         * stdio-common/tst-cookie.c: Likewise.
42591         * stdio-common/tst-fileno.c: Likewise.
42592         * stdio-common/tst-gets.c: Likewise.
42593         * stdio-common/tst-obprintf.c: Likewise.
42594         * stdio-common/tst-perror.c: Likewise.
42595         * stdio-common/tst-sprintf2.c: Likewise.
42596         * stdio-common/tst-sprintf3.c: Likewise.
42597         * stdio-common/tst-sprintf.c: Likewise.
42598         * stdio-common/tst-swprintf.c: Likewise.
42599         * stdio-common/tst-tmpnam.c: Likewise.
42600         * stdio-common/tst-unbputc.c: Likewise.
42601         * stdio-common/tst-wc-printf.c: Likewise.
42602         * stdlib/tst-environ.c: Likewise.
42603         * stdlib/tst-fmtmsg.c: Likewise.
42604         * stdlib/tst-limits.c: Likewise.
42605         * stdlib/tst-rand48-2.c: Likewise.
42606         * stdlib/tst-rand48.c: Likewise.
42607         * stdlib/tst-random2.c: Likewise.
42608         * stdlib/tst-random.c: Likewise.
42609         * stdlib/tst-strtol.c: Likewise.
42610         * stdlib/tst-strtoll.c: Likewise.
42611         * stdlib/tst-tls-atexit.c: Likewise.
42612         * stdlib/tst-xpg-basename.c: Likewise.
42613         * string/test-ffs.c: Likewise.
42614         * string/tst-bswap.c: Likewise.
42615         * string/tst-inlcall.c: Likewise.
42616         * string/tst-strtok.c: Likewise.
42617         * string/tst-strxfrm.c: Likewise.
42618         * sysdeps/x86_64/tst-audit10.c: Likewise.
42619         * sysdeps/x86_64/tst-audit3.c: Likewise.
42620         * sysdeps/x86_64/tst-audit4.c: Likewise.
42621         * sysdeps/x86_64/tst-audit5.c: Likewise.
42622         * time/tst-ftime_l.c: Likewise.
42623         * time/tst-getdate.c: Likewise.
42624         * time/tst-mktime3.c: Likewise.
42625         * time/tst-mktime.c: Likewise.
42626         * time/tst-posixtz.c: Likewise.
42627         * time/tst-strptime2.c: Likewise.
42628         * time/tst-strptime3.c: Likewise.
42629         * wcsmbs/tst-btowc.c: Likewise.
42630         * wcsmbs/tst-mbrtowc.c: Likewise.
42631         * wcsmbs/tst-mbsrtowcs.c: Likewise.
42632         * wcsmbs/tst-wchar-h.c: Likewise.
42633         * wcsmbs/tst-wcpncpy.c: Likewise.
42634         * wcsmbs/tst-wcrtomb.c: Likewise.
42635         * wcsmbs/tst-wcsnlen.c: Likewise.
42636         * wcsmbs/tst-wcstof.c: Likewise.
42638 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
42640         [BZ #14132]
42641         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
42642         INTDEF.
42643         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
42644         declaration.
42645         (_dl_mcount): Use rtld_hidden_proto.
42646         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
42647         _dl_mcount.
42648         * elf/rtld.c (_rtld_global_ro): Likewise.
42650         [BZ #14132]
42651         * elf/dl-init.c (_dl_init): Don't use INTDEF.
42652         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
42653         of _dl_init_internal.
42654         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
42655         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
42656         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
42657         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
42658         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
42659         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
42660         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
42661         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
42662         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
42663         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
42664         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
42665         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
42666         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42667         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42668         * sysdeps/tile/dl-start.S (_start): Likewise.
42669         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
42670         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
42672         [BZ #14132]
42673         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
42674         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
42675         (rtld_progname): Make macro definition unconditional.
42676         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
42677         INTDEF.
42678         (dlmopen_doit): Do not use INTUSE with _dl_argv.
42679         (dl_main): Likewise.
42680         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42681         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
42682         instead of _dl_argv_internal.
42683         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42684         __GI__dl_argv instead of INTUSE(_dl_argv).
42685         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
42686         __GI__dl_argv instead of _dl_argv_internal.
42688         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
42689         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
42690         macro.
42691         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
42692         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
42693         New macro.
42694         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
42695         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
42696         macro.
42697         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
42698         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
42700 2014-11-04  Andreas Schwab  <schwab@suse.de>
42702         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
42704 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42706         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
42707         mtvsrd instruction in binary form.
42709 2014-11-03  Andreas Schwab  <schwab@suse.de>
42711         [BZ #17522]
42712         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
42713         for less than MB_LEN_MAX use a local buffer of that size.
42714         * libio/tst-fputws.c: New file.
42715         * libio/Makefile (tests): Add tst-fputws.
42717 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
42719         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
42720         the size of the fpu_fr.fpu_dregs[] array.
42722 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
42724         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
42725         (__nanosleep): Do not define as alias.
42726         (nanosleep): Define as alias of __nanosleep.
42727         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
42728         __libc_nanosleep name.
42730 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42732         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
42733         install.texi in comment.
42735 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42737         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
42738         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
42739         ... add here and use lwsync or sync ...
42740         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
42741         ... and add here using lwsync.
42743 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
42745         * elf/dl-machine-reject-phdr.h: New file.
42746         * elf/dl-load.c: #include that.
42747         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
42748         if that returned true.
42750 2014-10-31  Roland McGrath  <roland@hack.frob.com>
42752         [BZ #17496]
42753         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
42754         gen-as-const-headers chunk.  Add a big scare comment after the last
42755         safe place to touch before-compile.
42757 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
42759         * manual/install.texi (Tools for Compilation): Update autoconf
42760         version requirements.
42761         * INSTALL: Regenerated.
42763         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
42764         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
42765         (__libc_pselect): Likewise.
42767         [BZ #14138]
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
42769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42773 2014-10-31  Torvald Riegel  <triegel@redhat.com>
42775         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
42776         correct barrier instruction.
42777         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
42778         Likewise.
42779         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
42780         Likewise.
42782 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42784         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
42785         after defining inlines.  Instead, just use parens to defeat macro
42786         expansion of __isctype in its declaration.
42788 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42790         * include/sys/uio.h (__libc_readv): Remove declaration.
42791         (__libc_writev): Likewise.
42792         * misc/readv.c (__libc_readv): Rename to __readv.
42793         (__readv): Do not define as alias.
42794         (readv): Define as alias of __readv.
42795         * misc/writev.c (__libc_writev): Rename to __writev.
42796         (__writev): Do not define as alias.
42797         (writev): Define as alias of __writev.
42798         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42799         (__readv): Do not define as alias.
42800         (readv): Define unconditionally as alias of __readv.
42801         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42802         (__writev): Do not define as alias.
42803         (writev): Define unconditionally as alias of __writev.
42804         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42805         name.
42806         (writev): Do not define __libc_writev name.
42808 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42810         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42811         (convert_charseq): New function, broken out of ...
42812         (use_from_charmap): ... here.  Call it.
42813         (use_to_charmap): Use convert_charseq and free instead of duplicating
42814         its code with a variable-length stack struct.
42816 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42818         * include/fcntl.h (__libc_creat): Remove declaration.
42819         * io/creat.c (__libc_creat): Rename to creat.
42820         (creat): Do not define as alias.
42821         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42822         of creat instead of __libc_creat.
42823         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42824         to creat.
42825         (creat): Do not define as alias.
42826         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42827         __libc_creat.
42828         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42829         __libc_creat name.
42830         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42831         Likewise.
42833 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42835         * manual/llio.texi: Add comments discussing why write() may be
42836         considered MT-unsafe on Linux.
42838 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42840         * dl-load.c (local_strdup): Remove.
42841         (expand_dynamic_string_token): Use __strdup.
42842         (decompose_rpath): Likewise.
42843         (_dl_map_object): Likewise.
42845 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42847         [BZ #14132]
42848         * sysdeps/generic/unwind-dw2-fde.c
42849         (__register_frame_info_bases_internal): Do not declare.
42850         (__register_frame_info_table_bases_internal): Likewise.
42851         (__deregister_frame_info_bases_internal): Likewise.
42852         (__register_frame_info_bases): Declare and use hidden_proto before
42853         definition.  Use hidden_def instead of INTDEF.
42854         (__register_frame_info_table_bases): Likewise.
42855         (__deregister_frame_info_bases): Likewise.
42856         (__register_frame_info): Do not use INTUSE.
42857         (__register_frame): Likewise.
42858         (__register_frame_info_table): Likewise.
42859         (__register_frame_table): Likewise.
42860         (__deregister_frame_info): Likewise.
42861         (__deregister_frame): Likewise.
42863 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42865         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42866         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42867         not undefine.
42868         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42869         Likewise.
42870         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42871         Likewise.
42873 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42875         [BZ #14138]
42876         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42877         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42878         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42879         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42880         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42881         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42882         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42883         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42884         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42885         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42886         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42887         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42888         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42889         syscall.
42890         (setfsuid): Likewise.
42891         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42892         (setfsuid): Likewise.
42893         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42894         (setfsuid): Likewise.
42895         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42896         Likewise.
42897         (setfsuid): Likewise.
42898         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42899         (setfsuid): Likewise.
42900         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42901         Likewise.
42902         (setfsuid): Likewise.
42904 2014-10-27  Andreas Schwab  <schwab@suse.de>
42906         [BZ #17501]
42907         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42908         check for Slow_SSE4_2 feature bit.
42909         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42910         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42911         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42912         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42914 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42916         * configure.ac: Validate compiler version with a empirical test of
42917         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42918         $CC -v output.
42919         * configure: Regenerated.
42921         * inet/htons.c (htons): Prototypify.
42922         * inet/htonl.c (htonl): Likewise.
42924 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42926         * string/strncat.c (strncat): Improve performance by using strlen.
42928 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42930         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42932 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42934         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42935         Call libc_fetestexcept_aarch64.
42937 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42939         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42940         Call libc_feholdexcept_aarch64.
42942 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42944         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42945         Call get_rounding_mode.
42947 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42949         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42950         Simplify logic.
42952 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42954         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42955         Simplify logic.
42957 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42959         [BZ #14138]
42960         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42961         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42962         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42963         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42964         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42965         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42966         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42967         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42968         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42969         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42970         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42971         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42972         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42973         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42974         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42975         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42976         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42977         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42978         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42979         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42980         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42981         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42982         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42983         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42984         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42985         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42986         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42987         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42988         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42989         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42990         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42991         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42992         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42993         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42994         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42995         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42996         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42997         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42998         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42999         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43000         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43001         syscall.
43002         (geteuid): Likewise.
43003         (getgid): Likewise.
43004         (getuid): Likewise.
43005         (getresgid): Likewise.
43006         (getresuid): Likewise.
43007         (getgroups): Likewise.
43008         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43009         (geteuid): Likewise.
43010         (getgid): Likewise.
43011         (getuid): Likewise.
43012         (getresgid): Likewise.
43013         (getresuid): Likewise.
43014         (getgroups): Likewise.
43015         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43016         (geteuid): Likewise.
43017         (getgid): Likewise.
43018         (getuid): Likewise.
43019         (getresgid): Likewise.
43020         (getresuid): Likewise.
43021         (getgroups): Likewise.
43022         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43023         Likewise.
43024         (geteuid): Likewise.
43025         (getgid): Likewise.
43026         (getuid): Likewise.
43027         (getresgid): Likewise.
43028         (getresuid): Likewise.
43029         (getgroups): Likewise.
43030         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43031         (geteuid): Likewise.
43032         (getgid): Likewise.
43033         (getuid): Likewise.
43034         (getresgid): Likewise.
43035         (getresuid): Likewise.
43036         (getgroups): Likewise.
43037         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43038         Likewise.
43039         (geteuid): Likewise.
43040         (getgid): Likewise.
43041         (getuid): Likewise.
43042         (getgroups): Likewise.
43044         [BZ #14138]
43045         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43046         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43047         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43048         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43049         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43050         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43051         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43052         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43053         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43054         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43055         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43056         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43057         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43058         __chown.
43059         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43060         (lchown): Likewise.
43061         (fchown): Likewise.
43062         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43063         Likewise.
43064         (lchown): Likewise.
43065         (fchown): Likewise.
43066         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43067         (lchown): Likewise.
43068         (fchown): Likewise.
43069         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43070         Likewise.
43071         (lchown): Likewise.
43072         (fchown): Likewise.
43074 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43076         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43077         Simplify logic.
43079 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43081         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43082         Cleanup logic.
43084 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43086         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43087         Remove unused include.
43089 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43091         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43092         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43093         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43094         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43096 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43097             Helge Deller <deller@gmx.de>
43099         [BZ #17508]
43100         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43101         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43102         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43104 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43106         [BZ #14132]
43107         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43108         Remove macro definition.
43109         (__ashrdi3_v_glibc20): Likewise.
43110         (__lshrdi3_v_glibc20): Likewise.
43111         (__cmpdi2_v_glibc20): Likewise.
43112         (__ucmpdi2_v_glibc20): Likewise.
43113         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43114         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43115         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43116         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43117         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43118         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43120 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43122         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43123         old GNU extension [0] syntax.
43124         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43125         alloca rather than an array member with variable length.
43126         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43127         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43128         (parse_opt): ... here.  Likewise use alloca there.
43129         Validate the -i argument before checking for rootness.
43130         (send_shutdown): New function, broken out of ...
43131         (parse_opt): ... here.
43133 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43135         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43136         macro to get at the _rt_local_ro field.
43137         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43138         ([PIC] case) or _dl_hwcap ([!PIC] case).
43139         * sysdeps/arm/setjmp.S: Likewise.
43141         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43142         * sysdeps/arm/configure.ac: New check to define it.
43143         * sysdeps/arm/configure: Regenerated.
43144         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43145         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43146         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43147         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43148         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43149         Use move/movt pair instead of a load.
43150         (LDST_GLOBAL): Macro removed.
43151         (LDR_GLOBAL): New macro replaces it.
43152         (LDR_HIDDEN): New macro.
43153         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43154         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43156         * setjmp/tst-setjmp-static.c: New file.
43157         * setjmp/Makefile (tests): Add it.
43158         (tests-static): New variable.
43160 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43162         [BZ #17485]
43163         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43165 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43167         [BZ #14132]
43168         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43170 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43172         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43174 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43176         * io/fts.c (dirent_not_directory): New function.
43177         (fts_build): Call it.
43179 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43181         * nptl/version.c (__nptl_main): Use normal __write rather than
43182         INTERNAL_SYSCALL.
43183         (banner): Update copyright years.
43185         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43186         gettimeofday.
43187         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43188         * nptl/pthread_cond_timedwait.c: Likewise.
43189         * nptl/pthread_mutex_timedlock.c: Likewise.
43190         * nptl/sem_timedwait.c: Likewise.
43192         * sysdeps/nptl/bits/libc-lock.h
43193         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43194         (__libc_lock_init_recursive): Return void, not 0.
43195         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43196         (__libc_rwlock_init): Likewise.
43197         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43199 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43201         [BZ #15215]
43202         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43203         (__pthread_once_slow): ... here.
43204         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43205         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43207 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43209         [BZ #15215]
43210         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43211         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43212         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43213         * nptl/pthread_once.c (__pthread_once): Likewise.
43214         Update comments.
43216 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43218         [BZ #14138]
43219         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43220         name.
43221         (writev): Use __libc_writev as strong name.
43222         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43223         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43225 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43227         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43229         * sysdeps/i386/nptl/tls.h
43230         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43231         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43232         New macros.
43233         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43234         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43235         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43236         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43237         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43238         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43240         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43241         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43242         on [__NR_futex].
43243         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43244         broken out of ...
43245         (__pthread_mutex_init): ... here.  Call it.
43246         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43247         Conditionalize PI cases on [__NR_futex].
43248         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43249         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43250         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43252         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43253         conditional on [SIGSETXID].
43254         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43255         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43256         is defined.  Likewise for SIGSETXID.
43257         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43258         Conditionalize definitions on [SIGSETXID].
43259         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43260         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43261         unblocking on [SIGCANCEL].
43263         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43264         [__NR_set_robust_list].
43266 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43268         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43269         (do_compare): Likewise.
43271 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43273         [BZ #15884]
43274         * string/strcoll_l.c: Don't include stdio.h.
43275         (coll_seq): Remove members idxarr and rulearr.
43276         (get_next_seq_cached): Remove function.
43277         (get_next_seq): Likewise.
43278         (get_next_seq_nocache): Rename to get_next_seq.
43279         (do_compare): Remove function.
43280         (do_compare_nocache): Rename to do_compare.
43281         (STRCOLL): Remove weight and rules cache.
43283 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43285         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43286         * sysdeps/arm/sfp-machine.h: ... to here.
43287         * sysdeps/arm/Implies: Remove arm/soft-fp.
43289 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43291         * conform/data/sys/utsname.h-data (*_t): Allow.
43292         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43293         [POSIX] (WEXITED): Do not expect constant.
43294         [POSIX] (WSTOPPED): Likewise.
43295         [POSIX] (WNOHANG): Likewise.
43296         [POSIX] (WNOWAIT): Likewise.
43297         [POSIX] (siginfo_t): Do not expect type or elements.
43298         [POSIX] (pid_t): Do not expect type.
43299         [POSIX] (signal.h): Do not allow header.
43300         [POSIX] (sys/resource.h): Likewise.
43301         [POSIX] (si_*): Do not allow pattern.
43302         [POSIX] (W*): Likewise.
43303         [POSIX] (P_*): Likewise.
43304         [POSIX] (BUS_*): Likewise.
43305         [POSIX] (CLD_*): Likewise.
43306         [POSIX] (FPE_*): Likewise.
43307         [POSIX] (ILL_*): Likewise.
43308         [POSIX] (POLL_*): Likewise.
43309         [POSIX] (SEGV_*): Likewise.
43310         [POSIX] (SI_*): Likewise.
43311         [POSIX] (TRAP_*): Likewise.
43312         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43313         variable.
43315 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43317         [BZ #12926]
43318         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43319         infinite loop when __recvmsg returns 0.
43321 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43323         * CANCEL-FCT-WAIVE: Remove file.
43324         * CANCEL-FILE-WAIVE: Likewise.
43326         [BZ #14132]
43327         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
43328         instead of INTVARDEF.
43329         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43330         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
43331         rtld_hidden_data_def instead of INTVARDEF.
43332         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
43333         * elf/dl-deps.c (expand_dst): Likewise.
43334         * elf/dl-load.c (_dl_dst_count): Likewise.
43335         (_dl_dst_substitute): Likewise.
43336         (decompose_rpath): Likewise.
43337         (_dl_init_paths): Likewise.
43338         (open_path): Likewise.
43339         (_dl_map_object): Likewise.
43340         * elf/rtld.c (dl_main): Likewise.
43341         (process_dl_audit): Likewise.
43342         (process_envvars): Likewise.
43343         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
43344         Remove declaration.
43345         (__libc_enable_secure): Use rtld_hidden_proto.
43347 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43349         * elf/dl-load.c
43350         (add_path): New function broken out of _dl_rtld_di_serinfo.
43351         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
43353 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43355         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
43356         parentheses around macro arguments.
43357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
43358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
43359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
43360         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
43361         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
43362         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43364         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
43365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
43366         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
43367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
43368         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
43369         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
43370         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
43371         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
43372         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
43373         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
43374         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
43375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
43376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
43377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
43378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
43379         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
43380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
43381         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
43382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
43383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
43384         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
43385         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
43386         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
43387         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
43388         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
43389         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
43390         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
43391         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
43392         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
43393         Likewise.
43394         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
43395         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43396         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43397         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
43398         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
43399         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
43400         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
43401         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
43402         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
43403         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
43404         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
43405         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
43406         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
43407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
43408         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
43409         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
43410         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
43411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
43412         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
43413         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
43414         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
43415         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
43416         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
43417         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
43418         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
43419         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
43420         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
43421         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
43422         (_FP_FRAC_SRS_1): Likewise.
43423         (_FP_FRAC_CLZ_1): Likewise.
43424         (_FP_MUL_MEAT_1_imm): Likewise.
43425         (_FP_MUL_MEAT_1_wide): Likewise.
43426         (_FP_MUL_MEAT_1_hard): Likewise.
43427         (_FP_SQRT_MEAT_1): Likewise.
43428         (_FP_FRAC_ASSEMBLE_1): Likewise.
43429         (_FP_FRAC_DISASSEMBLE_1): Likewise.
43430         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
43431         (__FP_CLZ_2): Likewise.
43432         (_FP_MUL_MEAT_2_wide): Likewise.
43433         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
43434         (_FP_MUL_MEAT_2_gmp): Likewise.
43435         (_FP_MUL_MEAT_2_120_240_double): Likewise.
43436         (_FP_SQRT_MEAT_2): Likewise.
43437         (_FP_FRAC_ASSEMBLE_2): Likewise.
43438         (_FP_FRAC_DISASSEMBLE_2): Likewise.
43439         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
43440         (_FP_FRAC_CLZ_4): Likewise.
43441         (_FP_MUL_MEAT_4_wide): Likewise.
43442         (_FP_MUL_MEAT_4_gmp): Likewise.
43443         (_FP_SQRT_MEAT_4): Likewise.
43444         (_FP_FRAC_ASSEMBLE_4): Likewise.
43445         (_FP_FRAC_DISASSEMBLE_4): Likewise.
43446         * soft-fp/op-common.h (_FP_CMP): Likewise.
43447         (_FP_CMP_EQ): Likewise.
43448         (_FP_CMP_UNORD): Likewise.
43449         (_FP_TO_INT): Likewise.
43450         (_FP_FROM_INT): Likewise.
43451         [!__FP_CLZ] (__FP_CLZ): Likewise.
43452         (_FP_DIV_HELP_imm): Likewise.
43453         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
43454         Likewise.
43455         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
43456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
43457         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
43458         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
43459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
43460         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43461         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
43463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
43464         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
43465         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
43466         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
43467         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
43468         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
43469         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
43470         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
43471         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
43472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
43473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
43474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
43475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
43476         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
43477         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
43478         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
43479         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
43480         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
43481         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
43482         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
43483         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
43484         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
43485         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
43486         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
43487         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
43488         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
43489         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
43490         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
43491         (FP_UNPACK_RAW_SP): Likewise.
43492         (FP_PACK_RAW_S): Likewise.
43493         (FP_PACK_RAW_SP): Likewise.
43494         (FP_UNPACK_S): Likewise.
43495         (FP_UNPACK_SP): Likewise.
43496         (FP_UNPACK_SEMIRAW_S): Likewise.
43497         (FP_UNPACK_SEMIRAW_SP): Likewise.
43498         (FP_PACK_S): Likewise.
43499         (FP_PACK_SP): Likewise.
43500         (FP_PACK_SEMIRAW_S): Likewise.
43501         (FP_PACK_SEMIRAW_SP): Likewise.
43502         (_FP_SQRT_MEAT_S): Likewise.
43503         (FP_CMP_S): Likewise.
43504         (FP_CMP_EQ_S): Likewise.
43505         (FP_CMP_UNORD_S): Likewise.
43506         (FP_TO_INT_S): Likewise.
43507         (FP_FROM_INT_S): Likewise.
43509         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
43511         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
43512         (FP_EX_INVALID_IMZ): Likewise.
43513         (FP_EX_INVALID_IMZ_FMA): Likewise.
43514         (FP_EX_INVALID_ISI): Likewise.
43515         (FP_EX_INVALID_ZDZ): Likewise.
43516         (FP_EX_INVALID_IDI): Likewise.
43517         (FP_EX_INVALID_SQRT): Likewise.
43518         (FP_EX_INVALID_CVI): Likewise.
43519         (FP_EX_INVALID_VC): Likewise.
43520         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
43521         "invalid" exceptions.
43522         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
43523         (_FP_ADD_INTERNAL): Likewise.
43524         (_FP_MUL): Likewise.
43525         (_FP_FMA): Likewise.
43526         (_FP_DIV): Likewise.
43527         (_FP_CMP_CHECK_NAN): Likewise.
43528         (_FP_SQRT): Likewise.
43529         (_FP_TO_INT): Likewise.
43530         (FP_EXTEND): Likewise.
43532 2014-10-09  Allan McRae  <allan@archlinux.org>
43534         * po/fr.po: Update French translation from translation project.
43536 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
43538         [BZ #14132]
43539         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
43540         of INTDEF.
43541         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
43542         (__cxa_atexit): Use libc_hidden_proto.
43543         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
43545         [BZ #14132]
43546         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
43547         declaration.
43548         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
43549         [!_ISOMAC] (__iswspace_l_internal): Likewise.
43550         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
43551         [!_ISOMAC] (__iswctype_internal): Likewise.
43552         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
43553         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
43554         alias.
43555         (fcntl): Remove __fcntl_internal alias.
43556         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
43557         __connect_internal alias.
43558         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
43559         Likewise.
43561         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
43562         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
43563         FP_DENORM_ZERO.
43564         (_FP_CHECK_FLUSH_ZERO): New macro.
43565         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
43566         (_FP_CMP): Likewise.
43567         (_FP_CMP_EQ): Likewise.
43568         (_FP_TO_INT): Do not set inexact for subnormal arguments if
43569         FP_DENORM_ZERO.
43570         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
43571         (FP_TRUNC): Likewise.
43573         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
43574         treated as invalid conversion, not as normal exponent.
43576         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
43577         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
43578         (_FP_CMP_EQ): Likewise.
43579         (_FP_CMP_UNORD): Likewise.
43580         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
43581         (FP_CMP_EQ_D): Likewise.
43582         (FP_CMP_UNORD_D): Likewise.
43583         * soft-fp/extended.h (FP_CMP_E): Likewise.
43584         (FP_CMP_EQ_E): Likewise.
43585         (FP_CMP_UNORD_E): Likewise.
43586         * soft-fp/quad.h (FP_CMP_Q): Likewise.
43587         (FP_CMP_EQ_Q): Likewise.
43588         (FP_CMP_UNORD_Q): Likewise.
43589         * soft-fp/single.h (FP_CMP_S): Likewise.
43590         (FP_CMP_EQ_S): Likewise.
43591         (FP_CMP_UNORD_S): Likewise.
43592         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
43593         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
43594         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
43595         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
43596         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
43597         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
43598         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
43599         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
43600         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
43601         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
43602         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
43603         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
43604         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
43605         to FP_CMP_Q.
43606         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
43607         FP_CMP_Q.
43608         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
43609         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
43610         FP_CMP_EQ_Q.
43611         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
43612         FP_CMP_Q.
43613         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
43614         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
43615         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
43616         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
43617         FP_CMP_EQ_Q.
43618         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
43619         FP_CMP_Q.
43620         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
43621         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
43622         FP_CMP_EQ_Q.
43623         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
43624         FP_CMP_Q.
43625         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
43626         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
43627         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
43628         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
43629         FP_CMP_EQ_Q.
43631         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
43632         a subnormal result, set the underflow exception if trapping on
43633         underflow is enabled.
43634         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
43635         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
43636         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
43637         redefine to 0.
43638         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
43639         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43640         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
43641         * soft-fp/extendxftf2.c (__extendxftf2): Use
43642         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
43644         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
43645         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
43646         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43647         FP_HANDLE_EXCEPTIONS.
43648         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
43649         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43650         FP_HANDLE_EXCEPTIONS.
43651         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
43652         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43653         FP_HANDLE_EXCEPTIONS.
43654         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
43655         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
43656         FP_HANDLE_EXCEPTIONS.
43658 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
43660         [BZ #14132]
43661         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
43662         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
43663         use INTUSE.
43664         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
43665         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
43666         Remove alias.
43667         (__adjtimex): Define using libc_hidden_ver.
43668         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
43669         Remove declaration.
43670         (ntp_gettime): Call __adjtimex directly.
43671         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
43672         Remove declaration.
43673         (ntp_gettimex): Call __adjtimex directly.
43674         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
43675         __adjtimex_internal alias.
43677 2014-10-08  Roland McGrath  <roland@hack.frob.com>
43679         [BZ #17460]
43680         * nscd/nscd.c (more_help): Rewrite list of tables collection
43681         using xstrdup and asprintf.
43683         * nscd/nscd_conf.c: Remove local xstrdup declaration.
43685 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43686             Roland McGrath  <roland@hack.frob.com>
43688         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
43689         (do_lookup_unique): ... local function 'enter' here; update callers.
43691 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
43693         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
43694         compat_symbol calls on [SHARED].
43695         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
43696         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
43697         Remove.
43698         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43699         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
43700         (oldsetrlimit): Remove.
43701         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43703         (lchown): New syscall entry.
43704         (oldsetrlimit): Remove.
43705         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43706         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
43707         (oldsetrlimit): Remove.
43708         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
43710         [BZ #14138]
43711         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
43712         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
43713         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
43714         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
43715         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43716         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
43717         (fchown): Likewise.
43718         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
43719         (fchown): Likewise.
43720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
43721         Likewise.
43723 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43725         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
43726         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
43727         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
43728         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
43729         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
43730         Likewise.
43731         (__old_sem_post): Likewise.
43733 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
43735         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
43736         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
43737         HAVE_CLOCK_GETTIME_VSYSCALL macros.
43738         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
43739         Use INLINE_VSYSCALL macro.
43740         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
43741         __vdso_clock_gettime.
43742         * sysdeps/unix/sysv/linux/tile/init-first.c
43743         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
43744         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
43745         __vdso_clock_gettime.
43747         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
43748         to set up frame more cleanly.
43750         * sysdeps/tile/memcmp.c: New file.
43752         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
43754         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
43755         * sysdeps/tile/tilegx/strcasestr.c: New file.
43756         * sysdeps/tile/tilegx/strnlen.c: New file.
43757         * sysdeps/tile/tilegx/strstr.c: New file.
43759         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
43761 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
43763         * nptl/tst-setuid3.c: Write errors to stdout.
43765 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43767         * elf/dl-deps.c
43768         (preload): New functions broken out of _dl_map_object_deps.
43769         (_dl_map_object_deps):  Remove a nested function. Update call sites.
43771 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
43773         [BZ #14138]
43774         * sysdeps/unix/sysv/linux/execve.c: Remove file.
43775         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
43777 2014-10-01  Steve Ellcey  <sellcey@mips.com>
43779         * sysdeps/mips/strcmp.S: New.
43781 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
43783         [BZ #14138]
43784         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
43785         (linkat): Likewise.
43786         (mkdirat): Likewise.
43787         (readlinkat): Likewise.
43788         (renameat): Likewise.
43789         (symlinkat): Likewise.
43790         (unlinkat): Likewise.
43791         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
43792         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
43793         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
43794         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43795         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43796         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43797         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43799 2014-09-30  Will Newton  <will.newton@linaro.org>
43801         * math/math.h: Define long double math functions if
43802         _LIBC_TEST is defined.
43803         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43805         * localedata/Makefile: Move assignment to tests-special
43806         into an ifdef testing run-built-tests.
43807         * timezone/Makefile: Likewise.
43809 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43811         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43812         with $(BASH) not $(SHELL).
43814 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43815             Matthew LeGendre  <legendre1@llnl.gov>
43817         [BZ #17411]
43818         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43819         l_reloc_result.
43821 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43823         * stdio-common/printf_fp.c
43824         (hack_digit): New function, broken out of ...
43825         (__printf_fp): ... local function here.  Update call sites.
43826         hack_digit now takes an additional parameter that is a pointer
43827         to a struct of the referenced locals.  Those locals moved inside
43828         the struct and references updated.
43830 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43832         * aclocal.m4: Require autoconf 2.69.
43833         * configure: Regenerated.
43834         * sysdeps/aarch64/configure: Likewise.
43835         * sysdeps/alpha/configure: Likewise.
43836         * sysdeps/arm/armv7/configure: Likewise.
43837         * sysdeps/arm/configure: Likewise.
43838         * sysdeps/ia64/configure: Likewise.
43839         * sysdeps/mach/configure: Likewise.
43840         * sysdeps/mips/configure: Likewise.
43841         * sysdeps/s390/configure: Likewise.
43842         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43845         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43846         file.
43847         * sysdeps/ia64/configure.ac: Likewise.
43849 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43852         specify symbol version for ld.so.  Do not include entry for
43853         libpthread.
43854         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43855         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43856         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43858         [BZ #14171]
43859         * Makeconfig [$(build-shared) = yes]
43860         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43861         makefiles.
43862         [$(build-shared) = yes && $(soversions.mk-done) = t]
43863         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43864         [$(build-shared) = yes && $(soversions.mk-done) = t]
43865         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43866         to Makerules.
43867         [$(build-shared) = yes && $(soversions.mk-done) = t]
43868         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43869         here.
43870         [$(build-shared) = yes && $(soversions.mk-done) = t]
43871         (common-generated): Don't append gnu/lib-names.h and
43872         gnu/lib-names.stmp here.
43873         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43874         (lib-names-h-abi): New variable.
43875         [$(build-shared) = yes && $(soversions.mk-done) = t]
43876         (lib-names-stmp-abi): Likewise.
43877         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43878         abi-variants] (before-compile): Append
43879         $(common-objpfx)$(lib-names-h-abi).
43880         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43881         abi-variants] (common-generated): Append gnu/lib-names.h.
43882         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43883         abi-variants] (install-others-nosubdir): Depend on
43884         $(inst_includedir)/$(lib-names-h-abi).
43885         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43886         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43887         [$(build-shared) = yes && $(soversions.mk-done) = t]
43888         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43889         [$(build-shared) = yes && $(soversions.mk-done) = t]
43890         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43891         [$(build-shared) = yes && $(soversions.mk-done) = t]
43892         (common-generated): Append $(lib-names-h-abi) and
43893         $(lib-names-stmp-abi).
43894         * scripts/lib-names.awk: Do not handle multi being set.
43895         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43896         Remove variable.
43897         (abi-lp64_be-ld-soname): Likewise.
43898         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43899         Likewise.
43900         (abi-hard-ld-soname): Likewise.
43901         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43902         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43903         Remove variable.
43904         (abi-o32_hard-ld-soname): Likewise.
43905         (abi-o32_soft_2008-ld-soname): Likewise.
43906         (abi-o32_hard_2008-ld-soname): Likewise.
43907         (abi-n32_soft-ld-soname): Likewise.
43908         (abi-n32_hard-ld-soname): Likewise.
43909         (abi-n32_soft_2008-ld-soname): Likewise.
43910         (abi-n32_hard_2008-ld-soname): Likewise.
43911         (abi-n64_soft-ld-soname): Likewise.
43912         (abi-n64_hard-ld-soname): Likewise.
43913         (abi-n64_soft_2008-ld-soname): Likewise.
43914         (abi-n64_hard_2008-ld-soname): Likewise.
43915         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43916         Likewise.
43917         (abi-64-v2-ld-soname): Likewise.
43918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43919         ld.so entries.
43920         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43921         variable.
43922         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43923         entry.
43924         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43925         variable.
43926         (abi-64-ld-soname): Likewise.
43927         (abi-x32-ld-soname): Likewise.
43928         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43929         entry.
43930         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43932 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43934         [BZ #14138]
43935         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43936         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43937         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43938         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43939         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43940         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43941         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43942         syscall entry for GLIBC_2.2 symbol version.
43943         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43944         Likewise.
43945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43946         (setrlimit): Likewise.
43947         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43948         Likewise.
43950 2014-09-23  Will Newton  <will.newton@linaro.org>
43952         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43953         _LINUX_ARM_SYSDEP_H include guard too.
43954         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43955         define.
43957 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43959         * sysdeps/unix/sysv/linux/eventfd.c:
43960         Make first argument unsigned.
43961         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43962         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43964 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43966         [BZ #16852]
43967         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43968         * socket/sys/socket.h: Likewise.
43969         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43971 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43973         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43975 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
43977         * time/tst-ftime.c: New test.
43978         * time/Makefile (tests): Add tst-ftime.
43980 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
43982         * soft-fp/extended.h: Fix comment formatting.
43983         * soft-fp/op-1.h: Likewise.
43984         * soft-fp/op-2.h: Likewise.
43985         * soft-fp/op-4.h: Likewise.
43986         * soft-fp/op-8.h: Likewise.
43987         * soft-fp/op-common.h: Likewise.
43988         * soft-fp/soft-fp.h: Likewise.
43990         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43992 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
43994         [BZ #6652]
43995         * Makeconfig (soversions-default-setname): Remove variable.
43996         ($(common-objpfx)soversions.i): Don't pass default_setname to
43997         soversions.awk.
43998         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43999         oldest_abi to abi-versions.awk.
44000         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44001         * config.make.in (oldest-abi): Remove variable.
44002         * configure.ac (--enable-oldest-abi): Remove configure option.
44003         * configure: Regenerated.
44004         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44005         text.
44006         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44007         * scripts/soversions.awk: Do not handle default_setname variable.
44008         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44009         variable.
44010         * sysdeps/mach/hurd/configure: Regenerated.
44011         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44012         variable.
44013         * sysdeps/unix/sysv/linux/configure: Regenerated.
44015 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44017         * elf/Makefile (CFLAGS-interp.c): Remove.
44018         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44019         path string.
44020         * elf/interp.c: Include generated runtime-linker.h
44022         * Makerules (lib%.so): Don't include $(+interp) in
44023         prerequisites.
44024         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44025         * dlfcn/eval.c: Remove file.
44027         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44028         macros.
44030         [BZ #17266]
44031         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44032         4.2 and newer.
44034         [BZ #17370]
44035         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44037 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44038             Jakub Jelinek  <jakub@redhat.com>
44040         [BZ #17266]
44041         * libio/stdio.h: Check definition of __fortify_function
44042         instead of __extern_always_inline to include bits/stdio2.h.
44043         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44044         check if __extern_always_inline is defined.
44045         [__USE_MISC || __USE_XOPEN]: Likewise.
44046         [__USE_ISOC99] Likewise.
44047         * misc/sys/cdefs.h (__fortify_function): Define only if
44048         __extern_always_inline is defined.
44049         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44050         __extern_always_inline and __extern_inline only for g++-4.3
44051         and newer or a compatible gcc.
44053 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44055         [BZ #17371]
44056         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44057         last change to handle zero prefix length.
44059 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44061         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44062         _SC_REGEX_VERSION.
44064         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44065         _POSIX_RAW_SOCKETS.
44067 2014-09-13  Allan McRae  <allan@archlinux.org>
44069         * po/ru.po: Update Russian translation from translation project.
44071 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44073         * locale/programs/locale.c (show_locale_vars): Inline local function
44074         into its sole call site.  Clean up some style nits.
44075         (print_item): New function, broken out of ...
44076         (show_info): ... local function here.  Clean up style nits.
44078         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44079         out of ...
44080         (set_class_defaults): ... local function set_default here.
44081         Define set_default as a macro locally to pass constant parameters.
44082         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44083         rather than a shared local.
44085         * stdlib/rpmatch.c (try): New function, broken out of ...
44086         (rpmatch): ... local function here.  Also, prototypify definition.
44088 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44090         * scripts/soversions.awk: Do not handle configuration names.
44091         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44092         vendor and os variables to soversions.awk.
44093         * configure.ac: Do not modify gnu-* host_os.
44094         * configure: Regenerated
44095         * shlib-versions: Remove first column with configuration names.
44096         * nptl/shlib-versions: Likewise.
44097         * nptl_db/shlib-versions: Likewise.
44098         * sysdeps/hppa/shlib-versions: Likewise.
44099         * sysdeps/m68k/shlib-versions: Likewise.
44100         * sysdeps/mach/hurd/shlib-versions: Likewise.
44101         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44102         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44103         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44104         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44105         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44106         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44107         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44108         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44110         Likewise.
44111         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44112         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44113         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44114         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44115         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44116         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44117         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44118         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44121         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44123         Regenerated.
44124         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44126         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44128         * shlib-versions: Remove OS-specific entries.  Moved to files in
44129         sysdeps.
44130         * sysdeps/mach/hurd/shlib-versions: New file.
44131         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44133         * nptl/shlib-versions: Remove architecture-specific entries.
44134         Moved to files in sysdeps.
44135         * shlib-versions: Likewise.
44136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44137         file.
44138         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44139         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44140         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44141         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44143         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44144         (UDP_NO_CHECK6_RX): Likewise.
44146 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44148         * sysdeps/posix/sysconf.c (__sysconf): Spell
44149         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44151 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44153         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44154         loading.
44155         * iconv/Versions (__gconv_transliterate): Export for use from
44156         gconv modules.
44157         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44158         (struct __gconv_trans_data, __gconv_trans_fct,
44159         __gconv_trans_context_fct, __gconv_trans_query_fct,
44160         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44161         definitions.
44162         (struct __gconv_step_data): Remove __trans member.
44163         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44164         longer hidden.  Remove unused trans_data argument.
44165         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44166         (__gconv_translit_find): Remove declaration.
44167         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44168         prototype.
44169         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44170         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44171         trans_data argument.  Add hidden definition.
44172         (__gconv_translit_find): Remove.
44173         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44174         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44175         * iconv/skeleton.c: Remove transliteration initialization.
44176         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44177         __gconv_step_data initialization.
44178         * libio/iofwide.c (__libio_translit_): Remove.
44179         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44180         * wcsmbs/btowc.c (__btowc): Likewise.
44181         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44182         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44183         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44184         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44185         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44186         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44187         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44188         * wcsmbs/wctob.c (wctob): Likewise.
44190 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44192         [BZ #16194]
44193         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44194         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44195         register usage.
44196         * sysdeps/x86/Makefile: Adjust.
44198 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44199             Roland McGrath  <roland@hack.frob.com>
44201         * locale/weight.h: Add include guard.
44202         (findidx): Make static rather than auto; take new parameters
44203         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44204         * locale/weightwc.h: Likewise.
44205         * posix/fnmatch_loop.c
44206         (FCT): Change type of EXTRA from int32_t to wint_t.
44207         Don't include either header inside the function.
44208         Call FINDIDX rather than findidx, and pass new arguments.
44209         #undef FINDIDX at the end of the file.
44210         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44211         FINDIDX before including fnmatch_loop.c for the non-wide version.
44212         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44213         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44214         for the wide version.
44215         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44216         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44217         Pass new arguments to findidx.
44218         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44219         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44220         Don't #include it inside the function.  Pass new arguments to findidx.
44221         * posix/regex_internal.h
44222         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44223         (re_string_elem_size_at): Don't #include it inside the function.
44224         Pass new arguments to findidx.
44225         * string/strcoll_l.c: #include WEIGHT_H at top level.
44226         (get_next_seq): Don't #include it inside the function.
44227         Pass new arguments to findidx.
44228         (get_next_seq_nocache): Likewise.
44229         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44230         (STRXFRM): Don't #include it inside the function.
44231         Pass new arguments to findidx.
44233 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44235         [BZ #17344]
44236         * malloc/malloc.c (unlink): Turn asserts into a call to
44237         malloc_printerr.
44239 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44241         [BZ #17370]
44242         * libio/wfileops (do_ftell_wide): Free OUT.
44244 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44246         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44248 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250         [BZ #17363]
44251         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44252         group if the current group is empty.
44254 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44256         * benchtests/bench-memset.c (test_main): Add more test from size
44257         from 32 to 512 bytes.
44258         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44259         Add POWER8 memset object.
44260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44261         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44262         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44263         implementation.
44264         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44265         Likewise.
44266         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44267         multiarch POWER8 memset optimization.
44268         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44269         POWER8 memset optimization.
44271         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44272         Remove bzero multiarch objects.
44273         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44274         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44275         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44276         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44277         Remove define.
44278         [__bzero]: Redefine to specific name.
44279         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44280         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44281         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44282         define.
44283         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44284         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44286 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44288         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44289         warnings into errors.
44291         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44292         __cxa_thread_atexit_impl prototype.
44294 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44296         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44297         Fix capitalization of error message.
44299 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44301         * sysdeps/mips/preconfigure: Modify ABI tests.
44303 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44305         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44307 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44308             Carlos O'Donell  <carlos@systemhalted.org>
44310         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44311         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44312         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44313         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44314         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44315         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44316         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44317         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44318         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44319         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44320         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44321         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44322         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44323         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44324         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44325         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44326         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44327         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
44328         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
44329         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
44330         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
44331         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
44332         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
44333         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
44334         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
44335         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
44336         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
44337         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
44338         Deconditionalize the code that was previously under [RESET_PID].
44339         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
44340         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
44341         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
44342         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
44343         include sysdep.h.
44345 2014-09-08  Allan McRae  <allan@archlinux.org>
44347         * version.h (RELEASE): Set to "development".
44348         (VERSION): Set to "2.20.90"
44350 2014-09-07  Allan McRae  <allan@archlinux.org
44352         * version.h (RELEASE): Set to "stable".
44353         (VERSION): Set to "2.20"
44354         * include/features.h (__GLIBC_MINOR__): Set to 20.
44356         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
44357         Liebler.
44359         * po/ko.po: Update Korean translation from translation project.
44361 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
44363         [BZ #17354]
44364         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
44365         macro for handling signed relocations.
44367 2014-09-03  Florian Weimer  <fweimer@redhat.com>
44369         [BZ #17325]
44370         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
44371         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
44372         assert.
44373         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
44374         * iconvdata/ibm935.c (BODY): Likewise.
44375         * iconvdata/ibm937.c (BODY): Likewise.
44376         * iconvdata/ibm939.c (BODY): Likewise.
44377         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
44378         assert.
44379         * iconvdata/Makefile (iconv-test.out): Pass module list to test
44380         script.
44381         * iconvdata/run-iconv-test.sh: New test loop for checking for
44382         decoder crashers.
44384 2014-09-02  Khem Raj  <raj.khem@gmail.com>
44386         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
44387         libm_hidden_ver.
44389 2014-09-01  Allan McRae  <allan@archlinux.org>
44391         * po/eo.po: Update Esperanto translation from translation project.
44393         * po/ca.po: Update Catalan translation from translation project.
44395 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44397         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
44398         __proc_dostop call.
44400 2014-08-27  Mark Wielaard  <mjw@redhat.com>
44402         [BZ #17319]
44403         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
44404         to call set_thread_area instead of hand written asm.
44405         (__NR_set_thread_area): Removed define.
44406         (TLS_FLAG_WRITABLE): Likewise.
44407         (__ASSUME_SET_THREAD_AREA): Remove check.
44408         (TLS_EBX_ARG): Remove define.
44409         (TLS_LOAD_EBX): Likewise.
44411 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44413         Simplify atomicity of socket creation in bind.
44415         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
44416         looking up the name after linking the file.
44418 2014-08-27  Allan McRae  <allan@archlinux.org>
44420         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44422 2014-08-26  Florian Weimer  <fweimer@redhat.com>
44424         [BZ #17187]
44425         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
44426         trans_compare, open_translit, __gconv_translit_find):
44427         Remove module loading code.
44429 2014-08-26  Allan McRae  <allan@archlinux.org>
44431         * po/vi.po: Update Vietnamese translation from translation project.
44433         * po/uk.po: Update Ukrainian translation from translation project.
44435         * po/fr.po: Update French translation from translation project.
44437         * po/ru.po: Update Russian translation from translation project.
44439         * po/pl.po: Update Polish translation from translation project.
44441         * po/cs.po: Update Czech translation from translation project.
44443         * po/de.po: Update German translation from translation project.
44445         * po/bg.po: Update Bulgarian translation from translation project.
44447         * po/sv.po: Update Sweedish translation from translation project.
44449         * po/nl.po: Update Dutch translation from translation project.
44451         * po/es.po: Update Spanish translation from translation project.
44453 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44455         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
44457         * catgets/Makefile (CPPFLAGS-gencat): Remove.
44458         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
44459         (CPPFLAGS-iconvconfig): Likewise.
44460         * timezone/Makefile (CPPFLAGS-zic): Likewise.
44462         * include/libc-symbols.h: Remove unnecessary check for
44463         NOT_IN_libc.
44464         * nptl/pthreadP.h: Likewise.
44465         * sysdeps/aarch64/setjmp.S: Likewise.
44466         * sysdeps/alpha/setjmp.S: Likewise.
44467         * sysdeps/arm/sysdep.h: Likewise.
44468         * sysdeps/i386/setjmp.S: Likewise.
44469         * sysdeps/m68k/setjmp.c: Likewise.
44470         * sysdeps/posix/getcwd.c: Likewise.
44471         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44472         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
44473         * sysdeps/s390/s390-32/setjmp.S: Likewise.
44474         * sysdeps/s390/s390-64/setjmp.S: Likewise.
44475         * sysdeps/sh/sh3/setjmp.S: Likewise.
44476         * sysdeps/sh/sh4/setjmp.S: Likewise.
44477         * sysdeps/unix/alpha/sysdep.h: Likewise.
44478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
44479         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44480         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
44481         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44486         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44487         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44489         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
44490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44491         * sysdeps/x86_64/setjmp.S: Likewise.
44493 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
44495         [BZ #17263]
44496         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
44497         <stdint.h>.
44498         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
44499         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
44501 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44503         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
44505         [BZ #17262]
44506         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
44507         and __x86_64__ when disabling x87 inline functions.
44509 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44511         [BZ #17259]
44512         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
44513         asm statement with __cpuid_count.
44515 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
44517         * configure.ac: Change __ehdr_start code to dereference the struct.
44518         Run readelf on the output to look for relocations.
44519         * configure: Regenerated.
44521 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
44523         [BZ #17261]
44524         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
44525         value to 0.
44526         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
44528 2014-08-12  Roland McGrath  <roland@hack.frob.com>
44530         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
44532 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
44534         [BZ #16892]
44535         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44536         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
44538 2014-08-12  Sean Anderson  <seanga2@gmail.com>
44540         * malloc/malloc.c: Fix typo in comment.
44542 2014-08-09  Allan McRae  <allan@archlinux.org>
44544         * Regenerate libc.po.
44546 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
44548         * intl/tst-gettext2.sh: Check every lang file for creation.
44550 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44552         * sysdeps/aarch64/fpu/math_private.h
44553         (libc_feholdsetround_noex_aarch64_ctx): New function.
44555 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
44557         * sysdeps/arm/armv6/strcpy.S (strcpy):
44558         Fix performance issue in misaligned cases.
44560 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44562         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
44563         Move definition from termios.h.
44564         (struct termio): Likewise.
44565         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44566         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44567         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44568         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44569         Likewise.
44570         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
44571         Move definition to ioctl-types.h
44572         (struct termio): Likewise.
44573         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44574         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
44575         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
44576         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
44577         Likewise.
44579 2014-08-05  Richard Henderson  <rth@redhat.com>
44581         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
44582         exceptions.
44583         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
44584         Add fraiseexcpt.
44585         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
44586         Use __feraiseexcept.
44587         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
44588         Protect libm symbols with IS_IN_libm.
44590         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
44592 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
44594         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
44596 2014-08-04  Will Newton  <will.newton@linaro.org>
44598         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
44599         file.
44601 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
44603         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
44604         variants for each function.
44606 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44608         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
44609         appended ...
44610         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
44611         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
44612         appended ...
44613         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
44614         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
44615         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
44616         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
44617         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
44618         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
44619         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
44620         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
44621         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
44622         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
44623         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
44624         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
44625         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
44626         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
44627         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
44628         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
44629         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
44630         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
44631         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
44632         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
44633         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
44634         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44635         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
44636         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
44637         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
44638         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
44639         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
44640         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
44641         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
44642         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
44643         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
44644         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
44645         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
44646         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
44647         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
44648         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
44649         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
44650         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
44651         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
44652         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
44653         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
44654         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
44655         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
44656         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
44657         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
44658         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
44659         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
44660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
44661         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
44662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
44663         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
44664         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
44665         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
44666         Update #include.
44667         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
44668         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
44670 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44672         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
44673         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
44674         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
44675         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
44676         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
44677         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
44679 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44681         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
44682         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
44683         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44684         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
44686 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44688         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
44689         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
44690         (__libc_vfork): Define function under this name.
44691         (__vfork): Define as an alias.
44692         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
44693         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
44695 2014-08-04  Roland McGrath  <roland@hack.frob.com>
44697         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
44698         that was previously under [RESET_PID].
44699         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
44701 2014-08-04  Andreas Schwab  <schwab@suse.de>
44703         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
44705 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
44707         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
44708         (main): Likewise.
44710 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44712         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
44714 2014-08-01  Richard Henderon  <rth@redhat.com>
44716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
44717         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
44718         typo in exact zero test.
44719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44720         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44721         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44723 2014-08-01  Roland McGrath  <roland@hack.frob.com>
44725         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
44726         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
44727         * sysdeps/arm/sysdep.h: ... here.
44728         [!__ASSEMBLER__]: Include <stdint.h>.
44730 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44732         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
44733         (HAVE_WCTYPE_H): Likewise.
44734         (HAVE_ISWCTYPE): Likewise.
44735         (ENABLE_NLS): Likewise.
44736         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
44737         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
44739         * posix/regex_internal.c: Check if DEBUG is defined and is
44740         set.
44742         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
44743         (HAVE_MBSRTOWCS): Likewise.
44744         * posix/fnmatch.c: Include string.h unconditionally.
44746 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44748         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
44749         reversal.
44751 2014-07-31  Roland McGrath  <roland@hack.frob.com>
44753         * sysdeps/generic/safe-fatal.h: New file.
44754         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
44755         * nptl/forward.c: Include it.
44756         (__pthread_unwind): Use __safe_fatal as default action, rather
44757         than a bogus use of INTERNAL_SYSCALL that could never work.
44759         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
44760         * configure.ac (libc_cv_builtin_trap): New test.
44761         * configure: Regenerated.
44762         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
44763         (ABORT_INSTRUCTION): Define using __builtin_trap.
44765         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
44766         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
44767         * sysdeps/nptl/nptl-signals.h: New file.
44768         * nptl/pthreadP.h: Include <nptl-signals.h>.
44770 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44772         * sysdeps/s390/s390-64/utf16-utf32-z9.c
44773         (ONE_DIRECTION): Define.
44774         * sysdeps/s390/s390-64/utf8-utf16-z9.c
44775         (ONE_DIRECTION): Define.
44776         * sysdeps/s390/s390-64/utf8-utf32-z9.c
44777         (ONE_DIRECTION): Define.
44779 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
44781         * sysdeps/s390/Makefile: Delete file.
44782         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
44783         * sysdeps/s390/__longjmp.c: Delete file.
44784         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
44785         Remove fields __flags and __reserved.
44786         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
44787         and add versioning.
44788         * sysdeps/s390/rtld-__longjmp.c: Delete file.
44789         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
44790         * sysdeps/s390/rtld-setjmp.S: Likewise.
44791         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
44792         * sysdeps/s390/s390-32/__longjmp.c: ... here.
44793         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
44794         * sysdeps/s390/s390-32/setjmp.S: ... here.
44795         Add versioning.
44796         (__sigsetjmp): Remove setting __flags field.
44797         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44798         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44799         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44800         * sysdeps/s390/s390-64/setjmp.S: ... here.
44801         Add versioning.
44802         (__sigsetjmp): Remove setting __flags field.
44803         * sysdeps/s390/setjmp.S: Delete file.
44804         * sysdeps/s390/sigjmp.c: Likewise.
44805         * sysdeps/s390/v1-longjmp.c: Likewise.
44806         * sysdeps/s390/v1-setjmp.h: Likewise.
44807         * sysdeps/s390/v1-sigjmp.c: Likewise.
44808         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44809         Remove v1-longjmp_chk.
44810         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44811         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44812         Include debug/longjmp_chk.c and add versioning.
44813         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44814         Include nptl/pt-longjmp.c and add versioning.
44815         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44816         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44817         Include __longjmp.c.
44818         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44819         Move to ...
44820         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44821         (__getcontext): Remove setting __flags field.
44822         Add versioning.
44823         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44824         Don't restore upper high grps.
44825         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44826         Likewise.
44827         (__swapcontext): Remove setting uc_flags field.
44828         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44829         Delete file.
44830         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44831         Include __longjmp.c.
44832         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44833         Move to ...
44834         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44835         (__getcontext): Remove setting __flags field.
44836         Add versioning.
44837         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44838         (__swapcontext): Remove setting uc_flags field.
44839         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44840         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44841         Remove fields uc_high_gprs and __reserved.
44842         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44843         New file with reverted content.
44844         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44845         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44846         Regenerated.
44847         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44848         Regenerated.
44850 2014-07-31  Andreas Schwab  <schwab@suse.de>
44852         * config.h.in (HAVE_IFUNC): Define to 0.
44853         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44854         definedness.
44856 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44859         memmove-avx-unaligned, memcpy-avx-unaligned and
44860         mempcpy-avx-unaligned.
44861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44862         Add tests for AVX memcpy functions.
44863         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44864         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44865         memcpy_chk.
44866         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44867         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44868         memmove_chk.
44869         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44870         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44871         mempcpy_chk.
44872         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44873         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44874         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44876 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44878         [BZ #17213]
44879         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44880         powerpc64le.
44882 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44884         [BZ #16839]
44885         * manual/llio.texi: Add section about open file description locks.
44886         * manual/examples/ofdlocks.c: Example of open file description
44887         lock usage.
44888         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44889         F_OFD_SETLK, and F_OFD_SETLKW.
44891 2014-07-23  Allan McRae  <allan@archlinux.org>
44893         * po/es.po: Update Spanish translation from translation project.
44895 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44897         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44899 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44901         [BZ #17078]
44902         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44903         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44904         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44906 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44908         [BZ #17088]
44909         * math/fesetenv.c (__fesetenv)
44910         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44911         * math/feupdateenv.c (__feupdateenv)
44912         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44914         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44915         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44916         (__ASSUME_SOCKETCALL): Do not define.
44918         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44919         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44920         (__ASSUME_SOCKETCALL): Do not define.
44921         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44922         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44923         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44924         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44926         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44928         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44930         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44931         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44932         (__ASSUME_SOCKETCALL): Do not define.
44933         (__ASSUME_IPC64): Define unconditionally.
44934         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44935         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44936         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44937         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44938         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44939         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44940         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44941         Likewise.
44943         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44944         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44945         (__ASSUME_SOCKETCALL): Do not define.
44946         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44947         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44948         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44949         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44950         (__ASSUME_REQUEUE_PI): Define unconditionally.
44951         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44952         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44953         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44954         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44955         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44956         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44958         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44959         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44960         (__ASSUME_SOCKETCALL): Do not define.
44961         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44962         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44963         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44964         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44965         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44966         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44968         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44969         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44970         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44971         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44972         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44973         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44974         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44975         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44976         (__ASSUME_GETCPU_SYSCALL): Likewise.
44978         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44979         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
44980         cases for individual architectures.
44981         * sysdeps/gnu/configure: Regenerated.
44982         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44983         LIBC_SLIBDIR_RTLDDIR.
44984         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44985         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44986         LIBC_SLIBDIR_RTLDDIR.
44987         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44989         LIBC_SLIBDIR_RTLDDIR.
44990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44991         Regenerated.
44992         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44993         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44994         file.
44995         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44996         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44997         file.
44998         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44999         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45000         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45001         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45003         * sysdeps/aarch64/shlib-versions: Move to ...
45004         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45005         * sysdeps/alpha/shlib-versions: Move to ...
45006         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45007         * sysdeps/arm/shlib-versions: Move to ...
45008         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45009         * sysdeps/hppa/shlib-versions: Move all contents except for
45010         libgcc_s entry to ...
45011         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45012         entry from ...
45013         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45014         * sysdeps/ia64/shlib-versions: Move to ...
45015         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45016         entry from ...
45017         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45018         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45019         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45020         * sysdeps/microblaze/shlib-versions: Move to ...
45021         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45022         * sysdeps/mips/shlib-versions: Move to ...
45023         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45024         entry from ...
45025         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45026         * sysdeps/tile/shlib-versions: Move to ...
45027         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45028         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45029         from ...
45030         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45031         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45032         entry from ...
45033         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45035 2014-07-17  Will Newton  <will.newton@linaro.org>
45037         * sysdeps/arm/bits/atomic.h
45038         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45039         (__arch_compare_and_exchange_bool_16_int): Likewise.
45040         (__arch_compare_and_exchange_bool_64_int): Likewise.
45042         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45043         into an #else block.
45045 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45047         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45048         just Linux configurations.  Test empirically that the compiler sets
45049         __ARM_EABI__, rather than using the tuple to decide.
45050         * sysdeps/arm/preconfigure: Regenerated.
45051         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45052         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45053         contents appended ...
45054         * sysdeps/arm/configure.ac: ... here.
45055         * sysdeps/arm/configure: Regenerated.
45057 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45059         * nptl/pthread_kill.c: New file.
45060         * nptl/pthread_sigmask.c: New file.
45061         * nptl/pthread_sigqueue.c: New file.
45063         * sysdeps/nptl/lowlevellock.h: New file.
45064         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45065         * sysdeps/nptl/lowlevellock-futex.h: New file.
45067         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45068         Remove dead declarations.
45070 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45072         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45073         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45074         config-cflags-avx2.
45075         * sysdeps/x86_64/configure.ac: Likewise.
45076         * sysdeps/i386/configure: Regenerated.
45077         * sysdeps/x86_64/configure: Likewise.
45078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45079         memset-avx2 only if config-cflags-avx2 is yes.
45080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45081         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45082         defined.
45083         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45084         only if HAVE_AVX2_SUPPORT is defined.
45085         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45087 2014-07-14  Alan Modra  <amodra@gmail.com>
45089         [BZ #17153]
45090         * elf/elf.h (DT_PPC64_NUM): Correct value.
45091         * NEWS: Add to fixed bug list.
45093 2014-07-13  Jim Meyering  <meyering@fb.com>
45095         [BZ 17150]
45096         regex: don't deref NULL upon heap allocation failure
45097         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45098         failure in one more place.
45099         To trigger the segfault, configure grep -with-included-regex,
45100         build it, and run these commands:
45101         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45103 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45105         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45107 2014-07-11  Richard Henderson  <rth@redhat.com>
45109         * sysdeps/aarch64/libm-test-ulps: Update.
45111 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45113         [BZ #17135]
45114         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45115         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45116         (__nptl_setxid): Initialize error member.  Call
45117         __nptl_setxid_error.
45118         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45119         * nptl/descr.h (struct xid_command): Add error member.
45120         * nptl/tst-setuid3.c: New file.
45121         * nptl/Makefile (tests): Add it.
45123 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45125         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45126         New define.
45127         (__lll_trylock): Use __lll_base_trylock.
45128         (__lll_cond_trylock): Likewise.
45130 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45132         * nptl/pthread_create.c (start_thread): Use atomic_or and
45133         lll_futex_wake directly rather than lll_robust_dead.
45134         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45135         (lll_robust_dead): Macro removed.
45136         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45137         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45138         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45139         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45141         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45142         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45143         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45144         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45145         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45146         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45147         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45148         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45149         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45150         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45152         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45153         Use atomic_compare_and_exchange_val_acq directly rather than
45154         lll_robust_trylock.
45155         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45156         (__lll_robust_trylock, lll_robust_trylock): Removed.
45157         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45158         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45159         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45160         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45161         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45162         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45163         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45164         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45165         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45166         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45167         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45168         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45169         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45170         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45172 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45174         * manual/locale.texi (Locale Names): New section documenting
45175         locale name syntax.  Adjust menu and node chaining accordingly.
45176         (Choosing Locale): Reference Locale Names, Locale Categories.
45177         Mention setting LC_ALL=C.  Reflect that name syntax is now
45178         documented.
45179         (Locale Categories): New section title.  Reference Locale Names.
45180         LC_ALL is an environment variable, but not a category.
45181         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45182         description, now in Locale Name.  Reference that section.  Locale
45183         name syntax is now documented.
45185 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45187         [BZ #17137]
45188         * locale/findlocale.c (name_present, valid_locale_name): New
45189         functions.
45190         (_nl_find_locale): Use the loc_name variable to store name
45191         candidates.  Call name_present and valid_locale_name to check and
45192         validate locale names.  Return an error if the locale is invalid.
45194 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45196         * locale/setlocale.c (setlocale): Use strdup for allocating
45197         composite name copy.
45199 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45201         Sync up with gnulib.
45202         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45203         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45204         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45205         and _GL_ARG_NONNULL.
45206         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45207         [!_LIBC]: Include code for Windows and Cygwin.
45208         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45209         Include prototype for int strerror_r.
45210         [!_LIBC] (is_open): New function.
45211         (flush_stdout): New function.
45212         (print_errno_message): Use it.
45213         (error): Likewise.
45214         (error_at_line): Likewise.
45215         (error_tail) Add function attribute macros.  Use
45216         __builtin_expect.
45218         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45220         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45222         * io/ftw.c: Include sys/param.h unconditionally.
45224         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45226         [BZ #17125]
45227         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45228         libc_freeres_ptr.
45229         (freecache): New function to free CACHE on exit.
45231         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45232         initialization.
45234 2014-07-09  David S. Miller  <davem@davemloft.net>
45236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45238         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45239         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45240         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45241         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45242         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45243         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45244         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45245         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45246         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45247         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45248         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45249         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45250         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45252 2014-07-09  Andreas Schwab  <schwab@suse.de>
45254         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45255         output.
45256         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45257         (do_test): Likewise.
45259         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45261 2014-07-09  Will Newton  <will.newton@linaro.org>
45263         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45264         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45265         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45266         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45267         * sysdeps/hppa/start.S (_start): Likewise.
45269 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45271         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45273         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45274         defined.
45276 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45278         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45279         after checking that it is non-NULL.
45281         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45283 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45285         * sysdeps/powerpc/memmove.c: Remove file.
45286         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45287         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45288         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45289         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45290         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45291         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45292         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45293         string memmove instead of removed powerpc one.
45295         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45296         [weak_alias]: Fix compiler warning due trailing data.
45297         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45298         [weak_alias]: Likewise.
45299         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45300         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45303         (__libc_ifunc_impl_list): Add memmove functions.
45305 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45307         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45308         Remove code.
45309         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45310         Likewise.
45311         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45312         Likewise.
45313         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45314         Likewise.
45315         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45316         Likewise.
45317         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45318         Likewise.
45319         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45320         Likewise.
45321         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45322         Likewise.
45323         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45324         Likewise.
45325         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45326         Likewise.
45327         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
45328         Likewise.
45329         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
45330         Likewise.
45331         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
45332         Likewise.
45333         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
45334         Likewise.
45335         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
45336         Likewise.
45337         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
45338         Likewise.
45339         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
45340         Likewise.
45342 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45344         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
45345         to avoid alignment traps in non-cacheable memory.
45346         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
45349         multiarch objects.
45350         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
45351         file: multiarch power7 memmove.
45352         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
45353         multiarch default memmove.
45354         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
45355         multiarch memove for powerpc32/power4.
45357         * string/bcopy.c: Use full path to include memmove.c.
45358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
45359         multiarch objects.
45360         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
45361         bcopy for powerpc64.
45362         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
45363         bcopy for powerpc64.
45364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
45365         and memmove implementations.
45366         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
45367         optimized multiarch memmove for POWER7/powerpc64.
45368         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
45369         default multiarch memmove for powerpc64.
45370         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
45371         multiarch for powerpc64.
45372         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
45373         for POWER7/powerpc64.
45374         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
45375         memmove for POWER7/powerpc64.
45377         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
45378         glibc default one.
45380         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
45381         __ELF_NATIVE_CLASS equal to 64.
45383 2014-07-07  Roland McGrath  <roland@hack.frob.com>
45385         * sysdeps/nptl/lowlevellock.h: File removed.
45387         * NEWS: NPTL is no longer an add-on!
45388         * nptl/internaltypes.h: Moved ...
45389         * sysdeps/nptl/internaltypes.h: ... here.
45390         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
45391         * sysdeps/nptl/fork.c: Likewise.
45392         * sysdeps/nptl/gai_misc.h: Likewise.
45393         * sysdeps/nptl/librt-cancellation.c: Likewise.
45394         * sysdeps/nptl/jmp-unwind.c: Likewise.
45395         * sysdeps/nptl/setxid.h: Likewise.
45396         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
45397         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
45398         * sysdeps/unix/sysv/linux/arm/Implies: New file.
45399         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
45400         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
45401         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
45402         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
45403         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
45404         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
45405         * sysdeps/unix/sysv/linux/mips/Implies: New file.
45406         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
45407         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
45408         * sysdeps/unix/sysv/linux/sh/Implies: New file.
45409         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
45410         * sysdeps/unix/sysv/linux/tile/Implies: New file.
45411         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
45412         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
45413         * nptl/Makeconfig: Moved ...
45414         * sysdeps/nptl/Makeconfig: ... here.
45415         * nptl/configure: File removed.
45416         * nptl/ANNOUNCE: File removed.
45417         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
45418         * sysdeps/unix/sysv/linux/configure: Regenerated.
45420         * nptl/Makefile (routines): Add libc_pthread_init,
45421         libc_multiple_threads, register-atfork and unregister-atfork.
45422         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
45423         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
45424         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
45425         pthread-pi-defines.sym, structsem.sym.
45426         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
45427         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
45428         [$(subdir) = nptl] (tests): Add tst-setgetname.
45429         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
45430         * sysdeps/unix/sysv/linux/sigaction.c: Just include
45431         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
45432         [!LIBC_SIGACTION]: Remove aliases.
45433         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45434         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45435         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45436         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
45437         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45438         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
45439         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45440         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45441         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45442         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
45443         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
45444         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
45445         __libc_allocate_rtsig_private.
45446         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
45447         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
45448         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
45449         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
45450         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
45451         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
45452         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
45453         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
45454         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
45455         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
45456         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
45457         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
45458         * nptl/internaltypes.h: ... here.
45459         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
45460         * sysdeps/nptl/jmp-unwind.c: ... here.
45461         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
45462         * nptl/libc-lowlevellock.c: ... here.
45463         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
45464         * nptl/libc_multiple_threads.c: ... here.
45465         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
45466         * nptl/libc_pthread_init.c: ... here.
45467         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
45468         * nptl/lowlevelbarrier.sym: ... here.
45469         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
45470         * nptl/lowlevelcond.sym: ... here.
45471         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
45472         * nptl/lowlevellock.c: ... here.
45473         * nptl/lowlevellock.h: Moved ...
45474         * sysdeps/nptl/lowlevellock.h: ... here.
45475         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
45476         * nptl/lowlevelrobustlock.c: ... here.
45477         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
45478         * nptl/lowlevelrobustlock.sym: ... here.
45479         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
45480         * nptl/lowlevelrwlock.sym: ... here.
45481         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
45482         * nptl/pt-fork.c: ... here.
45483         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
45484         * nptl/pthread-pi-defines.sym: ... here.
45485         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
45486         * nptl/pthread_attr_getaffinity.c: ... here.
45487         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
45488         * nptl/pthread_attr_setaffinity.c: ... here.
45489         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
45490         * nptl/pthread_mutex_cond_lock.c: ... here.
45491         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45492         Update #include.
45493         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
45494         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
45495         * nptl/pthread_once.c: ... here, replacing old file.
45496         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
45497         * nptl/pthread_yield.c: ... here.
45498         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
45499         * nptl/register-atfork.c: ... here.
45500         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
45501         * nptl/sem_post.c: ... here.
45502         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
45503         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
45504         * nptl/sem_timedwait.c: ... here.
45505         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
45506         * nptl/sem_trywait.c: ... here.
45507         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
45508         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
45509         * nptl/sem_wait.c: ... here.
45510         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
45511         * nptl/structsem.sym: ... here.
45512         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
45513         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
45514         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
45515         * nptl/unregister-atfork.c: ... here.
45516         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
45517         * nptl/unwindbuf.sym: ... here.
45518         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
45519         * sysdeps/nptl/fork.c: ... here.
45520         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
45521         * sysdeps/nptl/fork.h: ... here.
45522         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
45523         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
45524         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
45525         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
45526         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
45527         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
45528         * sysdeps/unix/sysv/linux/getpid.c: ... here.
45529         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
45530         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
45531         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
45532         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
45533         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
45534         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
45535         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
45536         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
45537         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
45538         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
45539         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
45540         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
45541         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
45542         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
45543         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
45544         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
45545         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
45546         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
45547         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
45548         * sysdeps/unix/sysv/linux/raise.c: ... here.
45549         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
45550         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
45551         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
45552         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
45553         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
45554         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
45555         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
45556         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
45557         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
45558         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
45559         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
45560         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
45561         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
45562         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
45563         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
45565 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45567         * sysdeps/generic/memcopy.h: Add comment for
45568         MEMCPY_OK_FOR_FWD_MEMMOVE.
45570 2014-07-04  Will Newton  <will.newton@linaro.org>
45572         * string/memchr.c: Merge from gnulib.
45573         [_LIBC]: Remove conditionals.
45574         (__ptr_t): Remove define.
45575         (LONG_MAX_32_BITS): Likewise.
45576         (LONG_MAX): Likewise.
45577         (MEMCHR): Use ANSI prototype and optimize algorithm.
45579         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
45581 2014-07-03  Roland McGrath  <roland@hack.frob.com>
45583         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
45584         (lll_futex_timed_wait_bitset): Fix syscall argument count.
45586         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
45587         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
45588         in a bare environment with no <stdlib.h> installed.
45589         * sysdeps/nptl/configure: Regenerated.
45591         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
45593         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
45594         AC_EGREP_CPP for kernel header checks, so they only succeed if
45595         including <linux/version.h> actually works right.
45596         * sysdeps/unix/sysv/linux/configure: Regenerated.
45598         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
45599         value so it's not diagnosed as unused.
45601         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
45602         thing) with "ifeq ($(subdir),rt)".
45604 2014-07-03  Richard Henderson  <rth@redhat.com>
45606         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
45607         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
45608         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
45610         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
45611         (math_force_eval): New.
45613         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
45614         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
45616         * sysdeps/alpha/fpu/s_round.c: Remove file.
45617         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
45619         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
45620         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
45621         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
45622         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
45623         (_dl_start, print_statistics): Likewise.
45624         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
45625         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
45627         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45628         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45629         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45630         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45631         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45632         (HP_SMALL_TIMING_AVAIL): Define.
45633         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45634         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45635         (HP_SMALL_TIMING_AVAIL): Define.
45636         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45637         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
45639         * sysdeps/aarch64/hp-timing.h: New file.
45641         * sysdeps/generic/hp-timing.h: Remove dead comment.
45642         * sysdeps/generic/hp-timing-common.h: New file.
45643         * sysdeps/alpha/hp-timing.h: Include it.
45644         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
45645         * sysdeps/i386/i686/hp-timing.h: Likewise.
45646         * sysdeps/ia64/hp-timing.h: Likewise.
45647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45648         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45649         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45650         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45651         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
45652         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
45653         (hp_timing_t): New.
45655         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
45656         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
45657         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
45658         * elf/rtld.c (_dl_start_final): Likewise.
45659         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
45660         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45661         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45662         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45663         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45664         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45665         (HP_TIMING_DIFF_INIT): Remove.
45666         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
45668         (HP_TIMING_DIFF_INIT): Remove.
45669         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
45670         * sysdeps/i386/i686/hp-timing.c: Remove file.
45671         * sysdeps/x86_64/hp-timing.c: Remove file.
45672         * sysdeps/ia64/hp-timing.c: Remove file.
45673         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
45674         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
45675         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
45676         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
45678         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
45679         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
45680         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
45681         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
45683         (HP_TIMING_ACCUM): Remove.
45684         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45685         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
45686         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
45688         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
45689         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
45690         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
45691         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
45692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
45693         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45694         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
45695         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
45697         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
45699 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
45701         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
45703 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45705         Sync up with gettext.
45706         * intl/loadmsgcat.c: Define O_BINARY if not defined.
45707         [_MSC_VER]: Include malloc.h
45708         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
45709         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
45710         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
45711         TEMP_FAILURE_RETRY.  Cast return of alloca.
45712         [!_LIBC] Call gl_rwlock_init.
45713         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
45715 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45717         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
45718         before checking its value.
45720 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45722         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
45724         * debug/memcpy_chk.c: Don't include pagecopy.h.
45725         * debug/mempcpy_chk.c: Likewise.
45726         * string/memcpy.c: Likewise.
45727         * string/memmove.c: Likewise.
45728         * sysdeps/powerpc/memmove.c: Likewise.
45729         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
45730         definition of PAGE_COPY_FWD_MAYBE here...
45731         * sysdeps/generic/pagecopy.h: ... from here.
45732         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
45734 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45735             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45737         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
45738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
45739         optimizations.
45740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45741         (__libc_ifunc_impl_list): Likewise.
45742         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45743         multiarch strcat for PPC64.
45744         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
45745         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
45747 2014-07-02  Roland McGrath  <roland@hack.frob.com>
45749         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
45751 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45753         * intl/loadmsgcat.c: Remove declaration of
45754         get_sysdep_segment_value.
45755         (get_sysdep_segment_value): Use ISO C style.
45756         (_nl_load_domain): Use ISO C style.  Get rid of redundant
45757         semicolon.  Fix typo and formatting in comment.
45758         (_nl_unload_domain): Use ISO C style.
45760         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
45762 2014-07-02  Will Newton  <will.newton@linaro.org>
45764         * malloc/obstack.c: Merge from gnulib master.
45765         [HAVE_CONFIG_H]: Remove conditional code.
45766         [!_LIBC]: Include config.h.
45767         [!ELIDE_CODE]: Don't include inttypes.h, include
45768         stdint.h unconditionally.
45769         (print_and_abort): Mark as _Noreturn.
45770         (_obstack_allocated_p): Mark as __attribute_pure__.
45771         (obstack_free): Rename to __obstack_free.
45772         [!__attribute__]: Remove conditional code.
45773         * malloc/obstack.h: Merge from gnulib master.
45774         [__cplusplus]: Move conditional down.
45775         [!__attribute_pure__]: Define __attribute_pure__ here
45776         if it is not already defined.
45777         (_obstack_memory_used): Mark as __attribute_pure__.
45778         [!__obstack_free]: Define as obstack_free.
45779         [__GNUC__]: Remove check for ancient NeXT gcc.
45781 2014-07-02  Will Newton  <will.newton@linaro.org>
45782             Paul Eggert  <eggert@cs.ucla.edu>
45784         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
45786 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45788         * resolv/gethnamaddr.c: Add comment warning that the file is
45789         not maintained.
45791 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
45793         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
45794         entries.
45796         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45797         entry for aio_cancel and aio_cancel64.
45798         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45799         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45800         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45801         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45802         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45803         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45804         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45805         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45806         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45807         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45808         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45809         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45810         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45812 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45814         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45815         * nptl/pthread_mutex_lock.c: Likewise.
45816         * nptl/pthread_mutex_timedlock.c: Likewise.
45817         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45819 2014-07-01  Richard henderson  <rth@redhat.com>
45821         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45822         (__isnan, __isnanl): Remove.
45823         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45825         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45827 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45829         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45831 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45833         * resolv/nss_dns/dns-host.c (getanswer_r)
45834         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45836 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45838         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45839         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45840         undefine.
45841         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45842         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45844 2014-07-01  Roland McGrath <roland@hack.frob.com>
45846         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45847         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45849         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45850         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45852         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45853         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45854         ... here.
45855         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45856         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45858         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45859         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45860         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45861         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45863         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45864         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45865         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45866         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45867         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45868         Moved ...
45869         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45870         ... here.
45871         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45872         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45873         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45874         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45875         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45876         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45877         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45878         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45879         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45880         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45881         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45882         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45883         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45884         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45885         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45886         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45887         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45888         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45889         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45890         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45891         ... here.
45892         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45893         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45894         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45895         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45896         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45897         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45898         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45899         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45901 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45903         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45904         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45905         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45906         Add sysdep.
45908 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45912 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45914         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45915         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45917         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45919         * sysdeps/arm/libm-test-ulps: Regenerated.
45921 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45922             Roland McGrath <roland@hack.frob.com>
45924         * test-skeleton.c (signal_handler): Kill the whole process group
45925         before killing the child individually.
45926         (main): Report any failure on `setpgid'.
45928 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45930         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45931         from _TLS_H to _ARM_NPTL_TLS_H.
45932         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45933         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45935 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45937         [BZ #16539]
45938         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45939         (__expm1l): Return argument unchanged when small but not
45940         subnormal.
45942         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45943         include macro name.
45944         (_FP_UNPACK_RAW_1_P): Likewise.
45945         (_FP_PACK_RAW_1): Likewise.
45946         (_FP_PACK_RAW_1_P): Likewise.
45947         (_FP_MUL_MEAT_1_wide): Likewise.
45948         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45949         (_FP_MUL_MEAT_1_hard): Likewise.
45950         (_FP_DIV_MEAT_1_imm): Likewise.
45951         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45952         (_FP_DIV_MEAT_1_udiv): Likewise.
45953         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45954         (_FP_UNPACK_RAW_2): Likewise.
45955         (_FP_UNPACK_RAW_2_P): Likewise.
45956         (_FP_PACK_RAW_2): Likewise.
45957         (_FP_PACK_RAW_2_P): Likewise.
45958         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45959         (_FP_MUL_MEAT_2_wide): Likewise.
45960         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45961         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45962         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45963         (_FP_MUL_MEAT_2_gmp): Likewise.
45964         (_FP_DIV_MEAT_2_udiv): Likewise.
45965         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45966         (_FP_FRAC_SRL_4): Likewise.
45967         (_FP_FRAC_SRST_4): Likewise.
45968         (_FP_FRAC_SRS_4): Likewise.
45969         (_FP_UNPACK_RAW_4): Likewise.
45970         (_FP_UNPACK_RAW_4_P): Likewise.
45971         (_FP_PACK_RAW_4): Likewise.
45972         (_FP_PACK_RAW_4_P): Likewise.
45973         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45974         (_FP_MUL_MEAT_4_wide): Likewise.
45975         (_FP_MUL_MEAT_4_gmp): Likewise.
45976         (umul_ppppmnnn): Likewise.
45977         (_FP_DIV_MEAT_4_udiv): Likewise.
45978         (__FP_FRAC_ADD_4): Likewise.
45979         (__FP_FRAC_SUB_3): Likewise.
45980         (__FP_FRAC_SUB_4): Likewise.
45981         (__FP_FRAC_DEC_3): Likewise.
45982         (__FP_FRAC_DEC_4): Likewise.
45983         (__FP_FRAC_ADDI_4): Likewise.
45984         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45985         (_FP_FRAC_SRL_8): Likewise.
45986         (_FP_FRAC_SRS_8): Likewise.
45988         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45989         include macro name.
45990         (FP_UNPACK_RAW_EP): Likewise.
45991         (FP_PACK_RAW_E): Likewise.
45992         (FP_PACK_RAW_EP): Likewise.
45993         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45994         (_FP_ISSIGNAN): Likewise.
45995         (_FP_ADD_INTERNAL): Likewise.
45996         (_FP_FMA): Likewise.
45997         (_FP_CMP): Likewise.
45998         (_FP_SQRT): Likewise.
45999         (_FP_TO_INT): Likewise.
46000         (_FP_FROM_INT): Likewise.
46001         (FP_EXTEND): Likewise.
46002         (_FP_DIV_MEAT_N_loop): Likewise.
46004 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46006         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46007         throughout.
46009 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46011         [BZ #17097]
46012         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46013         result with correct sign in case of exponents that produce
46014         overflow except for X very close to 1.
46016 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46018         mktime: merge #if/#ifdef usage from glibc
46019         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46020         as that works with both Glibc's and Gnulib's style.
46021         See thread starting at Siddhesh Poyarekar's bug report at:
46022         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46024 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46026         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46027         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46028         * sysdeps/tile/tilegx/memmove.c: Remove file.
46030 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46032         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46033         abi-name definition.
46034         * scripts/soversions.awk: Do not handle or generate ABI lines.
46035         * shlib-versions: Remove ABI entries.
46036         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46037         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46039 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46042         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46043         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46044         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46045         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46046         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46048         Moved ...
46049         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46050         ... here.
46051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46052         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46054         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46056         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46058         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46060         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46062         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46064         Moved ...
46065         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46067         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46069         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46071         Moved ...
46072         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46074         Moved ...
46075         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46077         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46079         Moved ...
46080         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46082         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46084         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46085         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46086         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46087         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46088         Moved ...
46089         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46091         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46092         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46093         Moved ...
46094         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46096         Moved ...
46097         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46099         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46100         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46101         Moved ...
46102         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46103         ... here.
46104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46105         Identical file removed.
46106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46107         Moved ...
46108         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46110         Identical file removed.
46111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46112         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46114         Moved ...
46115         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46117         Identical file removed.
46118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46119         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46121         Identical file removed.
46122         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46124         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46125         Identical file removed.
46126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46127         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46128         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46129         Identical file removed.
46130         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46131         Moved ...
46132         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46134         Identical file removed.
46135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46136         Moved ...
46137         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46138         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46139         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46141         Identical file removed.
46142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46143         Moved ...
46144         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46145         ... here.
46146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46147         Identical file removed.
46148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46149         Moved ...
46150         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46152         Identical file removed.
46153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46154         Moved ...
46155         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46156         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46157         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46160         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46161         Moved ...
46162         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46163         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46164         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46166         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46167         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46168         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46169         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46170         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46172 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46174         [BZ #17092]
46175         * nscd/nscd.c (monitor_child): Return exit status of child
46176         instead of return value from wait syscall.
46178 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46180         * configure.ac (libc_commonpagesize): Remove variable.
46181         (libc_relro_required): Likewise.
46182         (libc_cv_z_relro): Remove configure test.
46183         * configure: Regenerated.
46184         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46185         variable.
46186         (libc_relro_required): Likewise.
46187         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46188         (libc_relro_required): Likewise.
46189         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46190         (libc_relro_required): Likewise.
46191         * sysdeps/arm/preconfigure: Regenerated.
46192         * sysdeps/ia64/preconfigure: Remove file.
46193         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46194         variable.
46195         (libc_relro_required): Likewise.
46197         [BZ #16561]
46198         [BZ #16562]
46199         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46200         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46201         recompute overflowing results in original rounding mode.
46202         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46203         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46204         recompute overflowing results in original rounding mode.
46205         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46206         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46207         recompute overflowing results in original rounding mode.
46208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46209         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46210         recompute overflowing results in original rounding mode.
46211         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46212         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46213         recompute overflowing results in original rounding mode.
46214         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46215         (libc_feholdsetround_ctx): New macro.
46216         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46217         * sysdeps/i386/fpu/libm-test-ulps: Update.
46218         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46220 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46222         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46223         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46224         corresponding .cpsetup call.
46226 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46228         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46229         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46230         * sysdeps/arm/Makefile [$(subdir) = csu]
46231         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46232         (static-only-routines): Add aeabi_read_tp here.
46233         (shared-only-routines): Add libc-aeabi_read_tp here.
46234         (CFLAGS-libc-start.c): Add -fexceptions here.
46235         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46236         (sysdep_routines, static-only-routines, shared-only-routines):
46237         Don't add to these here.
46238         (CFLAGS-libc-start.c): Likewise.
46240         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46241         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46242         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46243         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46244         * sysdeps/arm/Makefile [$(subdir) = rt]
46245         (librt-sysdep_routines, librt-shared-only-routines):
46246         Append rt-aeabi_unwind_cpp_pr1 here.
46247         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46248         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46249         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46250         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46251         Append nptl-aeabi_unwind_cpp_pr1 here.
46252         (tests): Filter out tst-cleanupx4 here.
46253         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46254         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46255         Don't do those here.
46257 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46259         * scripts/list-sources.sh: Do not handle ports specially.
46261 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46263         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46264         * sysdeps/arm/feupdateenv.c: Likewise.
46266         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46268 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46270         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46271         trailing whitespace removed.
46272         * scripts/config.guess: Update to version 2014-03-23.
46273         * scripts/config.sub: Update to version 2014-05-01
46274         * scripts/install-sh: Update to version 2013-12-25.23.
46275         * scripts/move-if-change: Update from gnulib.
46277 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46279         * debug/memmove_chk.c: Remove pagecopy.h include.
46281 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46283         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46284         identical to gnulib mktime.
46286 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46288         * configure.ac: Do not test for machine being rs6000.  Do not test
46289         for powerpc*-*soft.
46290         * configure: Regenerated.
46292         [BZ #11505]
46293         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46294         test.
46295         * configure: Regenerated.
46296         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46297         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46298         Remove configure test.
46299         * sysdeps/arm/configure: Regenerated.
46300         * sysdeps/nptl/configure.ac: Do not check
46301         libc_cv_asm_cfi_directives.
46302         * sysdeps/nptl/configure: Regenerated.
46303         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46304         * sysdeps/x86_64/nptl/configure: Remove generated file.
46305         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46306         unconditional.
46307         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46309 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46311         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46312         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46313         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46314         it is defined.
46316         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46317         instead of whether it is defined.
46318         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46319         * sysdeps/hppa/dl-machine.h: Likewise.
46320         * sysdeps/ia64/dl-machine.h: Likewise.
46321         * sysdeps/m68k/dl-machine.h: Likewise.
46322         * sysdeps/microblaze/dl-machine.h: Likewise.
46323         * sysdeps/mips/dl-machine.: Likewise.
46324         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46325         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46326         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46327         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46328         * sysdeps/sh/dl-machine.h: Likewise.
46329         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46330         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46331         * sysdeps/tile/dl-machine.h: Likewise.
46332         * sysdeps/x86_64/dl-machine.h: Likewise.
46334         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
46335         code.
46336         (verify_persistent_db): Likewise.
46338 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
46341         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
46342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
46343         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
46344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46345         Moved ...
46346         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
46347         ... here.
46348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
46349         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
46350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
46351         Identical file removed.
46352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
46353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
46354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
46355         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
46356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
46357         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
46358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
46359         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
46360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
46361         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
46362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46363         Moved ...
46364         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
46365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
46366         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
46367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
46368         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
46369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46370         Moved ...
46371         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
46372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
46373         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
46374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
46375         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
46376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46377         Identical file removed.
46378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
46379         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
46380         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
46381         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
46382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46383         Moved ...
46384         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
46385         ... here.
46386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
46387         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
46388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
46389         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
46390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
46391         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
46392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
46393         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
46394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
46395         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
46396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46397         Moved ...
46398         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
46399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
46400         Moved ...
46401         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
46402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
46403         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
46404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46405         Moved ...
46406         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
46407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
46408         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
46410         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
46411         folded into ...
46412         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
46413         * sysdeps/unix/sysv/linux/s390/Versions
46414         (libpthread: GLIBC_2.19): New version set.
46415         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
46416         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
46417         (librt: GLIBC_2.3.3): New version set.
46418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
46419         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
46420         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
46421         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
46422         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
46423         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
46424         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
46425         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
46426         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
46427         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
46428         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
46429         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
46430         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
46431         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
46432         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
46433         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
46434         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
46435         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
46436         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
46437         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
46438         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
46439         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
46440         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
46441         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
46442         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
46443         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
46444         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
46445         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
46446         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
46447         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
46448         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
46449         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
46450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
46451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
46452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
46453         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
46454         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
46455         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
46456         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
46457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
46458         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
46459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
46460         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
46461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
46462         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
46464         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
46465         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
46466         (__libc_vfork): Define the function under this name.
46467         [!NOT_IN_libc] (__vfork): Make this an alias.
46468         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
46470         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
46471         (__libc_vfork): Define the function under this name.
46472         [!NOT_IN_libc] (__vfork): Make this an alias.
46473         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
46474         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
46475         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
46476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
46477         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
46478         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46480         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
46481         code that was previously under [RESET_PID].
46482         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
46483         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
46484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
46486         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
46487         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
46488         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
46489         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
46490         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
46491         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
46492         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
46493         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
46494         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
46495         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
46496         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
46497         Moved ...
46498         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
46499         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
46500         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
46501         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
46502         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
46503         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
46504         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
46505         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
46506         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
46507         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
46508         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
46509         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
46510         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
46511         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
46512         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
46513         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
46514         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
46515         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
46516         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
46517         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
46518         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
46519         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
46520         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
46521         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
46522         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
46523         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
46524         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
46525         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
46526         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
46528 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46530         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
46531         that was previously under [RESET_PID].
46532         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
46534 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46536         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
46537         not undefine and redefine.
46538         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
46539         [O_CLOEXEC]: Make code unconditional.
46540         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
46541         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
46542         <kernel-features.h>.
46543         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
46544         conditional variable definition.
46545         (shm_open) [O_CLOEXEC]: Make code unconditional.
46546         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
46547         code.
46549         * configure.ac (USE_REGPARMS): Don't define here.
46550         * configure: Regenerated.
46551         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
46552         * sysdeps/i386/configure: Regenerated.
46554         * nptl/createthread.c: Don't include kernel-features.h.
46555         * nptl/pthread_cancel.c: Likewise.
46556         * nptl/pthread_condattr_setclock.c: Likewise.
46557         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
46558         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
46559         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
46560         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
46561         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
46562         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
46563         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
46564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
46565         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
46566         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
46567         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
46568         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
46569         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
46570         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
46571         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
46572         * nscd/gai.c: Likewise.
46573         * nss/nss_db/db-open.c: Likewise.
46574         * sysdeps/generic/ldsodefs.h: Likewise.
46575         * sysdeps/sh/nptl/tls.h: Likewise.
46576         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46577         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
46578         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
46579         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
46580         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
46581         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46582         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
46583         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46584         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46585         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
46586         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
46587         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46588         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
46589         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
46590         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
46591         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
46592         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
46593         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
46594         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
46595         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
46596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
46597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
46598         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
46599         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
46600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
46601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
46602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
46603         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
46604         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
46605         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
46606         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
46607         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
46608         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
46609         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46610         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46611         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46612         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46613         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
46614         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
46615         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
46616         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46617         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
46618         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
46619         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46620         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
46621         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
46622         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
46623         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
46624         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
46625         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
46626         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
46627         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
46628         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
46629         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46630         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
46631         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46632         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46633         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
46634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
46636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
46638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
46639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
46641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
46645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
46646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
46648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
46654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
46655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
46656         * sysdeps/unix/sysv/linux/pread.c: Likewise.
46657         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
46658         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
46659         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
46660         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
46661         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
46662         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
46663         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
46664         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
46665         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
46666         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
46667         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
46668         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
46669         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
46670         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
46671         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
46672         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46673         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
46674         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
46675         * sysdeps/unix/sysv/linux/system.c: Likewise.
46676         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
46677         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
46678         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46679         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46680         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
46681         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46682         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46684         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
46685         * configure: Regenerated.
46686         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
46688         * configure.ac (base_machine): Do not set specially for particular
46689         machines here.
46690         * configure: Regenerated.
46691         * sysdeps/powerpc/preconfigure: Move machine and base_machine
46692         settings from configure.ac.
46693         * sysdeps/i386/preconfigure: New file.
46694         * sysdeps/s390/preconfigure: Likewise.
46695         * sysdeps/sh/preconfigure: Likewise.
46696         * sysdeps/sparc/preconfigure: Likewise.
46698 2014-06-25  Roland McGrath  <roland@hack.frob.com>
46700         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
46701         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
46702         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
46703         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
46704         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
46705         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
46706         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
46707         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
46708         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
46709         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
46710         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
46711         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
46712         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
46713         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
46714         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
46715         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
46716         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
46717         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
46718         * sysdeps/sparc/sparc64/Makefile: ... appended here.
46720         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
46721         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
46722         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
46723         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
46724         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
46725         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
46726         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
46727         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
46728         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
46729         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
46730         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
46731         * sysdeps/sparc/sparc32/sem_post.c: ... here.
46732         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
46733         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
46734         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
46735         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
46736         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
46737         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
46738         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
46739         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
46740         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
46741         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
46742         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
46743         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
46744         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
46745         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
46746         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
46747         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
46748         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
46749         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
46750         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
46751         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
46752         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
46753         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
46754         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
46755         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
46756         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
46757         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
46759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
46760         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
46761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
46762         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
46763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46764         Moved ...
46765         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
46766         ... here.
46767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
46768         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
46769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
46770         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
46771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
46772         Moved ...
46773         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
46774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
46775         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
46776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
46777         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
46778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
46779         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
46780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46781         Moved ...
46782         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
46783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46784         Moved ...
46785         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
46786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
46787         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
46788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46789         Moved ...
46790         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
46791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
46792         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
46793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
46794         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46796         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46798         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46800         Moved ...
46801         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46802         ... here.
46803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46804         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46806         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46808         Moved ...
46809         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46811         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46813         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46815         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46817         Moved ...
46818         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46820         Moved ...
46821         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46823         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46825         Moved ...
46826         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46828         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46830         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46832 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46834         * timezone/checktab.awk: Update from tzcode 2014e.
46835         * timezone/private.h: Likewise.
46836         * timezone/tzfile.h: Likewise.
46837         * timezone/zdump.c: Likewise.
46838         * timezone/zic.c: Likewise.
46840         * sysdeps/unix/sysv/linux/kernel-features.h
46841         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46842         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46843         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46844         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46845         Remove conditional code.
46847 2014-06-25  Will Newton  <will.newton@linaro.org>
46849         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46850         (_dl_arm_cap_flags): Add HWCAP2 values.
46851         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46852         (_DL_HWCAP_COUNT): Increase to 37.
46853         (_DL_HWCAP_LAST): New define.
46854         (_DL_HWCAP2_LAST): New define.
46855         (_dl_procinfo): Add support for printing
46856         AT_HWCAP2 entries.
46857         (_dl_string_hwcap): Use _dl_hwcap_string.
46859 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46863 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46865         * README: Do not mention ports directory.
46867         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46868         Remove macro.
46869         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46870         <kernel-features.h>.
46871         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46872         conditional variable definition.
46873         (__futimes): Update comment.
46874         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46875         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46877         [BZ #16560]
46878         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46879         arguments close to 0.
46880         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46881         Likewise.
46882         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46883         Likewise.
46884         * math/auto-libm-test-in: Add more tests of exp10.
46885         * math/auto-libm-test-out: Regenerated.
46886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46888         * sysdeps/unix/sysv/linux/kernel-features.h
46889         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46890         * sysdeps/unix/sysv/linux/readv.c: Do not include
46891         <kernel-features.h>.
46892         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46893         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46894         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46895         unconditional.
46896         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46897         conditional code.
46898         * sysdeps/unix/sysv/linux/writev.c: Do not include
46899         <kernel-features.h>.
46900         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46901         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46902         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46903         unconditional.
46904         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46905         conditional code.
46907 2014-06-25  Will Newton  <will.newton@linaro.org>
46909         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46910         comment changes throughout the file.  Remove checks
46911         for HAVE_*_H definitions that are not required.
46912         (__gen_tempname): Call abort if an unknown kind value is
46913         passed.
46915 2014-06-25  Andreas Schwab  <schwab@suse.de>
46917         [BZ #17086]
46918         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46919         scalbln, scalblnf, scalblnl in libc.
46921 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46923         [BZ #17086]
46924         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46925         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46926         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46928 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46930         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46931         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46932         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46933         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46934         Update #include.
46935         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46936         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46937         Update #include.
46938         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46939         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46940         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46941         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46942         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46943         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46944         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46945         * sysdeps/x86/bits/semaphore.h: ... here.
46946         * sysdeps/x86/nptl/elide.h: Moved ...
46947         * sysdeps/x86/elide.h: ... here.
46948         * sysdeps/x86_64/nptl/Implies: File removed.
46949         * sysdeps/i386/nptl/Implies: File removed.
46951 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46953         [BZ #16539]
46954         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46955         return the argument for normal arguments with exponent below -64.
46956         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46957         Likewise.
46958         * math/auto-libm-test-in: Add another test of expm1.
46959         * math/auto-libm-test-out: Regenerated.
46961         [BZ #16287]
46962         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46963         calling __erfcl for arguments at least 16.
46964         * math/auto-libm-test-in: Add more tests of erf.
46965         * math/auto-libm-test-out: Regenerated.
46967         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46968         individual architectures.
46969         * sysdeps/unix/sysv/linux/configure: Regenerated.
46970         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46971         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46972         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46973         (ldd_rewrite_script): Define variable.
46974         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46976         file.
46977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46978         generated file.
46979         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46980         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46981         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46982         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46983         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46984         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46985         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46986         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46988 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46990         [BZ #17084]
46991         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46992         Rename member __data.d to __data.__elision_data.
46994 2014-06-24  Wilco  <wdijkstr@arm.com>
46996         * NEWS: Add 16918 to fixed bug list.
46998 2014-06-24  Wilco  <wdijkstr@arm.com>
47000         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47002 2014-06-24  Wilco  <wdijkstr@arm.com>
47004         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47005         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47006         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47007         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47008         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47009         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47010         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47011         Use _FPU_MASK_RM.
47013 2014-06-24  Wilco  <wdijkstr@arm.com>
47015         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47017 2014-06-24  Wilco  <wdijkstr@arm.com>
47019         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47020         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47021         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47022         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47024 2014-06-24  Wilco  <wdijkstr@arm.com>
47026         [BZ #16918]
47027         * sysdeps/arm/feupdateenv.c (feupdateenv):
47028         Rewrite to reduce FPSCR accesses and fix return value.
47030 2014-06-24  Wilco  <wdijkstr@arm.com>
47032         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47033         Optimize to avoid unnecessary FPSCR writes.
47034         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47035         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47036         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47037         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47039 2014-06-24  Wilco  <wdijkstr@arm.com>
47041         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47042         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47043         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47044         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47045         Call libc_fetestexcept_vfp.
47046         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47047         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47048         __SOFTFP__ ifdef so that they can be built for softfp.
47050 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47052         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47053         argument type signed char.
47055         * Makerules (check-abi): Dump diff of symlist if the test
47056         fails.
47058 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47060         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47061         using abort.
47063         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47064         Remove unused variable ST.
47066 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47068         [BZ #16354]
47069         [BZ #17061]
47070         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47071         small arguments before calling __expm1.
47072         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47073         small arguments before calling __expm1f.
47074         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47075         small arguments before calling __expm1l.
47076         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47077         Likewise.
47078         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47079         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47080         spurious underflow for some cosh tests.
47081         * math/auto-libm-test-out: Regenerated.
47082         * sysdeps/i386/fpu/libm-test-ulps: Update.
47084         [BZ #17050]
47085         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47086         (__ieee754_y1): Set errno if return value overflows.
47087         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47088         (__ieee754_y1f): Set errno if return value overflows.
47089         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47090         (__ieee754_y1l): Set errno if return value overflows.
47091         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47092         (__ieee754_y1l): Set errno if return value overflows.
47093         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47094         * math/auto-libm-test-out: Regenerated.
47096         * math/gen-auto-libm-tests.c: Document use of
47097         ignore-zero-inf-sign.
47098         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47099         (input_flags): Add ignore-zero-inf-sign.
47100         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47101         * math/gen-libm-test.pl (generate_testfile): Handle
47102         ignore-zero-inf-sign.
47103         * math/auto-libm-test-in: Mark some cpow tests with
47104         ignore-zero-inf-sign and some with xfail-rounding.
47105         * math/auto-libm-test-out: Regenerated.
47106         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47107         * sysdeps/i386/fpu/libm-test-ulps: Update.
47108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47110         [BZ #16315]
47111         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47112         overflowing or underflowing operations take place with sign of
47113         result.
47114         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47115         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47116         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47117         (__ieee754_pow): Recompute overflowing and underflowing results in
47118         original rounding mode.
47119         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47120         (__powl_helper): Allow negative argument X and scale negated value
47121         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47122         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47123         overflowing or underflowing operations take place with sign of
47124         result.
47125         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47126         Include <math.h>.
47127         * math/auto-libm-test-in: Add more tests of pow.
47128         * math/auto-libm-test-out: Regenerated.
47129         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47130         (pow_tonearest_test_data): Remove.
47131         (pow_test_tonearest): Likewise.
47132         (pow_towardzero_test_data): Likewise.
47133         (pow_test_towardzero): Likewise.
47134         (pow_downward_test_data): Likewise.
47135         (pow_test_downward): Likewise.
47136         (pow_upward_test_data): Likewise.
47137         (pow_test_upward): Likewise.
47138         (main): Don't call removed functions.
47139         * sysdeps/i386/fpu/libm-test-ulps: Update.
47140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47142 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47145         Moved ...
47146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47148         Moved ...
47149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47151         Moved ...
47152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47154         Moved ...
47155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47157         File removed.
47158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47159         File removed.
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47161         File removed.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47163         File removed.
47164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47165         File removed.
47166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47167         File removed.
47168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47169         File removed.
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47171         File removed.
47172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47173         File removed.
47174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47175         File removed.
47176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47177         File removed.
47178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47179         File removed.
47180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47181         Moved ...
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47184         Moved ...
47185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47186         ... here.
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47188         Moved ...
47189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47191         Moved ...
47192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47194         Moved ...
47195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47197         Moved ...
47198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47200         Moved ...
47201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47203         Moved ...
47204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47206         Moved ...
47207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47210         ... here.
47211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47212         Moved ...
47213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47215         Moved ...
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47217         ... here.
47218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47219         Moved ...
47220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47221         ... here.
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47223         Moved ...
47224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47225         ... here.
47226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47227         Moved ...
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47230         Moved ...
47231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47235         Moved ...
47236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47237         ... here.
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47239         Moved ...
47240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47241         ... here.
47242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47243         Moved ...
47244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47246         Moved ...
47247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47249         Moved ...
47250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47252         Moved ...
47253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47255         Moved ...
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47257         ... here.
47258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47259         Moved ...
47260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47262         Moved ...
47263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47265         Moved ...
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47268         Moved ...
47269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47273         Moved ...
47274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47276         Moved ...
47277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47279         Moved ...
47280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47281         ... here.
47282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47283         Moved ...
47284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47285         ... here.
47286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47287         Moved ...
47288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47289         ... here.
47290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47291         Moved ...
47292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47294         Moved ...
47295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47297         Moved ...
47298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47300         Moved ...
47301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47302         ... here.
47303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47304         Moved ...
47305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47306         ... here.
47307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47308         Moved ...
47309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47310         ... here.
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47312         Moved ...
47313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47315         Moved ...
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47318 2014-06-23  Will Newton  <will.newton@linaro.org>
47319             Wilco  <wdijkstr@arm.com>
47321         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47322         implementation.  Include get-rounding-mode.h.
47323         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47324         [!libc_feholdsetround_noex_ctx]: Define
47325         libc_feholdsetround_noex_ctx.
47326         [!libc_feholdsetround_noexf_ctx]: Define
47327         libc_feholdsetround_noexf_ctx.
47328         [!libc_feholdsetround_noexl_ctx]: Define
47329         libc_feholdsetround_noexl_ctx.
47330         (libc_feholdsetround_ctx): New function.
47331         (libc_feresetround_ctx): New function.
47332         (libc_feholdsetround_noex_ctx): New function.
47333         (libc_feresetround_noex_ctx): New function.
47335 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47337         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
47338         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
47339         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
47340         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
47341         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
47342         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
47344         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
47345         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
47346         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
47347         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
47348         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
47349         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
47350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
47351         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
47352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
47353         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
47354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
47355         Moved ...
47356         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
47357         ... here.
47358         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
47359         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
47360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
47361         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
47362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
47363         Moved ...
47364         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
47365         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
47366         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
47367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
47368         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
47369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
47370         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
47371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
47372         Moved ...
47373         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
47374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
47375         Moved ...
47376         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
47377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
47378         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
47379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
47380         Moved ...
47381         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
47382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
47383         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
47384         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
47385         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
47386         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
47387         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
47388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
47389         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
47390         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
47391         Moved ...
47392         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
47393         ... here.
47394         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
47395         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
47396         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
47397         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
47398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
47399         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
47400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
47401         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
47402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
47403         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
47404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
47405         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
47406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
47407         Moved ...
47408         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
47409         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
47410         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
47411         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
47412         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
47413         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
47414         Moved ...
47415         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
47416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
47417         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
47418         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
47419         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
47421         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
47422         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
47423         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
47424         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
47425         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
47426         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
47427         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
47428         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
47429         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
47430         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
47431         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
47432         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
47433         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
47434         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
47435         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
47436         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
47437         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
47438         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
47439         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
47440         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
47441         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
47442         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
47443         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
47444         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
47445         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
47446         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
47447         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
47448         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
47450 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
47453         (FALLOC_FL_COLLAPSE_RANGE): New macro.
47454         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
47455         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
47456         (IPV6_PMTUDISC_INTERFACE): Likewise.
47457         (IPV6_PMTUDISC_OMIT): Likewise.
47459 2014-06-23  Andreas Schwab  <schwab@suse.de>
47461         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
47462         Remove unused errout label.
47464 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47466         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
47467         macro: hardware supports Vector Crypto instructions.
47469 2014-06-23  Will Newton  <will.newton@linaro.org>
47471         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
47472         rather than __builtin_expect.
47474         * elf/dl-lookup.c (undefined_msg): Remove variable.
47475         (_dl_lookup_symbol_x): Replace undefined_msg with string
47476         literal.
47478         * elf/dl-lookup.c (do_lookup_unique): New function.
47479         (do_lookup_x): Move STB_GNU_UNIQUE handling code
47480         to a separate function.
47482 2014-06-23  Andreas Schwab  <schwab@suse.de>
47484         [BZ #17079]
47485         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
47486         before reading the next line.
47488 2014-06-23  Will Newton  <will.newton@linaro.org>
47490         * test-skeleton.c (signal_handler): Use printf and %m
47491         rather than perror.  Use printf rather than fprintf to
47492         stderr.  Use puts rather than fputs to stderr.
47493         (main): Likewise.
47495 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
47497         * nscd/nscd.c (thread_info_t): Remove typedef.
47498         (thread_info): Remove variable.
47500 2014-06-21  Allan McRae  <allan@archlinux.org>
47502         * NEWS: Mention CVE-2014-4043.
47504 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47506         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
47507         * nptl/smp.h: ... here.
47509         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47511         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
47512         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
47513         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
47514         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
47516         * nptl/allocatestack.c: Include <stack-aliasing.h>.
47517         * nptl/stack-aliasing.h: New file.
47518         * sysdeps/i386/i686/stack-aliasing.h: New file.
47519         * sysdeps/i386/i686/nptl/Makefile: File removed.
47520         * sysdeps/x86_64/stack-aliasing.h: New file.
47521         * sysdeps/x86_64/nptl/Makefile
47522         (CFLAGS-pthread_create.c): Variable removed.
47524         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
47525         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
47526         old file.
47527         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47528         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
47529         old file.
47531 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
47533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47534         (__ASSUME_SIGFRAME_V2): Remove macro.
47535         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
47536         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
47537         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
47538         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
47539         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
47540         Declare as function.  Remove conditional macro definitions.
47541         (__default_rt_sa_restorer): Likewise.
47542         (__default_sa_restorer_v1): Remove declaration.
47543         (__default_sa_restorer_v2): Likewise.
47544         (__default_rt_sa_restorer_v1): Likewise.
47545         (__default_rt_sa_restorer_v2): Likewise.
47546         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
47547         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
47548         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47550 2014-06-20  Roland McGrath  <roland@hack.frob.com>
47552         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47553         (libpthread-routines): Add sysdep.
47554         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
47555         * sysdeps/unix/sysv/linux/sparc/Versions
47556         (libpthread: GLIBC_2.3.3): New version set.
47557         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
47558         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
47559         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
47560         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
47561         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
47562         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
47563         Moved ...
47564         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
47565         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
47566         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
47567         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
47568         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
47569         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
47570         * sysdeps/sparc/nptl/sem_init.c: ... here.
47571         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
47572         * sysdeps/sparc/nptl/sem_post.c: ... here.
47573         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
47574         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
47575         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
47576         * sysdeps/sparc/nptl/sem_wait.c: ... here.
47577         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
47578         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
47579         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
47580         (libpthread-routines): Add cpu_relax.
47581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
47582         File removed.
47583         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
47584         (librt: GLIBC_2.3.3): New version set.
47585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
47586         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
47587         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
47588         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
47589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
47590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
47591         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
47592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
47593         Moved ...
47594         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
47595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47596         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
47597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
47598         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
47599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
47600         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
47601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
47602         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
47603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
47604         Moved ...
47605         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
47606         Update #include.
47607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
47608         Moved ...
47609         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
47610         Update #include.
47611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
47612         Moved ...
47613         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
47614         Update #include.
47615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
47616         Moved ...
47617         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
47618         Update #include.
47619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
47620         Moved ...
47621         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
47622         Update #include.
47623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
47624         Moved ...
47625         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
47626         Update #include.
47627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
47628         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
47629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
47630         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
47631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
47632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
47633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
47634         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
47635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
47636         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
47637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
47638         Moved ...
47639         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
47640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
47641         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
47642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
47643         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
47645 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47647         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
47648         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
47649         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
47650         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
47651         * nscd/nscd.c: Likewise.
47652         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
47653         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
47654         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
47655         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
47657         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
47658         <kernel-features.h>.
47659         (init_mq_netlink): Remove conditional have_sock_cloexec
47660         definitions.  Remove code conditional on have_sock_cloexec < 0.
47661         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
47662         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
47663         * sysdeps/unix/sysv/linux/opensock.c: Do not include
47664         <kernel-features.h>.
47665         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
47666         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
47668 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47671         Add tests for memset_chk and memset.
47673         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
47674         with AVX2_Usable.
47676 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47678         [BZ #16046]
47679         * elf/tst-dl-iter-static.c: New file.
47680         * elf/Makefile (tests-static): Add tst-dl-iter-static.
47682         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
47683         error.
47685 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47687         * sysdeps/unix/sysv/linux/kernel-features.h
47688         (__ASSUME_F_GETOWN_EX): Remove macro.
47689         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47690         <kernel-features.h>.
47691         (miss_F_GETOWN_EX): Remove variable or macro.
47692         (do_fcntl): Do not check miss_F_GETOWN_EX.
47693         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
47695         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
47696         Remove macro.
47697         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
47698         [!__ASSUME_AT_RANDOM]: Remove conditional code.
47699         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
47701         * sysdeps/unix/sysv/linux/kernel-features.h
47702         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
47703         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
47704         [ADJ_OFFSET_SS_READ]: Make code unconditional.
47705         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
47707 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
47709         [BZ #17075]
47710         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
47711         Fix calculation of the symbol's value.
47712         * sysdeps/arm/tst-armtlsdescloc.c: New file.
47713         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
47714         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
47715         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
47716         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
47717         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
47718         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
47719         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
47720         (modules-names): Add `tst-armtlsdescmod',
47721         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
47722         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
47723         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47724         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
47725         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
47726         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
47727         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
47728         ($(objpfx)tst-armtlsdescloc): New dependency.
47729         ($(objpfx)tst-armtlsdescextnow): Likewise.
47730         ($(objpfx)tst-armtlsdescextlazy): Likewise.
47731         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
47732         TLS scheme support.
47733         * sysdeps/arm/configure: Regenerate.
47735 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
47737         * include/fcntl.h (__atfct_seterrno): Remove prototype.
47738         (__atfct_seterrno_2): Likewise.
47739         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
47740         <kernel-features.h>.
47741         (__ASSUME_ATFCTS): Do not undefine and redefine.
47742         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
47743         (__have_atfcts): Remove conditional definition.
47744         (__fxstatat([__NR_fstatat64]: Make code unconditional.
47745         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
47746         unreachable if [__ASSUME_ATFCTS].
47747         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
47748         not undefine and redefine.
47749         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
47750         <kernel-features.h>.
47751         (faccessat) [__NR_faccessat]: Make code unconditional.
47752         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
47753         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
47754         <kernel-features.h>.
47755         (fchmodat) [__NR_fchmodat]: Make code unconditional.
47756         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47757         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
47758         <kernel-features.h>.
47759         (fchownat) [__NR_fchownat]: Make code unconditional.
47760         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
47761         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
47762         <kernel-features.h>.
47763         (futimesat) [__NR_futimesat]: Make code unconditional.
47764         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
47765         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47766         <kernel-features.h>.
47767         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47768         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47769         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47770         <kernel-features.h>.
47771         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
47772         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47773         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
47774         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47775         <kernel-features.h>.
47776         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
47777         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47778         * sysdeps/unix/sysv/linux/linkat.c: Do not include
47779         <kernel-features.h>.
47780         (linkat) [__NR_linkat]: Make code unconditional.
47781         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47782         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
47783         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
47784         <kernel-features.h>.
47785         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
47786         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
47787         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
47788         <kernel-features.h>.
47789         (mkdirat) [__NR_mkdirat]: Make code unconditional.
47790         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
47791         * sysdeps/unix/sysv/linux/openat.c: Do not include
47792         <kernel-features.h>.
47793         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
47794         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47795         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47796         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47797         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47798         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47799         <kernel-features.h>.
47800         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47801         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47802         result of INLINE_SYSCALL directly, not via int variable.
47803         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47804         <kernel-features.h>.
47805         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47806         (renameat) [__NR_renameat]: Make code unconditional.
47807         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47808         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47809         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47810         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47811         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47812         (__ASSUME_ATFCTS): Do not undefine and redefine.
47813         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47814         <kernel-features.h>.
47815         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47816         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47817         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47818         <kernel-features.h>.
47819         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47820         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47821         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47822         (__ASSUME_ATFCTS): Do not undefine and redefine.
47823         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47824         <kernel-features.h>.
47825         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47826         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47827         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47828         <kernel-features.h>.
47829         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47830         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47832 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47834         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47836 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47838         [BZ #17069]
47839         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47840         constructed tree before returning error.
47841         * posix/bug-regexp36.c: Expand test case.
47843 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47845         [BZ #6803]
47846         * math/libm-test.inc (scalbln_test_date):
47847         Add errno expectations.
47848         * math/w_scalblnf.c: New File.
47849         Add wrapper which checks for setting errno to ERANGE.
47850         Add weak_alias for corresponding scalbln function.
47851         * math/w_scalbln.c: Likewise.
47852         * math/w_scalblnl.c: Likewise.
47853         * math/Makefile (libm-calls): Add w_scalbln.
47854         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47855         Remove weak_alias for corresponding scalbln function.
47856         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47857         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47858         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47859         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47860         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47861         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47862         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47863         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47864         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47865         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47866         Remove long_double_symbol for scalblnl function in libm, libc.
47867         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47868         Add wrapper which checks for setting errno to ERANGE.
47869         Add long_double_symbol for scalblnl function in libm, libc.
47870         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47871         Remove long_double_symbol for scalblnl in libm.
47872         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47873         Add wrapper which checks for setting errno to ERANGE.
47874         Add long_double_symbol for scalblnl function in libm.
47875         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47876         Do not use wrapper because of own implementation.
47878 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47880         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47881         3 bytes for __pad1 for x32.
47882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47884 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47885             H.J. Lu  <hongjiu.lu@intel.com>
47887         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47888         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47889         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47890         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47891         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47893 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47895         [BZ #17069]
47896         * posix/regcomp.c (parse_expression): Deallocate partially
47897         constructed tree before returning error.
47898         * posix/Makefile.c (tests): Add bug-regex36.
47899         (generated): Add bug-regex36.mtrace.
47900         (tests-special): Add $(objpfx)bug-regex36-mem.out
47901         (bug-regex36-ENV): New variable.
47902         ($(objpfx)bug-regex36-mem.out): New rule.
47903         * posix/bug-regex36.c: New file.
47905 2014-06-19  Will Newton  <will.newton@linaro.org>
47907         * malloc/malloc.c (systrim): If extra is zero then return
47908         early.
47910 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47912         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47914 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47916         * sysdeps/aarch64/strchr.S: New file.
47918 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47920         [BZ #17022]
47921         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47922         from arguments -2 or below.
47923         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47924         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47926 2014-06-18  Andreas Schwab  <schwab@suse.de>
47928         [BZ #17062]
47929         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47930         of a bracket expr not to run off the end of the string.
47931         * posix/Makefile (tests): Add tst-fnmatch3.
47932         * posix/tst-fnmatch3.c: New file.
47934 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47936         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47937         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47938         [$(cross-compiling) = no]: Likewise.
47939         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47940         [$(cross-compiling) = no]: Likewise.
47942 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47944         [BZ #17031]
47945         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47946         double, adjusted for any remainder from the high double.
47947         * math/libm-test.inc (nearbyint): Add tests.
47948         (rint): Likewise.
47950 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47952         * nptl/sysdeps/powerpc/Makefile: Moved ...
47953         * sysdeps/powerpc/nptl/Makefile: ... here.
47954         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47955         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47956         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47957         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47958         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47959         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47960         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47961         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47962         * nptl/sysdeps/powerpc/tls.h: Moved ...
47963         * sysdeps/powerpc/nptl/tls.h: ... here.
47965 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47967         [BZ #16681]
47968         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47969         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47970         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47971         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47972         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47973         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47974         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47975         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47976         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47978 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
47980         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47982 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
47984         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47985         defined operator.
47987         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47988         $TIMEOUTFACTOR.
47990 2014-06-16  Florian Weimer  <fweimer@redhat.com>
47992         [BZ #17058]
47993         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47994         non-executed part of the test.
47996 2014-06-16  Andreas Schwab  <schwab@suse.de>
47998         * string/bits/string2.h (strdup, strndup): Update feature guard.
48000 2014-06-14  David S. Miller  <davem@davemloft.net>
48002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48004 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48006         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48007         that was previously under [RESET_PID].
48008         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48010         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48011         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48012         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48013         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48014         (__libc_vfork): New strong alias.
48015         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48017 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48019         * sysdeps/generic/elide.h: New file.
48021 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48023         * Makefile (installed-headers): Adjust path of pthread.h header.
48025 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48027         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48028         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48029         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48030         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48032         * nptl/sysdeps/s390/Makefile: Moved ...
48033         * sysdeps/s390/nptl/Makefile: ... here.
48034         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48035         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48036         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48037         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48038         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48039         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48040         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48041         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48042         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48043         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48044         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48045         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48046         * nptl/sysdeps/s390/tls.h: Moved ...
48047         * sysdeps/s390/nptl/tls.h: ... here.
48049         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48050         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48052 2014-06-13  David S. Miller  <davem@davemloft.net>
48054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48057         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48061         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48062         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48063         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48064         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48065         Remove RESET_PID cpp guards.
48066         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48067         Remove RESET_PID cpp guards.
48068         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48070 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48072         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48073         __sp to uintptr_t.
48075 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48077         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48078         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48079         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48080         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48081         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48082         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48083         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48084         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48085         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48086         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48087         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48088         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48089         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48090         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48091         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48093         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48094         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48095         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48096         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48098         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48099         (pthread_rwlock_rdlock): Add elision.
48100         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48101         (pthread_rwlock_wrlock): Add elision.
48102         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48103         (pthread_rwlock_trywrlock): Add elision.
48104         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48105         (pthread_rwlock_tryrdlock): Add elision.
48106         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48107         (pthread_rwlock_tryrdlock): Add elision unlock.
48108         * nptl/sysdeps/pthread/pthread.h:
48109         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48110         (PTHREAD_RWLOCK_INITIALIZER,
48111         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48112         Handle new elision field.
48113         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48114         * sysdeps/arm/nptl/bits/pthreadtypes.h
48115         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48116         * sysdeps/sh/nptl/bits/pthreadtypes.h
48117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48118         * sysdeps/tile/nptl/bits/pthreadtypes.h
48119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48120         * sysdeps/a/nptl/bits/pthreadtypes.h
48121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48122         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48123         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48124         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48126         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48128         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48130         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48132         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48134         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48136         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48138         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48139         (elision_init): Set try_xbegin to zero when no RTM.
48140         * sysdeps/x86/nptl/bits/pthreadtypes.h
48141         (pthread_rwlock_t): Change __pad1 to __rwelision.
48142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48144 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48146         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48147         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48148         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48149         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48151 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48153         [BZ #16996]
48154         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48155         that the cached result has been set before returning it.
48157 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48159         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48160         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48161         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48162         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48163         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48164         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48166         * nptl/sysdeps/sparc/Makefile: Moved ...
48167         * sysdeps/sparc/nptl/Makefile: ... here.
48168         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48169         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48170         * nptl/sysdeps/sparc/tls.h: Moved ...
48171         * sysdeps/sparc/nptl/tls.h: ... here.
48172         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48173         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48174         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48175         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48176         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48177         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48178         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48179         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48180         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48181         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48182         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48183         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48184         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48185         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48186         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48187         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48188         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48189         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48190         Update #include.
48191         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48192         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48193         Update #include.
48194         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48195         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48196         Update #include.
48197         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48198         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48199         Update #include.
48201         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48203         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48204         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48206         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48207         (struct list_links): Type removed.
48208         (struct thread_node, struct timer_node): Replace struct list_links
48209         with struct list_head.
48210         (list_unlink_ip): Likewise.
48211         * sysdeps/pthread/timer_routines.c
48212         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48213         (list_append, list_insbefore): Likewise.
48214         (list_init): Function removed.
48215         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48216         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48217         * sysdeps/pthread/Makefile: ... here, new file.
48219         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48220         * sysdeps/nptl/Implies: ... here.
48221         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48222         * nptl/sysdeps/pthread/list.h: Moved ...
48223         * include/list.h: ... here.
48224         * nptl/sysdeps/pthread/createthread.c: Moved ...
48225         * nptl/createthread.c: ... here.
48226         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48227         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48228         * nptl/pt-longjmp.c: ... here.
48229         * nptl/sysdeps/pthread/Makefile: Moved ...
48230         * sysdeps/nptl/Makefile: ... here.
48231         * nptl/sysdeps/pthread/Subdirs: Moved ...
48232         * sysdeps/nptl/Subdirs: ... here.
48233         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48234         * sysdeps/nptl/aio_misc.h: ... here.
48235         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48236         * sysdeps/nptl/bits/libc-lock.h: ... here.
48237         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48238         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48239         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48240         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48241         * nptl/sysdeps/pthread/configure: Moved ...
48242         * sysdeps/nptl/configure: ... here.
48243         * nptl/sysdeps/pthread/configure.ac: Moved ...
48244         * sysdeps/nptl/configure.ac: ... here.
48245         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48246         * sysdeps/nptl/gai_misc.h: ... here.
48247         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48248         * sysdeps/nptl/librt-cancellation.c: ... here.
48249         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48250         * sysdeps/nptl/malloc-machine.h: ... here.
48251         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48252         * sysdeps/nptl/pthread-functions.h: ... here.
48253         * nptl/sysdeps/pthread/pthread.h: Moved ...
48254         * sysdeps/nptl/pthread.h: ... here.
48255         * nptl/sysdeps/pthread/setxid.h: Moved ...
48256         * sysdeps/nptl/setxid.h: ... here.
48257         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48258         * sysdeps/nptl/sigfillset.c: ... here.
48259         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48260         * sysdeps/nptl/tcb-offsets.h: ... here.
48261         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48262         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48263         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48264         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48265         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48266         * sysdeps/pthread/allocalim.h: ... here.
48267         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48268         * sysdeps/pthread/bits/sigthread.h: ... here.
48269         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48270         * sysdeps/pthread/flockfile.c: ... here.
48271         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48272         * sysdeps/pthread/ftrylockfile.c: ... here.
48273         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48274         * sysdeps/pthread/funlockfile.c: ... here.
48275         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48276         * sysdeps/pthread/posix-timer.h: ... here.
48277         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48278         * sysdeps/pthread/timer_create.c: ... here.
48279         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48280         * sysdeps/pthread/timer_delete.c: ... here.
48281         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48282         * sysdeps/pthread/timer_getoverr.c: ... here.
48283         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48284         * sysdeps/pthread/timer_gettime.c: ... here.
48285         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48286         * sysdeps/pthread/timer_routines.c: ... here.
48287         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48288         * sysdeps/pthread/timer_settime.c: ... here.
48289         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48290         * sysdeps/pthread/tst-timer.c: ... here.
48291         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48292         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48294         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48295         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48297         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48298         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48299         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48300         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48301         Update #include target.
48302         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48303         * sysdeps/i386/i686/nptl/Makefile: ... here.
48304         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48305         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48306         Update #include target.
48307         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48308         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48309         * nptl/sysdeps/i386/Makefile: Moved ...
48310         * sysdeps/i386/nptl/Makefile: ... here.
48311         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48312         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48313         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48314         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48315         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48316         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48317         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48318         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48319         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48320         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48321         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48322         * nptl/sysdeps/i386/tls.h: Moved ...
48323         * sysdeps/i386/nptl/tls.h: ... here.
48325         * sysdeps/sh/Makefile [$(subdir) = csu]
48326         (gen-as-const-headers): Add tcb-offsets.sym.
48327         * nptl/sysdeps/sh/Makefile: File removed.
48328         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
48329         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
48330         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
48331         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
48332         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
48333         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
48334         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
48335         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
48336         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
48337         * sysdeps/sh/nptl/pthreaddef.h: ... here.
48338         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
48339         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
48340         * nptl/sysdeps/sh/tls.h: Moved ...
48341         * sysdeps/sh/nptl/tls.h: ... here.
48342         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
48343         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
48344         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
48345         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
48346         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
48347         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
48348         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
48349         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
48350         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
48351         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
48352         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
48353         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
48354         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
48355         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
48356         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
48357         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
48358         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
48359         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
48360         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
48361         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
48362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
48363         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
48364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
48365         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
48366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
48367         Moved ...
48368         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
48369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
48370         Moved ...
48371         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
48372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
48373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
48374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
48375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
48376         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
48377         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
48378         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
48379         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
48380         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
48381         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
48382         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
48383         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
48384         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
48385         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
48386         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
48387         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
48388         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
48389         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
48391 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
48393         * posix/spawn_faction_addopen.c: Include string.h.
48395 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48397         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
48398         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
48399         * nptl/sysdeps/x86_64/Makefile: Moved ...
48400         * sysdeps/x86_64/nptl/Makefile: ... here.
48401         * nptl/sysdeps/x86_64/configure: Moved ...
48402         * sysdeps/x86_64/nptl/configure: ... here.
48403         * nptl/sysdeps/x86_64/configure.ac: Moved ...
48404         * sysdeps/x86_64/nptl/configure.ac: ... here.
48405         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
48406         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
48407         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
48408         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
48409         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
48410         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
48411         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
48412         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
48413         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
48414         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
48415         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
48416         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
48417         * nptl/sysdeps/x86_64/tls.h: Moved ...
48418         * sysdeps/x86_64/nptl/tls.h: ... here.
48419         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
48420         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
48421         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
48422         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
48424         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
48426 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48430 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
48432         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
48433         type.
48434         [POSIX] (off_t): Likewise.
48435         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
48436         [POSIX] (S_ISBLK): Require macro.
48437         [POSIX] (S_ISCHR): Likewise.
48438         [POSIX] (S_ISDIR): Likewise.
48439         [POSIX] (S_ISFIFO): Likewise.
48440         [POSIX] (S_ISREG): Likewise.
48441         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
48442         optional-macro.
48443         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
48444         type.
48445         [POSIX] (time_t): Likewise.
48446         [POSIX] (timer_t): Likewise.
48448 2014-06-11  Florian Weimer  <fweimer@redhat.com>
48450         [BZ #17048]
48451         * posix/spawn_int.h (struct __spawn_action): Make the path string
48452         non-const to support deallocation.
48453         * posix/spawn_faction_addopen.c
48454         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
48455         * posix/spawn_faction_destroy.c
48456         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
48457         path in all spawn_do_open actions.
48458         * posix/tst-spawn.c (do_test): Exercise the copy operation in
48459         posix_spawn_file_actions_addopen.
48461 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
48463         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
48464         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
48465         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
48466         conditional code always true.
48467         (__libc_vfork): New alias.
48469 2014-06-11  Roland McGrath  <roland@hack.frob.com>
48471         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48472         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
48474         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
48476         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48477         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
48479         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48480         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
48482         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48483         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
48485 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48487         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
48488         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
48489         multiarch strcmp for PPC64.
48490         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
48491         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
48492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
48493         multiarch optimizations.
48494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48495         (__libc_ifunc_impl_list): Likewise.
48497 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48499         * benchtests/scripts/validate_benchout.py: New script.
48500         * benchtests/Makefile (bench-func): Call it.
48501         * benchtests/scripts/benchout.schema.json: New file.
48503 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
48505         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
48506         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
48507         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
48508         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
48509         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
48510         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
48511         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
48512         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
48513         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
48514         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
48515         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
48516         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
48517         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
48518         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
48519         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
48520         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
48521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
48522         Moved ...
48523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
48524         ... here.
48525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
48526         Moved ...
48527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
48528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
48529         Moved ...
48530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
48531         ... here.
48532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
48533         Moved ...
48534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
48535         ... here.
48536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
48537         Moved ...
48538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
48539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
48540         Moved ...
48541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
48542         ... here.
48543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
48544         Moved ...
48545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
48546         ... here.
48547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
48548         Moved ...
48549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
48550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
48551         Moved ...
48552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
48553         ... here.
48554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
48555         Moved ...
48556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
48557         ... here.
48558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
48559         Moved ...
48560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
48561         ... here.
48562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
48563         Moved ...
48564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
48565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
48566         Moved ...
48567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
48568         ... here.
48569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
48570         Moved ...
48571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
48572         ... here.
48573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
48574         Moved ...
48575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
48576         ... here.
48577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
48578         Moved ...
48579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
48580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
48581         Moved ...
48582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
48583         ... here.
48584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
48585         Moved ...
48586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
48587         ... here.
48588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
48589         Moved ...
48590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
48591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
48592         Moved ...
48593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
48594         ... here.
48595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
48596         Moved ...
48597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
48598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
48599         Moved ...
48600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
48601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
48602         Moved ...
48603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
48604         ... here.
48605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
48606         Moved ...
48607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
48608         ... here.
48609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
48610         Moved ...
48611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
48612         ... here.
48613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
48614         Moved ...
48615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
48616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
48617         Moved ...
48618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
48619         ... here.
48620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
48621         Moved ...
48622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
48623         ... here.
48624         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
48625         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
48626         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
48627         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
48628         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
48629         Moved ...
48630         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
48631         ... here.
48632         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
48633         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
48634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
48635         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
48636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
48637         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
48638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
48639         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
48640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
48641         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
48642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
48643         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
48644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
48645         Moved ...
48646         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
48647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
48648         Moved ...
48649         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
48650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
48651         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
48652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
48653         Moved ...
48654         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
48655         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
48656         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
48657         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
48658         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
48659         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
48660         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
48662 2014-06-10  Wilco  <wdijkstr@arm.com>
48664         * math/test-fenv-return.c: New file.
48665         * math/Makefile: Add new test test-fenv-return.
48667 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
48669         [BZ #17042]
48670         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
48671         when x - 1 is zero.
48672         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
48673         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
48674         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
48675         0.0L for an argument of 1.0L.
48676         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
48677         Likewise.
48678         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
48679         value when x - 1 is zero.
48680         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
48681         * sysdeps/i386/fpu/libm-test-ulps: Update.
48682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48684 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
48686         [BZ #15119]
48687         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
48689 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48691         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
48692         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
48694 2014-06-09  Roland McGrath  <roland@hack.frob.com>
48696         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48697         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
48699         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48700         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
48702         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48703         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
48705         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
48706         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
48708         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
48709         if not already defined.
48710         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
48711         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
48712         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
48713         (TLS_INIT_TP): Use it.
48714         (TLS_DEFINE_INIT_TP): New macro.
48715         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
48717 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
48719         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
48720         constant.
48721         [POSIX] (IXANY): Likewise.
48722         [POSIX] (OLCUC): Likewise.
48723         [POSIX || POSIX2008] (CBAUD): Do not allow.
48724         [POSIX || POSIX2008] (DEFECHO): Likewise.
48725         [POSIX || POSIX2008] (ECHOCTL): Likewise.
48726         [POSIX || POSIX2008] (ECHOKE): Likewise.
48727         [POSIX || POSIX2008] (ECHOPRT): Likewise.
48728         [POSIX || POSIX2008] (EXTA): Likewise.
48729         [POSIX || POSIX2008] (EXTB): Likewise.
48730         [POSIX || POSIX2008] (FLUSHO): Likewise.
48731         [POSIX || POSIX2008] (LOBLK): Likewise.
48732         [POSIX || POSIX2008] (PENDIN): Likewise.
48733         [POSIX || POSIX2008] (SWTCH): Likewise.
48734         [POSIX || POSIX2008] (VDISCARD): Likewise.
48735         [POSIX || POSIX2008] (VDSUSP): Likewise.
48736         [POSIX || POSIX2008] (VLNEXT): Likewise.
48737         [POSIX || POSIX2008] (VREPRINT): Likewise.
48738         [POSIX || POSIX2008] (VSTATUS): Likewise.
48739         [POSIX || POSIX2008] (VWERASE): Likewise.
48740         (B*): Change to B[0123456789]*.
48741         * conform/data/time.h-data [POSIX || UNIX98]
48742         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
48743         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48744         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
48745         [POSIX] (tm_*): Do not allow.
48747 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
48749         * Makefile (install): Don't set LANGUAGE.
48750         * Makefile.in (install): Likewise.
48751         * assert/Makefile (test-assert-ENV): Remove variable.
48752         (test-assert-perr-ENV): Likewise.
48753         * elf/Makefile (neededtest4-ENV): Likewise.
48754         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48755         [$(cross-compiling) = no]: Don't set LANGUAGE.
48756         * io/ftwtest-sh (LANG): Remove variable.
48757         * libio/Makefile (tst-widetext-ENV): Likewise.
48758         * manual/install.texi (Running make install): Don't refer to
48759         environment settings for make install.
48760         * INSTALL: Regenerated.
48761         * nptl/tst-tls6.sh: Don't set LANG.
48762         * posix/globtest.sh (LANG): Remove variable.
48763         * string/Makefile (tester-ENV): Likewise.
48764         (inl-tester-ENV): Likewise.
48765         (noinl-tester-ENV): Likewise.
48766         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48767         [$(cross-compiling) = no]: Don't set LANGUAGE.
48768         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
48769         without explicit environment settings.
48771 2014-06-06  Roland McGrath  <roland@hack.frob.com>
48773         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
48774         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
48775         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
48776         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
48778 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
48780         * crypt/crypt-private.h [DOS]: Add some includes taken from the
48781         other files in the crypt directory.
48782         * crypt/crypt.c: Remove duplicate includes.
48783         * crypt/crypt-entry.c: Likewise.
48784         * crypt/crypt_util.c: Likewise.
48786 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
48788         * Makeconfig (run-program-env): New variable.
48789         (run-program-prefix-before-env): Likewise.
48790         (run-program-prefix-after-env): Likewise.
48791         (run-program-prefix): Define in terms of new variables.
48792         (built-program-cmd-before-env): New variable.
48793         (built-program-cmd-after-env): Likewise.
48794         (built-program-cmd): Define in terms of new variables.
48795         (test-program-prefix-before-env): New variable.
48796         (test-program-prefix-after-env): Likewise.
48797         (test-program-prefix): Define in terms of new variables.
48798         (test-program-cmd-before-env): New variable.
48799         (test-program-cmd-after-env): Likewise.
48800         (test-program-cmd): Define in terms of new variables.
48801         * Rules (make-test-out): Use $(run-program-env).
48802         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48803         (help): Do not mention environment variables.  Mention
48804         --timeoutfactor option.
48805         (timeoutfactor): New variable.
48806         (blacklist_exports): Remove function.
48807         (exports): Remove variable.
48808         (command): Do not include ${exports}.
48809         * manual/install.texi (Configuring and compiling): Do not mention
48810         test wrappers preserving environment variables.  Mention that last
48811         assignment to a variable must take precedence.
48812         * INSTALL: Regenerated.
48813         * benchtests/Makefile (run-bench): Use $(run-program-env).
48814         * catgets/Makefile ($(objpfx)test1.cat): Use
48815         $(built-program-cmd-before-env), $(run-program-env) and
48816         $(built-program-cmd-after-env).
48817         ($(objpfx)test2.cat): Do not specify environment variables
48818         explicitly.
48819         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48820         $(run-program-env) and $(built-program-cmd-after-env).
48821         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48822         $(run-program-env) and $(test-program-cmd-after-env).
48823         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48824         explicitly.
48825         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48826         run_program_env and test_program_cmd_after_env arguments.
48827         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48828         * elf/tst-pathopt.sh: Use run_program_env argument.
48829         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48830         $(test-wrapper-env) and $(run-program-env).
48831         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48832         run_program_env arguments.
48833         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48834         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48835         $(test-program-prefix-before-env), $(run-program-env) and
48836         $(test-program-prefix-after-env).
48837         ($(objpfx)tst-gettext2.out): Likewise.
48838         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48839         run_program_env and test_program_prefix_after_env arguments.
48840         * intl/tst-gettext2.sh: Likewise.
48841         * intl/tst-gettext4.sh: Do not set environment variables
48842         explicitly.
48843         * intl/tst-gettext6.sh: Likewise.
48844         * intl/tst-translit.sh: Likewise.
48845         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48846         $(test-program-prefix-before-env), $(run-program-env) and
48847         $(test-program-prefix-after-env).
48848         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48849         run_program_env and test_program_prefix_after_env arguments.
48850         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48851         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48852         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48853         explicitly with each use of ${test_wrapper_env}.
48854         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48855         $(test-program-prefix-before-env), $(run-program-env) and
48856         $(test-program-prefix-after-env).
48857         * posix/tst-getconf.sh: Do not set environment variables
48858         explicitly.
48859         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48860         run_program_env and test_program_prefix_after_env arguments.
48861         * stdio-common/tst-printf.sh: Do not set environment variables
48862         explicitly.
48863         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48864         $(test-program-prefix-before-env), $(run-program-env) and
48865         $(test-program-prefix-after-env).
48866         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48867         run_program_env and test_program_prefix_after_env arguments.
48868         Split $test calls into $test_pre and $test.
48869         * timezone/Makefile (build-testdata): Use
48870         $(built-program-cmd-before-env), $(run-program-env) and
48871         $(built-program-cmd-after-env).
48873 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48875         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48876         strlen for non SHARED builds.
48878 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48880         * nptl/allocatestack.c (check_list): Inlined function...
48881         (__reclaim_stacks): ... here.
48883 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48885         [BZ #15698]
48886         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48887         memory overrun.
48889 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48891         * Rules (make-test-out): Include
48892         LOCPATH=$(common-objpfx)localedata in default environment.
48893         * debug/Makefile (tst-chk1-ENV): Remove variable.
48894         (tst-chk2-ENV): Likewise.
48895         (tst-chk3-ENV): Likewise.
48896         (tst-chk4-ENV): Likewise.
48897         (tst-chk5-ENV): Likewise.
48898         (tst-chk6-ENV): Likewise.
48899         (tst-lfschk1-ENV): Likewise.
48900         (tst-lfschk2-ENV): Likewise.
48901         (tst-lfschk3-ENV): Likewise.
48902         (tst-lfschk4-ENV): Likewise.
48903         (tst-lfschk5-ENV): Likewise.
48904         (tst-lfschk6-ENV): Likewise.
48905         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48906         (tst-iconv7-ENV): Likewise.
48907         * intl/Makefile (LOCPATH-ENV): Likewise.
48908         (tst-codeset-ENV): Likewise.
48909         (tst-gettext3-ENV): Likewise.
48910         (tst-gettext5-ENV): Likewise.
48911         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48912         (tst-fopenloc-ENV): Likewise.
48913         (tst-fgetws-ENV): Remove variable.
48914         (tst-ungetwc1-ENV): Likewise.
48915         (tst-ungetwc2-ENV): Likewise.
48916         (bug-ungetwc2-ENV): Likewise.
48917         (tst-swscanf-ENV): Likewise.
48918         (bug-ftell-ENV): Likewise.
48919         (tst-fgetwc-ENV): Likewise.
48920         (tst-fseek-ENV): Likewise.
48921         (tst-ftell-partial-wide-ENV): Likewise.
48922         (tst-ftell-active-handler-ENV): Likewise.
48923         (tst-ftell-append-ENV): Likewise.
48924         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48925         (tst-regexloc-ENV): Likewise.
48926         (bug-regex1-ENV): Likewise.
48927         (tst-regex-ENV): Likewise.
48928         (tst-regex2-ENV): Likewise.
48929         (bug-regex5-ENV): Likewise.
48930         (bug-regex6-ENV): Likewise.
48931         (bug-regex17-ENV): Likewise.
48932         (bug-regex18-ENV): Likewise.
48933         (bug-regex19-ENV): Likewise.
48934         (bug-regex20-ENV): Likewise.
48935         (bug-regex22-ENV): Likewise.
48936         (bug-regex23-ENV): Likewise.
48937         (bug-regex25-ENV): Likewise.
48938         (bug-regex26-ENV): Likewise.
48939         (bug-regex30-ENV): Likewise.
48940         (bug-regex32-ENV): Likewise.
48941         (bug-regex33-ENV): Likewise.
48942         (bug-regex34-ENV): Likewise.
48943         (bug-regex35-ENV): Likewise.
48944         (tst-rxspencer-ENV): Likewise.
48945         (tst-rxspencer-no-utf8-ENV): Likewise.
48946         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48947         (tst-sscanf-ENV): Likewise.
48948         (tst-swprintf-ENV): Likewise.
48949         (tst-swscanf-ENV): Likewise.
48950         (test-vfprintf-ENV): Likewise.
48951         (scanf13-ENV): Likewise.
48952         (bug14-ENV): Likewise.
48953         (tst-grouping-ENV): Likewise.
48954         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48955         (tst-strtod3-ENV): Likewise.
48956         (tst-strtod4-ENV): Likewise.
48957         (tst-strtod5-ENV): Likewise.
48958         (testmb2-ENV): Likewise./
48959         * string/Makefile (tst-strxfrm-ENV): Likewise.
48960         (tst-strxfrm2-ENV): Likewise.
48961         (bug-strcoll1-ENV): Likewise.
48962         (test-strcasecmp-ENV): Likewise.
48963         (test-strncasecmp-ENV): Likewise.
48964         * time/Makefile (tst-strptime-ENV): Likewise.
48965         (tst-ftime_l-ENV): Likewise.
48966         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48967         (tst-mbrtowc-ENV): Likewise.
48968         (tst-wcrtomb-ENV): Likewise.
48969         (tst-mbrtowc2-ENV): Likewise.
48970         (tst-c16c32-1-ENV): Likewise.
48971         (tst-mbsnrtowcs-ENV): Likewise.
48973 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48975         * manual/resource.texi (How to get information about the memory
48976         subsystem?): Fix typo.
48977         Reported by Peon de la Parra Ivan <peon@keba.com>
48979 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
48981         [BZ #16882]
48982         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48983         (pthread_spin_lock): Branch out of spin loop to proper location.
48984         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48985         (pthread_spin_lock): Likewise.
48987         * nptl/tst-spin4.c: New test.
48988         * nptl/Makefile (tests): Add tst-spin4.
48990 2014-06-03  Andreas Schwab  <schwab@suse.de>
48992         [BZ #15946]
48993         * resolv/res_send.c (send_dg): Reload file descriptor after
48994         calling reopen.
48996 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
48998         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49000 2014-06-03  Richard Henderson  <rth@redhat.com>
49002         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49003         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49004         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49005         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49006         in the SAVE_PID block.
49007         (__libc_vfork): New alias.
49008         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49010         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49011         child in registers, not on the stack.  Remove RESET_PID conditionals.
49012         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49014 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49016         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49018 2014-06-03  Wilco  <wdijkstr@arm.com>
49020         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49021         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49022         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49023         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49024         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49025         Likewise.
49027 2014-06-03  Wilco  <wdijkstr@arm.com>
49029         * sysdeps/aarch64/fpu/math_private.h
49030         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49031         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49032         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49033         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49034         Fix declarations.
49036 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49038         * crypt/crypt-private.h: Include ufc-crypt.h.
49039         (__b64_from_24bit): Declare extern.
49040         * crypt/crypt_util.c(__b64_from_24bit): New function.
49041         (b64t): New static const variable.
49042         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49043         (b64t): Remove variable.
49044         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49045         * crypt/sha256-crypt.c: Include crypt-private.h.
49046         (b64t): Remove variable.
49047         (__sha256_crypt_r): Remove b64_from_24bit and replace
49048         with __b64_from_24bit.
49049         * crypt/sha512-crypt.c: Likewise.
49051 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49053         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49054         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49055         Label the code __libc_vfork rather than __vfork.
49056         [!NOT_IN_libc] (vfork): Define as weak alias.
49057         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49058         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49059         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49061 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49063         * malloc/malloc.c (malloc_info): Fix format specifier for
49064         n_mmaps.
49066 2014-06-02  Wilco  <wdijkstr@arm.com>
49068         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49069         FPCR write.
49071 2014-06-02  Wilco  <wdijkstr@arm.com>
49073         [BZ #17009]
49074         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49075         Rewrite to reduce FPCR/FPSR accesses.
49077 2014-06-01  David S. Miller  <davem@davemloft.net>
49079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49081 2014-05-31  David S. Miller  <davem@davemloft.net>
49083         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49084         to occur in round to nearest mode when |x| >= 2.0
49086 2014-05-30  Richard Henderson  <rth@twiddle.net>
49088         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49089         (PSEUDO_RET_NOERRNO): Remove.
49090         (ret): Don't redefine.
49091         (ret_NOERRNO): Define in terms of ret.
49092         (ret_ERRVAL): Likewise.
49094         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49095         use of PSEUDO_RET; perform the error check directly.
49097 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49099         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49100         with __int128_t.
49102 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49104         * malloc/malloc (malloc_info): Fix formatting.
49106 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49107             Roland McGrath  <roland@hack.frob.com>
49109         * malloc/malloc (malloc_info): Also print mmapped statistics.
49111 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49113         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49114         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49116 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49118         * malloc/malloc.c (malloc_info): Inline mi_arena.
49120 2014-05-29  Richard Henderson  <rth@twiddle.net>
49122         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49123         Remove comma before expanding ASM_ARGS_##nr.
49124         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49125         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49126         of ASM_ARGS_##nr.
49127         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49128         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49129         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49130         (ASM_ARGS_1): Add leading comma.
49132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49133         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49134         to __errno_location.
49135         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49136         Remove the expected plt for __errno_location.
49138         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49139         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49140         call to __read_tp.
49142         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49143         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49144         it and break it down.
49145         (DOCARGS_0, DOCARGS_1): Do nothing.
49146         (DOCARGS_2): Update to store into the new stack frame.
49147         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49148         (UNDOCARGS_1): Update to restore from the new stack frame.
49149         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49150         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49153         (SINGLE_THREAD_P): New parameter for result regno.
49154         (PSEUDO): Update to match; use cbz instead of beq.
49156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49157         Use ENTRY to define the _nocancel entry point.  Share the syscall
49158         and syscall error check paths with the cancel path.
49159         (PSEUDO_END): New.
49161         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49162         whitespace; tabs before and after asm mnemonics.
49164 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49166         [BZ #15132]
49167         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49168         Call fstat64 or stat64 internally, depending on arguments passed.
49169         Replace stat buffer argument with file descriptor argument.
49170         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49171         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49172         Pass fd to __internal_statvfs instead of calling fstat64.
49173         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49174         Pass fd to __internal_statvfs64 instead of calling fstat64.
49175         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49176         Pass -1 to __internal_statvfs instead of calling stat64.
49177         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49178         Pass -1 to __internal_statvfs64 instead of calling stat64.
49180 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49182         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49183         that was previously under [RESET_PID].
49184         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49186         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49187         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49189 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49191         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49193         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49194         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49196 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49198         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49200 2014-05-27  Andreas Schwab  <schwab@suse.de>
49202         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49203         TLS_INIT_TP macro.
49204         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49205         * elf/rtld.c (init_tls, dl_main): Likewise.
49206         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49207         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49208         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49209         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49210         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49211         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49212         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49213         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49214         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49215         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49216         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49217         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49218         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49219         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49220         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49221         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49222         * sysdeps/generic/tls.h: Update description.
49224 2014-05-27  Will Newton  <will.newton@linaro.org>
49226         [BZ #16990]
49227         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49228         and restore r2 rather than just restoring.
49230 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49232         [BZ #16724]
49233         * libio/tst-ftell-append.c: New test case.
49234         * libio/Makefile (tests): Add test case.
49235         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49236         append mode.
49237         * libio/wfileops.c (do_ftell_wide): Likewise.
49239 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49243         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49244         ...
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49247         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49248         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49249         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49250         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49251         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49252         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49254         Moved ...
49255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49257         Moved ...
49258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49259         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49260         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49261         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49262         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49263         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49264         ...
49265         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49266         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49267         Moved ...
49268         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49269         here.
49270         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49271         ...
49272         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49273         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49274         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49276         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49277         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49278         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49279         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49282         merge into ...
49283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49285         ...
49286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49288         ...
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49291         Moved ...
49292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49293         here.
49294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49295         Moved ...
49296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49298         Moved ...
49299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49302         conditional [RESET_PID].
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49305         removed.
49306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49307         removed.
49309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49310         <tcb-offsets.h>.
49311         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49312         (__libc_vfork): New strong alias.
49313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49314         removed.
49315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49316         Removed.
49318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49319         <tcb-offsets.h>.
49320         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49321         (__libc_vfork): New strong alias.
49322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49323         removed.
49324         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49325         removed.
49327 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
49329         * malloc/malloc.c (mi_arena): New function.
49330         (malloc_info): Remove nested function mi_arena. Call non-nosted
49331         function mi_arena.
49333 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49335         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49336         by insrwi.
49337         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
49338         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
49339         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
49340         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
49341         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
49342         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
49343         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
49345 2014-05-26  Andreas Schwab  <schwab@suse.de>
49347         [BZ #16984]
49348         * locale/programs/repertoire.c (repertoire_read): Add slash
49349         between I18NPATH element and file name.
49350         * locale/programs/locfile.c (locfile_read): Likewise.
49352 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49354         * nptl/pthread_mutexattr_settype.c
49355         (__pthread_mutexattr_settype):
49356         Disable lock elision for PTHREAD_MUTEX_NORMAL.
49358 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
49360         * nptl/tst-mutex5 (do_test):
49361         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
49363 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49365         * benchtests/README: Document 'init' directive.
49366         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
49367         BENCH_INIT.
49368         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
49369         (parse_file): Recognize 'init' directive.
49371 2014-05-26  Kyle McMartin  <kyle@redhat.com>
49373         [BZ #16796]
49374         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
49375         alignment of struct pthread.
49377 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49379         [BZ #16878]
49380         * nscd/netgroupcache.c (addgetnetgrentX): Look for
49381         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49382         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
49383         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
49385 2014-05-25  Richard Henderson  <rth@twiddle.net>
49387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49388         (SINGLE_THREAD_P_PIC): Remove.
49389         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
49390         (SINGLE_THREAD_P_PIC): Remove.
49392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
49393         branch to syscall error ...
49394         (PSEUDO): ... here.
49395         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
49396         from __local_syscall_error to .Lsyscall_error.
49397         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
49398         (SYSCALL_ERROR): Update label name.
49400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49401         Do not use DOARGS/UNDOARGS.
49402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
49403         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
49404         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
49405         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49406         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
49408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
49409         block comment.
49411         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
49412         define if !NOT_IN_libc.
49413         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
49414         define with non-default symbol versions.
49416 2014-05-23  Richard Henderson  <rth@twiddle.net>
49418         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
49419         (vfork, __vfork): Define via compat_symbol.
49421         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
49422         [!HAVE_IFUNC] (vfork_compat): Remove.
49423         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
49425 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49427         [BZ #16978]
49428         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
49429         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
49430         variable.
49432 2014-05-23  Richard Henderson  <rth@twiddle.net>
49434         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
49435         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
49436         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
49437         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
49439         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
49440         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
49441         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
49442         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
49443         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
49444         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
49445         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
49446         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
49447         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
49448         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
49449         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
49450         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
49451         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
49452         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
49453         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
49454         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
49455         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
49456         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
49457         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
49458         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
49459         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
49460         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
49461         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
49462         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
49463         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
49464         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
49465         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
49466         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
49467         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
49468         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
49469         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
49470         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
49471         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
49472         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
49473         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
49474         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
49475         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
49476         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
49477         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
49478         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
49479         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49480         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
49481         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
49482         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
49483         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
49484         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
49485         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
49486         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
49487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
49488         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
49489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
49490         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
49491         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
49492         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
49493         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
49494         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
49496         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
49497         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
49498         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
49499         before exiting on error.
49500         (__libc_vfork): New strong alias.
49501         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
49502         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
49504         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
49505         that was previously under [RESET_PID].
49506         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
49508         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
49510 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
49512         [BZ #16977]
49513         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
49514         value when x - 1 is zero.
49515         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
49516         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
49517         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
49518         0.0L for an argument of 1.0L.
49519         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
49520         Likewise.
49521         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
49522         value when x - 1 is zero.
49523         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
49524         * sysdeps/i386/fpu/libm-test-ulps: Update.
49525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49527 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
49529         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
49530         alphasort and versionsort.
49532 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49534         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
49535         macro.
49536         [copysignf]: Likewise.
49538 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49540         * crypt/md5-crypt.c: Fix formatting.
49542 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49544         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
49545         (b64_from_24bit): New function.
49547 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49549         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
49550         libc_hidden_builtin_def to ifunc.
49551         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49552         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49554 2014-05-21  Roland McGrath  <roland@hack.frob.com>
49556         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
49557         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
49559 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
49561         * nscd/Depend (linuxthreads): Remove.
49562         (nptl): Add.
49563         * resolv/Depend (linuxthreads): Remove.
49564         * rt/Depend (linuxthreads): Remove.
49566         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
49567         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
49568         $(common-objpfx)elf/.
49569         (link-libc-before-gnulib): Likewise.
49570         (elfobjdir): Remove variable.
49571         * Makefile (install): Use $(elf-objpfx) instead of
49572         $(common-objpfx)elf/.
49573         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
49574         $(elfobjdir)/.
49575         (link-libc-deps): Likewise.
49576         ($(common-objpfx)libc.so): Likewise.
49577         ($(common-objpfx)linkobj/libc.so): Likewise.
49578         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
49579         instead of $(common-objpfx)elf/.
49580         (symbolic-link-list): Likewise.
49581         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49582         [$(cross-compiling) = no]: Likewise.
49583         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
49584         $(elfobjdir)/.
49585         (static-gnulib-arch): Likewise.
49586         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49587         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
49588         $(common-objpfx)elf/.
49590 2014-05-21  Richard Henderson  <rth@redhat.com>
49592         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49593         (SINGLE_THREAD_P): Use the correct width load.  Fold
49594         into the ldr offset.
49596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
49597         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
49599 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
49601         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
49602         (libgcc_s_resume): Use __attribute_used__.
49603         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
49604         Likewise.
49606 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49608         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
49609         optimization when used with float constants.
49611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49613 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
49615         [BZ #16915]
49616         * locale/nl_langinfo_l.c: Make direct reference to every
49617         _nl_current_CATEGORY symbol.
49618         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
49619         (tests-static): Add tst-langinfo-static.
49620         (tests-special): Add tst-langinfo-static.out.
49621         ($(objpfx)tst-langinfo.out): Redirect output.
49622         ($(objpfx)tst-langinfo-static.out): New.
49623         * localedata/tst-langinfo.sh: Send output to stdout.
49624         * localedata/tst-langinfo-static.c: New file.
49626         [BZ #16965]
49627         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
49628         when the shift amount is modulo the limb size.
49630 2014-05-20  Richard Henderson  <rth@redhat.com>
49632         [BZ #16967]
49633         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
49634         Change type of sa_flags from unsigned int to int.
49636         [BZ #16966]
49637         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
49639         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
49641 2014-05-20  Will Newton  <will.newton@linaro.org>
49643         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49644         Test the return value of the system call in the nocancel case.
49646 2014-05-20  Will Newton  <will.newton@linaro.org>
49647             Yvan Roux  <yvan.roux@linaro.org>
49649         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
49650         #include of asm/ptrace.h.
49651         (PTRACE_GET_THREAD_AREA): Remove #undef.
49652         (PTRACE_GETHBPREGS): Likewise.
49653         (PTRACE_SETHBPREGS): Likewise.
49654         (struct user_regs_struct): New structure.
49655         (struct user_fpsimd_struct): New structure.
49656         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
49657         #include of asm/ptrace.h and second #include of sys/user.h.
49658         (PTRACE_GET_THREAD_AREA): Remove #undef.
49659         (PTRACE_GETHBPREGS): Likewise.
49660         (PTRACE_SETHBPREGS): Likewise.
49661         (ELF_NGREG): Use new struct user_regs_struct.
49662         (elf_fpregset_t): Use new struct user_fpsimd_struct.
49664 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49666         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
49667         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
49669 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
49671         [BZ #16958]
49672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
49673         membar to avoid block loads/stores to overlap previous stores.
49675 2014-05-17  Richard Henderson  <rth@redhat.com>
49677         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
49678         Create the __##syscall_name##_nocancel entry point.
49679         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
49680         Remove; let the sysdep-cancel.h code create it.
49682 2014-05-17  David S. Miller  <davem@davemloft.net>
49684         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
49685         Protect with __USE_GNU.
49686         (TIOCSET_TEMPT): Likewise.
49687         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
49688         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
49689         these are already provided in bits/ioctl-types.h
49691 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49693         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
49694         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
49696         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
49697         Use wait4 regardless of [__NR_waitpid].
49699 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49701         PR libgcc/60166
49702         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49703         (_FP_NANSIGN_Q): Set the quiet bit.
49705 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
49707         * benchtests/Makefile
49708         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
49709         not $(common-objpfx)math/libm.so.
49710         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
49711         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
49712         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
49713         $(common-objpfx)dlfcn/libdl.so.
49714         ($(objpfx)tst-audit8): Depend on $(libm), not
49715         $(common-objpfx)math/libm.so.
49716         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
49717         not $(common-objpfx)dlfcn/libdl.so.
49718         * math/Makefile
49719         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49720         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
49721         [$(build-shared) = yes].
49722         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
49723         $(common-objpfx)nptl/libpthread.so.
49724         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
49725         $(common-objpfx)math/libm.so$(libm.so-version) or
49726         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
49727         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
49728         $(common-objpfx)dlfcn/libdl.so.
49729         * setjmp/Makefile (link-libm): Remove variable.
49730         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
49731         * stdio-common/Makefile (link-libm): Remove variable.
49732         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
49733         * stdlib/Makefile (link-libm): Remove variable.
49734         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
49735         ($(objpfx)tst-strtod-round): Likewise.
49736         ($(objpfx)tst-tininess): Likewise.
49737         ($(objpfx)tst-strtod-underflow): Likewise.
49738         ($(objpfx)tst-strtod6): Likewise.
49739         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
49740         $(libdl), not $(common-objpfx)nptl/libpthread.so and
49741         $(common-objpfx)dlfcn/libdl.so.
49743 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49745         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
49746         BSD terminal modes definitions.
49748 2014-05-16  Roland McGrath  <roland@hack.frob.com>
49750         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
49751         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
49753         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
49754         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
49755         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
49756         Don't do #include_next.
49757         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
49758         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
49759         Don't do #include_next.
49760         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
49761         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
49762         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
49763         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
49765 2014-05-16  Allan McRae  <allan@archlinux.org>
49767         * po/sv.po: Update Swedish translation from translation project.
49769         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
49770         in sed expression.
49772 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
49774         [BZ #16917]
49775         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
49776         errno if the TIOCGPTN ioctl fails with an error different than
49777         EINVAL.
49778         * login/tst-ptsname.c: New file.
49779         * login/Makefile (tests): Add tst-ptsname.
49781         [BZ #16943]
49782         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
49783         and prlimit64.
49785 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49787         [BZ #16849]
49788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
49789         herrno to return EAI_AGAIN.
49791 2014-05-14  Roland McGrath  <roland@hack.frob.com>
49793         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
49794         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49795         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49796         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49797         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49798         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49799         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49800         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49801         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49802         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49803         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49804         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49805         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49806         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49807         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49808         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49809         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49810         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49811         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49812         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49813         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49814         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49815         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49816         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49817         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49818         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49819         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49820         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49821         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49822         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49824         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49826         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49828         Moved ...
49829         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49831         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49833         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49835         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49837         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49839         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49841         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49843         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49845         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49847         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49849         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49851         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49853         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49855         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49857         Moved ...
49858         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49860         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49862         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49864         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49866         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49868         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49870         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49872         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49874         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49876         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49878         Moved ...
49879         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49881         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49883         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49884         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49885         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49886         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49887         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49888         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49889         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49890         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49891         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49892         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49893         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49894         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49895         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49896         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49897         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49898         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49899         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49900         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49901         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49902         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49903         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49904         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49905         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49906         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49907         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49908         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49909         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49910         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49911         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49912         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49913         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49915         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49916         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49918         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49919         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49920         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49921         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49922         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49923         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49924         Moved ...
49925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49927         Moved ...
49928         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49929         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49930         Moved ...
49931         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49933         Moved ...
49934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49935         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49936         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49937         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49938         Moved ...
49939         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49940         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49941         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49943         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49944         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49945         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49946         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49947         Moved ...
49948         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49950         Moved ...
49951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49952         ... here.
49953         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49954         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49955         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49956         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49957         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49958         Moved ...
49959         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49960         ... here.
49961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49962         Moved ...
49963         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49964         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49965         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49966         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49967         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49968         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49969         Moved ...
49970         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49972         Moved ...
49973         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49974         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49975         Moved ...
49976         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49978         Moved ...
49979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49980         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49981         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49982         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49983         Moved ...
49984         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49985         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49986         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49988         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49989         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49990         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49991         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49992         Moved ...
49993         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49995         Moved ...
49996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49997         ... here.
49998         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49999         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50000         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50001         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50002         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50003         Moved ...
50004         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50005         ... here.
50006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50007         Moved ...
50008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50009         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50010         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50011         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50012         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50013         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50014         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50015         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50016         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50018         Moved ...
50019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50021         Moved ...
50022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50023         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50024         Moved ...
50025         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50026         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50027         Moved ...
50028         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50029         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50030         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50031         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50032         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50034         Moved ...
50035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50036         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50037         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50040         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50041         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50043         Moved ...
50044         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50046         Moved ...
50047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50048         ... here.
50049         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50050         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50051         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50052         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50053         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50054         Moved ...
50055         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50056         ... here.
50057         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50058         Moved ...
50059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50060         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50061         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50062         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50063         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50064         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50065         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50066         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50067         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50068         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50069         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50071         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50072         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50074         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50075         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50077         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50078         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50079         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50080         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50081         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50082         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50083         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50084         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50085         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50086         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50088         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50089         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50090         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50091         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50092         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50093         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50094         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50095         Moved ...
50096         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50098         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50100         Moved ...
50101         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50103         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50105         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50108         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50109         Moved ...
50110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50112         Moved ...
50113         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50115         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50119         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50120         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50121         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50122         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50123         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50124         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50125         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50126         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50127         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50128         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50129         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50131         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50132         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50133         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50134         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50135         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50137         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50138         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50139         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50140         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50141         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50142         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50143         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50144         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50145         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50146         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50148         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50149         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50151         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50152         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50153         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50154         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50155         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50156         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50157         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50158         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50159         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50160         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50161         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50162         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50163         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50164         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50166         Update #include.
50167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50168         Likewise.
50169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50170         Likewise.
50171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50172         Likewise.
50173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50174         Likewise.
50175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50176         Likewise.
50177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50178         Likewise.
50179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50180         Likewise.
50181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50182         Likewise.
50183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50184         Likewise.
50185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50186         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50187         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50188         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50189         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50190         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50191         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50192         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50193         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50194         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50195         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50196         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50197         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50198         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50199         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50201         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50202         that was previously under [RESET_PID].
50203         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50204         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50205         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50207         * sysdeps/i386/nptl/Implies: New file.
50208         * sysdeps/x86_64/nptl/Implies: New file.
50209         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50210         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50211         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50212         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50214         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50215         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50216         (__libc_vfork): New strong alias.
50217         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50218         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50220         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50221         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50222         (__libc_vfork): New strong alias.
50223         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50224         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50226         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50227         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50228         (__libc_vfork): New strong alias.
50229         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50230         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50231         * nptl/pt-vfork.c: New file.
50232         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50233         (libpthread: GLIBC_2.20): New version set (empty).
50235 2014-05-14  Will Newton  <will.newton@linaro.org>
50237         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50238         rather than #if.
50240 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50242         [BZ #16564]
50243         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50244         arguments with exponent 65 or above.
50245         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50246         arguments 0x1p113L or above.
50247         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50248         to arguments 0x1p107L or above.
50249         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50250         positive arguments with exponent 65 or above.
50251         * math/auto-libm-test-in: Add more tests of log1p.
50252         * math/auto-libm-test-out: Regenerated.
50254         [BZ #16928]
50255         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50256         non-finite arguments is +0.
50257         * math/s_cacosf.c (__cacosf): Likewise.
50258         * math/s_cacosl.c (__cacosl): Likewise.
50259         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50260         * sysdeps/i386/fpu/libm-test-ulps: Update.
50261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50263         [BZ #16927]
50264         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50265         value.
50266         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50267         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50268         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50269         for explicit high bit of mantissa when testing for argument equal
50270         to 1.
50271         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50272         * sysdeps/i386/fpu/libm-test-ulps: Update.
50273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50275         [BZ #16516]
50276         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50277         (__erf): Scale by 16 instead of 8 in potentially underflowing
50278         case.  Ensure exception if result actually underflows.
50279         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50280         (__erff): Scale by 16 instead of 8 in potentially underflowing
50281         case.  Ensure exception if result actually underflows.
50282         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50283         (efx8): Remove variable.
50284         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50285         case.  Ensure exception if result actually underflows.
50286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50287         (efx8): Remove variable.
50288         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50289         case.  Ensure exception if result actually underflows.
50290         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50291         (efx8): Remove variable.
50292         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50293         case.  Ensure exception if result actually underflows.
50294         * math/auto-libm-test-in: Add more tests of erf.
50295         * math/auto-libm-test-out: Regenerated.
50297 2014-05-14  Andreas Schwab  <schwab@suse.de>
50299         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50300         Remove code conditionalized on USE___THREAD.
50302         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50303         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50304         not definedness.
50306 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50309         Define unconditionally.
50310         (__ASSUME_O_CLOEXEC): Likewise.
50311         (__ASSUME_SOCK_CLOEXEC): Likewise.
50312         (__ASSUME_IN_NONBLOCK): Likewise.
50313         (__ASSUME_PIPE2): Likewise.
50314         (__ASSUME_EVENTFD2): Likewise.
50315         (__ASSUME_SIGNALFD4): Likewise.
50316         (__ASSUME_DUP3): Likewise.
50317         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50318         (__ASSUME_DUP3): Do not define.
50319         (__ASSUME_EVENTFD2): Likewise.
50320         (__ASSUME_IN_NONBLOCK): Likewise.
50321         (__ASSUME_O_CLOEXEC): Likewise.
50322         (__ASSUME_PIPE2): Likewise.
50323         (__ASSUME_SIGNALFD4): Likewise.
50324         (__ASSUME_SOCK_CLOEXEC): Likewise.
50325         (__ASSUME_UTIMES): Undefine.
50326         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50327         (__ASSUME_UTIMES): Do not define.
50328         (__ASSUME_O_CLOEXEC): Likewise.
50329         (__ASSUME_SOCK_CLOEXEC): Likewise.
50330         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
50331         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
50332         0x020621].
50333         (__ASSUME_PIPE2): Likewise.
50334         (__ASSUME_EVENTFD2): Likewise.
50335         (__ASSUME_SIGNALFD4): Likewise.
50336         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
50337         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
50338         Do not define.
50339         (__ASSUME_EVENTFD2): Likewise.
50340         (__ASSUME_SIGNALFD4): Likewise.
50341         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
50342         (__ASSUME_32BITUIDS): Likewise.
50343         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
50344         (__ASSUME_IPC64): Likewise.
50345         (__ASSUME_ST_INO_64_BIT): Likewise.
50346         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
50347         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
50348         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50349         (__ASSUME_UTIMES): Do not define.
50350         (__ASSUME_PSELECT): Likewise.
50351         (__ASSUME_PPOLL): Likewise.
50352         (__ASSUME_O_CLOEXEC): Likewise.
50353         (__ASSUME_SOCK_CLOEXEC): Likewise.
50354         (__ASSUME_IN_NONBLOCK): Likewise.
50355         (__ASSUME_PIPE2): Likewise.
50356         (__ASSUME_EVENTFD2): Likewise.
50357         (__ASSUME_SIGNALFD4): Likewise.
50358         (__ASSUME_DUP3): Likewise.
50359         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50360         (__ASSUME_UTIMES): Likewise.
50361         (__ASSUME_O_CLOEXEC): Likewise.
50362         (__ASSUME_SOCK_CLOEXEC): Likewise.
50363         (__ASSUME_IN_NONBLOCK): Likewise.
50364         (__ASSUME_PIPE2): Likewise.
50365         (__ASSUME_EVENTFD2): Likewise.
50366         (__ASSUME_SIGNALFD4): Likewise.
50367         (__ASSUME_DUP3): Likewise.
50368         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50369         (__ASSUME_UTIMES): Likewise.
50370         (__ASSUME_O_CLOEXEC): Likewise.
50371         (__ASSUME_SOCK_CLOEXEC): Likewise.
50372         (__ASSUME_IN_NONBLOCK): Likewise.
50373         (__ASSUME_PIPE2): Likewise.
50374         (__ASSUME_EVENTFD2): Likewise.
50375         (__ASSUME_SIGNALFD4): Likewise.
50376         (__ASSUME_DUP3): Likewise.
50377         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
50378         Likewise.
50379         (__ASSUME_UTIMES): Likewise.
50380         (__ASSUME_EVENTFD2): Likewise.
50381         (__ASSUME_SIGNALFD4): Likewise.
50382         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50383         (__ASSUME_O_CLOEXEC): Likewise.
50384         (__ASSUME_SOCK_CLOEXEC): Likewise.
50385         (__ASSUME_IN_NONBLOCK): Likewise.
50386         (__ASSUME_PIPE2): Likewise.
50387         (__ASSUME_EVENTFD2): Likewise.
50388         (__ASSUME_SIGNALFD4): Likewise.
50389         (__ASSUME_DUP3): Likewise.
50390         (__ASSUME_UTIMES): Undefine.
50392         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
50393         feclearexcept.  Remove symbol versioning code.
50394         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
50395         symbol versioning code.
50396         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
50397         symbol versioning code.
50398         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
50399         feupdateenv.  Remove symbol versioning code.
50400         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
50401         fegetexceptflag.  Remove symbol versioning code.
50402         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
50403         fesetexceptflag.  Remove symbol versioning code.
50404         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
50405         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
50406         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
50407         (__posix_fadvise64_l32): Remove prototype.
50408         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
50409         code.
50411 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50413         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
50414         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
50415         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
50416         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
50418 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
50420         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
50421         current working directory
50423 2014-05-13  Roland McGrath  <roland@hack.frob.com>
50425         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
50426         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
50427         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
50428         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
50429         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
50430         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
50431         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
50432         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
50433         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
50434         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
50435         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
50436         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
50437         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
50438         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
50439         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
50440         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
50441         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
50442         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
50443         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
50444         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
50445         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
50446         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
50447         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
50448         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
50449         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
50450         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
50451         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
50452         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
50453         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
50454         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
50455         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
50456         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
50457         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
50458         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
50459         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
50460         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
50461         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
50462         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
50463         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
50464         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
50465         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
50466         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
50468         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
50469         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
50471         * sysdeps/unix/sysv/linux/arm/Makefile
50472         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
50473         Add rt-aeabi_unwind_cpp_pr1.
50474         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
50475         Add nptl-aeabi_unwind_cpp_pr1.
50476         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
50477         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
50478         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
50479         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
50480         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
50481         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
50483         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
50484         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
50485         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
50486         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
50488         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
50489         Deconditionalize the code that was previously under [RESET_PID].
50490         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
50492         * sysdeps/generic/exit-thread.h: New file.
50493         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
50494         * include/unistd.h (__exit_thread): Remove declaration.
50495         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
50496         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
50497         * csu/libc-start.c: Include <exit-thread.h>.
50498         (LIBC_START_MAIN): Pass no argument to __exit_thread.
50499         * nptl/pthread_create.c: Include <exit-thread.h>.
50500         (start_thread): Call __exit_thread in place of __exit_thread_inline.
50501         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
50502         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
50503         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
50504         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
50505         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
50506         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
50507         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
50508         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
50509         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
50510         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
50511         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
50512         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
50513         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
50514         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
50515         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
50516         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
50518 2014-05-13  Andreas Schwab  <schwab@suse.de>
50520         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
50522 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
50524         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
50525         (__ASSUME_UTIMES): Do not condition on kernel version.
50526         (__ASSUME_PSELECT): Define unconditionally.
50527         (__ASSUME_PPOLL): Likewise.
50528         (__ASSUME_ATFCTS): Likewise.
50529         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
50530         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
50531         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
50532         (__ASSUME_UTIMENSAT): Define unconditionally.
50533         (__ASSUME_PRIVATE_FUTEX): Likewise.
50534         (__ASSUME_FALLOCATE): Likewise.
50535         (__ASSUME_O_CLOEXEC): Likewise.
50536         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
50537         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
50538         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
50539         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
50540         (__ASSUME_IN_NONBLOCK): Likewise.
50541         (__ASSUME_PIPE2): Likewise.
50542         (__ASSUME_EVENTFD2): Likewise.
50543         (__ASSUME_SIGNALFD4): Likewise.
50544         (__ASSUME_DUP3): Likewise.
50545         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50546         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
50547         (__ASSUME_AT_RANDOM): Likewise.
50548         (__ASSUME_PREADV): Likewise.
50549         (__ASSUME_PWRITEV): Likewise.
50550         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
50551         (__ASSUME_F_GETOWN_EX): Define unconditionally.
50552         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
50553         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
50554         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
50555         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50556         (__ASSUME_O_CLOEXEC): Define unconditionally.
50557         (__ASSUME_PSELECT): Do not undefine conditionally.
50558         (__ASSUME_PPOLL): Likewise.
50559         (__ASSUME_ATFCTS): Likewise.
50560         (__ASSUME_SET_ROBUST_LIST): Likewise.
50561         (__ASSUME_UTIMENSAT): Likewise.
50562         (__ASSUME_FDATASYNC): Define unconditionally.
50563         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50564         (__ASSUME_SIGFRAME_V2): Likewise.
50565         )__ASSUME_EVENTFD2): Likewise.
50566         (__ASSUME_SIGNALFD4): Likewise.
50567         (__ASSUME_PSELECT): Do not undefine conditionally.
50568         (__ASSUME_PPOLL): Likewise.
50569         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50570         (__ASSUME_PSELECT): Define unconditionally.
50571         (__ASSUME_PPOLL): Likewise.
50572         (__ASSUME_O_CLOEXEC): Likewise.
50573         (__ASSUME_SOCK_CLOEXEC): Likewise.
50574         (__ASSUME_IN_NONBLOCK): Likewise.
50575         (__ASSUME_PIPE2): Likewise.
50576         (__ASSUME_EVENTFD2): Likewise.
50577         (__ASSUME_SIGNALFD4): Likewise.
50578         (__ASSUME_DUP3): Likewise.
50579         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50580         (__ASSUME_O_CLOEXEC): Likewise.
50581         (__ASSUME_SOCK_CLOEXEC): Likewise.
50582         (__ASSUME_IN_NONBLOCK): Likewise.
50583         (__ASSUME_PIPE2): Likewise.
50584         (__ASSUME_EVENTFD2): Likewise.
50585         (__ASSUME_SIGNALFD4): Likewise.
50586         (__ASSUME_DUP3): Likewise.
50587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50588         (__ASSUME_EVENTFD2): Likewise.
50589         (__ASSUME_SIGNALFD4): Likewise.
50590         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50592 2014-05-12  Andreas Schwab  <schwab@suse.de>
50594         [BZ #16932]
50595         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
50596         (_nss_nis_gethostbyname4_r): Return error if item length is larger
50597         than maximum RPC packet size.
50598         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
50599         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
50600         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
50601         (_nss_nis_getservbyport_r): Likewise.
50603 2014-05-12  Will Newton  <will.newton@linaro.org>
50605         * malloc/Makefile (tests): Add tst-mallopt.
50606         * malloc/tst-mallopt.c: New file.
50608 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50610         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
50611         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
50613 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50615         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
50616         (tst-tlsmod6.so): Likewise.
50618 2014-05-09  Roland McGrath  <roland@hack.frob.com>
50620         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
50622 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
50624         [BZ #16064]
50625         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
50626         and <dl-procinfo.h>.
50627         (__fegetenv): Save SSE state in envp->__eip if supported.
50628         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
50629         envp->__eip if supported.
50630         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
50631         and <dl-procinfo.h>.
50632         (__fesetenv): Always set __eip, __cs_selector, __opcode,
50633         __data_offset and __data_selector in environment to 0.  Set SSE
50634         state if supported.
50635         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
50636         test-fenv-sse.
50637         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
50638         -mfpmath=sse.
50639         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
50641 2014-05-09  Will Newton  <will.newton@linaro.org>
50643         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
50644         and libc_relro_required for ARM.
50645         * sysdeps/arm/preconfigure: Regenerate.
50647 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
50648             Stefan Liebler  <stli@linux.vnet.ibm.com>
50650         * config.make.in (enable-lock-elision): New Makefile variable.
50651         * configure.ac: Likewise.
50652         * configure: Regenerate.
50653         * sysdeps/s390/configure.ac:
50654         Add check for gcc transactions support.
50655         * sysdeps/s390/configure: Regenerate.
50656         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
50657         Build elision files if enabled.
50658         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
50659         Add lock elision support for s390.
50660         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
50661         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
50662         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
50663         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
50664         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
50665         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
50666         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
50667         Likewise.
50668         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
50669         Likewise.
50670         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
50671         Likewise.
50672         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
50673         Likewise.
50674         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
50675         (__lll_timedlock_elision, __lll_lock_elision)
50676         (__lll_unlock_elision, __lll_trylock_elision)
50677         (lll_timedlock_elision, lll_lock_elision)
50678         (lll_unlock_elision, lll_trylock_elision): Add.
50679         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50680         (pthread_mutex_t): Add lock elision support for s390.
50682 2014-05-14  Wilco  <wdijkstr@arm.com>
50684         * sysdeps/arm/fclrexcpt.c: Cleanup.
50685         * sysdeps/arm/fedisblxcpt.c: Cleanup.
50686         * sysdeps/arm/feenablxcpt.c: Cleanup.
50687         * sysdeps/arm/fegetenv.c: Cleanup.
50688         * sysdeps/arm/fegetexcept.c: Cleanup.
50689         * sysdeps/arm/fegetround.c: Cleanup.
50690         * sysdeps/arm/feholdexcpt.c: Cleanup.
50691         * sysdeps/arm/fesetenv.c: Cleanup.
50692         * sysdeps/arm/fesetround.c: Cleanup.
50693         * sysdeps/arm/feupdateenv.c: Cleanup.
50694         * sysdeps/arm/fgetexcptflg.c: Cleanup.
50695         * sysdeps/arm/fraiseexcpt.c: Cleanup.
50696         * sysdeps/arm/fsetexcptflg.c: Cleanup.
50697         * sysdeps/arm/ftestexcept.c: Cleanup.
50698         * sysdeps/arm/get-rounding-mode.h: Cleanup.
50699         * sysdeps/arm/setfpucw.c: Cleanup.
50701 2014-05-09  Will Newton  <will.newton@linaro.org>
50703         * sysdeps/arm/armv7/strcmp.S: New file.
50704         * NEWS: Mention addition of ARMv7 optimized strcmp.
50706 2014-05-08  Roland McGrath  <roland@hack.frob.com>
50708         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
50709         look for %.ac rather than %.in.
50711         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
50712         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
50713         * sysdeps/mach/hurd/configure: Regenerated.
50714         * sysdeps/unix/sysv/linux/configure: Regenerated.
50716         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
50718 2014-05-07  Steve Ellcey  <sellcey@mips.com>
50720         [BZ #16922]
50721         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
50722         (LONG_SUB): Ditto.
50723         (PTR_SUB): Ditto.
50725 2014-05-07  Andreas Schwab  <schwab@suse.de>
50727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
50728         when skipping over non-matching result from nscd.
50730 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
50732         [BZ #16876]
50733         * nptl/sockperf.c (client): Check socket return value.
50735         [BZ #16877]
50736         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
50737         nscd security class.
50739 2014-05-06  Roland McGrath  <roland@hack.frob.com>
50741         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
50742         * sysdeps/arm/unwind.h: ... here.
50744 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
50746         [BZ #16916]
50747         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
50748         Define.
50750 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50752         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
50753         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
50754         multiarch strncpy for PPC64.
50755         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
50756         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
50757         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
50758         multiarch optimizations.
50759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50760         (__libc_ifunc_impl_list): Likewise.
50761         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
50762         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
50763         multiarch stpncpy for PPC64.
50764         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
50765         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
50767 2014-05-06  Andreas Schwab  <schwab@suse.de>
50769         [BZ #16912]
50770         * gmon/mcount.c (_MCOUNT_DECL): Use
50771         atomic_compare_and_exchange_bool_acq instead of
50772         catomic_compare_and_exchange_bool_acq.
50774 2014-05-05  Roland McGrath  <roland@hack.frob.com>
50776         * elf/Makefile (others, install-bin): Remove pldd.
50777         (pldd-modules): Variable removed.
50778         ($(objpfx)pldd): Target removed.
50779         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50780         (others, install-bin): Append pldd here.
50781         ($(objpfx)pldd): New target.
50783         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
50784         to 0, so the first #if test emitted later doesn't see it undefined.
50785         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
50786         * sysdeps/gnu/errlist.c: Regenerated.
50788 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50791         [libc_hidden_builtin_def]: Define to empty value.
50792         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
50793         [libc_hidden_builtin_def]: Likewise.
50794         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50795         [libc_hidden_builtin_def]: Likewise.
50796         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50797         [libc_hidden_builtin_def]: Likewise.
50798         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50799         __redirect_memcpy and define ifunc as default hidden symbol.
50800         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50801         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50803 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50805         * locale/iso-4217.def: Reintroduce XDR currency.
50807 2014-05-04  Allan McRae  <allan@archlinux.org>
50809         * po/eo.po: Update Esperanto translation from translation project.
50811 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50813         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50814         and FEATURE_INDEX_MAX to 1.
50815         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50817 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50819         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50820         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50821         * iconvdata/big5.c (ONE_DIRECTION): Define.
50822         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50823         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50824         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50825         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50826         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50827         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50828         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50829         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50830         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50831         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50832         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50833         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50834         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50835         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50836         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50837         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50838         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50839         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50840         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50841         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50842         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50843         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50844         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50845         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50846         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50847         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50848         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50849         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50850         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50851         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50852         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50853         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50854         * iconvdata/johab.c (ONE_DIRECTION): Define.
50855         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50856         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50857         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50858         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50859         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50860         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50861         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50862         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50863         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50864         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50866 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50868         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50869         (_IO_JUMPS_OFFSET): Define to 0.
50871         * nptl/sysdeps/pthread/bits/libc-lock.h
50872         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50873         (__libc_lock_define_initialized_recursive): Always define using
50874         initializer.  Modern compilers treat uninitialized (implicit zero) and
50875         explicit zero initializers the same (i.e. put the datum in bss).
50877 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50879         * nscd/nscd-client.h: Include <string.h>.
50881 2014-05-01  David S. Miller  <davem@davemloft.net>
50883         [BZ #16885]
50884         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50885         multiple zero bytes exist at the end of a string.
50886         Reported by Aurelien Jarno <aurelien@aurel32.net>
50888         * string/test-strcmp.c (check): Add explicit test for situations where
50889         there are multiple zero bytes after the first.
50891 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50893         [BZ #16890]
50894         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50895         when compiling wprintf.
50896         * stdio-common/tstdiomisc.c (t3): New function.
50897         (main): Call it.
50899 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50901         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50902         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50903         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50904         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50906 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50908         * stdlib/longlong.h: Updated from GCC.
50910 2014-05-01  Will Newton  <will.newton@linaro.org>
50911             Bernard Ogden  <bernie.ogden@linaro.org>
50913         * NEWS: Update fixed bug list.
50915         [BZ #15119]
50916         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50918 2014-04-30  David S. Miller  <davem@davemloft.net>
50920         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50921         (libc_feholdexcept_setround_sparc_ctx): New function.
50922         (libc_fesetenv_sparc_ctx): Likewise.
50923         (libc_feupdateenv_sparc_ctx): Likewise.
50924         (libc_feholdsetround_sparc_ctx): Likewise.
50925         (libc_feholdexcept_setround_ctx): Define.
50926         (libc_feholdexcept_setroundf_ctx): Likewise.
50927         (libc_feholdexcept_setroundl_ctx): Likewise.
50928         (libc_fesetenv_ctx): Likewise.
50929         (libc_fesetenvf_ctx): Likewise.
50930         (libc_fesetenvl_ctx): Likewise.
50931         (libc_feupdateenv_ctx): Likewise.
50932         (libc_feupdateenvf_ctx): Likewise.
50933         (libc_feupdateenvl_ctx): Likewise.
50934         (libc_feresetround_ctx): Likewise.
50935         (libc_feresetroundf_ctx): Likewise.
50936         (libc_feresetroundl_ctx): Likewise.
50937         (libc_feholdsetround_ctx): Likewise.
50938         (libc_feholdsetroundf_ctx): Likewise.
50939         (libc_feholdsetroundl_ctx): Likewise.
50941         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50942         with __USE_GNU instead of XOPEN cpp guards.
50944         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50945         0.
50947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50948         with XOPEN cpp guards.
50950 2014-04-30  Julian Brown  <julian@codesourcery.com>
50952         [BZ #16888]
50953         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50954         handling.
50956 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50958         [BZ #9894]
50959         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50960         Change to 2.6.32.
50961         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50962         * sysdeps/unix/sysv/linux/configure: Regenerated.
50963         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50964         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50965         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50966         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50967         * README: Update reference to required Linux kernel version.
50968         * manual/install.texi (Linux): Update reference to required Linux
50969         kernel headers version.
50970         * INSTALL: Regenerated.
50972         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50973         header inclusion.
50974         [POSIX] (limits.h): Likewise.
50975         [POSIX] (math.h): Likewise.
50976         [POSIX] (sys/wait.h): Likewise.
50977         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50978         function.
50979         [POSIX] (stddef.h): Do not allow header inclusion.
50981 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50983         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50985 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
50987         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50988         Return immediately after lll_futex_wake.
50990 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50992         [BZ #16791]
50993         * nscd/nscd-client.h (datahead_init_common): Initialize entire
50994         structure.
50995         (datahead_init_pos): Call datahead_init_common early.
50996         (datahead_init_neg): Likewise.
50998         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50999         datahead_init_neg): New functions.
51000         * nscd/aicache.c (addhstaiX): Use them.
51001         * nscd/grpcache.c (cache_addgr): Likewise.
51002         * nscd/hstcache.c (cache_addhst): Likewise.
51003         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51004         * nscd/netgroupcache.c (do_notfound): Likewise.
51005         (addgetnetgrentX): Likewise.
51006         (addinnetgrX): Likewise.
51007         * nscd/pwdcache.c (cache_addpw): Likewise.
51008         * nscd/servicescache.c (cache_addserv): Likewise.
51010 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51011             Atsushi Onoe  <atsushi@onoe.org>
51013         [BZ #14308]
51014         [BZ #12994]
51015         [BZ #13651]
51016         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51017         one response is valid.
51018         * resolv/res_send.c (send_dg): Check for validity of other
51019         response if the current response is a referral.
51021 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51023         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51025 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51027         [BZ #16823]
51028         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51029         Always divide by positive zero when computing -Inf result.
51030         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51031         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51033 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51035         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51036         FPSCR if value do not change.
51037         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51038         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51039         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51040         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51041         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51042         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51043         function.
51045 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51047         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51048         * sysdeps/unix/sysv/linux/hppa: Move directory from
51049         ports/systeps/unix/sysv/linux/hppa.
51050         * README: Update listing for hppa-*-linux-gnu.
51052 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51054         [BZ #16754]
51055         * manual/stdio.texi (Hook functions): Fix types of stream hook
51056         functions.
51057         [BZ #16854]
51058         * socket/sys/socket.h: Fix typo in comment.
51060 2014-04-28  Wilco  <wdijkstr@arm.com>
51062         * sysdeps/arm/fenv_private.h: New file.
51063         * sysdeps/arm/math_private.h: New file.
51064         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51066 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51068         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51069         with __int128_t.
51070         (La_x86_64_retval): Likewise.
51072 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51074         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51075         fpsr if value didn't change.
51076         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51077         to fpcr if value didn't change.
51078         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51079         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51080         fpsr or fpcr if value didn't change.
51081         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51082         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51083         fpcr if value didn't change.
51084         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51085         to fpsr if value didn't change.
51087 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51089         * nptl/tst-sem3.c: Use test-skeleton.c
51090         (main): Rename to do_test.  Use return instead of
51091         exit.
51092         * nptl/tst-sem4.c: Use test-skeleton.c
51093         (main): Rename to do_test.
51095 2014-04-22  David S. Miller  <davem@davemloft.net>
51097         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51098         (struct sigaction): New struct member __glibc_reserved0, change
51099         type of sa_flags to int.
51101 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51103         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51104         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51106 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51108         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51109         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51111 2014-04-22  Will Newton  <will.newton@linaro.org>
51112             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51114         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51115         (__longjmp): Add longjmp and longjmp_target SystemTap
51116         probes.
51117         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51118         (__sigsetjmp): Add setjmp SystemTap probe.
51120 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51122         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51123         match manual order.
51125 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51127         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51129         * sysdeps/powerpc/fpu/fenv_private.h
51130         (libc_feholdexcept_setroundl_ctx): Define to
51131         libc_feholdexcept_setround_ppc_ctx.
51132         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51133         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51134         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51135         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51137 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51139         * sysdeps/aarch64/math-tests.h: New file.
51141 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51143         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51144         New.
51145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51146         Check and set bit_AVX2_Usable.
51147         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51148         macro.
51149         (bit_AVX2): Likewise.
51150         (index_AVX2_Usable): Likewise.
51151         (CPUID_AVX2): Likewise.
51152         (HAS_AVX2): Likewise.
51154 2014-04-17  Will Newton  <will.newton@linaro.org>
51156         * manual/setjmp.texi (System V contexts): Add note that
51157         calling setcontext on a context created by a call to a
51158         signal handler is undefined.  Update text to note that
51159         setcontext from a signal handler is possible but not
51160         recommended.
51162         [BZ #16629]
51163         * stdlib/tst-setcontext.c: Include signal.h.
51164         (main): Check that the signal stack before and
51165         after swapcontext is the same.
51167         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51168         Re-implement to restore registers in user code and avoid
51169         rt_sigreturn system call.
51171 2014-04-17  Wilco  <wdijkstr@arm.com>
51173         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51174         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51175         * math/test-fenv.c: Skip exception trap tests on targets which only
51176         support non-stop mode.
51178 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51179             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51181         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51182         (libc_feholdsetround_aarch64_ctx)
51183         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51184         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51185         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51186         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51187         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51188         (libc_feresetround_noexl_ctx): Define.
51190 2014-04-16  Richard Henderson  <rth@redhat.com>
51192         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51194         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51195         unwind tables.
51197         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51198         const from the non-libc, non-ldso copy.
51200         * sysdeps/alpha/libm-test-ulps: Regenerate.
51202 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51203             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51205         * sysdeps/aarch64/fpu/math_private.h: New file.
51207 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51209         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51211 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51213         [BZ #16275]
51214         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51215         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51216         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51217         Intel MPX bound registers before _dl_profile_fixup.
51218         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51219         registers after _dl_profile_fixup.  Save and restore bound
51220         registers bnd0/bnd1 when calling _dl_call_pltexit.
51221         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51222         (LR_BND_OFFSET): Likewise.
51223         (LRV_BND0_OFFSET): Likewise.
51224         (LRV_BND1_OFFSET): Likewise.
51226 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51228         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51229         to...
51230         * sysdeps/mach/hurd/i386/tls.h: ... here.
51231         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51232         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51233         fields.
51235 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51237         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51239 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51241         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51243 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51245         [BZ #14770]
51246         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51247         * sysdeps/s390/configure: Regenerate.
51249         [BZ #16824]
51250         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51251         Set round-to-nearest internally to reduce error accumulation.
51253 2014-04-16  Alan Modra  <amodra@gmail.com>
51255         [BZ #16740]
51256         [BZ #16619]
51257         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51258         * math/libm-test.inc (frexp_test_data): Add tests.
51259         * NEWS: Update fixed bug list.
51261 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51263         * benchtests/Makefile: Depend on libraries in build directory.
51264         (bench-math): Separate out math tests.
51265         (bench-pthread): Separate out pthread tests.
51266         (bench): Include math and pthread tests.
51268 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51270         [BZ #16831]
51271         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51272         _dl_debug_initialize.
51274         * configure.ac: Remove SELinux header check.
51275         * configure: Regenerate.
51276         * nscd/selinux.c (perms): Array of const char* to permission names.
51277         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51278         default policy. Call string_to_security_class and string_to_av_perm to
51279         translate strings. Enforce default policy and call avs_has_perm with
51280         results of translated strings.
51282 2014-04-13  David S. Miller  <davem@davemloft.net>
51284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51286 2014-04-12  Allan McRae  <allan@archlinux.org>
51288         [BZ #16838]
51289         * manual/string.texi (Collation Functions): Fix qsort argument
51290         order in example.
51291         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51293 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51295         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51296         Make the test a no-op if there are no exceptions defined.
51298 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51300         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51301         enable-hardcoded-path-in-tests
51303 2014-04-11  Will Newton  <will.newton@linaro.org>
51305         * benchtests/Makefile (extra-objs): Add json-lib.o.
51306         (bench-func): Tidy up JSON output.
51307         * benchtests/bench-skeleton.c: Include json-lib.h.
51308         (main): Use JSON library functions to do output of
51309         benchmark results.
51310         * benchtests/bench-timing-type.c (main): Output the
51311         timing type simply, leaving formatting to the user.
51312         * benchtests/json-lib.c: New file.
51313         * benchtests/json-lib.h: Likewise.
51315 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51317         [BZ #15215]
51318         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51319         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51320         memory barriers.  Add comments.
51321         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51322         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51323         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51324         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51325         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51326         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
51328 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51330         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
51331         * sysdeps/s390/s390-64/configure.ac: ... this ...
51332         * sysdeps/s390/configure.ac: ... to here.
51333         * sysdeps/s390/s390-32/configure: Delete file.
51334         * sysdeps/s390/s390-64/configure: Delete file.
51335         * sysdeps/s390/configure: Regenerate.
51337 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
51339         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
51341 2014-04-11  Will Newton  <will.newton@linaro.org>
51343         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
51344         to zero if it is not defined elsewhere.  (mtrim): Test
51345         the value of MALLOC_DEBUG with #if rather than #ifdef.
51347 2014-04-10 Torvald Riegel  <triegel@redhat.com>
51349         * benchtests/pthread_once-inputs: New file.
51350         * benchtests/pthread_once-source.c: New file.
51351         * benchtests/README: Update documentation.
51353 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
51354             H.J. Lu  <hongjiu.lu@intel.com>
51356         [BZ #16275]
51357         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
51358         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
51359         * sysdeps/x86_64/configure: Regenerated.
51360         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
51361         macro.
51362         (REGISTER_SAVE_RAX): Likewise.
51363         (REGISTER_SAVE_RCX): Likewise.
51364         (REGISTER_SAVE_RDX): Likewise.
51365         (REGISTER_SAVE_RSI): Likewise.
51366         (REGISTER_SAVE_RDI): Likewise.
51367         (REGISTER_SAVE_R8): Likewise.
51368         (REGISTER_SAVE_R9): Likewise.
51369         (REGISTER_SAVE_BND0): Likewise.
51370         (REGISTER_SAVE_BND1): Likewise.
51371         (REGISTER_SAVE_BND2): Likewise.
51372         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
51373         bound registers when calling _dl_fixup.
51375 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51377         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
51378         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
51379         of its definition.
51380         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
51381         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
51382         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
51383         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
51384         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
51385         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
51386         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
51388 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
51390         [BZ #15514]
51391         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
51392         pathconf(_PC_NAME_MAX).
51394 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51396         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
51397         Remove macro usage.
51398         (__PTHREAD_SPINS): Move definition to ...
51399         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51400         (__PTHREAD_SPINS): ... here.
51401         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51402         (__PTHREAD_SPIN): Likewise.
51403         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
51404         (__PTHREAD_SPIN): Likewise.
51405         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
51406         (__PTHREAD_SPIN): Likewise.
51407         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
51408         (__PTHREAD_SPIN): Likewise.
51409         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51410         (__PTHREAD_SPIN): Likewise.
51411         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
51412         (__PTHREAD_SPIN): Likewise.
51413         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
51414         (__PTHREAD_SPIN): Likewise.
51415         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
51416         (__PTHREAD_SPIN): Likewise.
51417         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
51418         (__PTHREAD_SPIN): Likewise.
51419         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
51420         (__PTHREAD_SPIN): Likewise.
51421         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
51422         (__PTHREAD_SPIN): Likewise.
51423         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
51424         (__PTHREAD_SPIN): Likewise.
51426         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
51427         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
51428         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
51429         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
51430         imply folder.
51431         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
51432         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
51433         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
51434         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
51435         correct imply path.
51436         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
51437         strlen symbol for non multi-arch builds.
51438         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
51439         missing hidden_def and weak_alias.
51441 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
51443         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
51445 2014-04-07  Will Newton  <will.newton@linaro.org>
51447         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
51448         and contents.  [!_LIBC] Remove #ifndef and contents.
51449         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
51450         * string/memccpy.c (__memccpy): Use ANSI prototype.
51451         * string/memfrob.c (memfrob): Likewise.
51452         * string/strcoll.c (STRCOLL): Likewise.
51453         * string/strlen.c (strlen): Likewise.
51454         * string/strtok.c (STRTOK): Likewise.
51455         * string/strcat.c: Remove unused #include of memcopy.h.
51456         (strcat): Use ANSI prototype.
51457         * string/strchr.c: Remove unused #include of memcopy.h.
51458         (strchr): Use ANSI prototype.
51459         * string/strcmp.c: Remove unused #include of memcopy.h.
51460         (strcmp): Use ANSI prototype.
51461         * string/strcpy.c: Remove unused #include of memcopy.h.
51462         (strcpy): Use ANSI prototype.
51464 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51466         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
51467         * config.make.in (config-extra-cppflags): Set it from
51468         libc_extra_cppflags.
51469         * configure.ac (libc_extra_cflags): Make it accumulate over
51470         configure fragments.
51471         (libc_extra_cppflags): New flag.
51472         * configure. Regenerate.
51473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51474         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
51475         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
51476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
51478         [BZ #16815]
51479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
51480         result for FE_DOWNWARD rounding mode.
51481         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
51482         Likewise.
51483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51485 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
51487         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
51488         in function argument name.
51490 2014-04-03  David Svoboda  <svoboda@cert.org>
51492         [BZ #5666]
51493         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
51494         explicitly.
51496 2014-04-03  Roland McGrath  <roland@hack.frob.com>
51498         * elf/dl-unmap-segments.h: New file.
51499         * sysdeps/generic/ldsodefs.h
51500         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
51501         * elf/dl-close.c: Include <dl-unmap-segments.h>.
51502         * elf/dl-fptr.c: Likewise.
51503         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
51504         * sysdeps/aarch64/tlsdesc.c: Likewise.
51505         * sysdeps/arm/tlsdesc.c: Likewise.
51506         * sysdeps/i386/tlsdesc.c: Likewise.
51507         * sysdeps/tile/dl-runtime.c: Likewise.
51508         * sysdeps/x86_64/tlsdesc.c: Likewise.
51509         * elf/dl-load.h: New file.
51510         * elf/dl-load.c: Include it.
51511         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
51512         Macros moved to dl-load.h.
51513         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
51514         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
51515         Use _dl_unmap_segments in place of __munmap.
51516         Break out segment-mapping loop into ...
51517         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
51519 2014-04-03  Will Newton  <will.newton@linaro.org>
51521         * elf/dl-lookup.c (do_lookup_x): Remove comment
51522         referring to nested function and move variable
51523         declarations down to before first use.
51525 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
51527         [BZ #16799]
51528         [BZ #16800]
51529         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
51530         with 0 numerator.
51531         * math/s_catanf.c (__catanf): Likewise.
51532         * math/s_catanh.c (__catanh): Likewise.
51533         * math/s_catanhf.c (__catanhf): Likewise.
51534         * math/s_catanhl.c (__catanhl): Likewise.
51535         * math/s_catanl.c (__catanl): Likewise.
51536         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
51537         by positive zero when computing -Inf result.
51538         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
51539         (catanh_test): Likewise.
51540         * sysdeps/i386/fpu/libm-test-ulps: Update.
51541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51543         [BZ #16789]
51544         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
51545         instead of using underflowing value in computing result.
51546         * math/s_clog10.c (__clog10): Likewise.
51547         * math/s_clog10f.c (__clog10f): Likewise.
51548         * math/s_clog10l.c (__clog10l): Likewise.
51549         * math/s_clogf.c (__clogf): Likewise.
51550         * math/s_clogl.c (__clogl): Likewise.
51551         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
51552         (clog10_test): Likewise.
51553         * sysdeps/i386/fpu/libm-test-ulps: Update.
51554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51556 2014-04-02  Alan Modra  <amodra@gmail.com>
51558         [BZ #16739]
51559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
51560         output when value is near a power of two.  Use int64_t for lx and
51561         remove casts.  Use decimal rather than hex exponent constants.
51562         Don't use long double multiplication when double will suffice.
51563         * math/libm-test.inc (nextafter_test_data): Add tests.
51564         * NEWS: Add 16739 and 16786 to bug list.
51566         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
51568         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
51570 2014-04-01  Will Newton  <will.newton@linaro.org>
51572         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
51573         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
51575 2014-04-01  Florian Weimer  <fweimer@redhat.com>
51577         [BZ #13347]
51578         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
51579         * nptl/tst-setuid2.c: New file.
51580         * nptl/Makefile (xtests): Add tst-setuid2.
51582 2014-04-01  Alan Modra  <amodra@gmail.com>
51584         [BZ #16786]
51585         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
51587 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51589         [BZ #6803]
51590         [BZ #6804]
51591         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
51592         set errno as appropriate.
51593         * math/w_scalbf.c (__scalbf): Likewise.
51594         * math/w_scalbl.c (__scalbl): Likewise.
51595         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
51596         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
51597         * math/libm-test.inc (scalb_test_data): Add errno expectations.
51598         Add more NaN tests.
51600         [BZ #16349]
51601         * math/w_atan2.c: Include <errno.h>.
51602         (__atan2): Set errno for result underflowing to zero.
51603         * math/w_atan2f.c: Include <errno.h>.
51604         (__atan2f): Set errno for result underflowing to zero.
51605         * math/w_atan2l.c: Include <errno.h>.
51606         (__atan2l): Set errno for result underflowing to zero.
51607         * math/auto-libm-test-in: Don't allow missing errno for some atan2
51608         tests.
51609         * math/auto-libm-test-out: Regenerated.
51611 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51613         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
51614         Encode instruction correctly in little endian.
51615         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
51616         Likewise.
51617         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
51618         Likewise.
51619         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
51620         Likewise.
51621         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
51622         Likewise.
51624 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
51626         [BZ #9894]
51627         * sysdeps/unix/sysv/linux/kernel-features.h
51628         [__sparc__ && !__arch64__ && !__sparc_v9__]
51629         (__ASSUME_SET_ROBUST_LIST): Do not define.
51630         [__sparc__ && !__arch64__ && !__sparc_v9__]
51631         (__ASSUME_FUTEX_LOCK_PI): Likewise.
51632         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
51633         Likewise.
51634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51635         (__ASSUME_FUTEX_LOCK_PI): Undefine.
51636         (__ASSUME_REQUEUE_PI): Likewise.
51637         (__ASSUME_SET_ROBUST_LIST): Likewise.
51638         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51639         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
51640         Undefine.
51641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51642         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
51643         Likewise.
51644         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
51645         Likewise.
51646         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
51647         Likewise.
51648         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51649         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
51650         Undefine.
51651         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
51652         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
51653         Likewise.
51655         [BZ #16648]
51656         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
51658         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
51660 2014-03-31  Will Newton  <will.newton@linaro.org>
51662         * benchtests/Makefile (bench): Add ffs and ffsll to list
51663         of tests.
51664         * benchtests/ffs-inputs: New file.
51665         * benchtests/ffsll-inputs: Likewise.
51667 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
51669         [BZ #16770]
51670         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
51671         too large before casting to int.
51672         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
51673         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
51674         * math/libm-test.inc (scalb_test_data): Add more tests.
51676 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51678         * benchtests/Makefile (DETAILED_OPT): New make option.
51679         (bench-func): Run benchmark program with -d if DETAILED_OPT is
51680         set.
51681         * benchtests/bench-skeleton.c: Include stdbool.h.
51682         (main): Store and print timings per input.
51683         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
51684         member to each argument value.
51685         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
51686         (_print_arg_data): Initialize per-input timing to 0.
51688         * benchtests/Makefile (timing-type): New binary.
51689         (bench-clean): Also remove bench-timing-type.
51690         (bench): New target for timing-type.
51691         (bench-func): Print output in JSON format.
51692         * benchtests/bench-skeleton.c (main): Print output in JSON
51693         format.
51694         * benchtests/bench-timing-type.c: New file.
51695         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
51696         (TIMING_PRINT_STATS): Remove.
51697         * benchtests/scripts/bench.py (_print_arg_data): Store variant
51698         name separately.
51700         * benchtests/bench-modf.c: Remove.
51701         * benchtests/modf-inputs: New inputs file.
51703 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
51705         [BZ #16362]
51706         * math/s_clog10.c (M_PI_LOG10E): New macro.
51707         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
51708         imaginary parts are 0.
51709         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
51710         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
51711         imaginary parts are 0.
51712         * math/s_clog10l.c (M_PI_LOG10El): New macro.
51713         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
51714         imaginary parts are 0.
51715         * math/libm-test.inc (clog10_test_data): Update expected results
51716         for when real and imaginary parts are 0.
51718 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
51720         * elf/dl-load.c: Finish conversion of __builtin_expect into
51721         __glibc_{un}likely.
51723 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
51725         [BZ #16348]
51726         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
51727         1+x for argument with exponent below -67.
51728         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
51729         Likewise.
51730         * math/auto-libm-test-in: Add more tests of exp.
51731         * math/auto-libm-test-out: Regenerated.
51733 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51735         [BZ #16759]
51736         * inet/getnetgrent_r.c (get_nonempty_val): New function.
51737         (nscd_getnetgrent): Use it.
51739         [BZ #16760]
51740         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
51741         of stpcpy.
51743 2014-03-27  Andi Kleen  <ak@linux.intel.com>
51745         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
51746         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51747         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51748         (lll_robust_unlock): Remove out of line section. Use cfi
51749         intrinsics.
51750         (LLL_STUB_UNWIND_INFO*): Remove.
51751         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
51752         (lll_robust_lock, lll_cond_lock, lll_timedlock)
51753         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
51754         (lll_robust_unlock): Remove out of line section. Use cfi
51755         intrinsics.
51756         (LLL_STUB_UNWIND_INFO*): Remove.
51758 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51760         [BZ #16758]
51761         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
51762         blank values.
51764 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
51766         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
51768 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
51770         [BZ #16198]
51771         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
51772         fnstenv.
51773         * math/test-fenv-preserve.c: New file.
51774         * math/Makefile (tests): Add test-fenv-preserve.
51776 2014-03-26  Will Newton <will.newton@linaro.org>
51778         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
51780 2014-03-25  Roland McGrath  <roland@hack.frob.com>
51782         * scripts/versionlist.awk: Partition the version sets and emit all
51783         GLIBC_* (sorted) before all others (sorted).
51785 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51787         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
51788         GLIBC_2.2.5 version.
51790 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51792         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
51793         calls.
51795         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51796         previous change.
51798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51800 2014-03-25  Andreas Schwab  <schwab@suse.de>
51802         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51803         label to be used after in6ailist is initialized.
51805 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51807         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51808         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51810 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51812         [BZ #16357]
51813         [BZ #16599]
51814         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51815         min_plus_half.
51816         (fp_formats): Update initializers.
51817         (init_fp_formats): Initialize new field.
51818         (output_for_one_input_case): Allow underflow for results up to
51819         min_plus_half.
51820         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51821         * math/auto-libm-test-in: Don't mark some underflows from asin and
51822         atanh as spurious.
51823         * math/auto-libm-test-out: Regenerated.
51824         * sysdeps/i386/fpu/libm-test-ulps: Update.
51825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51827 2014-03-25  Andreas Schwab  <schwab@suse.de>
51829         * libio/Makefile (tst-ftell-partial-wide-ENV)
51830         (tst-ftell-active-handler-ENV): Define.
51832 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51834         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51836 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51838         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51840 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51842         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51843         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51844         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51846 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51848         [BZ #16634]
51849         * elf/dl-load.c (open_verify): Add mode parameter.
51850         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51851         (open_path): Change from boolean 'secure' to complete flag 'mode'
51852         (_dl_map_object): Adjust.
51853         * elf/Makefile (tests): Add tst-dlopen-aout.
51854         * elf/tst-dlopen-aout.c: New test.
51856 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51858         [BZ #16714]
51859         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51860         (struct stat): Rename member pad0 to __glibc_reserved0.
51862         [BZ #16712]
51863         * sysdeps/s390/s390-32/bits/wordsize.h
51864         (__WORDSIZE32_SIZE_ULONG): New define.
51865         * sysdeps/s390/s390-64/bits/wordsize.h
51866         (__WORDSIZE32_SIZE_ULONG): Likewise.
51867         * sysdeps/generic/stdint.h (SIZE_MAX):
51868         Define as UL if __WORDSIZE32_SIZE_ULONG.
51870         [BZ #16713]
51871         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51872         (__glibc_reserved0): New variable.
51873         (sa_flags): Change type to int.
51875         * posix/Makefile (before-compile): Use += before-compile instead
51876         of a :=.
51878         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51879         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51881 2014-03-20  Andreas Schwab  <schwab@suse.de>
51883         [BZ #16743]
51884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51885         non-matching result from nscd.
51887 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51889         * scripts/bench.py: Moved to ...
51890         * benchtests/scripts/bench.py: ... here.
51891         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51893 2014-03-24  Andreas Schwab  <schwab@suse.de>
51895         [BZ #16002]
51896         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51897         alloca_account and account alloca use for struct in6ailist.
51899 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51901         [BZ #16284]
51902         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51903         rounding mode to recompute results that overflow to infinity or
51904         underflow to zero.
51905         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51906         bug 16284.
51907         * math/auto-libm-test-out: Regenerated.
51908         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51909         (ccosh_test): Likewise.
51910         (csin_test_data): Use plus_oflow.
51911         (csin_test): Use ALL_RM_TEST.
51912         (csinh_test_data): Use plus_oflow.
51913         (csinh_test): Use ALL_RM_TEST.
51914         * sysdeps/i386/fpu/libm-test-ulps: Update.
51915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51917 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51919         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51920         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51921         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51923         [BZ #16731]
51924         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51925         when x - 1 is zero.
51926         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51927         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51928         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51929         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51930         argument is 1.
51931         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51932         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51933         zero.
51934         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51935         * sysdeps/i386/fpu/libm-test-ulps: Update.
51936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51938 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51940         * scripts/bench.pl: Remove file.
51941         * scripts/bench.py: New benchmark script.
51942         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51943         * benchtests/README: Mention python dependency.
51944         * scripts/pylintrc: New file.
51945         * scripts/pylint: New file.
51947         * bits/mathdef.h: Use #ifdef instead of #if.
51948         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51949         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51950         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51951         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51952         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51953         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51955 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51956             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51958         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51960         and strpbrk-ppc64 objects.
51961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51962         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51963         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51964         multiarch strpbrk for POWER7.
51965         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51966         multiarch strpbrk for PPC64.
51967         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51968         ifunc selector.
51969         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51970         strpbrk for POWER7.
51972 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51974         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51975         (atan_test): Likewise.
51976         (atanh_test_data): Use NO_TEST_INLINE for two tests.
51977         (atanh_test): Use ALL_RM_TEST.
51978         (atan2_test_data): Likewise.
51979         (cabs_test): Likewise.
51980         (cacosh_test): Likewise.
51981         (carg_test): Likewise.
51982         (casin_test): Likewise.
51983         (casinh_test): Likewise.
51984         (cbrt_test): Likewise.
51985         (csqrt_test): Likewise.
51986         (erf_test): Likewise.
51987         (erfc_test): Likewise.
51988         (pow10_test): Likewise.
51989         (exp2_test): Likewise.
51990         (hypot_test): Likewise.
51991         (j0_test): Likewise.
51992         (j1_test): Likewise.
51993         (lgamma_test): Likewise.
51994         (gamma_test): Likewise.
51995         (sincos_test): Likewise.
51996         (tanh_test): Likewise.
51997         (y0_test): Likewise.
51998         (y1_test): Likewise.
51999         * sysdeps/i386/fpu/libm-test-ulps: Update.
52000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52002 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52004         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52006         and strcspn-ppc64 objects.
52007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52008         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52009         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52010         multiarch strcspn for POWER7.
52011         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52012         multiarch strcspn for PPC64.
52013         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52014         ifunc selector.
52015         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52016         strcspn for POWER7.
52018 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52020         * math/gen-libm-test.pl (generate_testfile): Expect only function
52021         name as argument to AUTO_TESTS_* and pass results for all rounding
52022         modes to parse_args.
52023         (parse_auto_input): Separate inputs of automatic tests from
52024         outputs before storing in %auto_tests.
52025         * math/libm-test.inc (acos_test_data): Update call to
52026         AUTO_TESTS_f_f.
52027         (acos_test): Use ALL_RM_TEST.
52028         (acos_tonearest_test_data): Remove.
52029         (acos_test_tonearest): Likewise.
52030         (acos_towardzero_test_data): Likewise.
52031         (acos_test_towardzero): Likewise.
52032         (acos_downward_test_data): Likewise.
52033         (acos_test_downward): Likewise.
52034         (acos_upward_test_data): Likewise.
52035         (acos_test_upward): Likewise.
52036         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52037         (asin_test_data): Likewise.
52038         (asin_test): Use ALL_RM_TEST.
52039         (asin_tonearest_test_data): Remove.
52040         (asin_test_tonearest): Likewise.
52041         (asin_towardzero_test_data): Likewise.
52042         (asin_test_towardzero): Likewise.
52043         (asin_downward_test_data): Likewise.
52044         (asin_test_downward): Likewise.
52045         (asin_upward_test_data): Likewise.
52046         (asin_test_upward): Likewise.
52047         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52048         (atan_test_data): Likewise.
52049         (atanh_test_data): Likewise.
52050         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52051         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52052         (carg_test_data): Likewise.
52053         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52054         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52055         (ccosh_test_data): Likewise.
52056         (cexp_test_data): Likewise.
52057         (clog_test_data): Likewise.
52058         (clog10_test_data): Likewise.
52059         (cos_test_data): Update call to AUTO_TESTS_f_f.
52060         (cos_test): Use ALL_RM_TEST.
52061         (cos_tonearest_test_data): Remove.
52062         (cos_test_tonearest): Likewise.
52063         (cos_towardzero_test_data): Likewise.
52064         (cos_test_towardzero): Likewise.
52065         (cos_downward_test_data): Likewise.
52066         (cos_test_downward): Likewise.
52067         (cos_upward_test_data): Likewise.
52068         (cos_test_upward): Likewise.
52069         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52070         (cosh_test): Use ALL_RM_TEST.
52071         (cosh_tonearest_test_data): Remove.
52072         (cosh_test_tonearest): Likewise.
52073         (cosh_towardzero_test_data): Likewise.
52074         (cosh_test_towardzero): Likewise.
52075         (cosh_downward_test_data): Likewise.
52076         (cosh_test_downward): Likewise.
52077         (cosh_upward_test_data): Likewise.
52078         (cosh_test_upward): Likewise.
52079         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52080         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52081         (ctan_test_data): Likewise.
52082         (ctan_test): Use ALL_RM_TEST.
52083         (ctan_tonearest_test_data): Remove.
52084         (ctan_test_tonearest): Likewise.
52085         (ctan_towardzero_test_data): Likewise.
52086         (ctan_test_towardzero): Likewise.
52087         (ctan_downward_test_data): Likewise.
52088         (ctan_test_downward): Likewise.
52089         (ctan_upward_test_data): Likewise.
52090         (ctan_test_upward): Likewise.
52091         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52092         (ctanh_test): Use ALL_RM_TEST.
52093         (ctanh_tonearest_test_data): Remove.
52094         (ctanh_test_tonearest): Likewise.
52095         (ctanh_towardzero_test_data): Likewise.
52096         (ctanh_test_towardzero): Likewise.
52097         (ctanh_downward_test_data): Likewise.
52098         (ctanh_test_downward): Likewise.
52099         (ctanh_upward_test_data): Likewise.
52100         (ctanh_test_upward): Likewise.
52101         (erf_test_data): Update call to AUTO_TESTS_f_f.
52102         (erfc_test_data): Likewise.
52103         (exp_test_data): Likewise.
52104         (exp_test): Use ALL_RM_TEST.
52105         (exp_tonearest_test_data): Remove.
52106         (exp_test_tonearest): Likewise.
52107         (exp_towardzero_test_data): Likewise.
52108         (exp_test_towardzero): Likewise.
52109         (exp_downward_test_data): Likewise.
52110         (exp_test_downward): Likewise.
52111         (exp_upward_test_data): Likewise.
52112         (exp_test_upward): Likewise.
52113         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52114         (exp10_test): Use ALL_RM_TEST.
52115         (exp10_tonearest_test_data): Remove.
52116         (exp10_test_tonearest): Likewise.
52117         (exp10_towardzero_test_data): Likewise.
52118         (exp10_test_towardzero): Likewise.
52119         (exp10_downward_test_data): Likewise.
52120         (exp10_test_downward): Likewise.
52121         (exp10_upward_test_data): Likewise.
52122         (exp10_test_upward): Likewise.
52123         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52124         (expm1_test_data): Likewise.
52125         (expm1_test): Use ALL_RM_TEST.
52126         (expm1_tonearest_test_data): Remove.
52127         (expm1_test_tonearest): Likewise.
52128         (expm1_towardzero_test_data): Likewise.
52129         (expm1_test_towardzero): Likewise.
52130         (expm1_downward_test_data): Likewise.
52131         (expm1_test_downward): Likewise.
52132         (expm1_upward_test_data): Likewise.
52133         (expm1_test_upward): Likewise.
52134         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52135         (fma_test): Use ALL_RM_TEST.
52136         (fma_towardzero_test_data): Remove.
52137         (fma_test_towardzero): Likewise.
52138         (fma_downward_test_data): Likewise.
52139         (fma_test_downward): Likewise.
52140         (fma_upward_test_data): Likewise.
52141         (fma_test_upward): Likewise.
52142         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52143         (j0_test_data): Update call to AUTO_TESTS_f_f.
52144         (j1_test_data): Likewise.
52145         (jn_test_data): Update call to AUTO_TESTS_if_f.
52146         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52147         (log_test_data): Update call to AUTO_TESTS_f_f.
52148         (log10_test_data): Likewise.
52149         (log1p_test_data): Likewise.
52150         (log2_test_data): Likewise.
52151         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52152         (pow_tonearest_test_data): Likewise.
52153         (sin_test_data): Update call to AUTO_TESTS_f_f.
52154         (sin_test): Use ALL_RM_TEST.
52155         (sin_tonearest_test_data): Remove.
52156         (sin_test_tonearest): Likewise.
52157         (sin_towardzero_test_data): Likewise.
52158         (sin_test_towardzero): Likewise.
52159         (sin_downward_test_data): Likewise.
52160         (sin_test_downward): Likewise.
52161         (sin_upward_test_data): Likewise.
52162         (sin_test_upward): Likewise.
52163         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52164         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52165         (sinh_test): Use ALL_RM_TEST.
52166         (sinh_tonearest_test_data): Remove.
52167         (sinh_test_tonearest): Likewise.
52168         (sinh_towardzero_test_data): Likewise.
52169         (sinh_test_towardzero): Likewise.
52170         (sinh_downward_test_data): Likewise.
52171         (sinh_test_downward): Likewise.
52172         (sinh_upward_test_data): Likewise.
52173         (sinh_test_upward): Likewise.
52174         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52175         (sqrt_test): Use ALL_RM_TEST.
52176         (sqrt_tonearest_test_data): Remove.
52177         (sqrt_test_tonearest): Likewise.
52178         (sqrt_towardzero_test_data): Likewise.
52179         (sqrt_test_towardzero): Likewise.
52180         (sqrt_downward_test_data): Likewise.
52181         (sqrt_test_downward): Likewise.
52182         (sqrt_upward_test_data): Likewise.
52183         (sqrt_test_upward): Likewise.
52184         (tan_test_data): Update call to AUTO_TESTS_f_f.
52185         (tan_test): Use ALL_RM_TEST.
52186         (tan_tonearest_test_data): Remove.
52187         (tan_test_tonearest): Likewise.
52188         (tan_towardzero_test_data): Likewise.
52189         (tan_test_towardzero): Likewise.
52190         (tan_downward_test_data): Likewise.
52191         (tan_test_downward): Likewise.
52192         (tan_upward_test_data): Likewise.
52193         (tan_test_upward): Likewise.
52194         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52195         (tgamma_test_data): Likewise.
52196         (y0_test_data): Likewise.
52197         (y1_test_data): Likewise.
52198         (yn_test_data): Update call to AUTO_TESTS_if_f.
52199         (main): Do not call removed functions.
52201 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52203         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52204         (ldexp_test_data): Remove.
52205         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52206         scalbn_test_data.
52207         (scalb_test): Use ALL_RM_TEST.
52209 2014-03-19  Andreas Schwab  <schwab@suse.de>
52211         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52213 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52215         [BZ #16649]
52216         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52217         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52218         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52220         (__ASSUME_PREADV): Undefine.
52221         (__ASSUME_PWRITEV): Likewise.
52223 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52225         * bits/mman-linux.h: Add comment about non-Linux use.
52226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52227         bits/mman-linux.h resting place.
52229         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52230         * bits/mman-linux.h: ... here.
52232 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52234         * conform/conformtest.pl: Add standard definition when calling C
52235         preprocessor on data files.
52236         (checknamespace): Remove unused variable.
52238 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52240         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52241         minus_oflow, plus_uflow and minus_uflow in expected results.
52242         * math/libm-test.inc (scalbn_test_data): Add more tests of
52243         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52244         minus_uflow.
52245         (scalbn_test): Use ALL_RM_TEST.
52246         (scalbln_test_data): Add more tests of negative arguments.  Use
52247         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52248         (scalbln_test): Use ALL_RM_TEST.
52250 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52252         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52254 2014-03-18  Will Newton  <will.newton@linaro.org>
52256         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52257         inaccurate comment.
52259 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52261         * Makerules [!subdir] (check-abi): Exit with error status if a
52262         test failed.
52264 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52266         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52267         for rint.  Include results for all rounding modes.
52268         (nearbyint_test): Use ALL_RM_TEST.
52269         (rint_test_data): Include all tests used for nearbyint.
52271 2014-03-17  Will Newton  <will.newton@linaro.org>
52273         * nptl/sysdeps/pthread/pthread.h: Revert previous
52274         change.
52276         * sysdeps/generic/ldsodefs.h: Revert previous
52277         change.
52279         * libio/genops.c: Revert previous change.
52280         * libio/libioP.h: Likewise.
52281         * stdio-common/vfprintf.c: Likewise.
52283         * sysdeps/generic/math_private.h: Revert previous
52284         change.
52286         * sysdeps/generic/math_private.h: Check whether
52287         HAVE_RM_CTX is defined with #ifdef rather
52288         than #if.
52290         * argp/argp-fmtstream.h: Check whether
52291         __STRICT_ANSI__ is defined with #ifdef rather
52292         than #if.
52293         * argp/argp.h: Likewise.
52295         * libio/genops.c: Check whether
52296         _IO_JUMPS_OFFSET is defined with #ifdef rather
52297         than #if.
52298         * libio/libioP.h: Likewise.
52299         * stdio-common/vfprintf.c: Likewise.
52301         * sysdeps/generic/ldsodefs.h: Check whether
52302         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52303         than #if.
52305         * nptl/sysdeps/pthread/pthread.h: Check
52306         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52307         its value.
52309 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52311         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52312         setting O_APPEND.
52313         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52314         test case.
52316         [BZ #16680]
52317         * libio/fileops.c (_IO_file_open): Seek to end of file but
52318         don't cache the offset.
52319         (get_file_offset): Remove function.
52320         (do_ftell): Use cached offset when available.
52321         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52322         don't cache the offset.
52323         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52324         case.
52325         (do_one_test): Call it.
52326         (do_ftell_test): Fix up expected old offset for a+ mode.
52327         * libio/wfileops.c (do_ftell_wide): Used cached offset when
52328         available.
52330         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
52331         up test status with function return status.
52332         (do_write_test): Likewise.
52333         (do_append_test): Likewise.
52335         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
52336         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
52337         Remove.
52339 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52341         * math/gen-libm-test.pl (parse_args): Handle results specified for
52342         each rounding mode separately.
52343         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
52344         tests and results from lrint_tonearest_test_data,
52345         lrint_towardzero_test_data, lrint_downward_test_data and
52346         lrint_upward_test_data.
52347         (lrint_test): Use ALL_RM_TEST.
52348         (lrint_tonearest_test_data): Remove.
52349         (lrint_test_tonearest): Likewise.
52350         (lrint_towardzero_test_data): Likewise.
52351         (lrint_test_towardzero): Likewise.
52352         (lrint_downward_test_data): Likewise.
52353         (lrint_test_downward): Likewise.
52354         (lrint_upward_test_data): Likewise.
52355         (lrint_test_upward): Likewise.
52356         (llrint_test_data): Merge in per-rounding-mode tests and results
52357         from llrint_tonearest_test_data, llrint_towardzero_test_data,
52358         llrint_downward_test_data and llrint_upward_test_data.
52359         (llrint_test): Use ALL_RM_TEST.
52360         (llrint_tonearest_test_data): Remove.
52361         (llrint_test_tonearest): Likewise.
52362         (llrint_towardzero_test_data): Likewise.
52363         (llrint_test_towardzero): Likewise.
52364         (llrint_downward_test_data): Likewise.
52365         (llrint_test_downward): Likewise.
52366         (llrint_upward_test_data): Likewise.
52367         (llrint_test_upward): Likewise.
52368         (rint_test_data): Merge in per-rounding-mode tests and results
52369         from rint_tonearest_test_data, rint_towardzero_test_data,
52370         rint_downward_test_data and rint_upward_test_data.  Add
52371         per-rounding-mode results for tests not in those arrays.
52372         (rint_test): Use ALL_RM_TEST.
52373         (rint_tonearest_test_data): Remove.
52374         (rint_test_tonearest): Likewise.
52375         (rint_towardzero_test_data): Likewise.
52376         (rint_test_towardzero): Likewise.
52377         (rint_downward_test_data): Likewise.
52378         (rint_test_downward): Likewise.
52379         (rint_upward_test_data): Likewise.
52380         (rint_test_upward): Likewise.
52381         (main): Don't call removed functions.
52383 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52385         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
52386         "Compiled on ..." crapola.  It is anti-useful.
52388 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
52390         * scripts/evaluate-test.sh: Handle fourth argument to determine
52391         whether test run should stop on failure.
52392         * Makeconfig (stop-on-test-failure): New variable.
52393         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
52394         $(stop-on-test-failure).
52395         * Makefile (tests): Give a summary of results from testing and
52396         exit with failure status if they include an ERROR or FAIL.
52397         (xtests): Likewise.
52398         * manual/install.texi (Configuring and compiling): Mention
52399         stop-on-test-failure=y.
52400         * INSTALL: Regenerated.
52402 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52404         * scripts/versionlist.awk: New file.
52405         * Makerules [$(build-shared) = yes]
52406         (postclean-generated): Add Versions.def, not Versions.def.v and
52407         Versions.def.v.i.
52408         ($(common-objpfx)Versions.def.v.i): Target removed.
52409         ($(common-objpfx)Versions.def): New target.
52410         ($(common-objpfx)Versions.all): Depend on that rather that
52411         $(common-objpfx)Versions.def.v.
52412         * Versions.def: File removed.
52414         * Makeconfig (+gccwarn): Add -Wundef.
52415         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
52416         a dl-sysdep.h breaking its contract.
52417         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
52418         * include/stackinfo.h: New file.
52419         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
52420         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
52421         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
52422         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
52423         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
52424         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
52425         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52426         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52427         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52428         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52429         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52430         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
52431         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52432         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52433         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
52435 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52437         [BZ #16707]
52438         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
52439         implementation.
52440         * math/libm-test.inc (round_test_data): Add more tests.
52442         [BZ #16706]
52443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
52444         implementation.
52445         * math/libm-test.inc (nearbyint_test_data): Add more tests.
52447         [BZ #16701]
52448         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52449         implementation.
52450         * math/libm-test.inc (ceil_test_data): Add more tests.
52452         * math/libm-test.inc (trunc_test_data): Add more tests related to
52453         BZ#16414.
52455 2014-03-14  Roland McGrath  <roland@hack.frob.com>
52457         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
52458         with #if rather than #ifdef.
52459         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
52461 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
52463         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
52464         first.  Disable AVX-512 GCC support if assembler doesn't support
52465         it.
52466         * sysdeps/x86_64/configure: Regenerated.
52468 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
52470         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
52471         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
52472         (__old_pthread_attr_setstack): Likewise.
52473         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
52474         [!_STACK_GROWS_DOWN]: Likewise.
52476 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
52478         * config.make.in (have-bash2): Delete.
52479         * configure.ac (libc_cv_have_bash2): Delete.
52480         * configure: Regenerate.
52481         * elf/Makefile (common-ldd-rewrite): Rename to ...
52482         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
52483         (sh-ldd-rewrite): Delete.
52484         (bash-ldd-rewrite): Delete.
52485         (have-bash2): Delete checks.
52486         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
52487         ldd-rewrite.
52489         * config.make.in (have-ksh): Delete.
52490         (KSH): Delete.
52491         * configure.ac (libc_cv_have_ksh): Delete.
52492         * configure: Regenerate.
52494         * elf/Makefile: Delete $(have-ksh) check.
52495         ($(objpfx)sotruss): Change KSH to BASH.
52496         * elf/sotruss.ksh: Rename to ...
52497         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
52498         function style to match POSIX.  Drop ksh vim mode setting.
52500         * manual/time.texi (Specifying the Time Zone with TZ): Change
52501         Tuesday to Thursday.
52503         * debug/tst-longjmp_chk2.c: Update header comment.
52504         (stackoverflow_handler): Add comment.  Call assert on pass value.
52506 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
52508         [BZ #16194]
52509         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
52510         (HAVE_AVX512_ASM_SUPPORT): Likewise.
52511         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
52512         (La_x86_64_vector): Add zmm.
52513         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
52514         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
52515         ($(objpfx)tst-audit10): New target.
52516         ($(objpfx)tst-audit10.out): Likewise.
52517         (tst-audit10-ENV): New.
52518         (AVX512-CFLAGS): Likewise.
52519         (CFLAGS-tst-audit10.c): Likewise.
52520         (CFLAGS-tst-auditmod10a.c): Likewise.
52521         (CFLAGS-tst-auditmod10b.c): Likewise.
52522         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
52523         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
52524         * sysdeps/x86_64/configure: Regenerated.
52525         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
52526         AVX-512 zmm register support.
52527         (_dl_x86_64_save_sse): Likewise.
52528         (_dl_x86_64_restore_sse): Likewise.
52529         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
52530         size vector registers.
52531         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
52532         (ZMM_SIZE): Likewise.
52533         * sysdeps/x86_64/tst-audit10.c: New file.
52534         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
52535         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
52537 2014-03-13  Roland McGrath  <roland@hack.frob.com>
52539         * configure.ac (HAVE_EHDR_START): New check.
52540         * configure: Regenerated.
52541         * config.h.in (HAVE_EHDR_START): New #undef.
52542         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
52543         assuming the lowest-addressed segment maps the start of the file.
52545 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
52547         * INSTALL: Regenerated.
52549 2014-03-13  Will Newton  <will.newton@linaro.org>
52551         * manual/setjmp.texi (System V contexts): Improve
52552         clarity and grammar of documentation.
52554 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
52556         [BZ #16381]
52557         * elf/Makefile (tests): Add tst-pie2.
52558         (tests-pie): Add tst-pie2.
52559         * elf/tst-pie2.c: New file.
52560         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
52561         for ET_EXEC.
52562         * elf/rtld.c (map_doit): Load executable as lt_executable.
52563         (dl_main): Likewise.
52565 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
52567         [BZ #16642]
52568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52569         (__ASSUME_PSELECT): Undefine.
52571 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52573         [BZ #16689]
52574         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
52575         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
52576         static build.
52577         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
52578         selector for static builds.
52580 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52582         [BZ #16695]
52583         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
52584         key in the buffer.
52586 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52588         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
52589         IFUNC selector for static builds.
52591 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
52593         * sysdeps/mips/math_private.h [__mips_hard_float]
52594         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
52595         libc_feresetround_mips_ctx.
52596         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
52597         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
52598         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
52600         [BZ #16677]
52601         * math/s_nextafter.c (__nextafter): Do not return value from
52602         overflowing computation.
52603         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
52604         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
52605         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
52606         Likewise.
52607         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
52608         Likewise.
52609         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
52610         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
52612 2014-03-11  Roland McGrath  <roland@hack.frob.com>
52614         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
52615         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
52616         Move sfi_sp use from the load-multiple (that no longer sets sp) to
52617         the new mov targetting sp.
52619 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52621         [BZ #16683]
52622         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
52623         Define it for static builds as well.
52624         (NO_BZERO_IMPL): Likewise.
52626 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52628         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
52629         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
52630         multiarch strspn for PPC64.
52631         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
52632         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
52633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52634         (__libc_ifunc_impl_list): Likewise.
52635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
52636         multiarch optimizations
52637         * string/strspn.c (strspn): Using macro to redefine symbol name.
52639 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52640             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52642         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
52643         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
52644         multiarch strncat for PPC64.
52645         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
52646         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
52647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52648         (__libc_ifunc_impl_list): Likewise.
52649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
52650         multiarch optimizations
52652 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52654         [BZ #16639]
52655         * nscd/nscd.service: Make service type forking.
52657 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52659         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
52660         sign in non default rounding modes.
52661         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
52663 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
52665         * math/libm-test.inc (ALL_RM_TEST): New macro.
52666         (ceil_test): Use ALL_RM_TEST.
52667         (cimag_test): Likewise.
52668         (conj_test): Likewise.
52669         (copysign_test): Likewise.
52670         (cproj_test): Likewise.
52671         (creal_test): Likewise.
52672         (fabs_test): Likewise.
52673         (floor_test): Likewise.
52674         (fmax_test): Likewise.
52675         (fmin_test): Likewise.
52676         (fmod_test): Likewise.
52677         (fpclassify_test): Likewise.
52678         (frexp_test): Likewise.
52679         (ilogb_test): Likewise.
52680         (isfinite_test): Likewise.
52681         (finite_test): Likewise.
52682         (isgreater_test): Likewise.
52683         (isgreaterequal_test): Likewise.
52684         (isinf_test): Likewise.
52685         (isless_test): Likewise.
52686         (islessequal_test): Likewise.
52687         (islessgreater_test): Likewise.
52688         (isnan_test): Likewise.
52689         (isnormal_test): Likewise.
52690         (issignaling_test): Likewise.
52691         (isunordered_test): Likewise.
52692         (logb_test): Likewise.
52693         (logb_downward_test_data): Remove.
52694         (logb_test_downward): Likewise.
52695         (lround_test): Use ALL_RM_TEST.
52696         (llround_test): Likewise.
52697         (modf_test): Likewise.
52698         (nexttoward_test): Likewise.
52699         (remainder_test): Likewise.
52700         (drem_test): Likewise.
52701         (remainder_tonearest_test_data): Likewise.
52702         (remainder_test_tonearest): Likewise.
52703         (drem_test_tonearest): Likewise.
52704         (remainder_towardzero_test_data): Likewise.
52705         (remainder_test_towardzero): Likewise.
52706         (drem_test_towardzero): Likewise.
52707         (remainder_downward_test_data): Likewise.
52708         (remainder_test_downward): Likewise.
52709         (drem_test_downward): Likewise.
52710         (remainder_upward_test_data): Likewise.
52711         (remainder_test_upward): Likewise.
52712         (drem_test_upward): Likewise.
52713         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
52714         (round_test): Use ALL_RM_TEST.
52715         (signbit_test): Likewise.
52716         (trunc_test): Likewise.
52717         (significand_test): Likewise.
52718         (main): Don't call removed functions.
52720 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52722         [BZ #16674]
52723         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
52724         || __USE_XOPEN2K8].
52725         (ILL_ILLOPN): Likewise.
52726         (ILL_ILLADR): Likewise.
52727         (ILL_ILLTRP): Likewise.
52728         (ILL_PRVOPC): Likewise.
52729         (ILL_PRVREG): Likewise.
52730         (ILL_COPROC): Likewise.
52731         (ILL_BADSTK): Likewise.
52732         (FPE_INTDIV): Likewise.
52733         (FPE_INTOVF): Likewise.
52734         (FPE_FLTDIV): Likewise.
52735         (FPE_FLTOVF): Likewise.
52736         (FPE_FLTUND): Likewise.
52737         (FPE_FLTRES): Likewise.
52738         (FPE_FLTINV): Likewise.
52739         (FPE_FLTSUB): Likewise.
52740         (SEGV_MAPERR): Likewise.
52741         (SEGV_ACCERR): Likewise.
52742         (BUS_ADRALN): Likewise.
52743         (BUS_ADRERR): Likewise.
52744         (BUS_OBJERR): Likewise.
52745         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52746         (TRAP_TRACE): Likewise.
52747         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52748         __USE_XOPEN2K8].
52749         (CLD_KILLED): Likewise.
52750         (CLD_DUMPED): Likewise.
52751         (CLD_TRAPPED): Likewise.
52752         (CLD_STOPPED): Likewise.
52753         (CLD_CONTINUED): Likewise.
52754         (POLL_IN): Likewise.
52755         (POLL_OUT): Likewise.
52756         (POLL_MSG): Likewise.
52757         (POLL_ERR): Likewise.
52758         (POLL_PRI): Likewise.
52759         (POLL_HUP): Likewise.
52760         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
52761         Likewise.
52762         (ILL_ILLOPN): Likewise.
52763         (ILL_ILLADR): Likewise.
52764         (ILL_ILLTRP): Likewise.
52765         (ILL_PRVOPC): Likewise.
52766         (ILL_PRVREG): Likewise.
52767         (ILL_COPROC): Likewise.
52768         (ILL_BADSTK): Likewise.
52769         (FPE_INTDIV): Likewise.
52770         (FPE_INTOVF): Likewise.
52771         (FPE_FLTDIV): Likewise.
52772         (FPE_FLTOVF): Likewise.
52773         (FPE_FLTUND): Likewise.
52774         (FPE_FLTRES): Likewise.
52775         (FPE_FLTINV): Likewise.
52776         (FPE_FLTSUB): Likewise.
52777         (SEGV_MAPERR): Likewise.
52778         (SEGV_ACCERR): Likewise.
52779         (BUS_ADRALN): Likewise.
52780         (BUS_ADRERR): Likewise.
52781         (BUS_OBJERR): Likewise.
52782         (BUS_MCEERR_AR): Likewise.
52783         (BUS_MCEERR_AO): Likewise.
52784         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52785         (TRAP_TRACE): Likewise.
52786         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52787         __USE_XOPEN2K8].
52788         (CLD_KILLED): Likewise.
52789         (CLD_DUMPED): Likewise.
52790         (CLD_TRAPPED): Likewise.
52791         (CLD_STOPPED): Likewise.
52792         (CLD_CONTINUED): Likewise.
52793         (POLL_IN): Likewise.
52794         (POLL_OUT): Likewise.
52795         (POLL_MSG): Likewise.
52796         (POLL_ERR): Likewise.
52797         (POLL_PRI): Likewise.
52798         (POLL_HUP): Likewise.
52799         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52800         (ILL_ILLOPN): Likewise.
52801         (ILL_ILLADR): Likewise.
52802         (ILL_ILLTRP): Likewise.
52803         (ILL_PRVOPC): Likewise.
52804         (ILL_PRVREG): Likewise.
52805         (ILL_COPROC): Likewise.
52806         (ILL_BADSTK): Likewise.
52807         (FPE_INTDIV): Likewise.
52808         (FPE_INTOVF): Likewise.
52809         (FPE_FLTDIV): Likewise.
52810         (FPE_FLTOVF): Likewise.
52811         (FPE_FLTUND): Likewise.
52812         (FPE_FLTRES): Likewise.
52813         (FPE_FLTINV): Likewise.
52814         (FPE_FLTSUB): Likewise.
52815         (SEGV_MAPERR): Likewise.
52816         (SEGV_ACCERR): Likewise.
52817         (BUS_ADRALN): Likewise.
52818         (BUS_ADRERR): Likewise.
52819         (BUS_OBJERR): Likewise.
52820         (BUS_MCEERR_AR): Likewise.
52821         (BUS_MCEERR_AO): Likewise.
52822         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52823         (TRAP_TRACE): Likewise.
52824         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52825         __USE_XOPEN2K8].
52826         (CLD_KILLED): Likewise.
52827         (CLD_DUMPED): Likewise.
52828         (CLD_TRAPPED): Likewise.
52829         (CLD_STOPPED): Likewise.
52830         (CLD_CONTINUED): Likewise.
52831         (POLL_IN): Likewise.
52832         (POLL_OUT): Likewise.
52833         (POLL_MSG): Likewise.
52834         (POLL_ERR): Likewise.
52835         (POLL_PRI): Likewise.
52836         (POLL_HUP): Likewise.
52837         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52838         Likewise.
52839         (ILL_ILLOPN): Likewise.
52840         (ILL_ILLADR): Likewise.
52841         (ILL_ILLTRP): Likewise.
52842         (ILL_PRVOPC): Likewise.
52843         (ILL_PRVREG): Likewise.
52844         (ILL_COPROC): Likewise.
52845         (ILL_BADSTK): Likewise.
52846         (ILL_BADIADDR): Likewise.
52847         (ILL_BREAK): Likewise.
52848         (FPE_INTDIV): Likewise.
52849         (FPE_INTOVF): Likewise.
52850         (FPE_FLTDIV): Likewise.
52851         (FPE_FLTOVF): Likewise.
52852         (FPE_FLTUND): Likewise.
52853         (FPE_FLTRES): Likewise.
52854         (FPE_FLTINV): Likewise.
52855         (FPE_FLTSUB): Likewise.
52856         (FPE_DECOVF): Likewise.
52857         (FPE_DECDIV): Likewise.
52858         (FPE_DECERR): Likewise.
52859         (FPE_INVASC): Likewise.
52860         (FPE_INVDEC): Likewise.
52861         (SEGV_MAPERR): Likewise.
52862         (SEGV_ACCERR): Likewise.
52863         (SEGV_PSTKOVF): Likewise.
52864         (BUS_ADRALN): Likewise.
52865         (BUS_ADRERR): Likewise.
52866         (BUS_OBJERR): Likewise.
52867         (BUS_MCEERR_AR): Likewise.
52868         (BUS_MCEERR_AO): Likewise.
52869         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52870         (TRAP_TRACE): Likewise.
52871         (TRAP_BRANCH): Likewise.
52872         (TRAP_HWBKPT): Likewise.
52873         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52874         __USE_XOPEN2K8].
52875         (CLD_KILLED): Likewise.
52876         (CLD_DUMPED): Likewise.
52877         (CLD_TRAPPED): Likewise.
52878         (CLD_STOPPED): Likewise.
52879         (CLD_CONTINUED): Likewise.
52880         (POLL_IN): Likewise.
52881         (POLL_OUT): Likewise.
52882         (POLL_MSG): Likewise.
52883         (POLL_ERR): Likewise.
52884         (POLL_PRI): Likewise.
52885         (POLL_HUP): Likewise.
52886         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52887         (ILL_ILLOPN): Likewise.
52888         (ILL_ILLADR): Likewise.
52889         (ILL_ILLTRP): Likewise.
52890         (ILL_PRVOPC): Likewise.
52891         (ILL_PRVREG): Likewise.
52892         (ILL_COPROC): Likewise.
52893         (ILL_BADSTK): Likewise.
52894         (FPE_INTDIV): Likewise.
52895         (FPE_INTOVF): Likewise.
52896         (FPE_FLTDIV): Likewise.
52897         (FPE_FLTOVF): Likewise.
52898         (FPE_FLTUND): Likewise.
52899         (FPE_FLTRES): Likewise.
52900         (FPE_FLTINV): Likewise.
52901         (FPE_FLTSUB): Likewise.
52902         (SEGV_MAPERR): Likewise.
52903         (SEGV_ACCERR): Likewise.
52904         (BUS_ADRALN): Likewise.
52905         (BUS_ADRERR): Likewise.
52906         (BUS_OBJERR): Likewise.
52907         (BUS_MCEERR_AR): Likewise.
52908         (BUS_MCEERR_AO): Likewise.
52909         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52910         (TRAP_TRACE): Likewise.
52911         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52912         __USE_XOPEN2K8].
52913         (CLD_KILLED): Likewise.
52914         (CLD_DUMPED): Likewise.
52915         (CLD_TRAPPED): Likewise.
52916         (CLD_STOPPED): Likewise.
52917         (CLD_CONTINUED): Likewise.
52918         (POLL_IN): Likewise.
52919         (POLL_OUT): Likewise.
52920         (POLL_MSG): Likewise.
52921         (POLL_ERR): Likewise.
52922         (POLL_PRI): Likewise.
52923         (POLL_HUP): Likewise.
52924         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52925         (ILL_ILLOPN): Likewise.
52926         (ILL_ILLADR): Likewise.
52927         (ILL_ILLTRP): Likewise.
52928         (ILL_PRVOPC): Likewise.
52929         (ILL_PRVREG): Likewise.
52930         (ILL_COPROC): Likewise.
52931         (ILL_BADSTK): Likewise.
52932         (FPE_INTDIV): Likewise.
52933         (FPE_INTOVF): Likewise.
52934         (FPE_FLTDIV): Likewise.
52935         (FPE_FLTOVF): Likewise.
52936         (FPE_FLTUND): Likewise.
52937         (FPE_FLTRES): Likewise.
52938         (FPE_FLTINV): Likewise.
52939         (FPE_FLTSUB): Likewise.
52940         (SEGV_MAPERR): Likewise.
52941         (SEGV_ACCERR): Likewise.
52942         (BUS_ADRALN): Likewise.
52943         (BUS_ADRERR): Likewise.
52944         (BUS_OBJERR): Likewise.
52945         (BUS_MCEERR_AR): Likewise.
52946         (BUS_MCEERR_AO): Likewise.
52947         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52948         (TRAP_TRACE): Likewise.
52949         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52950         __USE_XOPEN2K8].
52951         (CLD_KILLED): Likewise.
52952         (CLD_DUMPED): Likewise.
52953         (CLD_TRAPPED): Likewise.
52954         (CLD_STOPPED): Likewise.
52955         (CLD_CONTINUED): Likewise.
52956         (POLL_IN): Likewise.
52957         (POLL_OUT): Likewise.
52958         (POLL_MSG): Likewise.
52959         (POLL_ERR): Likewise.
52960         (POLL_PRI): Likewise.
52961         (POLL_HUP): Likewise.
52962         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52963         (ILL_ILLOPN): Likewise.
52964         (ILL_ILLADR): Likewise.
52965         (ILL_ILLTRP): Likewise.
52966         (ILL_PRVOPC): Likewise.
52967         (ILL_PRVREG): Likewise.
52968         (ILL_COPROC): Likewise.
52969         (ILL_BADSTK): Likewise.
52970         (FPE_INTDIV): Likewise.
52971         (FPE_INTOVF): Likewise.
52972         (FPE_FLTDIV): Likewise.
52973         (FPE_FLTOVF): Likewise.
52974         (FPE_FLTUND): Likewise.
52975         (FPE_FLTRES): Likewise.
52976         (FPE_FLTINV): Likewise.
52977         (FPE_FLTSUB): Likewise.
52978         (SEGV_MAPERR): Likewise.
52979         (SEGV_ACCERR): Likewise.
52980         (BUS_ADRALN): Likewise.
52981         (BUS_ADRERR): Likewise.
52982         (BUS_OBJERR): Likewise.
52983         (BUS_MCEERR_AR): Likewise.
52984         (BUS_MCEERR_AO): Likewise.
52985         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52986         (TRAP_TRACE): Likewise.
52987         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52988         __USE_XOPEN2K8].
52989         (CLD_KILLED): Likewise.
52990         (CLD_DUMPED): Likewise.
52991         (CLD_TRAPPED): Likewise.
52992         (CLD_STOPPED): Likewise.
52993         (CLD_CONTINUED): Likewise.
52994         (POLL_IN): Likewise.
52995         (POLL_OUT): Likewise.
52996         (POLL_MSG): Likewise.
52997         (POLL_ERR): Likewise.
52998         (POLL_PRI): Likewise.
52999         (POLL_HUP): Likewise.
53000         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53001         (ILL_ILLOPN): Likewise.
53002         (ILL_ILLADR): Likewise.
53003         (ILL_ILLTRP): Likewise.
53004         (ILL_PRVOPC): Likewise.
53005         (ILL_PRVREG): Likewise.
53006         (ILL_COPROC): Likewise.
53007         (ILL_BADSTK): Likewise.
53008         (ILL_DBLFLT): Likewise.
53009         (ILL_HARDWALL): Likewise.
53010         (FPE_INTDIV): Likewise.
53011         (FPE_INTOVF): Likewise.
53012         (FPE_FLTDIV): Likewise.
53013         (FPE_FLTOVF): Likewise.
53014         (FPE_FLTUND): Likewise.
53015         (FPE_FLTRES): Likewise.
53016         (FPE_FLTINV): Likewise.
53017         (FPE_FLTSUB): Likewise.
53018         (SEGV_MAPERR): Likewise.
53019         (SEGV_ACCERR): Likewise.
53020         (BUS_ADRALN): Likewise.
53021         (BUS_ADRERR): Likewise.
53022         (BUS_OBJERR): Likewise.
53023         (BUS_MCEERR_AR): Likewise.
53024         (BUS_MCEERR_AO): Likewise.
53025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53026         (TRAP_TRACE): Likewise.
53027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53028         __USE_XOPEN2K8].
53029         (CLD_KILLED): Likewise.
53030         (CLD_DUMPED): Likewise.
53031         (CLD_TRAPPED): Likewise.
53032         (CLD_STOPPED): Likewise.
53033         (CLD_CONTINUED): Likewise.
53034         (POLL_IN): Likewise.
53035         (POLL_OUT): Likewise.
53036         (POLL_MSG): Likewise.
53037         (POLL_ERR): Likewise.
53038         (POLL_PRI): Likewise.
53039         (POLL_HUP): Likewise.
53040         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53041         (ILL_ILLOPN): Likewise.
53042         (ILL_ILLADR): Likewise.
53043         (ILL_ILLTRP): Likewise.
53044         (ILL_PRVOPC): Likewise.
53045         (ILL_PRVREG): Likewise.
53046         (ILL_COPROC): Likewise.
53047         (ILL_BADSTK): Likewise.
53048         (FPE_INTDIV): Likewise.
53049         (FPE_INTOVF): Likewise.
53050         (FPE_FLTDIV): Likewise.
53051         (FPE_FLTOVF): Likewise.
53052         (FPE_FLTUND): Likewise.
53053         (FPE_FLTRES): Likewise.
53054         (FPE_FLTINV): Likewise.
53055         (FPE_FLTSUB): Likewise.
53056         (SEGV_MAPERR): Likewise.
53057         (SEGV_ACCERR): Likewise.
53058         (BUS_ADRALN): Likewise.
53059         (BUS_ADRERR): Likewise.
53060         (BUS_OBJERR): Likewise.
53061         (BUS_MCEERR_AR): Likewise.
53062         (BUS_MCEERR_AO): Likewise.
53063         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53064         (TRAP_TRACE): Likewise.
53065         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53066         __USE_XOPEN2K8].
53067         (CLD_KILLED): Likewise.
53068         (CLD_DUMPED): Likewise.
53069         (CLD_TRAPPED): Likewise.
53070         (CLD_STOPPED): Likewise.
53071         (CLD_CONTINUED): Likewise.
53072         (POLL_IN): Likewise.
53073         (POLL_OUT): Likewise.
53074         (POLL_MSG): Likewise.
53075         (POLL_ERR): Likewise.
53076         (POLL_PRI): Likewise.
53077         (POLL_HUP): Likewise.
53078         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53079         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53081         [BZ #16670]
53082         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53083         before #include of <time.h>.
53084         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53085         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53086         (test-xfail-UNIX98/sched.h/conform): Likewise.
53088 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53090         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53091         error absence of trapping exception support.
53092         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53094 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53096         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53097         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53098         * timezone/Makefile (testdata): Move definition above include of
53099         Rules.
53100         (test-zones): New variable.
53101         (tests-special): Add zone files.
53102         (build-testdata): Use $(evaluate-test).
53104         * elf/Makefile (tests-special): Rename tests to end with .out.
53105         ($(objpfx)noload-mem): Likewise.
53106         ($(objpfx)tst-leaks1-mem): Likewise.
53107         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53108         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53109         $(objpfx)test-iconvconfig.out.
53110         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53111         set -e inside subshell and redirect output to file.
53112         * iconvdata/Makefile (generated): Rename tests to end with .out.
53113         Correct type.
53114         (tests-special): Rename tests to end with .out.
53115         ($(objpfx)mtrace-tst-loading): Likewise.
53116         * intl/Makefile (generated): Likewise.
53117         (tests-special): Likewise.
53118         ($(objpfx)mtrace-tst-gettext): Likewise.
53119         * misc/Makefile (generated): Likewise.
53120         (tests-special): Likewise.
53121         ($(objpfx)tst-error1-mem): Likewise.
53122         * nptl/Makefile (tests-special): Likewise.
53123         ($(objpfx)tst-stack3-mem): Likewise.
53124         (generated): Likewise.
53125         * posix/Makefile (generated): Likewise.
53126         (tests-special): Likewise.
53127         (xtests-special): Likewise.
53128         ($(objpfx)tst-fnmatch-mem): Likewise.
53129         ($(objpfx)bug-regex2-mem): Likewise.
53130         ($(objpfx)bug-regex14-mem): Likewise.
53131         ($(objpfx)bug-regex21-mem): Likewise.
53132         ($(objpfx)bug-regex31-mem): Likewise.
53133         ($(objpfx)tst-vfork3-mem): Likewise.
53134         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53135         ($(objpfx)tst-pcre-mem): Likewise.
53136         ($(objpfx)tst-boost-mem): Likewise.
53137         ($(objpfx)bug-ga2-mem): Likewise.
53138         ($(objpfx)bug-glob2-mem): Likewise.
53139         * resolv/Makefile (generate): Likewise.
53140         (tests-special): Likewise.
53141         (xtests-special): Likewise.
53142         (generated): Likewise.
53143         ($(objpfx)mtrace-tst-leaks): Likewise.
53144         ($(objpfx)mtrace-tst-leaks2): Likewise.
53146         * scripts/merge-test-results.sh: New file.
53147         * Makefile (tests-special-notdir): New variable.
53148         (tests): Run merge-test-results.sh.
53149         (xtests): Likewise.
53150         * Rules (tests-special-notdir): New variable.
53151         (xtests-special-notdir): Likewise.
53152         (tests): Run merge-test-results.sh
53153         (xtests): Likewise.
53155         * Makeconfig (test-xfail-name): New variable.
53156         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53157         compute variable name for expected failures.
53158         * conform/Makefile (conformtest-headers-data): New variable.
53159         (conformtest-standards): Likewise.
53160         (conformtest-headers-ISO): Likewise.
53161         (conformtest-headers-ISO99): Likewise.
53162         (conformtest-headers-ISO11): Likewise.
53163         (conformtest-headers-POSIX): Likewise.
53164         (conformtest-headers-XPG3): Likewise.
53165         (conformtest-headers-XPG4): Likewise.
53166         (conformtest-headers-UNIX98): Likewise.
53167         (conformtest-headers-XOPEN2K): Likewise.
53168         (conformtest-headers-POSIX2008): Likewise.
53169         (conformtest-headers-XOPEN2K8): Likewise.
53170         (conformtest-header-list-base): Likewise.
53171         (conformtest-header-list-tests): Likewise.
53172         (conformtest-header-base): Likewise.
53173         (conformtest-header-tests): Likewise.
53174         (tests-special): Add $(conformtest-header-list-tests).  If
53175         [$(fast-check) && !$(cross-compiling)], add
53176         $(conformtest-header-tests) instead of
53177         $(objpfx)run-conformtest.out.
53178         (generated): Add $(conformtest-header-list-base).  If
53179         [$(fast-check) && !$(cross-compiling)], add
53180         $(conformtest-header-base).  Remove previous setting.
53181         ($(conformtest-header-list-tests)): New target.
53182         (test-xfail-run-conformtest): Remove variable.
53183         ($(objpfx)run-conformtest.out): Remove target.
53184         (test-xfail-ISO11/complex.h/conform): New variable.
53185         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53186         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53187         (test-xfail-XPG3/varargs.h/conform): Likewise.
53188         (test-xfail-XPG4/varargs.h/conform): Likewise.
53189         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53190         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53191         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53192         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53193         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53194         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53195         (test-xfail-XPG3/ftw.h/conform): Likewise.
53196         (test-xfail-XPG3/grp.h/conform): Likewise.
53197         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53198         (test-xfail-XPG3/limits.h/conform): Likewise.
53199         (test-xfail-XPG3/pwd.h/conform): Likewise.
53200         (test-xfail-XPG3/search.h/conform): Likewise.
53201         (test-xfail-XPG3/signal.h/conform): Likewise.
53202         (test-xfail-XPG3/stdio.h/conform): Likewise.
53203         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53204         (test-xfail-XPG3/string.h/conform): Likewise.
53205         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53206         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53207         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53208         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53209         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53210         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53211         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53212         (test-xfail-XPG3/termios.h/conform): Likewise.
53213         (test-xfail-XPG3/time.h/conform): Likewise.
53214         (test-xfail-XPG3/unistd.h/conform): Likewise.
53215         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53216         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53217         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53218         (test-xfail-XPG4/netdb.h/conform): Likewise.
53219         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53220         (test-xfail-XPG4/signal.h/conform): Likewise.
53221         (test-xfail-XPG4/stdio.h/conform): Likewise.
53222         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53223         (test-xfail-XPG4/stropts.h/conform): Likewise.
53224         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53225         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53226         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53227         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53228         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53229         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53230         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53231         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53232         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53233         (test-xfail-XPG4/termios.h/conform): Likewise.
53234         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53235         (test-xfail-XPG4/unistd.h/conform): Likewise.
53236         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53237         (test-xfail-POSIX/sched.h/conform): Likewise.
53238         (test-xfail-POSIX/signal.h/conform): Likewise.
53239         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53240         (test-xfail-POSIX/tar.h/conform): Likewise.
53241         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53242         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53243         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53244         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53245         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53246         (test-xfail-UNIX98/sched.h/conform): Likewise.
53247         (test-xfail-UNIX98/signal.h/conform): Likewise.
53248         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53249         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53250         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53251         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53252         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53253         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53254         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53255         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53256         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53257         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53258         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53259         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53260         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53261         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53262         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53263         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53264         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53265         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53266         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53267         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53268         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53269         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53270         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53271         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53272         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53273         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53274         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53275         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53276         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53277         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53278         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53279         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53280         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53281         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53282         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53283         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53284         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53285         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53286         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53287         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53288         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53289         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53290         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53291         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53292         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53293         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53294         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53295         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53296         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53297         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53298         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53299         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53300         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53301         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53302         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53303         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53304         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53305         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53306         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53307         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53308         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53309         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53310         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53311         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53312         (conformtest-cc-flags): Likewise.
53313         ($(conformtest-header-tests): New target.
53314         * conform/check-header-lists.sh: New file.
53315         * conform/run-conformtest.sh: Remove.
53317         * conform/conformtest.pl: Allow ' and \ in values given for
53318         constants.
53319         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53320         inclusion.
53321         [POSIX] (sys/types.h): Likewise.
53322         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53323         inclusion.
53324         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53325         inclusion.
53326         * conform/data/signal.h-data (SIGIO): Remove expectation.
53327         [XPG3] (SIGBUS): Do not expect.
53328         [POSIX || XPG3] (SIGPOLL): Likewise.
53329         [POSIX || XPG3] (SIGPROF): Likewise.
53330         [POSIX || XPG3] (SIGSYS): Likewise.
53331         [XPG3] (SIGTRAP): Likewise.
53332         [POSIX || XPG3] (SIGURG): Likewise.
53333         [POSIX || XPG3] (SIGVTALRM): Likewise.
53334         [POSIX || XPG3] (SIGXCPU): Likewise.
53335         [POSIX || XPG3] (SIGXFSZ): Likewise.
53336         [POSIX] (SA_SIGINFO): Expect.
53337         [XPG3] (siginfo_t): Do not expect type or contents.
53338         [POSIX] (si_pid): Do not expect element.
53339         [POSIX] (si_uid): Likewise.
53340         [POSIX] (si_addr): Likewise.
53341         [POSIX] (si_status): Likewise.
53342         [POSIX] (si_band): Likewise.
53343         [XPG4] (si_value): Likewise.
53344         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
53345         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
53346         [POSIX || XPG3] (ILL_ILLADR): Likewise.
53347         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
53348         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
53349         [POSIX || XPG3] (ILL_PRVREG): Likewise.
53350         [POSIX || XPG3] (ILL_COPROC): Likewise.
53351         [POSIX || XPG3] (ILL_BADSTK): Likewise.
53352         [POSIX || XPG3] (FPE_INTDIV): Likewise.
53353         [POSIX || XPG3] (FPE_INTOVF): Likewise.
53354         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
53355         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
53356         [POSIX || XPG3] (FPE_FLTUND): Likewise.
53357         [POSIX || XPG3] (FPE_FLTRES): Likewise.
53358         [POSIX || XPG3] (FPE_FLTINV): Likewise.
53359         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
53360         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
53361         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
53362         [POSIX || XPG3] (BUS_ADRALN): Likewise.
53363         [POSIX || XPG3] (BUS_ADRERR): Likewise.
53364         [POSIX || XPG3] (BUS_OBJERR): Likewise.
53365         [POSIX || XPG3] (CLD_EXITED): Likewise.
53366         [POSIX || XPG3] (CLD_KILLED): Likewise.
53367         [POSIX || XPG3] (CLD_DUMPED): Likewise.
53368         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
53369         [POSIX || XPG3] (CLD_STOPPED): Likewise.
53370         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
53371         [POSIX || XPG3] (POLL_IN): Likewise.
53372         [POSIX || XPG3] (POLL_OUT): Likewise.
53373         [POSIX || XPG3] (POLL_MSG): Likewise.
53374         [POSIX || XPG3] (POLL_ERR): Likewise.
53375         [POSIX || XPG3] (POLL_PRI): Likewise.
53376         [POSIX || XPG3] (POLL_HUP): Likewise.
53377         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
53378         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
53379         (SIG*): Do not allow.
53380         [XPG3] (si_*): Likewise.
53381         [XPG3] (SI_*): Likewise.
53382         [XPG3 || XPG4] (sigev_*): Likewise.
53383         [XPG3 || XPG4] (SIGEV_*): Likewise.
53384         [XPG3 || XPG4] (sival_*): Likewise.
53385         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
53386         [POSIX || XPG3] (BUS_*): Likewise.
53387         [POSIX || XPG3] (CLD_*): Likewise.
53388         [POSIX || XPG3] (FPE_*): Likewise.
53389         [POSIX || XPG3] (ILL_*): Likewise.
53390         [POSIX || XPG3] (POLL_*): Likewise.
53391         [POSIX || XPG3] (SEGV_*): Likewise.
53392         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
53393         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
53394         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
53395         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
53396         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
53397         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
53398         Specify type and value.
53399         (TVERSLEN): Likewise.
53400         (REGTYPE): Likewise.
53401         (AREGTYPE): Likewise.
53402         (LNKTYPE): Likewise.
53403         (SYMTYPE): Likewise.
53404         (CHRTYPE): Likewise.
53405         (BLKTYPE): Likewise.
53406         (DIRTYPE): Likewise.
53407         (FIFOTYPE): Likewise.
53408         (CONTTYPE): Likewise.
53409         (TSUID): Likewise.
53410         (TSGID): Likewise.
53411         (TSVTX): Likewise.
53412         (TUREAD): Likewise.
53413         (TUWRITE): Likewise.
53414         (TUEXEC): Likewise.
53415         (TGREAD): Likewise.
53416         (TGWRITE): Likewise.
53417         (TGEXEC): Likewise.
53418         (TOREAD): Likewise.
53419         (TOWRITE): Likewise.
53420         (TOEXEC): Likewise.
53421         [POSIX] (TSVTX): Expect constant.
53423 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
53425         * Makefile (tests): Change dependencies to ....
53426         (tests-special): ... additions to this variable.
53427         (tests): Depend on $(tests-special).
53428         * Makerules (check-abi-list): New variable.
53429         (check-abi): Depend on $(check-abi-list).
53430         [$(subdir) = elf] (tests-special): Add
53431         $(objpfx)check-abi-libc.out.
53432         [$(build-shared) = yes && subdir] (tests-special): Add
53433         $(check-abi-list).
53434         [$(build-shared) = yes && subdir] (tests): Do not depend on
53435         check-abi.
53436         * Rules (tests): Depend on $(tests-special).
53437         (xtests): Depend on $(xtests-special).
53438         * catgets/Makefile (tests): Change dependencies to ....
53439         (tests-special): ... additions to this variable.
53440         * conform/Makefile (tests): Change dependencies to ....
53441         (tests-special): ... additions to this variable.
53442         * elf/Makefile (tests): Change dependencies to ....
53443         (tests-special): ... additions to this variable.
53444         * grp/Makefile (tests): Change dependencies to ....
53445         (tests-special): ... additions to this variable.
53446         * iconv/Makefile (xtests): Change dependencies to ....
53447         (xtests-special): ... additions to this variable.
53448         * iconvdata/Makefile (tests): Change dependencies to ....
53449         (tests-special): ... additions to this variable.
53450         * intl/Makefile (tests): Change dependencies to ....
53451         (tests-special): ... additions to this variable.  Also add
53452         $(objpfx)tst-gettext.out.
53453         * io/Makefile (tests): Change dependencies to ....
53454         (tests-special): ... additions to this variable.
53455         * libio/Makefile (tests): Change dependencies to ....
53456         (tests-special): ... additions to this variable.
53457         * malloc/Makefile (tests): Change dependencies to ....
53458         (tests-special): ... additions to this variable.
53459         * misc/Makefile (tests): Change dependencies to ....
53460         (tests-special): ... additions to this variable.
53461         * nptl/Makefile (tests): Change dependencies to ....
53462         (tests-special): ... additions to this variable.
53463         * nptl_db/Makefile (tests): Change dependencies to ....
53464         (tests-special): ... additions to this variable.
53465         * posix/Makefile (tests): Change dependencies to ....
53466         (tests-special): ... additions to this variable.
53467         (xtests): Change dependencies to ....
53468         (xtests-special): ... additions to this variable.
53469         * resolv/Makefile (tests): Change dependencies to ....
53470         (tests-special): ... additions to this variable.
53471         (xtests): Change dependencies to ....
53472         (xtests-special): ... additions to this variable.
53473         * stdio-common/Makefile (tests): Change dependencies to ....
53474         (tests-special): ... additions to this variable.
53475         (do-tst-unbputc): Remove target.
53476         (do-tst-printf): Likewise.
53477         * stdlib/Makefile (tests): Change dependencies to ....
53478         (tests-special): ... additions to this variable.
53479         * string/Makefile (tests): Change dependencies to ....
53480         (tests-special): ... additions to this variable.
53481         * sysdeps/x86/Makefile (tests): Change dependencies to ....
53482         (tests-special): ... additions to this variable.
53484         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
53485         whole file.
53486         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
53487         whole file.
53488         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
53489         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
53491         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
53492         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
53493         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
53494         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
53495         * conform/data/libgen.h-data [XPG3]: Likewise.
53496         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
53497         * conform/data/ndbm.h-data [XPG3]: Likewise.
53498         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53499         * conform/data/netdb.h-data [XPG3]: Likewise.
53500         * conform/data/netinet/in.h-data [XPG3]: Likewise.
53501         * conform/data/poll.h-data [XPG3]: Likewise.
53502         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
53503         * conform/data/strings.h-data [XPG3]: Likewise.
53504         * conform/data/stropts.h-data [XPG3]: Likewise.
53505         * conform/data/sys/mman.h-data [XPG3]: Likewise.
53506         * conform/data/sys/resource.h-data [XPG3]: Likewise.
53507         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
53508         Likewise.
53509         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
53510         * conform/data/sys/time.h-data [XPG3]: Likewise.
53511         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
53512         * conform/data/sys/uio.h-data [XPG3]: Likewise.
53513         * conform/data/sys/un.h-data [XPG3]: Likewise.
53514         * conform/data/syslog.h-data [XPG3]: Likewise.
53515         * conform/data/ucontext.h-data [XPG3]: Likewise.
53516         * conform/data/utmpx.h-data [XPG3]: Likewise.
53517         * conform/data/varargs.h-data [UNIX98]: Enable file.
53519         * manual/Makefile (INSTALL_INFO): Remove variable setting.
53521         * math/libm-test.inc (struct test_f_f_data): Move expected results
53522         into structure for each rounding mode.
53523         (struct test_ff_f_data): Likewise.
53524         (struct test_ff_f_data_nexttoward): Likewise.
53525         (struct test_fi_f_data): Likewise.
53526         (struct test_fl_f_data): Likewise.
53527         (struct test_if_f_data): Likewise.
53528         (struct test_fff_f_data): Likewise.
53529         (struct test_c_f_data): Likewise.
53530         (struct test_f_f1_data): Likewise.
53531         (struct test_fF_f1_data): Likewise.
53532         (struct test_ffI_f1_data): Likewise.
53533         (struct test_c_c_data): Likewise.
53534         (struct test_cc_c_data): Likewise.
53535         (struct test_f_i_data): Likewise.
53536         (struct test_ff_i_data): Likewise.
53537         (struct test_f_l_data): Likewise.
53538         (struct test_f_L_data): Likewise.
53539         (struct test_fFF_11_data): Likewise.
53540         (RM_): New macro.
53541         (RM_FE_DOWNWARD): Likewise.
53542         (RM_FE_TONEAREST): Likewise.
53543         (RM_FE_TOWARDZERO): Likewise.
53544         (RM_FE_UPWARD): Likewise.
53545         (RUN_TEST_LOOP_f_f): Update references to expected results.
53546         (RUN_TEST_LOOP_2_f): Likewise.
53547         (RUN_TEST_LOOP_fff_f): Likewise.
53548         (RUN_TEST_LOOP_c_f): Likewise.
53549         (RUN_TEST_LOOP_f_f1): Likewise.
53550         (RUN_TEST_LOOP_fF_f1): Likewise.
53551         (RUN_TEST_LOOP_fI_f1): Likewise.
53552         (RUN_TEST_LOOP_ffI_f1): Likewise.
53553         (RUN_TEST_LOOP_c_c): Likewise.
53554         (RUN_TEST_LOOP_cc_c): Likewise.
53555         (RUN_TEST_LOOP_f_i): Likewise.
53556         (RUN_TEST_LOOP_f_i_tg): Likewise.
53557         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53558         (RUN_TEST_LOOP_f_b): Likewise.
53559         (RUN_TEST_LOOP_f_b_tg): Likewise.
53560         (RUN_TEST_LOOP_f_l): Likewise.
53561         (RUN_TEST_LOOP_f_L): Likewise.
53562         (RUN_TEST_LOOP_fFF_11): Likewise.
53563         * math/gen-libm-test.pl (parse_args): Output four copies of
53564         expected results for each test.
53566         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53567         (__ASSUME_UTIMES): Remove.
53568         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53569         (__ASSUME_UTIMES): Likewise.
53571         * math/gen-auto-libm-tests.c: Update comment on output format.
53572         (output_for_one_input_case): Generate before-rounding and
53573         after-rounding information as conditions on output flags not
53574         floating-point format.
53575         * math/auto-libm-test-out: Regenerated.
53576         * math/gen-libm-test.pl (cond_value): New function.
53577         (or_cond_value): Use cond_value.
53578         (generate_testfile): Handle conditional exceptions.
53580 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
53582         * math/libm-test.inc (max_valid_error): New variable.
53583         (init_max_error): Take new argument specifying whether function
53584         results are exactly determined.  Set max_valid_error and bound
53585         other variables for errors based on this argument.
53586         (set_max_error): Do not record results above max_valid_error.
53587         (check_float_internal): Only accept errors of up to 0.5ulps if
53588         also at most max_valid_error.
53589         (START): Take new argument EXACT and pass it to init_max_error.
53590         (acos_test): Update call to START.
53591         (acos_test_tonearest): Likewise.
53592         (acos_test_towardzero): Likewise.
53593         (acos_test_downward): Likewise.
53594         (acos_test_upward): Likewise.
53595         (acosh_test): Likewise.
53596         (asin_test): Likewise.
53597         (asin_test_tonearest): Likewise.
53598         (asin_test_towardzero): Likewise.
53599         (asin_test_downward): Likewise.
53600         (asin_test_upward): Likewise.
53601         (asinh_test): Likewise.
53602         (atan_test): Likewise.
53603         (atanh_test): Likewise.
53604         (atan2_test): Likewise.
53605         (cabs_test): Likewise.
53606         (cacos_test): Likewise.
53607         (cacosh_test): Likewise.
53608         (carg_test): Likewise.
53609         (casin_test): Likewise.
53610         (casinh_test): Likewise.
53611         (catan_test): Likewise.
53612         (catanh_test): Likewise.
53613         (cbrt_test): Likewise.
53614         (ccos_test): Likewise.
53615         (ccosh_test): Likewise.
53616         (ceil_test): Likewise.
53617         (cexp_test): Likewise.
53618         (cimag_test): Likewise.
53619         (clog_test): Likewise.
53620         (clog10_test): Likewise.
53621         (conj_test): Likewise.
53622         (copysign_test): Likewise.
53623         (cos_test): Likewise.
53624         (cos_test_tonearest): Likewise.
53625         (cos_test_towardzero): Likewise.
53626         (cos_test_downward): Likewise.
53627         (cos_test_upward): Likewise.
53628         (cosh_test): Likewise.
53629         (cosh_test_tonearest): Likewise.
53630         (cosh_test_towardzero): Likewise.
53631         (cosh_test_downward): Likewise.
53632         (cosh_test_upward): Likewise.
53633         (cpow_test): Likewise.
53634         (cproj_test): Likewise.
53635         (creal_test): Likewise.
53636         (csin_test): Likewise.
53637         (csinh_test): Likewise.
53638         (csqrt_test): Likewise.
53639         (ctan_test): Likewise.
53640         (ctan_test_tonearest): Likewise.
53641         (ctan_test_towardzero): Likewise.
53642         (ctan_test_downward): Likewise.
53643         (ctan_test_upward): Likewise.
53644         (ctanh_test): Likewise.
53645         (ctanh_test_tonearest): Likewise.
53646         (ctanh_test_towardzero): Likewise.
53647         (ctanh_test_downward): Likewise.
53648         (ctanh_test_upward): Likewise.
53649         (erf_test): Likewise.
53650         (erfc_test): Likewise.
53651         (exp_test): Likewise.
53652         (exp_test_tonearest): Likewise.
53653         (exp_test_towardzero): Likewise.
53654         (exp_test_downward): Likewise.
53655         (exp_test_upward): Likewise.
53656         (exp10_test): Likewise.
53657         (exp10_test_tonearest): Likewise.
53658         (exp10_test_towardzero): Likewise.
53659         (exp10_test_downward): Likewise.
53660         (exp10_test_upward): Likewise.
53661         (pow10_test): Likewise.
53662         (exp2_test): Likewise.
53663         (expm1_test): Likewise.
53664         (expm1_test_tonearest): Likewise.
53665         (expm1_test_towardzero): Likewise.
53666         (expm1_test_downward): Likewise.
53667         (expm1_test_upward): Likewise.
53668         (fabs_test): Likewise.
53669         (fdim_test): Likewise.
53670         (floor_test): Likewise.
53671         (fma_test): Likewise.
53672         (fma_test_towardzero): Likewise.
53673         (fma_test_downward): Likewise.
53674         (fma_test_upward): Likewise.
53675         (fmax_test): Likewise.
53676         (fmin_test): Likewise.
53677         (fmod_test): Likewise.
53678         (fpclassify_test): Likewise.
53679         (frexp_test): Likewise.
53680         (hypot_test): Likewise.
53681         (ilogb_test): Likewise.
53682         (isfinite_test): Likewise.
53683         (finite_test): Likewise.
53684         (isgreater_test): Likewise.
53685         (isgreaterequal_test): Likewise.
53686         (isinf_test): Likewise.
53687         (isless_test): Likewise.
53688         (islessequal_test): Likewise.
53689         (islessgreater_test): Likewise.
53690         (isnan_test): Likewise.
53691         (isnormal_test): Likewise.
53692         (issignaling_test): Likewise.
53693         (isunordered_test): Likewise.
53694         (j0_test): Likewise.
53695         (j1_test): Likewise.
53696         (jn_test): Likewise.
53697         (ldexp_test): Likewise.
53698         (lgamma_test): Likewise.
53699         (gamma_test): Likewise.
53700         (lrint_test): Likewise.
53701         (lrint_test_tonearest): Likewise.
53702         (lrint_test_towardzero): Likewise.
53703         (lrint_test_downward): Likewise.
53704         (lrint_test_upward): Likewise.
53705         (llrint_test): Likewise.
53706         (llrint_test_tonearest): Likewise.
53707         (llrint_test_towardzero): Likewise.
53708         (llrint_test_downward): Likewise.
53709         (llrint_test_upward): Likewise.
53710         (log_test): Likewise.
53711         (log10_test): Likewise.
53712         (log1p_test): Likewise.
53713         (log2_test): Likewise.
53714         (logb_test): Likewise.
53715         (logb_test_downward): Likewise.
53716         (lround_test): Likewise.
53717         (llround_test): Likewise.
53718         (modf_test): Likewise.
53719         (nearbyint_test): Likewise.
53720         (nextafter_test): Likewise.
53721         (nexttoward_test): Likewise.
53722         (pow_test): Likewise.
53723         (pow_test_tonearest): Likewise.
53724         (pow_test_towardzero): Likewise.
53725         (pow_test_downward): Likewise.
53726         (pow_test_upward): Likewise.
53727         (remainder_test): Likewise.
53728         (drem_test): Likewise.
53729         (remainder_test_tonearest): Likewise.
53730         (drem_test_tonearest): Likewise.
53731         (remainder_test_towardzero): Likewise.
53732         (drem_test_towardzero): Likewise.
53733         (remainder_test_downward): Likewise.
53734         (drem_test_downward): Likewise.
53735         (remainder_test_upward): Likewise.
53736         (drem_test_upward): Likewise.
53737         (remquo_test): Likewise.
53738         (rint_test): Likewise.
53739         (rint_test_tonearest): Likewise.
53740         (rint_test_towardzero): Likewise.
53741         (rint_test_downward): Likewise.
53742         (rint_test_upward): Likewise.
53743         (round_test): Likewise.
53744         (scalb_test): Likewise.
53745         (scalbn_test): Likewise.
53746         (scalbln_test): Likewise.
53747         (signbit_test): Likewise.
53748         (sin_test): Likewise.
53749         (sin_test_tonearest): Likewise.
53750         (sin_test_towardzero): Likewise.
53751         (sin_test_downward): Likewise.
53752         (sin_test_upward): Likewise.
53753         (sincos_test): Likewise.
53754         (sinh_test): Likewise.
53755         (sinh_test_tonearest): Likewise.
53756         (sinh_test_towardzero): Likewise.
53757         (sinh_test_downward): Likewise.
53758         (sinh_test_upward): Likewise.
53759         (sqrt_test): Likewise.
53760         (sqrt_test_tonearest): Likewise.
53761         (sqrt_test_towardzero): Likewise.
53762         (sqrt_test_downward): Likewise.
53763         (sqrt_test_upward): Likewise.
53764         (tan_test): Likewise.
53765         (tan_test_tonearest): Likewise.
53766         (tan_test_towardzero): Likewise.
53767         (tan_test_downward): Likewise.
53768         (tan_test_upward): Likewise.
53769         (tanh_test): Likewise.
53770         (tgamma_test): Likewise.
53771         (trunc_test): Likewise.
53772         (y0_test): Likewise.
53773         (y1_test): Likewise.
53774         (yn_test): Likewise.
53775         (significand_test): Likewise.
53777         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
53778         individual tests in comment.
53779         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
53780         (prev_max_error): New variable.
53781         (prev_real_max_error): Likewise.
53782         (prev_imag_max_error): Likewise.
53783         (compare_ulp_data): Don't refer to test names in comment.
53784         (find_test_ulps): Remove function.
53785         (find_function_ulps): Likewise.
53786         (find_complex_function_ulps): Likewise.
53787         (init_max_error): Take function name as argument.  Look up ulps
53788         for that function.
53789         (print_ulps): Remove function.
53790         (print_max_error): Use prev_max_error instead of calling
53791         find_function_ulps.
53792         (print_complex_max_error): Use prev_real_max_error and
53793         prev_imag_max_error instead of calling find_complex_function_ulps.
53794         (check_float_internal): Take max_ulp parameter instead of calling
53795         find_test_ulps.  Don't call print_ulps.
53796         (check_float): Update call to check_float_internal.
53797         (check_complex): Update calls to check_float_internal.
53798         (START): Pass argument to init_max_error.
53799         * math/gen-libm-test.pl (%results): Don't include "kind"
53800         information.
53801         (parse_ulps): Don't handle ulps of individual tests.
53802         (print_ulps_file): Likewise.
53803         (output_ulps): Likewise.
53804         * math/README.libm-test: Update.
53805         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53806         individual tests.
53807         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53808         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53809         * sysdeps/arm/libm-test-ulps: Likewise.
53810         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53811         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53812         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53813         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53814         * sysdeps/microblaze/libm-test-ulps: Likewise.
53815         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53816         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53817         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53818         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53819         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53820         * sysdeps/sh/libm-test-ulps: Likewise.
53821         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53822         * sysdeps/tile/libm-test-ulps: Likewise.
53823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53825 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53827         * math/libm-test.inc (print_complex_max_error): Check separately
53828         whether real and imaginary errors are within allowed range and
53829         pass 0 to print_complex_function_ulps instead of value within
53830         allowed range.
53832 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53834         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53835         formatting.
53836         (get_handles_fopen): Likewise.
53837         (do_write_test): Likewise.
53839         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53841         * libio/fileops.c (do_ftell): Use cached offset when
53842         available.
53843         * libio/iofwide.c (do_ftell_wide): Likewise.
53844         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53845         _IO_file_attach.
53846         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53848         [BZ #16532]
53849         * libio/libioP.h (get_file_offset): New function.
53850         * libio/fileops.c (get_file_offset): Likewise.
53851         (do_ftell): Likewise.
53852         (_IO_new_file_seekoff): Split out ftell logic.
53853         * libio/wfileops.c (do_ftell_wide): Likewise.
53854         (_IO_wfile_seekoff): Split out ftell logic.
53855         * libio/tst-ftell-active-handler.c: New test case.
53856         * libio/Makefile (tests): Add it.
53858 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53860         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53861         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53863 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53865         [BZ #16639]
53866         * nscd/connections.c (nscd_init): Call do_exit.
53867         (start_threads): Call do_exit and notify_parent.
53868         (begin_drop_privileges): Call do_exit.
53869         (finish_drop_privileges): Likewise.
53870         * nscd/selinux.c (preserve_capabilities): Likewise.
53871         (install_real_capabilities): Likewise.
53872         (nscd_selinux_enabled): Likewise.
53873         (avc_create_thread): Likewise.
53874         (avc_alloc_lock): Likewise.
53875         (nscd_avc_init): Likewise.
53876         * nscd/nscd.c (parent_fd): New static variable.
53877         (main): Create a pipe between parent and child processes.
53878         Skip closing parent_fd.
53879         (monitor_child): New function.
53880         (do_exit): Likewise.
53881         (notify_parent): Likewise.
53882         * nscd/nscd.h (notify_parent): Likewise.
53883         (do_exit): Likewise.
53885 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53887         * malloc/malloc.c (__libc_calloc): Revert last change.
53889 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53893 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53895         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53897         implementation.
53898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53899         (__libc_ifunc_impl_list): Likewise.
53900         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53901         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53902         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53903         * string/strrchr.c: Define STRRCHR.
53905 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53907         * benchtest/bench-strtok.c (simple_strtok): Delete.
53908         (strtok_string): Use as benchmark.
53909         * string/strtok (STRTOK): New macro.
53911 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53913         * manual/threads.texi: Add header and standard comments to all
53914         functions.
53916         * elf/dl-lookup.c (check_match): New function.
53917         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53918         (do_lookup_x): Remove nested function check_match. Use non-nested
53919         function check_match.
53921 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53923         * csu/Makefile (generated, before-compile): Use += rather than =.
53924         * catgets/Makefile (generated, generated-dirs): Likewise.
53925         * debug/Makefile (generated): Likewise.
53926         * dlfcn/Makefile (generated): Likewise.
53927         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53928         * iconvdata/Makefile (before-compile, generated): Likewise.
53929         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53930         * libio/Makefile (generated): Likewise.
53931         * malloc/Makefile (generated): Likewise.
53932         * manual/Makefile (generated, generated-dirs): Likewise.
53933         * misc/Makefile (generated): Likewise.
53934         * posix/Makefile (generated): Likewise.
53935         * resolv/Makefile (generated): Likewise.
53936         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53937         * timezone/Makefile (generated, generated-dirs): Likewise.
53939         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53941 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53944         power8 implementation.
53945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53946         file: POWER8 llround ifunc implementation.
53947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53948         (__lllround): Add POWER8 implementation.
53949         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53950         POWER8 llround implementation.
53952         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53953         power8 implementation.
53954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53955         file: POWER8 llrint ifunc implementation.
53956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53957         Add POWER8 implementation.
53958         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53959         POWER8 llrint implementation.
53961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53962         power8 implementation.
53963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53964         file: POWER8 finite ifunc implementation.
53965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53966         Add POWER8 implementation.
53967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53968         Likewise.
53969         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53970         POWER8 finite implementation.
53971         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53974         power8 implementation.
53975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53976         file: POWER8 isinf ifunc implementation.
53977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53978         POWER8 implementation.
53979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53980         Likewise.
53981         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53982         isinf implementation.
53983         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53985         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53986         (INIT_ARCH): Add hwcap2 initialization.
53987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53988         power8 implementation.
53989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53990         file: POWER8 isnan ifunc implementation.
53991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53992         POWER8 implementation.
53993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53994         Likewise.
53995         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53996         isnan implementation.
53997         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53999 2014-02-27  Joey Ye  <joey.ye@arm.com>
54001         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54002         (_FP_NANFRAC_Q): Set to zero.
54004 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54006         [BZ #16623]
54007         * math/auto-libm-test-in: New test inputs.
54008         * math/auto-libm-test-out: Regenerate.
54009         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54010         and DA.
54011         (__cos): Likewise.
54012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54014 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54016         * scripts/evaluate-test.sh: Take new argument indicating whether
54017         failure is expected.
54018         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54019         indicating whether failure is expected.
54020         * conform/Makefile (test-xfail-run-conformtest): New variable.
54021         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54022         level.
54023         * posix/Makefile (test-xfail-annexc): New variable.
54024         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54026 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54028         * argp/Makefile: Include Makeconfig immediately after defining
54029         subdir.
54030         * assert/Makefile: Likewise.
54031         * benchtests/Makefile: Likewise.
54032         * catgets/Makefile: Likewise.
54033         * conform/Makefile: Likewise.
54034         * crypt/Makefile: Likewise.
54035         * csu/Makefile: Likewise.
54036         (all): Remove target.
54037         * ctype/Makefile: Include Makeconfig immediately after defining
54038         subdir.
54039         * debug/Makefile: Likewise.
54040         * dirent/Makefile: Likewise.
54041         * dlfcn/Makefile: Likewise.
54042         * gmon/Makefile: Likewise.
54043         * gnulib/Makefile: Likewise.
54044         * grp/Makefile: Likewise.
54045         * gshadow/Makefile: Likewise.
54046         * hesiod/Makefile: Likewise.
54047         * hurd/Makefile: Likewise.
54048         (all): Remove target.
54049         * iconvdata/Makefile: Include Makeconfig immediately after
54050         defining subdir.
54051         * inet/Makefile: Likewise.
54052         * intl/Makefile: Likewise.
54053         * io/Makefile: Likewise.
54054         * libio/Makefile: Likewise.
54055         (all): Remove target.
54056         * locale/Makefile: Include Makeconfig immediately after defining
54057         subdir.
54058         * login/Makefile: Likewise.
54059         * mach/Makefile: Likewise.
54060         (all): Remove target.
54061         * malloc/Makefile: Include Makeconfig immediately after defining
54062         subdir.
54063         (all): Remove target.
54064         * manual/Makefile: Include Makeconfig immediately after defining
54065         subdir.
54066         * math/Makefile: Likewise.
54067         * misc/Makefile: Likewise.
54068         * nis/Makefile: Likewise.
54069         * nss/Makefile: Likewise.
54070         * po/Makefile: Likewise.
54071         (all): Remove target.
54072         * posix/Makefile: Include Makeconfig immediately after defining
54073         subdir.
54074         * pwd/Makefile: Likewise.
54075         * resolv/Makefile: Likewise.
54076         * resource/Makefile: Likewise.
54077         * rt/Makefile: Likewise.
54078         * setjmp/Makefile: Likewise.
54079         * shadow/Makefile: Likewise.
54080         * signal/Makefile: Likewise.
54081         * socket/Makefile: Likewise.
54082         * soft-fp/Makefile: Likewise.
54083         * stdio-common/Makefile: Likewise.
54084         * stdlib/Makefile: Likewise.
54085         * streams/Makefile: Likewise.
54086         * string/Makefile: Likewise.
54087         * sunrpc/Makefile: Likewise.
54088         (all): Remove target.
54089         * sysvipc/Makefile: Include Makeconfig immediately after defining
54090         subdir.
54091         * termios/Makefile: Likewise.
54092         * time/Makefile: Likewise.
54093         * timezone/Makefile: Likewise.
54094         (all): Remove target.
54095         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54096         subdir.
54097         * wctype/Makefile: Likewise.
54099 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54101         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54102         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54103         (libc_feholdexcept_setround_mips): Ditto.
54104         (libc_feholdsetround): New.
54105         (libc_feholdsetroundf): New.
54106         (libc_feholdsetroundl): New.
54107         (libc_feupdateenv_test_mips): New.
54108         (libc_feupdateenv_test): New.
54109         (libc_feupdateenv_testf): New.
54110         (libc_feupdateenv_testl): New.
54111         (libc_feresetround): New.
54112         (libc_feresetroundf): New.
54113         (libc_feresetroundl): New.
54114         (libc_fetestexcept_mips): New.
54115         (libc_fetestexcept): New.
54116         (libc_fetestexceptf): New.
54117         (libc_fetestexceptl): New.
54118         (HAVE_RM_CTX): New.
54119         (libc_feholdexcept_setround_mips_ctx): New.
54120         (libc_feholdexcept_setround_ctx): New.
54121         (libc_feholdexcept_setroundf_ctx): New.
54122         (libc_feholdexcept_setroundl_ctx): New.
54123         (libc_fesetenv_mips_ctx): New.
54124         (libc_fesetenv_ctx): New.
54125         (libc_fesetenv_ctxf): New.
54126         (libc_fesetenv_ctxl): New.
54127         (libc_feupdateenv_mips_ctx): New.
54128         (libc_feupdateenv_ctx): New.
54129         (libc_feupdateenvf_ctx): New.
54130         (libc_feupdateenvl_ctx): New.
54131         (libc_feholdsetround_mips_ctx): New.
54132         (libc_feholdsetround_ctx): New.
54133         (libc_feholdsetroundf_ctx): New.
54134         (libc_feholdsetroundl_ctx): New.
54135         (libc_feresetround_mips_ctx): New.
54136         (libc_feresetround_ctx): New.
54137         (libc_feresetroundf_ctx): New.
54138         (libc_feresetroundl_ctx): New.
54140 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54142         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54144         * manual/ipc.texi: New file.
54145         * manual/Makefile (chapters): Add ipc.
54146         * manual/job.texi: Add "Inter-Process Communication" to next.
54147         * manual/process.texi: Add "Inter-Process Communication" to prev.
54149 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54153 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54155         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54157         * manual/arith.texi: Fix spaces after sentences.
54158         * manual/charset.texi: Likewise.
54159         * manual/errno.texi: Likewise.
54160         * manual/install.texi: Likewise.
54161         * manual/llio.texi: Likewise.
54162         * manual/locale.texi: Likewise.
54163         * manual/maint.texi: Likewise.
54164         * manual/math.texi: Likewise.
54165         * manual/memory.texi: Likewise.
54166         * manual/message.texi: Likewise.
54167         * manual/probes.texi: Likewise.
54168         * manual/resource.texi: Likewise.
54169         * manual/signal.texi: Likewise.
54170         * manual/socket.texi: Likewise.
54171         * manual/stdio.texi: Likewise.
54172         * manual/string.texi: Likewise.
54173         * manual/time.texi: Likewise.
54174         * manual/users.texi: Likewise.
54176 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54178         [BZ #16632]
54179         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54180         _DEFAULT_SOURCE is defined.
54182 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54183             Carlos O'Donell  <carlos@redhat.com>
54185         [BZ #16613]
54186         * elf/dl-tls.c (_dl_count_modids): New function.
54187         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54188         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54189         audit library and increment generation counter.
54190         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54191         * elf/tst-audit9.c: New file.
54192         * elf/tst-auditmod9a.c: New file.
54193         * elf/tst-auditmod9b.c: New file.
54194         * elf/Makefile: Add rules to build and run tst-audit9.
54196 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54198         [BZ #15347]
54199         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54201 2014-02-25  Will Newton  <will.newton@linaro.org>
54203         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54204         (__longjmp): Restore sp and lr before restoring callee
54205         saved registers.  Add longjmp and longjmp_target
54206         SystemTap probe point.
54207         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54208         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54209         Define to zero to match jmpbuf layout.
54210         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54211         (__sigsetjmp): Save sp and lr before saving callee
54212         saved registers.  Add setjmp SystemTap probe point.
54214 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54218 2014-02-24  Andreas Schwab  <schwab@suse.de>
54220         [BZ #15804]
54221         * elf/pldd.c (wait_for_ptrace_stop): New function.
54222         (main): Call it after attaching.
54224 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54226         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54227         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54228         Versions files is now verboten.
54229         * hurd/Versions (libc: GLIBC_2.0):
54230         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54231         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54232         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54233         * mach/Versions: Likewise.
54235         * csu/Versions: Remove unused %include.
54236         * resolv/Versions: Likewise.
54238 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54240         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54241         ($(objpfx)check-local-headers.out): Likewise.
54242         ($(objpfx)begin-end-check.out): Likewise.
54243         * Makerules (check-abi-%.out): Likewise.
54244         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54245         ($(objpfx)test2.cat): Likewise.
54246         ($(objpfx)de/libc.cat): Likewise.
54247         ($(objpfx)test-gencat.out): Likewise.
54248         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54249         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54250         ($(objpfx)noload-mem): Likewise.
54251         ($(objpfx)tst-pathopt.out): Likewise.
54252         ($(objpfx)tst-rtld-load-self.out): Likewise.
54253         ($(objpfx)tst-array1-cmp.out): Likewise.
54254         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54255         ($(objpfx)tst-array2-cmp.out): Likewise.
54256         ($(objpfx)tst-array3-cmp.out): Likewise.
54257         ($(objpfx)tst-array4-cmp.out): Likewise.
54258         ($(objpfx)tst-array5-cmp.out): Likewise.
54259         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54260         ($(objpfx)check-textrel.out): Likewise.
54261         ($(objpfx)check-execstack.out): Likewise.
54262         ($(objpfx)check-localplt.out): Likewise.
54263         ($(objpfx)order2-cmp.out): Likewise.
54264         ($(objpfx)tst-leaks1-mem): Likewise.
54265         ($(objpfx)tst-leaks1-static-mem): Likewise.
54266         ($(objpfx)tst-initorder-cmp.out): Likewise.
54267         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54268         ($(objpfx)tst-unused-dep.out): Likewise.
54269         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54270         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54271         * iconv/Makefile (test-iconvconfig): Likewise.
54272         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54273         ($(objpfx)iconv-test.out): Likewise.
54274         ($(objpfx)tst-tables.out): Likewise.
54275         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54276         ($(objpfx)tst-gettext.out): Likewise.
54277         ($(objpfx)tst-translit.out): Likewise.
54278         ($(objpfx)tst-gettext2.out): Likewise.
54279         ($(objpfx)tst-gettext4.out): Likewise.
54280         ($(objpfx)tst-gettext6.out): Likewise.
54281         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54282         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54283         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54284         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54285         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54286         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54287         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54288         ($(objpfx)wordexp-tst.out): Likewise.
54289         ($(objpfx)annexc.out): Likewise.
54290         ($(objpfx)tst-fnmatch-mem): Likewise.
54291         ($(objpfx)bug-regex2-mem): Likewise.
54292         ($(objpfx)bug-regex14-mem): Likewise.
54293         ($(objpfx)bug-regex21-mem): Likewise.
54294         ($(objpfx)bug-regex31-mem): Likewise.
54295         ($(objpfx)tst-vfork3-mem): Likewise.
54296         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54297         ($(objpfx)tst-pcre-mem): Likewise.
54298         ($(objpfx)tst-boost-mem): Likewise.
54299         ($(objpfx)tst-getconf.out): Likewise.
54300         ($(objpfx)bug-ga2-mem): Likewise.
54301         ($(objpfx)bug-glob2-mem): Likewise.
54302         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54303         ($(objpfx)mtrace-tst-leaks2): Likewise.
54304         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54305         ($(objpfx)tst-printf.out): Likewise.
54306         ($(objpfx)tst-setvbuf1.out): Likewise.
54307         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54308         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54309         ($(objpfx)tst-fmtmsg.out): Likewise.
54310         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54311         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54313         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54314         * bits/sigaction.h [__USE_MISC]: Likewise.
54315         * bits/waitstatus.h: Update #endif comments.
54316         * ctype/ctype.h: Likewise.
54317         * dirent/dirent.h: Likewise.
54318         [__USE_MISC]: Remove redundant conditionals.
54319         * grp/grp.h: Update #endif comments.
54320         [__USE_GNU]: Remove redundant conditionals.
54321         [__USE_MISC]: Likewise.
54322         * inet/netinet/in.h [__USE_GNU]: Likewise.
54323         * io/sys/stat.h [__USE_MISC]: Likewise.
54324         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54325         * libio/bits/stdio.h: Update #endif comments.
54326         [__USE_MISC]: Remove redundant conditionals.
54327         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
54328         * libio/stdio.h: Update #endif comments.
54329         [__USE_MISC]: Remove redundant conditionals.
54330         * math/bits/math-finite.h [__USE_MISC]: Likewise.
54331         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
54332         * math/math.h: Update #else and #endif comments.
54333         [__USE_MISC]: Remove redundant conditionals.
54334         * misc/sys/uio.h: Update #endif comments.
54335         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
54336         * posix/glob.h [__USE_MISC]: Likewise.
54337         * posix/sys/types.h: Update #endif comments.
54338         [__USE_MISC]: Remove redundant conditionals.
54339         * posix/sys/wait.h: Update #endif comments.
54340         [__USE_MISC]: Remove redundant conditionals.
54341         * posix/unistd.h: Update #endif comments.
54342         [__USE_MISC]: Remove redundant conditionals.
54343         * pwd/pwd.h [__USE_GNU]: Likewise.
54344         [__USE_MISC]: Likewise.
54345         * resolv/netdb.h [__USE_GNU]: Likewise.
54346         * signal/signal.h: Update #endif comments.
54347         [__USE_MISC]: Remove redundant conditionals.
54348         * stdlib/stdlib.h: Update #else and #endif comments.
54349         [__USE_MISC]: Remove redundant conditionals.
54350         [__USE_GNU]: Likewise.
54351         * string/bits/string2.h [__USE_MISC]: Likewise.
54352         * string/string.h: Update #endif comments.
54353         [__USE_MISC]: Remove redundant conditionals.
54354         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
54355         Likewise.
54356         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
54357         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
54358         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
54359         Likewise.
54360         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
54361         Likewise.
54362         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
54363         comments.
54364         [__USE_MISC]: Remove redundant conditionals.
54365         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
54366         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
54367         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
54368         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
54369         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
54370         Likewise.
54371         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
54372         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
54373         Likewise.
54374         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
54375         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
54376         Likewise.
54377         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
54378         Likewise.
54379         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
54380         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
54381         Likewise.
54382         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
54383         Likewise.
54384         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
54385         * sysdeps/x86/bits/string.h: Update #endif comments.
54386         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
54387         conditionals.
54388         * time/sys/time.h: Update #endif comments.
54389         * time/time.h: Likewise.
54390         [__USE_MISC]: Remove redundant conditionals.
54392 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
54394         [BZ #16600]
54395         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
54397 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
54399         * Versions.def (librt): Add GLIBC_2.17.
54401 2014-02-21  Adam Conrad  <adconrad@0c3.net>
54403         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
54404         synonym for _SYS_AUXV_H to allow direct inclusion.
54405         * sysdeps/sparc/bits/hwcap.h: Likewise.
54406         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
54407         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
54408         * sysdeps/sparc/sysdep.h: Likewise.
54410 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54412         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
54414 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54416         * benchtests/bench-strrchr.c: Print length instead of position.
54418 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
54420         [BZ #16611]
54421         * sysdeps/unix/sysv/linux/kernel-features.h
54422         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
54423         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
54424         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
54425         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
54426         Likewise.
54427         [__i386__ || __powerpc__ || __sh__ || __sparc__]
54428         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54429         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
54430         (__ASSUME_SENDMMSG): Define instead of using previous
54431         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
54432         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54433         (__ASSUME_SENDMMSG_SYSCALL): Define.
54434         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54435         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
54436         Likewise.
54437         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54438         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54439         Likewise.
54440         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54441         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54442         Likewise.
54443         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
54444         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54445         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54446         [__ASSUME_SENDMMSG]: Change conditionals to
54447         [__ASSUME_SENDMMSG_SOCKETCALL].
54448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54449         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
54450         Define.
54451         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54452         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
54453         Likewise.
54454         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
54455         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
54456         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
54457         [!__ASSUME_SENDMMSG]: Change conditional to
54458         [!__ASSUME_SENDMMSG_SOCKETCALL].
54459         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54460         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
54461         Define.
54463         [BZ #16610]
54464         * sysdeps/unix/sysv/linux/kernel-features.h
54465         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
54466         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
54467         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
54468         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
54469         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
54470         [__i386__ || __sparc__]
54471         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54472         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
54473         (__ASSUME_RECVMMSG): Define instead of using previous
54474         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
54475         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54476         (__ASSUME_RECVMMSG_SYSCALL): Define.
54477         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54479         Likewise.
54480         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54482         Likewise.
54483         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54484         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54485         Likewise.
54486         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
54487         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54488         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54489         [__ASSUME_RECVMMSG]: Change condition to
54490         [__ASSUME_RECVMMSG_SOCKETCALL].
54491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54492         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54493         Define.
54494         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
54495         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
54497         Likewise.
54498         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
54499         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
54500         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
54501         [!__ASSUME_RECVMMSG]: Change condition to
54502         [!__ASSUME_RECVMMSG_SOCKETCALL].
54503         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54504         (__ASSUME_RECVMMSG_SYSCALL): Define.
54506         [BZ #16609]
54507         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
54508         __powerpc__ || __s390__ || __sh__ || __sparc__]
54509         (__ASSUME_SOCKETCALL): Define.
54510         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
54511         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
54512         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
54513         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
54514         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
54515         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
54516         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
54517         (__ASSUME_ACCEPT4): Define instead of using previous
54518         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
54519         __powerpc__ || __sparc__ || __s390__)] condition.
54520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54521         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54522         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
54523         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54524         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54525         [!__ASSUME_ACCEPT4]: Change condition to
54526         [!__ASSUME_ACCEPT4_SOCKETCALL].
54527         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54528         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
54529         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
54530         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54531         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
54532         __ASSUME_ACCEPT4_SYSCALL.
54533         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
54534         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
54535         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
54536         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
54537         __ASSUME_ACCEPT4_SYSCALL.
54538         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
54539         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
54540         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
54541         [__ASSUME_ACCEPT4]: Change condition to
54542         [__ASSUME_ACCEPT4_SOCKETCALL].
54543         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54544         (__ASSUME_SOCKETCALL): Define.
54545         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
54546         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54547         (__ASSUME_SOCKETCALL): Define.
54548         (__ASSUME_ACCEPT4): Remove.
54549         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
54550         Define.
54551         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54552         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
54553         Likewise.
54554         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54555         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
54557         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
54558         macro.
54559         (HWCAP_ARM_LPAE): Likewise.
54560         (HWCAP_ARM_EVTSTRM): Likewise.
54561         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
54562         Add vpfd32, lpae and evtstrm.
54563         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
54564         Increase to 22.
54566 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
54568         * math/auto-libm-test-in: Add tests of clog10.
54569         * math/auto-libm-test-out: Regenerated.
54570         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
54571         * sysdeps/i386/fpu/libm-test-ulps: Update.
54572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54574 2014-02-18  Andreas Schwab  <schwab@suse.de>
54576         [BZ #16574]
54577         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
54578         Store non-zero if the second buffer was newly allocated.
54579         (send_dg): Likewise.
54580         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
54581         to send_vc and send_dg.
54582         (res_nsend): Pass NULL for ansp2_malloced.
54583         * resolv/res_query.c (__libc_res_nquery): Add parameter
54584         answerp2_malloced and pass it down to __libc_res_nsend.
54585         (res_nquery): Pass additional NULL to __libc_res_nquery.
54586         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
54587         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
54588         second answer buffer if answerp2_malloced was set.
54589         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
54590         (__libc_res_nquerydomain): Add parameter
54591         answerp2_malloced and pass it down to __libc_res_nquery.
54592         (res_nquerydomain): Pass additional NULL to
54593         __libc_res_nquerydomain.
54594         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
54595         additional NULL to __libc_res_nsend and __libc_res_nquery.
54596         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
54597         additional NULL to __libc_res_nsearch.
54598         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
54599         parameter of __libc_res_nsearch to check for separately allocated
54600         second buffer.
54601         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
54602         __libc_res_nquery.
54603         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
54604         additional NULL to __libc_res_nquery.
54605         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
54606         __libc_res_nsearch.
54607         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54608         * include/resolv.h: Update prototypes of __libc_res_nquery,
54609         __libc_res_nsearch, __libc_res_nsend.
54611 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
54613         * math/auto-libm-test-in: Add tests of fma.
54614         * math/auto-libm-test-out: Regenerated.
54615         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
54616         (fma_towardzero_test_data): Likewise.
54617         (fma_downward_test_data): Likewise.
54618         (fma_upward_test_data): Likewise.
54619         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
54620         mpc_mode.
54621         (rounding_modes): Add values for new field.
54622         (func_calc_method): Add value mpfr_fff_f.
54623         (func_calc_desc): Add mpfr_fff_f union field.
54624         (test_function): Add field exact_args.
54625         (FUNC): Add macro argument EXACT_ARGS.
54626         (FUNC_mpfr_f_f): Update call to FUNC.
54627         (FUNC_mpfr_f_f): Likewise.
54628         (FUNC_mpfr_ff_f): Likewise.
54629         (FUNC_mpfr_if_f): Likewise.
54630         (FUNC_mpc_c_f): Likewise.
54631         (FUNC_mpc_c_c): Likewise.
54632         (test_functions): Add fma.  Update calls to FUNC.
54633         (handle_input_arg): Add argument exact_args.
54634         (add_test): Update call to handle_input_arg.
54635         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
54636         (output_for_one_input_case): Update call to calc_generic_results.
54637         Recalculate exact zero results in each rounding mode.
54639         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
54640         non-negative before setting low bit.
54641         * math/auto-libm-test-in: Mark one asin test possibly having
54642         spurious underflow.
54643         * math/auto-libm-test-out: Regenerated.
54644         * sysdeps/i386/fpu/libm-test-ulps: Update.
54645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54647 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
54649         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
54650         * sysdeps/unix/sysv/linux/microblaze: Move directory from
54651         ports/sysdeps/unix/sysv/linux/microblaze.
54652         * README: Add missing listing for microblaze*-*-linux-gnu.
54654 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
54656         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
54657         duplicate code
54659 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
54661         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
54662         * sysdeps/unix/sysv/linux/ia64: Move directory from
54663         ports/sysdeps/unix/sysv/linux/ia64.
54664         * README: Update listing for ia64-*-linux-gnu.
54666 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
54667             Joseph Myers  <joseph@codesourcery.com>
54669         * Makeconfig (test-name): New variable.
54670         (evaluate-test): Likewise.
54671         * Makerules (do-test-clean): Remove .test-result files.
54672         (common-mostlyclean): Likewise.
54673         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
54674         * scripts/evaluate-test.sh: New file.
54676 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
54678         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
54679         separate $(objpfx)tst-fopenloc-cmp.out and
54680         $(objpfx)tst-fopenloc-mem.out targets.
54681         (tests): Update dependencies.
54682         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
54683         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
54684         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
54685         (tst-rxspencer-no-utf8-ARGS): New variable.
54686         (tst-rxspencer-no-utf8-ENV): Likewise.
54687         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
54688         instead of $(objpfx)tst-rxspencer-mem.
54689         ($(objpfx)tst-rxspencer-mem): Change target to
54690         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
54691         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
54692         * posix/tst-rxspencer-no-utf8.c: New file.
54694         * elf/Makefile ($(objpfx)order.out): Remove rule.
54695         [$(run-built-tests) = yes] (tests): Depend on
54696         $(objpfx)order-cmp.out.
54697         ($(objpfx)order-cmp.out): New rule.
54698         [$(run-built-tests) = yes] (tests): Depend on
54699         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
54700         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
54701         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
54702         $(objpfx)tst-array5-static-cmp.out.
54703         ($(objpfx)tst-array1.out): Remove rule.
54704         ($(objpfx)tst-array1-cmp.out): New rule.
54705         ($(objpfx)tst-array1-static.out): Remove rule.
54706         ($(objpfx)tst-array1-static-cmp.out): New rule.
54707         ($(objpfx)tst-array2.out): Remove rule.
54708         ($(objpfx)tst-array2-cmp.out): New rule.
54709         ($(objpfx)tst-array3.out): Remove rule.
54710         ($(objpfx)tst-array3-cmp.out): New rule.
54711         ($(objpfx)tst-array4.out): Remove rule.
54712         ($(objpfx)tst-array4-cmp.out): New rule.
54713         ($(objpfx)tst-array5.out): Remove rule.
54714         ($(objpfx)tst-array5-cmp.out): New rule.
54715         ($(objpfx)tst-array5-static.out): Remove rule.
54716         ($(objpfx)tst-array5-static-cmp.out): New rule.
54717         [$(run-built-tests) = yes] (tests): Depend on
54718         $(objpfx)order2-cmp.out.
54719         ($(objpfx)order2.out): Remove rule.
54720         ($(objpfx)order2-cmp.out): New rule.
54721         ($(objpfx)tst-initorder.out): Remove rule.
54722         [$(run-built-tests) = yes] (tests): Depend on
54723         $(objpfx)tst-initorder-cmp.out.
54724         ($(objpfx)tst-initorder-cmp.out): New rule.
54725         ($(objpfx)tst-initorder2.out): Remove rule.
54726         [$(run-built-tests) = yes] (tests): Depend on
54727         $(objpfx)tst-initorder2-cmp.out.
54728         ($(objpfx)tst-initorder2-cmp.out): New rule.
54729         [$(run-built-tests) = yes] (tests): Depend on
54730         $(objpfx)tst-unused-dep-cmp.out.
54731         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
54732         ($(objpfx)tst-unused-dep-cmp.out): New rule.
54733         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
54734         on $(objpfx)tst-setvbuf1-cmp.out.
54735         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
54736         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
54737         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
54738         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
54739         ($(objpfx)tst-svc.out): Remove rule.
54740         ($(objpfx)tst-svc-cmp.out): New rule.
54742 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
54744         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
54745         * ctype/ctype.h [__USE_MISC]: Likewise.
54746         * dirent/dirent.h [__USE_MISC]: Likewise.
54747         * grp/grp.h [__USE_MISC]: Likewise.
54748         * io/fcntl.h [__USE_MISC]: Likewise.
54749         * io/sys/stat.h [__USE_MISC]: Likewise.
54750         * libio/stdio.h [__USE_MISC]: Likewise.
54751         * posix/unistd.h [__USE_MISC]: Likewise.
54752         * pwd/pwd.h [__USE_MISC]: Likewise.
54753         * stdlib.h [__USE_MISC]: Likewise.
54754         * string/bits/string2.h [__USE_MISC]: Likewise.
54755         * string/string.h [__USE_MISC]: Likewise.
54756         * time/time.h [__USE_MISC]: Likewise.
54758 2014-02-13  Andreas Schwab  <schwab@suse.de>
54760         [BZ #16574]
54761         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
54762         second answer buffer if it was separately allocated.
54764 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
54766         * sysdeps/mips/math-tests.h: Include <features.h>.
54767         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54768         (ROUNDING_TESTS_long_double): Do not define.
54769         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
54770         (EXCEPTION_TESTS_long_double): Likewise.
54771         * sysdeps/mips/mips64/libm-test-ulps: Update.
54773         * include/features.h (__USE_BSD): Remove macro definitions.
54774         (__USE_SVID): Likewise.
54775         (_BSD_SOURCE): Likewise.
54776         (_SVID_SOURCE): Likewise.
54777         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
54778         from definition of _DEFAULT_SOURCE.
54779         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
54780         [_DEFAULT_SOURCE].
54781         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
54782         * bits/mman.h [__USE_BSD]: Likewise.
54783         * bits/termios.h [__USE_BSD]: Likewise.
54784         * bits/waitstatus.h [__USE_BSD]: Likewise.
54785         * ctype/ctype.h [__USE_SVID]: Likewise.
54786         * dirent/dirent.h [__USE_BSD]: Likewise.
54787         * grp/grp.h [__USE_SVID]: Likewise.
54788         [__USE_BSD]: Likewise.
54789         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
54790         * io/fcntl.h [__USE_BSD]: Likewise.
54791         * io/ftw.h [__USE_BSD]: Likewise.
54792         * io/sys/stat.h [__USE_BSD]: Likewise.
54793         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
54794         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54795         * libio/stdio.h [__USE_SVID]: Likewise.
54796         [__USE_BSD]: Likewise.
54797         * math/math.h [__USE_SVID]: Likewise.
54798         [__USE_BSD]: Likewise.
54799         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54800         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54801         * misc/search.h [__USE_SVID]: Likewise.
54802         * misc/sys/mman.h [__USE_BSD]: Likewise.
54803         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54804         * misc/sys/uio.h [__USE_BSD]: Likewise.
54805         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54806         * posix/glob.h [__USE_BSD]: Likewise.
54807         * posix/regex.h [__USE_BSD]: Likewise.
54808         * posix/sys/types.h [__USE_BSD]: Likewise.
54809         [__USE_SVID]: Likewise.
54810         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54811         * posix/sys/wait.h [__USE_BSD]: Likewise.
54812         [__USE_SVID]: Likewise.
54813         * posix/unistd.h [__USE_BSD]: Likewise.
54814         [__USE_SVID]: Likewise.
54815         * pwd/pwd.h [__USE_SVID]: Likewise.
54816         * resolv/netdb.h [__USE_BSD]: Likewise.
54817         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54818         * signal/signal.h [__USE_BSD]: Likewise.
54819         [__USE_SVID]: Likewise.
54820         * socket/sys/socket.h [__USE_BSD]: Likewise.
54821         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54822         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54823         [__USE_SVID]: Likewise.
54824         * string/bits/string2.h [__USE_BSD]: Likewise.
54825         [__USE_SVID]: Likewise.
54826         * string/bits/string3.h [__USE_BSD]: Likewise.
54827         * string/endian.h [__USE_BSD]: Likewise.
54828         * string/string.h [__USE_SVID]: Likewise.
54829         [__USE_BSD]: Likewise.
54830         * string/strings.h [__USE_BSD]: Likewise.
54831         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54832         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54833         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54834         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54835         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54836         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54837         Likewise.
54838         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54839         Likewise.
54840         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54841         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54842         Likewise.
54843         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54844         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54845         Likewise.
54846         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54847         Likewise.
54848         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54849         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54850         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54851         Likewise.
54852         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54853         Likewise.
54854         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54855         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54856         * termios/termios.h [__USE_BSD]: Likewise.
54857         * time/sys/time.h [__USE_BSD]: Likewise.
54858         * time/time.h [__USE_BSD]: Likewise.
54859         [__USE_SVID]: Likewise.
54861         * Makefile (subdir_targets): Remove subdir_lint.out.
54863         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54864         (do-tst-printf): Likewise.
54865         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54866         $(objpfx)tst-printf.out.
54868         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54870         * Makerules (check-abi-%): Change target to
54871         $(objpfx)check-abi-%.out.
54872         (check-abi target): Update dependencies.
54873         (check-abi-pattern variable): Redirect output of diff to $@.
54874         (check-abi variable): Likewise.
54875         * elf/Makefile (check-abi): Update dependencies.
54877         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54878         unused.
54879         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54880         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54881         subnormal range.
54882         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54883         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54884         value has largest subnormal exponent.
54885         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54886         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54887         * sysdeps/aarch64/soft-fp/sfp-machine.h
54888         (_FP_TININESS_AFTER_ROUNDING): New macro.
54889         * sysdeps/alpha/soft-fp/sfp-machine.h
54890         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54891         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54892         Likewise.
54893         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54894         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54895         * sysdeps/mips/soft-fp/sfp-machine.h
54896         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54897         * sysdeps/powerpc/soft-fp/sfp-machine.h
54898         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54899         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54900         Likewise.
54901         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54902         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54903         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54904         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54905         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54906         Likewise.
54908 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54910         [BZ #16545]
54911         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54912         model 1.
54914 2014-02-12  Richard Henderson  <rth@redhat.com>
54916         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54917         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54918         * sysdeps/unix/sysv/linux/alpha: Move directory from
54919         ports/sysdeps/unix/sysv/linux/alpha.
54920         * README: Update listing for alpha-*-linux-gnu.
54922 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54924         * include/features.h: Update comment documenting feature test
54925         macros.
54926         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54927         _DEFAULT_SOURCE.
54928         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54929         (_SVID_SOURCE): Likewise.
54930         (_DEFAULT_SOURCE): Update description of default features.
54931         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54932         with _GNU_SOURCE.
54933         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54934         (S_ISVTX): Likewise.
54935         * manual/math.texi (Mathematical Constants): Likewise.
54936         * manual/signal.texi (Interrupted Primitives): Likewise.
54937         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54938         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54939         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54940         Don't refer to _SVID_SOURCE in warning text.
54942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54944         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54945         already defined.
54946         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54947         * sysdeps/mips/dl-lookup.c: Remove.
54948         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54950 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54952         [BZ #16447]
54953         * math/auto-libm-test-in: Add testcase for expl.
54954         * math/auto-libm-test-out: Regenerate.
54955         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54956         calculation of unsafe.
54957         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54959 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54961         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54962         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54963         ports/sysdeps/unix/sysv/linux/aarch64.
54964         * README: Update listing for aarch64*-*-linux-gnu.
54966 2014-02-11  Will Newton  <will.newton@linaro.org>
54968         * manual/probes.texi (Mathematical Function Probes): Use
54969         "triggered" instead of "hit".
54971         * manual/probes.texi (Internal Probes): Add documentation
54972         of setjmp, longjmp and longjmp_target probes.
54974         * include/stap-probe.h: Add comment about probe argument
54975         format.
54977         * malloc/mtrace.c (attribute_hidden): Remove unused macro
54978         definition.  (tr_where, tr_freehook, tr_mallochook,
54979         tr_reallochook, tr_memalignhook): Use ANSI protoype.
54981 2014-02-11  David S. Miller  <davem@davemloft.net>
54983         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54984         processing int_tests.
54986 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
54988         * sysdeps/mips: Move directory from ports/sysdeps/mips.
54989         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54990         * sysdeps/unix/sysv/linux/mips: Move directory from
54991         ports/sysdeps/unix/sysv/linux/mips.
54992         * README: Update listing for mips-*-linux-gnu and
54993         mips64-*-linux-gnu.
54995 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
54997         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54998         * sysdeps/unix/sysv/linux/m68k: Move directory from
54999         ports/sysdeps/unix/sysv/linux/m68k.
55000         * README: Update listing for m68k-*-linux-gnu.
55002 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55004         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55005         * sysdeps/unix/sysv/linux/generic: Move directory from
55006         ports/sysdeps/unix/sysv/linux/generic.
55007         * sysdeps/unix/sysv/linux/tile: Move directory from
55008         ports/sysdeps/unix/sysv/linux/tile.
55009         * README: Update listing for tile*-*-linux-gnu.
55011 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55013         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55014         __builtin_expect.
55015         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55016         * catgets/open_catalog.c (__open_catalog): Likewise.
55017         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55018         * debug/confstr_chk.c: Likewise.
55019         * debug/fread_chk.c (__fread_chk): Likewise.
55020         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55021         * debug/getgroups_chk.c: Likewise.
55022         * debug/mbsnrtowcs_chk.c: Likewise.
55023         * debug/mbsrtowcs_chk.c: Likewise.
55024         * debug/mbstowcs_chk.c: Likewise.
55025         * debug/memcpy_chk.c: Likewise.
55026         * debug/memmove_chk.c: Likewise.
55027         * debug/mempcpy_chk.c: Likewise.
55028         * debug/memset_chk.c: Likewise.
55029         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55030         * debug/strcat_chk.c (__strcat_chk): Likewise.
55031         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55032         * debug/strncat_chk.c (__strncat_chk): Likewise.
55033         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55034         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55035         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55036         * debug/wcpncpy_chk.c: Likewise.
55037         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55038         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55039         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55040         * debug/wcsncpy_chk.c: Likewise.
55041         * debug/wcsnrtombs_chk.c: Likewise.
55042         * debug/wcsrtombs_chk.c: Likewise.
55043         * debug/wcstombs_chk.c: Likewise.
55044         * debug/wmemcpy_chk.c: Likewise.
55045         * debug/wmemmove_chk.c: Likewise.
55046         * debug/wmempcpy_chk.c: Likewise.
55047         * debug/wmemset_chk.c: Likewise.
55048         * dirent/scandirat.c (SCANDIRAT): Likewise.
55049         * dlfcn/dladdr1.c (dladdr1): Likewise.
55050         * dlfcn/dladdr.c (dladdr): Likewise.
55051         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55052         * dlfcn/dlerror.c (__dlerror): Likewise.
55053         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55054         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55055         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55056         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55057         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55058         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55059         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55060         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55061         Likewise.
55062         * elf/dl-conflict.c: Likewise.
55063         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55064         * elf/dl-dst.h: Likewise.
55065         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55066         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55067         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55068         * elf/dl-init.c (call_init, _dl_init): Likewise.
55069         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55070         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55071         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55072         Likewise.
55073         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55074         Likewise.
55075         * elf/dl-minimal.c (__libc_memalign): Likewise.
55076         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55077         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55078         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55079         * elf/dl-sym.c (do_sym): Likewise.
55080         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55081         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55082         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55083         * elf/dl-writev.h (_dl_writev): Likewise.
55084         * elf/ldconfig.c (search_dir): Likewise.
55085         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55086         (dl_main): Likewise.
55087         * elf/setup-vdso.h (setup_vdso): Likewise.
55088         * grp/compat-initgroups.c (compat_call): Likewise.
55089         * grp/fgetgrent.c (fgetgrent): Likewise.
55090         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55091         * grp/putgrent.c (putgrent): Likewise.
55092         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55093         Likewise.
55094         * hurd/hurdinit.c: Likewise.
55095         * iconvdata/8bit-gap.c (struct): Likewise.
55096         * iconvdata/ansi_x3.110.c : Likewise.
55097         * iconvdata/big5.c : Likewise.
55098         * iconvdata/big5hkscs.c : Likewise.
55099         * iconvdata/cp1255.c: Likewise.
55100         * iconvdata/cp1258.c : Likewise.
55101         * iconvdata/cp932.c : Likewise.
55102         * iconvdata/euc-cn.c: Likewise.
55103         * iconvdata/euc-jisx0213.c : Likewise.
55104         * iconvdata/euc-jp.c: Likewise.
55105         * iconvdata/euc-jp-ms.c : Likewise.
55106         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55107         * iconvdata/gb18030.c : Likewise.
55108         * iconvdata/gbbig5.c (const): Likewise.
55109         * iconvdata/gbgbk.c: Likewise.
55110         * iconvdata/gbk.c : Likewise.
55111         * iconvdata/ibm1364.c : Likewise.
55112         * iconvdata/ibm930.c : Likewise.
55113         * iconvdata/ibm932.c: Likewise.
55114         * iconvdata/ibm933.c : Likewise.
55115         * iconvdata/ibm935.c : Likewise.
55116         * iconvdata/ibm937.c : Likewise.
55117         * iconvdata/ibm939.c : Likewise.
55118         * iconvdata/ibm943.c: Likewise.
55119         * iconvdata/iso_11548-1.c: Likewise.
55120         * iconvdata/iso-2022-cn.c : Likewise.
55121         * iconvdata/iso-2022-cn-ext.c : Likewise.
55122         * iconvdata/iso-2022-jp-3.c: Likewise.
55123         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55124         * iconvdata/iso-2022-kr.c : Likewise.
55125         * iconvdata/iso646.c (gconv_end): Likewise.
55126         * iconvdata/iso_6937-2.c : Likewise.
55127         * iconvdata/iso_6937.c : Likewise.
55128         * iconvdata/iso8859-1.c: Likewise.
55129         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55130         * iconvdata/shift_jisx0213.c : Likewise.
55131         * iconvdata/sjis.c : Likewise.
55132         * iconvdata/t.61.c : Likewise.
55133         * iconvdata/tcvn5712-1.c : Likewise.
55134         * iconvdata/tscii.c: Likewise.
55135         * iconvdata/uhc.c : Likewise.
55136         * iconvdata/unicode.c (gconv_end): Likewise.
55137         * iconvdata/utf-16.c (gconv_end): Likewise.
55138         * iconvdata/utf-32.c (gconv_end): Likewise.
55139         * iconvdata/utf-7.c (base64): Likewise.
55140         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55141         * iconv/gconv_close.c (__gconv_close): Likewise.
55142         * iconv/gconv_open.c (__gconv_open): Likewise.
55143         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55144         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55145         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55146         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55147         (ucs4le_internal_loop_single): Likewise.
55148         * iconv/iconv.c (iconv): Likewise.
55149         * iconv/iconv_close.c: Likewise.
55150         * iconv/loop.c (SINGLE): Likewise.
55151         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55152         * include/atomic.h: Likewise.
55153         * inet/inet6_option.c (option_alloc): Likewise.
55154         * intl/bindtextdom.c (set_binding_values): Likewise.
55155         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55156         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55157         * intl/localealias.c (read_alias_file): Likewise.
55158         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55159         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55160         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55161         * libio/fmemopen.c (fmemopen): Likewise.
55162         * libio/iofgets.c (_IO_fgets): Likewise.
55163         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55164         * libio/iofgetws.c (fgetws): Likewise.
55165         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55166         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55167         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55168         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55169         * locale/findlocale.c (_nl_find_locale): Likewise.
55170         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55171         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55172         Likewise.
55173         * locale/setlocale.c (setlocale): Likewise.
55174         * login/programs/pt_chown.c (main): Likewise.
55175         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55176         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55177         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55178         (mmap, mmap64, mremap, munmap): Likewise.
55179         * math/e_exp2l.c: Likewise.
55180         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55181         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55182         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55183         * math/s_catan.c (__catan): Likewise.
55184         * math/s_catanf.c (__catanf): Likewise.
55185         * math/s_catanh.c (__catanh): Likewise.
55186         * math/s_catanhf.c (__catanhf): Likewise.
55187         * math/s_catanhl.c (__catanhl): Likewise.
55188         * math/s_catanl.c (__catanl): Likewise.
55189         * math/s_ccosh.c (__ccosh): Likewise.
55190         * math/s_ccoshf.c (__ccoshf): Likewise.
55191         * math/s_ccoshl.c (__ccoshl): Likewise.
55192         * math/s_cexp.c (__cexp): Likewise.
55193         * math/s_cexpf.c (__cexpf): Likewise.
55194         * math/s_cexpl.c (__cexpl): Likewise.
55195         * math/s_clog10.c (__clog10): Likewise.
55196         * math/s_clog10f.c (__clog10f): Likewise.
55197         * math/s_clog10l.c (__clog10l): Likewise.
55198         * math/s_clog.c (__clog): Likewise.
55199         * math/s_clogf.c (__clogf): Likewise.
55200         * math/s_clogl.c (__clogl): Likewise.
55201         * math/s_csin.c (__csin): Likewise.
55202         * math/s_csinf.c (__csinf): Likewise.
55203         * math/s_csinh.c (__csinh): Likewise.
55204         * math/s_csinhf.c (__csinhf): Likewise.
55205         * math/s_csinhl.c (__csinhl): Likewise.
55206         * math/s_csinl.c (__csinl): Likewise.
55207         * math/s_csqrt.c (__csqrt): Likewise.
55208         * math/s_csqrtf.c (__csqrtf): Likewise.
55209         * math/s_csqrtl.c (__csqrtl): Likewise.
55210         * math/s_ctan.c (__ctan): Likewise.
55211         * math/s_ctanf.c (__ctanf): Likewise.
55212         * math/s_ctanh.c (__ctanh): Likewise.
55213         * math/s_ctanhf.c (__ctanhf): Likewise.
55214         * math/s_ctanhl.c (__ctanhl): Likewise.
55215         * math/s_ctanl.c (__ctanl): Likewise.
55216         * math/w_pow.c: Likewise.
55217         * math/w_powf.c: Likewise.
55218         * math/w_powl.c: Likewise.
55219         * math/w_scalb.c (sysv_scalb): Likewise.
55220         * math/w_scalbf.c (sysv_scalbf): Likewise.
55221         * math/w_scalbl.c (sysv_scalbl): Likewise.
55222         * misc/error.c (error_tail): Likewise.
55223         * misc/pselect.c (__pselect): Likewise.
55224         * nis/nis_callback.c (__nis_create_callback): Likewise.
55225         * nis/nis_call.c (__nisfind_server): Likewise.
55226         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55227         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55228         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55229         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55230         * nis/nis_lookup.c (nis_lookup): Likewise.
55231         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55232         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55233         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55234         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55235         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55236         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55237         * nis/nss_compat/compat-initgroups.c (add_group)
55238         (internal_getgrent_r): Likewise.
55239         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55240         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55241         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55242         (internal_getspnam_r): Likewise.
55243         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55244         (_nss_nis_getaliasbyname_r): Likewise.
55245         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55246         (_nss_nis_getntohost_r): Likewise.
55247         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55248         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55249         (_nss_nis_getgrgid_r): Likewise.
55250         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55251         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55252         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55253         (_nss_nis_gethostbyname4_r): Likewise.
55254         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55255         (initgroups_netid): Likewise.
55256         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55257         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55258         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55259         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55260         (_nss_nis_getprotobynumber_r): Likewise.
55261         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55262         (_nss_nis_getsecretkey): Likewise.
55263         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55264         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55265         (_nss_nis_getpwuid_r): Likewise.
55266         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55267         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55268         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55269         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55270         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55271         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55272         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55273         Likewise.
55274         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55275         (_nss_nisplus_getntohost_r): Likewise.
55276         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55277         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55278         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55279         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55280         Likewise.
55281         * nis/nss_nisplus/nisplus-initgroups.c
55282         (_nss_nisplus_initgroups_dyn): Likewise.
55283         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55284         (_nss_nisplus_getnetbyaddr_r): Likewise.
55285         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55286         (_nss_nisplus_getprotobynumber_r): Likewise.
55287         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55288         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55289         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55290         Likewise.
55291         * nis/nss_nisplus/nisplus-service.c
55292         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55293         (_nss_nisplus_getservbyport_r): Likewise.
55294         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55295         (_nss_nisplus_getspnam_r): Likewise.
55296         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55297         Likewise.
55298         * nscd/aicache.c (addhstaiX): Likewise.
55299         * nscd/cache.c (cache_search, prune_cache): Likewise.
55300         * nscd/connections.c (register_traced_file, send_ro_fd)
55301         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55302         (main_loop_epoll): Likewise.
55303         * nscd/grpcache.c (addgrbyX): Likewise.
55304         * nscd/hstcache.c (addhstbyX): Likewise.
55305         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55306         * nscd/mem.c (gc, mempool_alloc): Likewise.
55307         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55308         (addinnetgrX): Likewise.
55309         * nscd/nscd-client.h (__nscd_acquire_maplock)
55310         (__nscd_drop_map_ref): Likewise.
55311         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55312         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55313         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55314         Likewise.
55315         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55316         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55317         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55318         (__nscd_get_map_ref): Likewise.
55319         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55320         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55321         Likewise.
55322         * nscd/pwdcache.c (addpwbyX): Likewise.
55323         * nscd/selinux.c (preserve_capabilities): Likewise.
55324         * nscd/servicescache.c (addservbyX): Likewise.
55325         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55326         * posix/fnmatch.c (fnmatch): Likewise.
55327         * posix/getopt.c (_getopt_internal_r): Likewise.
55328         * posix/glob.c (glob, glob_in_dir): Likewise.
55329         * posix/wordexp.c (exec_comm_child): Likewise.
55330         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
55331         (getanswer_r, gaih_getanswer_slice): Likewise.
55332         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
55333         * resolv/res_init.c: Likewise.
55334         * resolv/res_mkquery.c (res_nmkquery): Likewise.
55335         * resolv/res_query.c (__libc_res_nquery): Likewise.
55336         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
55337         Likewise.
55338         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
55339         * stdio-common/perror.c (perror): Likewise.
55340         * stdio-common/printf_fp.c (___printf_fp): Likewise.
55341         * stdio-common/tmpnam.c (tmpnam): Likewise.
55342         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55343         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
55344         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
55345         Likewise.
55346         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
55347         * stdlib/putenv.c (putenv): Likewise.
55348         * stdlib/setenv.c (__add_to_environ): Likewise.
55349         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55350         * stdlib/strtol_l.c (INTERNAL): Likewise.
55351         * string/memmem.c (memmem): Likewise.
55352         * string/strerror.c (strerror): Likewise.
55353         * string/strnlen.c (__strnlen): Likewise.
55354         * string/test-memmem.c (simple_memmem): Likewise.
55355         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
55356         * sunrpc/pm_getport.c (__get_socket): Likewise.
55357         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
55358         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
55359         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
55360         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
55361         Likewise.
55362         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
55363         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
55364         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
55365         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
55366         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
55367         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
55368         Likewise.
55369         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
55370         Likewise.
55371         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
55372         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
55373         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55374         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
55375         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
55376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
55377         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
55378         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
55379         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
55380         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
55381         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55382         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
55383         Likewise.
55384         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
55385         Likewise.
55386         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
55387         Likewise.
55388         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
55389         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55390         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
55391         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
55392         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
55393         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
55394         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55395         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
55396         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
55397         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
55398         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
55399         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55400         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55401         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
55402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55403         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
55404         Likewise.
55405         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
55406         Likewise.
55407         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
55408         Likewise.
55409         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
55410         Likewise.
55411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55413         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
55414         Likewise.
55415         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
55416         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
55417         * sysdeps/posix/opendir.c (__opendirat): Likewise.
55418         * sysdeps/posix/sleep.c: Likewise.
55419         * sysdeps/posix/tempname.c: Likewise.
55420         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
55421         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55422         Likewise.
55423         * sysdeps/powerpc/powerpc32/dl-machine.h
55424         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
55425         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
55426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55427         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
55428         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
55429         Likewise.
55430         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
55431         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
55432         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55433         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
55434         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
55435         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
55436         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
55437         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
55438         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55439         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
55440         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
55441         (elf_machine_lazy_rel): Likewise.
55442         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55443         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
55444         (elf_machine_lazy_rel): Likewise.
55445         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
55446         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
55447         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
55448         * sysdeps/unix/grantpt.c (grantpt): Likewise.
55449         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
55450         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
55451         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
55452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55453         Likewise.
55454         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
55455         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
55456         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
55457         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
55458         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55459         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55460         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
55461         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
55462         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
55463         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55464         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55465         Likewise.
55466         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
55467         (__posix_fallocate64_l64): Likewise.
55468         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
55469         (posix_fallocate): Likewise.
55470         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
55471         Likewise.
55472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55473         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
55474         (getifaddrs_internal): Likewise.
55475         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
55476         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
55477         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
55478         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
55479         * sysdeps/unix/sysv/linux/posix_fallocate64.c
55480         (__posix_fallocate64_l64): Likewise.
55481         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
55482         Likewise.
55483         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
55484         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
55485         (__get_clockfreq): Likewise.
55486         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
55487         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
55488         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
55489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55491         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
55492         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
55493         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
55494         Likewise.
55495         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
55496         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
55497         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
55498         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
55499         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55500         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
55501         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
55502         Likewise.
55503         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55504         (posix_fallocate): Likewise.
55505         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55506         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
55507         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
55508         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
55509         (elf_machine_rela, elf_machine_rela_relative)
55510         (elf_machine_lazy_rel): Likewise.
55511         * time/asctime.c (asctime_internal): Likewise.
55512         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
55513         * time/tzset.c (__tzset_parse_tz): Likewise.
55514         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
55515         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
55516         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
55517         * wcsmbs/wcsmbsload.h: Likewise.
55519         [BZ #15894]
55520         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
55522         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
55523         (arena_get2): Remove THREAD_STATS conditionals.
55524         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
55525         (__malloc_stats, int): Likewise.
55527 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
55529         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
55530         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
55532         * manual/setjmp.texi: Fix typos/grammar errors.
55534         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
55535         Only return early when n is <= 0.  Delete unused return statement.
55537         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
55538         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
55539         * debug/tst-longjmp_chk3.c: New file.
55541         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
55542         (test_main): Replace code with set_fortify_handler call.
55543         * debug/test-strcpy_chk.c: Likewise.
55544         * debug/tst-chk1.c: Likewise.
55545         * debug/tst-longjmp_chk.c: Likewise.
55546         * test-skeleton.c: Include fcntl.h & paths.h
55547         (set_fortify_handler): Define.
55549         * debug/tst-longjmp_chk.c: Add header comment and include
55550         ../test-skeleton.c.
55551         (do_test): Mark static.
55552         (TEST_FUNCTION): Define.
55554         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
55555         (IP_PMTUDISC_INTERFACE): Likewise.
55556         (IP_MULTICAST_IF): Likewise.
55557         (IP_MULTICAST_TTL): Likewise.
55558         (IP_MULTICAST_LOOP): Likewise.
55559         (IP_ADD_MEMBERSHIP): Likewise.
55560         (IP_DROP_MEMBERSHIP): Likewise.
55561         (IP_UNBLOCK_SOURCE): Likewise.
55562         (IP_BLOCK_SOURCE): Likewise.
55563         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
55564         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
55565         (IP_MSFILTER): Likewise.
55566         (MCAST_JOIN_GROUP): Likewise.
55567         (MCAST_BLOCK_SOURCE): Likewise.
55568         (MCAST_UNBLOCK_SOURCE): Likewise.
55569         (MCAST_LEAVE_GROUP): Likewise.
55570         (MCAST_JOIN_SOURCE_GROUP): Likewise.
55571         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
55572         (MCAST_MSFILTER): Likewise.
55573         (IP_MULTICAST_ALL): Likewise.
55574         (IP_UNICAST_IF): Likewise.
55576         * timezone/Makefile: Delete $(have-ksh) check.
55577         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
55578         * timezone/tzselect.ksh: Add +x mode bits.
55580         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
55581         (ANON_INODE_FS_MAGIC): Likewise.
55582         (BDEVFS_MAGIC): Likewise.
55583         (BINFMTFS_MAGIC): Likewise.
55584         (BTRFS_TEST_MAGIC): Likewise.
55585         (CRAMFS_MAGIC_WEND): Likewise.
55586         (DEBUGFS_MAGIC): Likewise.
55587         (ECRYPTFS_SUPER_MAGIC): Likewise.
55588         (EXT3_SUPER_MAGIC): Likewise.
55589         (EXT4_SUPER_MAGIC): Likewise.
55590         (FUTEXFS_SUPER_MAGIC): Likewise.
55591         (HOSTFS_SUPER_MAGIC): Likewise.
55592         (HUGETLBFS_MAGIC): Likewise.
55593         (MINIX3_SUPER_MAGIC): Likewise.
55594         (MTD_INODE_FS_MAGIC): Likewise.
55595         (NILFS_SUPER_MAGIC): Likewise.
55596         (OPENPROM_SUPER_MAGIC): Likewise.
55597         (PIPEFS_MAGIC): Likewise.
55598         (PSTOREFS_MAGIC): Likewise.
55599         (QNX6_SUPER_MAGIC): Likewise.
55600         (RAMFS_MAGIC): Likewise.
55601         (REISERFS_SUPER_MAGIC_STRING): Likewise.
55602         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
55603         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
55604         (SECURITYFS_MAGIC): Likewise.
55605         (SELINUX_MAGIC): Likewise.
55606         (SMACK_MAGIC): Likewise.
55607         (SOCKFS_MAGIC): Likewise.
55608         (SQUASHFS_MAGIC): Likewise.
55609         (STACK_END_MAGIC): Likewise.
55610         (TMPFS_MAGIC): Likewise.
55611         (USBDEVICE_SUPER_MAGIC): Likewise.
55612         (V9FS_MAGIC): Likewise.
55613         (XENFS_SUPER_MAGIC): Likewise.
55614         (CRAMFS_MAGIC): Fix typo in comment.
55615         (EXT2_SUPER_MAGIC): Update comment.
55616         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
55618 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
55620         * sysdeps/arm: Move directory from ports/sysdeps/arm.
55621         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
55622         * sysdeps/unix/sysv/linux/arm: Move directory from
55623         ports/sysdeps/unix/sysv/linux/arm.
55624         * README: Update listing for arm-*-linux-gnueabi.
55626         * README: Remove mention of am33.
55628 2014-02-07  Roland McGrath  <roland@hack.frob.com>
55630         * bits/sigset.h (__sigemptyset): Use a statement expression rather
55631         than the comma operator, to avoid "rhs of comma has no effect"
55632         compiler warnings.
55633         (__sigfillset, __sigandset, __sigorset): Likewise.
55634         * include/signal.h (__sigemptyset): Likewise.
55635         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
55637 2014-02-07  Allan McRae  <allan@archlinux.org>
55639         * version.h (RELEASE): Set to "development".
55640         (VERSION): Set to "2.19.90"
55641         * NEWS: Add 2.20 section.
55643 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
55645         [BZ #16529]
55646         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
55648 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55650         * manual/contrib.texi: Update entry for Carlos O'Donell,
55651         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
55653 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
55655         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
55657         * sysdeps/unix/sysv/linux/kernel-features.h
55658         [__LINUX_KERNEL_VERSION >= 0x020621]
55659         (__ASSUME_PROC_PID_TASK_COMM): Define.
55661 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55663         [BZ #16398]
55664         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
55665         conversion when destination buffer does not have enough space.
55666         * libio/tst-ftell-partial-wide.c: New test case.
55667         * libio/Makefile (tests): Add tst-ftell-partial-wide.
55669         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
55670         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
55671         Leonard and Allan McRae.
55673 2014-02-04  David S. Miller  <davem@davemloft.net>
55675         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
55676         32-bit.
55678 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
55681         New file
55682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
55683         New file
55684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
55685         New file.
55686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
55687         New file.
55688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
55689         New file.
55690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
55691         New file.
55692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
55693         New file.
55694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
55695         New file.
55696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
55697         New file.
55698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
55699         New file.
55700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
55701         New file.
55702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
55703         New file.
55704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
55705         New file.
55707 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55709         * nptl/shlib-versions: Change powerpc*le start to 2.17.
55710         * shlib-versions: Likewise.
55712 2014-02-04  Roland McGrath  <roland@hack.frob.com>
55713             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55715         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
55716         (abilist-pattern): New variable, set to %-le.abilist.
55718         * Makerules (abilist-pattern): New variable.
55719         (vpath): Use $(abilist-pattern) in place of %.abilist.
55720         (check-abi-% pattern rule): Likewise.
55721         (check-abi, update-abi): Likewise.
55723 2014-02-04  Eric Wong  <normalperson@yhbt.net>
55725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55727 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
55729         * manual/startup.texi: Add next, previous, and top entries for
55730         the `Program Arguments' and `Environment Variables' nodes.
55732 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
55734         * manual/macros.texi: Add comments before MTASC-safety macros.
55736         * manual/users.texi: Document MTASC-safety properties.
55738         * manual/threads.texi (pthread_key_create, pthread_key_delete)
55739         (pthread_getspecific, pthread_setspecific): Format with
55740         @deftypefun, and add @safety note.
55741         * manual/signal.texi: Move comments that analyze the above
55742         functions to their home place.
55744 2014-02-03  Allan McRae  <allan@archlinux.org>
55746         * po/sl.po: Update Slovenian translation from translation project.
55748 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
55750         * manual/time.texi (timegm): Add missing blank after @c.
55751         Reported by Joseph Myers <joseph@codesourcery.com>.
55753 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
55755         * manual/check-safety.sh: New.
55756         * manual/Makefile ($(objpfx)stamp-summary): Run it.
55758         * manual/terminal.texi: Document MTASC-safety properties.
55760         * manual/filesys.texi: Document MTASC-safety properties.
55762         * manual/errno.texi: Document MTASC-safety properties.
55764         * manual/intro.texi: Document safety identifiers and
55765         conditionals.
55767         * manual/string.texi (wcstok): Fix prototype.
55768         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
55770         * manual/time.texi: Document MTASC-safety properties.
55772         * manual/string.texi: Document MTASC-safety properties.
55774         * manual/threads.texi: Document MTASC-safety properties.
55776         * manual/stdio.texi: Document MTASC-safety properties.
55778         * manual/syslog.texi: Document MTASC-safety properties.
55780         * manual/sysinfo.texi: Document MTASC-safety properties.
55782         * manual/startup.texi: Document MTASC-safety properties.
55784         * manual/socket.texi: Document MTASC-safety properties.
55786         * manual/signal.texi: Document MTASC-safety properties.
55788 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55790         * manual/setjmp.texi: Document MTASC-safety properties.
55792         * manual/search.texi: Document MTASC-safety properties.
55794         * manual/resource.texi: Document MTASC-safety properties.
55796         * manual/process.texi: Document MTASC-safety properties.
55798         * manual/platform.texi: Document MTASC-safety properties.
55800         * manual/pipe.texi: Document MTASC-safety properties.
55802         * manual/pattern.texi: Document MTASC-safety properties.
55804         * manual/message.texi: Document MTASC-safety properties.
55806         [BZ #12751]
55807         * manual/memory.texi: Document MTASC-safety properties.
55809         * manual/math.texi: Document MTASC-safety properties.
55811         * manual/locale.texi: Document MTASC-safety properties.
55813         * manual/llio.texi: Document MTASC-safety properties.
55815         * manual/libdl.texi: New.
55817         * manual/lang.texi: Document MTASC-safety properties.
55819         * manual/job.texi: Document MTASC-safety properties.
55821         * manual/getopt.texi: Document MTASC-safety properties.
55823         * manual/ctype.texi: Document MTASC-safety properties.
55825 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55827         [BZ #16046]
55828         * csu/libc-tls.c (static_map): Remove variable.
55829         (__libc_setup_tls): Use main executable's link map for TLS data.
55830         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55831         casing for LM_ID_BASE and GL(dl_nns).
55832         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55833         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55834         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55835         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55836         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55837         member.
55838         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55839         l_phnum members.
55841 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55843         * manual/debug.texi: Document MTASC-safety properties.
55845 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55847         [BZ #16510]
55848         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55849         of __x86_64__ when disabling x87 inline functions.
55851 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55853         * manual/charset.texi: Document MTASC-safety properties.
55855         * manual/crypt.texi: Document MTASC-safety properties.
55857         * manual/conf.texi: Document MTASC-safety properties.
55859         * manual/arith.texi: Document MTASC-safety properties.
55861         * manual/argp.texi: Document MTASC-safety properties.
55863         * manual/macros.texi: Introduce macros to document multi
55864         thread, asynchronous signal and asynchronous cancellation
55865         safety properties.
55866         * manual/intro.texi: Introduce the properties themselves.
55868 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55870         * sysdeps/sh/sh4/Makefile: New file.
55872 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55874         * math/gen-libm-test.pl ($srcdir): New variable.
55875         ($auto_input): Use it.
55877 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55879         [BZ #16506]
55880         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55881         access beyond array bounds when parsing netgroups file.
55883         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55884         the old buffer before realloc.
55886 2014-01-27  Allan McRae  <allan@archlinux.org>
55888         * po/fr.po: Update French translation from translation project.
55890 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55892         * sysdeps/sh/libm-test-ulps: Regenerate.
55894 2014-01-24  David S. Miller  <davem@davemloft.net>
55896         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55898 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55900         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55901         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55903 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55905         [BZ #16474]
55906         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55907         string pointers after reallocation.
55909 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55911         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55912         __SH4A__ instead of __SH_FPU_ANY__.
55914 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55916         * sysdeps/sh/fpu_control.h: New file.
55917         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55918         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55919         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55920         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55921         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55922         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55923         * sysdeps/sh/sys/ucontext.h: Remove.
55924         * sysdeps/sh/sys: Remove directory.
55926 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55928         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55929         s390/sys/ucontext.h.
55930         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55931         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55933 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55935         [BZ #15605]
55936         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55938 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55940         [BZ #16431]
55941         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55942         Adjust the vDSO correctly for internal calls.
55943         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55945 2014-01-20  Allan McRae  <allan@archlinux.org>
55947         * po/ca.po: Update Catalan translation from translation project.
55949 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55951         * sysdeps/s390/sotruss-lib.c: New file.
55953 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55955         [BZ #16430]
55956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55957         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55958         local calls issues by not having a PLT stub required for IFUNC calls.
55959         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55961 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55963         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55964         * math/test-fpucw-static.c: Likewise.
55966 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55968         [BZ #16453]
55969         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55971 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55973         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55974         implementation for powerpc.
55976 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
55978         [BZ #14782]
55979         * sysdeps/posix/system.c (__libc_system): Do not enable
55980         asynchronous cancellation.
55982 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55984         [BZ #16427]
55985         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55986         handling only for numbers special also in the IEEE case.
55988 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55990         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55992 2014-01-11  Allan McRae  <allan@archlinux.org>
55994         * po/bg.po: Update Bulgarian translation from translation project.
55996         * po/de.po: Update German translation from translation project.
55998 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56000         * sysdeps/generic/gcc-compat.h: New file.
56002 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56004         * benchtests/asin-inputs: Correct slow inputs.
56005         * benchtests/acos-inputs: Likewise.
56007 2014-01-10  Allan McRae  <allan@archlinux.org>
56009         * po:sv.po: Update Swedish translation from translation project.
56011         * po/vi.po: Update Vietnamese translation from translation project.
56013         * po/eo.po: Update Esperanto translation from translation project.
56015         * po/cs.po: Update Czech translation from translation project.
56017         * po/nl.po: Update Dutch translation from translation project.
56019         * po/pl.po: Update Polish translation from translation project.
56021         * po/ru.po: Update Russian translation from translation project.
56023         * po/uk.po: Update Ukrainian translation from translation project.
56025 2014-01-08  Brooks Moses  <bmoses@google.com>
56027         * elf/dl-load.c: Fix comment typo.
56029 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56031         * po/header.pot: Rename to...
56032         * po/pot.header: ... this.
56033         * po/Makefile: Use pot.header.
56035 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56036             Maxim Kuvyrkov  <maxim@kugelworks.com>
56038         [BZ #16394]
56039         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56040         SRC and DEST against LEN.
56042 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56044         [BZ #16414]
56045         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56046         implementation.
56047         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56049 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56053 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56055         [BZ #16408]
56056         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56057         for large positive arguments.
56059 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56061         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56063         * math/auto-libm-test-in: Mark various tests with
56064         xfail-rounding:ldbl-128ibm.
56065         * math/auto-libm-test-out: Regenerated.
56067         [BZ #16407]
56068         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56069         Increase overflow threshold.
56071 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56073         [BZ #14286]
56074         * stdio-common/vfprintf.c: Check for integer overflow.
56076 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56078         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56079         the first argument and return value of __tls_get_addr_internal.
56081 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56083         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56084         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56086 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56088         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56089         * sysdeps/s390/rtld-global-offsets.sym: New file.
56090         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56091         GLIBC_2.19 symbol.
56092         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56093         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56094         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56095         ... this.
56096         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56097         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56098         ... this.
56099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56100         Regenerate.
56101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56102         Regenerate.
56103         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56104         halfs of GPRs for high_gprs contexts.
56105         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56106         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56107         field.
56108         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56109         uc_flags field.
56110         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56111         64 bit versions:
56112         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56113         for high GPRs (uc_high_gprs) and for future extensions
56114         (__reserved).
56115         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56116         for future extensions (__reserved).
56117         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56118         64 bit versions:
56119         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56120         SC_HIGHGPRS offset definition.
56121         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56122         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56124         * Versions.def: Add GLIBC_2.19 for libpthread.
56125         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56126         siglongjmp for libpthread with GLIBC_2.19 symver.
56127         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56128         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56129         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56130         * sysdeps/s390/__longjmp.c: New file.
56131         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56132         * sysdeps/s390/longjmp.c: New file.
56133         * sysdeps/s390/setjmp.S: New file.
56134         * sysdeps/s390/sigjmp.S: New file.
56135         * sysdeps/s390/v1-longjmp.c: New file.
56136         * sysdeps/s390/v1-setjmp.h: New file.
56137         * sysdeps/s390/v1-sigjmp.c: New file.
56138         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56139         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56140         GLIBC_2.19 version.
56141         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56142         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56143         versioned symbols for ____longjmp_chk.
56144         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56145         Likewise.
56146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56147         Regenerate.
56148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56149         Regenerate.
56150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56151         Regenerate.
56152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56153         Regenerate.
56154         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56155         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56156         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56157         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56158         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56159         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56160         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56161         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56162         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56163         * sysdeps/s390/rtld-__longjmp.c: New file.
56164         * sysdeps/s390/rtld-setjmp.S: New file.
56166 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56168         [BZ #16400]
56169         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56170         Return -__logl (x) for small positive arguments without evaluating
56171         a polynomial.
56173 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56175         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56176         Rename to ...
56177         (__ptrace_peeksiginfo_args): ... this.
56178         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56179         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56180         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56182 2014-01-06  Allan McRae  <allan@archlinux.org>
56184         * inet/netinet/in.h: Fix typo in comment.
56186 2014-01-05  Andreas Jaeger  <aj@suse.de>
56188         * sysdeps/i386/fpu/libm-test-ulps: Update.
56190 2014-01-05  Allan McRae  <allan@archlinux.org>
56192         * po/libc.pot: Regenerated.
56194         * malloc/memusagestat.c: Fix gettext call formatting.
56196 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56198         * nscd/nscd.c: Improve usage() output.
56200 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56202         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56203         * sysdeps/unix/sysv/linux/configure: Regenerated.
56204         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56205         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56207 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56209         [BZ #16390]
56210         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56211         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56213 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56215         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56216         extra tokens at end of #undef directive.
56217         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56218         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56221 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56223         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56225         * math/auto-libm-test-in: Mark various tests with
56226         xfail-rounding:ldbl-128ibm.
56227         * math/auto-libm-test-out: Regenerated.
56229 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56231         [BZ #16386]
56232         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56233         numbers with subnormal high part when calculating exponent.
56235         [BZ #16385]
56236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56237         fabs.
56239         [BZ #16384]
56240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56241         M_LN2l.
56242         (__ieee754_acoshl): Use __log1pl not __log1p.
56244 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56246         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56247         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56248         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56249         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56250         (reused_arena, arena_get2): Convert to GNU style.
56251         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56252         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56253         (memalign_check, __malloc_set_state): Likewise.
56254         * malloc/mallocbug.c (main): Likewise.
56255         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56256         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56257         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56258         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56259         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56260         (__posix_memalign, malloc_info): Likewise.
56261         * malloc/malloc.h: Likewise.
56262         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56263         (mallochook, memalignhook, reallochook, mabort): Likewise.
56264         * malloc/mcheck.h: Likewise.
56265         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56266         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56267         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56268         * malloc/morecore.c (__default_morecore): Likewise.
56269         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56270         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56271         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56272         (print_and_abort): Likewise.
56273         * malloc/obstack.h: Likewise.
56274         * malloc/set-freeres.c (__libc_freeres): Likewise.
56275         * malloc/tst-mallocstate.c (main): Likewise.
56276         * malloc/tst-mtrace.c (main): Likewise.
56277         * malloc/tst-realloc.c (do_test): Likewise.
56279 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56281         [BZ #16366]
56282         * nscd/netgroupcache.c (do_notfound): New function.
56283         (addgetnetgrentX): Use it.
56285         [BZ # 16365]
56286         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56287         NSS_STATUS_NOTFOUND.
56289 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56291         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56294 2014-01-01  Allan McRae  <allan@archlinux.org>
56296         * scripts/update-copyrights: Update configure input file suffix.
56298         * NEWS: Update copyright year.
56299         * catgets/gencat.c: Likewise.
56300         * csu/version.c: Likewise.
56301         * debug/catchsegv.sh: Likewise.
56302         * debug/pcprofiledump.c: Likewise.
56303         * debug/xtrace.sh: Likewise.
56304         * elf/ldconfig.c: Likewise.
56305         * elf/ldd.bash.in: Likewise.
56306         * elf/pldd.c: Likewise.
56307         * elf/sotruss.ksh: Likewise.
56308         * elf/sprof.c: Likewise.
56309         * iconv/iconv_prog.c: Likewise.
56310         * iconv/iconvconfig.c: Likewise.
56311         * locale/programs/locale.c: Likewise.
56312         * locale/programs/localedef.c: Likewise.
56313         * login/programs/pt_chown.c: Likewise.
56314         * malloc/memusage.sh: Likewise.
56315         * malloc/memusagestat.c: Likewise.
56316         * malloc/mtrace.pl: Likewise.
56317         * manual/libc.texinfo: Likewise.
56318         * nscd/nscd.c: Likewise.
56319         * nss/getent.c: Likewise.
56320         * nss/makedb.c: Likewise.
56321         * posix/getconf.c: Likewise.
56322         * scripts/test-installation.pl: Likewise.
56324         * All files with FSF copyright notices: Update copyright dates
56325         using scripts/update-copyrights.
56326         * intl/plural.c: Regenerated.
56327         * locale/programs/charmap-kw.h: Likewise.
56328         * locale/programs/locfile-kw.h: Likewise.
56330 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
56332         * sysdeps/unix/sysv/linux/configure: Regenerated.
56333         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
56334         the linux/fanotify.h header.
56335         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
56336         HAVE_LINUX_FANOTIFY_H is defined.
56338 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56340         * benchtests/cos-inputs: New inputs.
56341         * benchtests/sin-inputs: Likewise.
56343         * benchtests/atan-inputs: New inputs. Fix name of multiple
56344         precision fallback inputs.
56346         * benchtests/atanh-inputs: New inputs.
56347         * benchtests/tanh-inputs: Likewise.
56349         * benchtests/acosh-inputs: New inputs.
56350         * benchtests/asinh-inputs: Likewise.
56352         * benchtests/cosh-inputs: New inputs.
56353         * benchtests/sinh-inputs: Likewise.
56355         * benchtests/acos-inputs: Add more inputs.
56356         * benchtests/asin-inputs: Likewise.
56358 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
56360         [BZ #16375]
56361         * manual/arith.texi: Fix spelling.
56362         * manual/charset.texi: Likewise.
56363         * manual/errno.texi: Likewise.
56364         * manual/filesys.texi: Likewise.
56365         * manual/lang.texi: Likewise.
56366         * manual/llio.texi: Likewise.
56367         * manual/locale.texi: Likewise.
56368         * manual/message.texi: Likewise.
56369         * manual/resource.texi: Likewise.
56370         * manual/search.texi: Likewise.
56371         * manual/setjmp.texi: Likewise.
56372         * manual/stdio.texi: Likewise.
56373         * manual/string.texi: Likewise.
56374         * manual/sysinfo.texi: Likewise.
56375         * manual/time.texi: Likewise.
56377 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
56379         * po/sl.po: New file.
56381 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
56383         * .gitignore: Add core/.gdbinit/.gdb_history.
56385 2013-12-27  Allan McRae  <allan@archlinux.org>
56387         [BZ #16369]
56388         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
56389         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
56391 2013-12-24  Brooks Moses  <bmoses@google.com>
56393         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
56394         all compilers that claim C++98 compliance, not just GCC.
56395         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
56396         Likewise.
56398 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56400         * NEWS: Restore accidentally deleted bug-fix entries.
56402 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
56403             Ondřej Bílka  <neleai@seznam.cz>
56405         [BZ #15073]
56406         * malloc/malloc.c (_int_free): Perform sanity check only if we
56407         have_lock.
56409 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
56411         [BZ #12986]
56412         * manual/stdio.texi (String Input Conversions): Clarify that character
56413         classes are not supported.
56415 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56419 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
56421         [BZ #16337]
56422         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56423         Calculate results for small negative arguments directly rather
56424         than using reflection formula with special underflow handling.
56426         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
56427         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
56428         sysdeps/unix/bsd/bsd4.4/syscalls.list.
56429         (fchflags): Likewise.
56430         (revoke): Likewise.
56431         (setlogin): Likewise.
56432         (sigaltstack): Likewise.
56433         (wait4): Likewise.
56434         (sigblock): Remove.
56435         (sigsetmask): Likewise.
56436         (wait3): Likewise.
56437         (waitpid): Likewise.
56438         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
56439         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
56440         file.
56441         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
56442         * sysdeps/unix/bsd/Makefile: ... here.
56443         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
56444         * sysdeps/unix/bsd/Versions: ... here.
56445         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
56446         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
56447         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
56448         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
56449         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
56450         * sysdeps/unix/bsd/sigblock.c: ... here.
56451         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
56452         * sysdeps/unix/bsd/sigsetmask.c: ... here.
56453         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
56454         * sysdeps/unix/bsd/sigvec.c: ... here.
56455         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
56456         * sysdeps/unix/bsd/tcdrain.c: ... here.
56457         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
56458         * sysdeps/unix/bsd/tcgetattr.c: ... here.
56459         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
56460         * sysdeps/unix/bsd/tcsetattr.c: ... here.
56461         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
56462         * sysdeps/unix/bsd/wait.c: ... here.
56463         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
56464         * sysdeps/unix/bsd/wait3.c: ... here.
56465         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
56466         * sysdeps/unix/bsd/waitpid.c: ... here.
56468 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #16356]
56471         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
56472         round-to-nearest for [!USE_AS_EXPM1L].
56473         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
56474         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
56475         more tests of exp and exp10.  Expect some exp10 tests to miss
56476         exceptions or fail in directed rounding modes.
56477         * math/auto-libm-test-out: Regenerated.
56478         * math/libm-test.inc (exp10_tonearest_test_data): New array.
56479         (exp10_test_tonearest): New function.
56480         (exp10_towardzero_test_data): New array.
56481         (exp10_test_towardzero): New function.
56482         (exp10_downward_test_data): New array.
56483         (exp10_test_downward): New function.
56484         (exp10_upward_test_data): New array.
56485         (exp10_test_upward): New function.
56486         (main): Call the new functions.
56487         * sysdeps/i386/fpu/libm-test-ulps: Update.
56488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56490 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
56492         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
56493         asinh, atan, atan2, atanh, cbrt, cos and cosh.
56494         * math/auto-libm-test-out: Regenerated.
56495         * math/libm-test.inc (acosh_test_data): Add more tests.
56496         (atanh_test_data): Likewise.
56497         (ceil_test_data): Likewise.
56498         (copysign_test_data): Likewise.
56499         * sysdeps/i386/fpu/libm-test-ulps: Update.
56500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56502         * timezone/checktab.awk: Update from tzcode 2013i.
56503         * timezone/private.h: Likewise.
56504         * timezone/scheck.c: Likewise.
56505         * timezone/tzfile.h: Likewise.
56506         * timezone/tzselect.ksh: Likewise.
56507         * timezone/zdump.c: Likewise.
56508         * timezone/zic.c: Likewise.
56510         * math/auto-libm-test-in: Add tests of cpow.
56511         * math/auto-libm-test-out: Regenerated.
56512         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
56513         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56514         mpc_cc_c.
56515         (func_calc_desc): Add mpc_cc_c union field.
56516         (test_functions): Add cpow.
56517         (special_fill_2pi): New function.
56518         (special_real_inputs): Add 2pi.
56519         (calc_generic_results): Handle mpc_cc_c.
56520         * sysdeps/i386/fpu/libm-test-ulps: Update.
56521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56523         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
56524         csqrt, ctan and ctanh.
56525         * math/auto-libm-test-out: Regenerated.
56526         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56527         (TEST_COND_x86): Likewise.
56528         (ccos_test_data): Use AUTO_TESTS_c_c.
56529         (ccosh_test_data): Likewise.
56530         (cexp_test_data): Likewise.
56531         (clog_test_data): Likewise.
56532         (csqrt_test_data): Likewise.
56533         (ctan_test_data): Likewise.
56534         (ctan_tonearest_test_data): Likewise.
56535         (ctan_towardzero_test_data): Likewise.
56536         (ctan_downward_test_data): Likewise.
56537         (ctan_upward_test_data): Likewise.
56538         (ctanh_test_data): Likewise.
56539         (ctanh_tonearest_test_data): Likewise.
56540         (ctanh_towardzero_test_data): Likewise.
56541         (ctanh_downward_test_data): Likewise.
56542         (ctanh_upward_test_data): Likewise.
56543         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56544         mpc_c_c.
56545         (func_calc_desc): Add mpc_c_c union field.
56546         (FUNC_mpc_c_c): New macro.
56547         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
56548         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
56549         ctanh.
56550         (special_fill_min_subnorm_p120): New function.
56551         (special_real_inputs): Add min_subnorm_p120.
56552         (calc_generic_results): Handle mpc_c_c.
56553         * sysdeps/i386/fpu/libm-test-ulps: Update.
56554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56556 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56558         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
56559         (do_sin_slow): New functions.
56560         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
56561         (cslow2, csloww1, csloww2): Use the new functions.
56563         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
56564         Use M to change sign of result instead of X.  Assume X is
56565         positive.
56566         (csloww1): Likewise.
56567         (__sin): Adjust.
56568         (__cos): Adjust.
56570         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
56571         arguments A and DA.
56572         (__sin): Adjust.
56573         (__cos): Likewise.
56575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
56576         (__cos): Likewise.
56577         (sloww1): Don't adjust sign of DX.
56578         (csloww1): Likewise.
56579         (sloww2): Use X directly and don't adjust sign of DX.
56580         (csloww2): Likewise.
56582 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56584         * math/auto-libm-test-in: Add tests of cabs and carg.
56585         * math/auto-libm-test-out: Regenerated.
56586         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
56587         (carg_test_data): Likewise.
56588         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56589         mpc_c_f.
56590         (func_calc_desc): Add mpc_c_f union field.
56591         (test_functions): Add cabs and carg.
56592         (calc_generic_results): Handle mpc_c_f.
56594         * sysdeps/powerpc/powerpc32/libgcc-compat.S
56595         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
56596         as a macro and a compat symbol.
56597         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
56598         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
56599         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
56600         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
56601         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
56602         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
56603         not use .hidden.
56604         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
56605         Likewise.
56606         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
56607         Likewise.
56608         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
56609         Likewise.
56610         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
56611         Likewise.
56612         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
56613         Likewise.
56614         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
56615         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
56616         from GLIBC_2.3.2.
56618 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56622 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56624         * manual/texinfo.tex: Update to version 2013-11-26.10 with
56625         trailing whitespace removed.
56626         * scripts/config.guess: Update to version 2013-11-29.
56627         * scripts/config.sub: Update to version 2013-10-01.
56629         * math/auto-libm-test-in: Add tests of sincos.
56630         * math/auto-libm-test-out: Regenerated.
56631         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
56632         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56633         mpfr_f_11.
56634         (func_calc_desc): Add mpfr_f_11 union field.
56635         (test_functions): Add sincos.
56636         (calc_generic_results): Handle mpfr_f_11.
56637         * sysdeps/i386/fpu/libm-test-ulps: Update.
56638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56640 2013-12-19  Andreas Schwab  <schwab@suse.de>
56642         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
56643         CALL_MCOUNT.
56644         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56645         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
56646         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
56648 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
56650         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
56651         * sysdeps/i386/fpu/libm-test-ulps: Update.
56652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56654         [BZ #16293]
56655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
56656         round-to-nearest mode when using frndint.
56657         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
56658         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56659         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
56660         Likewise.
56661         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
56662         sinh test to fail.
56663         * math/auto-libm-test-out: Regenerated.
56664         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
56665         (TEST_COND_x86): Likewise.
56666         (expm1_tonearest_test_data): New array.
56667         (expm1_test_tonearest): New function.
56668         (expm1_towardzero_test_data): New array.
56669         (expm1_test_towardzero): New function.
56670         (expm1_downward_test_data): New array.
56671         (expm1_test_downward): New function.
56672         (expm1_upward_test_data): New array.
56673         (expm1_test_upward): New function.
56674         (main): Run the new test functions.
56675         * sysdeps/i386/fpu/libm-test-ulps: Update.
56676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56678         * include/features.h: Update comment documenting feature test
56679         macros.  Mention _DEFAULT_SOURCE in comment.
56680         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
56681         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
56682         _BSD_SOURCE and _SVID_SOURCE.
56683         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
56684         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
56685         !_SVID_SOURCE]: Likewise.
56686         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56687         (__USE_POSIX_IMPLICITLY): Define.
56688         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56689         (_POSIX_SOURCE): Undefine and redefine.
56690         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
56691         (_POSIX_C_SOURCE): Likewise.
56692         * manual/creature.texi (_DEFAULT_SOURCE): Document.
56693         (Feature Test Macros): Update documentation of default features.
56695 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56697         * benchtests/Makefile: Add bench-strtok.
56698         * benchtests/bench-strtok.c: New file: strtok benchtest.
56700 2013-12-19  Allan McRae  <allan@archlinux.org>
56702         * manual/install.texi: Suppress menu for plain text output.
56703         * INSTALL: Regenerated.
56705 2013-12-18  Brooks Moses  <bmoses@google.com>
56707         [BZ #15846]
56708         * misc/getauxval.c: Include errno.h.
56709         (__getauxval): Set errno to ENOENT if the requested type is not
56710         found.
56711         * misc/sys/auxv.h (getauxval): Document that it may set errno;
56712         don't declare with __attribute_const__.
56713         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
56714         * manual/startup.texi: Document that getauxval sets errno.
56716 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56718         * math/auto-libm-test-in: Add tests of jn and yn.
56719         * math/auto-libm-test-out: Regenerated.
56720         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
56721         (yn_test_data): Likewise.
56722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56723         mpfr_if_f.
56724         (func_calc_desc): Add mpfr_if_f union field.
56725         (FUNC_mpfr_if_f): New macro.
56726         (test_functions): Add jn and yn.
56727         (calc_generic_results): Assert type of second input for
56728         mpfr_ff_f.  Handle mpfr_if_f.
56729         (output_for_one_input_case): Disable all checking for arguments
56730         fitting floating-point types in case of an integer argument.
56731         * sysdeps/i386/fpu/libm-test-ulps: Update.
56732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56735         Don't expect fegetround reference in libm.so.
56737 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56739         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
56740         $(config-cflags-nofma).
56742 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
56744         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
56745         * math/auto-libm-test-out: Regenerated.
56747         [BZ #16338]
56748         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
56749         to determine exponent and adjust argument to have exponent of -1.
56750         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
56751         log2.
56752         * math/auto-libm-test-out: Regenerated.
56753         * sysdeps/i386/fpu/libm-test-ulps: Update.
56754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56756 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
56758         * manual/probes.texi: Remove cases when per-thread arenas are
56759         disabled.
56761 2013-12-18  Andreas Schwab  <schwab@suse.de>
56763         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
56764         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
56765         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
56766         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
56767         * sysdeps/i386/i686/multiarch/Makefile: Update.
56768         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
56770 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56772         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
56773         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
56775 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
56777         [BZ #15968]
56778         Support TZ transition times < 00:00:00.
56779         This is needed for version-3 tz-format files; it supports time
56780         stamps past 2037 for America/Godthab (the only entry in the tz
56781         database for which this change is relevant).
56782         * manual/time.texi (TZ Variable): Document transition times
56783         from -167:59:59 through -00:00:01.
56784         * time/tzset.c (tz_rule): Time of day is now signed.
56785         (__tzset_parse_tz): Parse negative time of day.
56787         Document TZ transition times >= 25:00:00.
56788         * manual/time.texi (TZ Variable): Document transition times from
56789         25:00:00 through 167:59:59.  These are already supported, and this
56790         support will help with version-3 tz-format files.
56792         * manual/time.texi (TZ Variable): Modernize North America example
56793         to reflect current (i.e., 2007-and-later) daylight saving rules.
56795         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56797 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56799         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56800         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56802         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56803         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56804         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56805         * sysdeps/unix/bsd/clock.c: Likewise.
56806         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56807         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56808         * sysdeps/unix/bsd/init-posix.c: Likewise.
56809         * sysdeps/unix/bsd/poll.c: Likewise.
56810         * sysdeps/unix/bsd/ptsname.c: Likewise.
56811         * sysdeps/unix/bsd/seekdir.c: Likewise.
56812         * sysdeps/unix/bsd/setegid.c: Likewise.
56813         * sysdeps/unix/bsd/seteuid.c: Likewise.
56814         * sysdeps/unix/bsd/setgid.c: Likewise.
56815         * sysdeps/unix/bsd/setrgid.c: Likewise.
56816         * sysdeps/unix/bsd/setruid.c: Likewise.
56817         * sysdeps/unix/bsd/setsid.c: Likewise.
56818         * sysdeps/unix/bsd/setuid.c: Likewise.
56819         * sysdeps/unix/bsd/sigaction.c: Likewise.
56820         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56821         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56822         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56823         * sysdeps/unix/bsd/telldir.c: Likewise.
56824         * sysdeps/unix/bsd/times.c: Likewise.
56825         * sysdeps/unix/bsd/usleep.c: Likewise.
56827         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56828         ($(objpfx)libbsd-compat.a): Remove rule.
56830         * include/features.h (__FAVOR_BSD): Do not define.
56831         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56832         features conflicting with POSIX.
56833         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56834         (_BSD_SOURCE): Remove description of not being a subset of other
56835         feature test macros.
56836         * manual/job.texi (getpgrp): Do not document BSD version.
56837         (getpgid): Do not document by reference to BSD getpgrp.
56838         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56839         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56840         * signal/signal.h [__FAVOR_BSD]: Likewise.
56841         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56842         instead of making contents conditional on [__FAVOR_BSD].
56843         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56845 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56849 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56851         [BZ #16314]
56852         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56853         values below 2**-450, not 2**-500.
56854         * math/auto-libm-test-in: Don't allow spurious underflow from
56855         hypot.
56856         * math/auto-libm-test-out: Regenerated.
56858         [BZ #16316]
56859         [BZ #16330]
56860         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56861         values of ha and hb and sort them after adjusting subnormal
56862         arguments.
56863         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56864         Likewise.
56865         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56866         values of ea and eb and sort them after adjusting subnormal
56867         arguments.
56868         * math/auto-libm-test-in: Do not expect some hypot tests of
56869         subnormals to fail.  Add more hypot tests.
56870         * math/auto-libm-test-out: Regenerated.
56872 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56874         [BZ #13304]
56875         * sysdeps/sh/s_fma.c: New file.
56876         * sysdeps/sh/s_fmaf.c: New file.
56877         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56878         version.
56879         * sysdeps/sh/Implies: Add sh/soft-fp.
56881 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56883         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56884         level of indirection to members `objname', `errstring', `malloced'.
56885         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56886         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56887         it as the __longjmp argument (just pass 1 instead).
56888         (_dl_catch_error): Initialize C with argument pointers and address of
56889         volatile local ERRCODE rather than copying values out of C at return.
56891 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56893         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56894         * math/auto-libm-test-out: Regenerated.
56895         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56896         (hypot_test_data): Likewise.
56897         (pow_test_data): Likewise.
56898         (pow_tonearest_test_data): Likewise.
56899         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56900         mpfr_ff_f.
56901         (func_calc_desc): Add mpfr_ff_f union field.
56902         (FUNC_mpfr_ff_f): New macro.
56903         (test_functions): Add atan2, hypot and pow.
56904         (special_fill_min): New function.
56905         (special_fill_minus_min): Likewise.
56906         (special_fill_min_subnorm): Likewise.
56907         (special_fill_minus_min_subnorm): Likewise.
56908         (special_real_inputs): Add min, -min, min_subnorm and
56909         -min_subnorm.
56910         (calc_generic_results): Handle mpfr_ff_f.
56911         * sysdeps/i386/fpu/libm-test-ulps: Update.
56912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56914 2013-12-16  Will Newton  <will.newton@linaro.org>
56916         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56917         (Aligned Memory Blocks): Add documentation for aligned_alloc
56918         and suggest it as an alternative to posix_memalign.
56919         (Hooks for Malloc): Document __memalign_hook is also called
56920         for aligned_alloc.  (Summary of Malloc): Add summary for
56921         aligned alloc.  Document __memalign_hook is also called
56922         for aligned_alloc.
56924 2013-12-16  Will Newton  <will.newton@linaro.org>
56926         * manual/memory.texi (Malloc Examples): Clarify default
56927         alignment documentation.  Suggest posix_memalign rather
56928         than memalign or valloc.
56929         (Aligned Memory Blocks): Remove suggestion to use memalign
56930         or valloc.  Remove obsolete comment about BSD.
56931         Document memalign errno values and mark the function obsolete.
56932         Document posix_memalign returned error codes.  Mark valloc
56933         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56934         called for posix_memalign and valloc.
56935         (Summary of Malloc): Add posix_memalign to function summary.
56936         __memalign_hook is also called for posix_memalign and valloc.
56938 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56940         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56941         TAYLOR_SIN.
56942         (__sin): Adjust.
56943         (__cos): Likewise.
56944         (sloww): Use mynumber union.  Expand ternary operator into
56945         if-else statements.
56946         (cslow): use mynumber union.
56948 2013-12-16  Allan McRae  <allan@archlinux.org>
56950         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56951         * configure: Regenerated.
56953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56955         [BZ #14120]
56956         * configure.ac: Added --enable-maintainer-mode. Check for
56957         autoconf when enabled.
56958         * configure: Regenerated.
56960         * nscd/nscd.service: New file.
56961         * nscd/nscd.tmpfiles: New file.
56963 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56965         [BZ #12100]
56966         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56967         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56968         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56969         (strstr): Add __strstr_sse2_unaligned ifunc.
56970         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56971         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56972         (strcasestr): Remove __strcasestr_sse42 ifunc.
56973         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56977 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56979         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56980         * sysdeps/sh/bits/fenv.h: ... here.
56981         * sysdeps/sh/sh4/fpu/bits: Remove directory.
56983 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56985         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56988         hypotf multiarch implementations.
56989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56991         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56992         multiarch hypot for PPC64.
56993         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56994         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56995         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56996         multiarch hypotf for PPC64.
56998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56999         modff multiarch implementations.
57000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57003         multiarch modf for PPC64.
57004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57007         multiarch modff for PPC64.
57009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57010         and logl multiarch implementations.
57011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57014         multiarch logb for PPC64.
57015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57018         multiarch logb for PPC64.
57019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57022         multiarch logb for PPC64.
57024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57025         isinff multiarch implementation.
57026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57027         file.
57028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57030         multiarch isinf for PPC64.
57031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57032         file.
57033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57034         multiarch isinff for PPC64.
57036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57037         finitef multiarch implementation.
57038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57039         file.
57040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57042         multiarch finite for PPC64.
57043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57044         file.
57045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57046         multiarch finitef for PPC64.
57048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57049         lrint multiarch implementation.
57050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57051         file.
57052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57054         multiarch llrint for PPC64.
57055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57056         multiarch lrint for PPC64.
57058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57059         copysignf multiarch implementation.
57060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57061         file.
57062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57063         file.
57064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57065         multiarch copysign for PPC64.
57066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57067         multiarch copysignf for PPC64.
57069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57070         multiarch implementation.
57071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57072         file.
57073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57074         file.
57075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57076         file.
57077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57078         file.
57079         multiarch llround for PPC64.
57080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57081         multiarch trunc for PPC64.
57082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57083         multiarch truncf for PPC64.
57085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57086         multiarch implementation.
57087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57088         file.
57089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57090         file.
57091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57092         file.
57093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57094         file.
57095         multiarch llround for PPC64.
57096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57097         multiarch round for PPC64.
57098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57099         multiarch roundf for PPC64.
57101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57102         multiarch implementation.
57103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57104         file.
57105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57106         file.
57107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57108         file.
57109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57110         file.
57111         multiarch llround for PPC64.
57112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57113         multiarch floor for PPC64.
57114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57115         multiarch floorf for PPC64.
57117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57118         multiarch implementation.
57119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57120         file.
57121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57122         file.
57123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57124         file.
57125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57126         file.
57127         multiarch llround for PPC64.
57128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57129         multiarch ceil for PPC64.
57130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57131         multiarch ceilf for PPC64.
57133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57134         multiarch implementation.
57135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57136         file.
57137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57138         file.
57139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57140         file.
57141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57142         multiarch llround for PPC64.
57143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57144         multiarch lround for PPC64.
57146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57147         multiarch implementation.
57148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57151         file.
57152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57155         multiarch isnan for PPC64.
57156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57157         multiarch isnanf for PPC64.
57159         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57160         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57161         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57162         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57163         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57166         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57167         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57169         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57172         multiarch implementations.
57173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57174         (__libc_ifunc_impl_list): Likewise.
57175         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57177         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57178         multiarch stpcpy for PPC64.
57180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57181         multiarch implementations.
57182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57183         (__libc_ifunc_impl_list): Likewise.
57184         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57185         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57186         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57187         multiarch strcpy for PPC64.
57189         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57190         redefine function name.
57191         (_wordcopy_fwd_dest_aligned): Likewise.
57192         (_wordcopy_bwd_aligned): Likewise.
57193         (_wordcopy_bwd_dest_aligned): Likewise.
57194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57195         multiarch implementations.
57196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57197         (__libc_ifunc_impl_list): Likewise.
57198         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57199         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57202         multiarch wcscpy for PPC64.
57204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57205         multiarch implementations.
57206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57207         (__libc_ifunc_impl_list): Likewise.
57208         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57209         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57210         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57211         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57212         multiarch wcscpy for PPC64.
57214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57215         multiarch implementations.
57216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57217         (__libc_ifunc_impl_list): Likewise.
57218         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57219         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57220         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57221         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57222         multiarch wcsrchr for PPC64.
57224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57225         multiarch implementations.
57226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57227         (__libc_ifunc_impl_list): Likewise.
57228         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57229         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57230         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57231         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57232         multiarch wcschr for PPC64.
57234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57235         multiarch implementations.
57236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57237         (__libc_ifunc_impl_list): Likewise.
57238         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57239         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57240         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57241         multiarch strchrnul for PPC64.
57243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57244         implementations.
57245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57246         (__libc_ifunc_impl_list): Likewise.
57247         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57248         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57249         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57250         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57251         strchr for PPC64.
57253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57254         implementations.
57255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57256         (__libc_ifunc_impl_list): Likewise.
57257         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57258         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57259         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57260         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57261         strncmp for PPC64.
57263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57264         multiarch implementations.
57265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57266         (__libc_ifunc_impl_list): Likewise.
57267         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57268         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57269         strncasecmp for PPC64.
57270         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57271         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57272         multiarch strncasecmp_l for PPC64.
57274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57275         multiarch implementations.
57276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57277         (__libc_ifunc_impl_list): Likewise.
57278         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57279         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57280         multiarch strcasecmp for PPC64.
57281         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57282         file.
57283         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57284         multiarch strcasecmp_l for PPC64.
57286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57287         implementations.
57288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57289         (__libc_ifunc_impl_list): Likewise.
57290         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57291         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57292         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57293         strnlen for PPC64.
57295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57296         implementations.
57297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57298         (__libc_ifunc_impl_list): Likewise.
57299         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57300         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57301         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57302         strlen for PPC64.
57304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57305         implementations.
57306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57307         (__libc_ifunc_impl_list): Likewise.
57308         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57309         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57310         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57311         rawmemrchr for PPC64.
57313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57314         implementation.
57315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57316         (__libc_ifunc_impl_list): Likewise.
57317         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57318         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57319         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57320         memrchr for PPC64.
57322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57323         implementation.
57324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57325         (__libc_ifunc_impl_list): Likewise.
57326         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57327         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
57328         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
57329         memchr for PPC64.
57331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
57332         implementation.
57333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57334         (__libc_ifunc_impl_list): Likewise.
57335         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
57336         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
57337         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
57338         mempcpy for PPC64.
57340         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
57341         avoid cretion of __bzero symbol.
57342         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
57343         Likewise.
57344         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
57345         Likewise.
57346         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
57347         Likewise.
57348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
57349         multiarch implementations.
57350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57351         (__libc_ifunc_impl_list): Likewise.
57352         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
57353         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
57354         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
57355         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
57356         bzero for PPC32.
57357         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
57358         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
57359         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
57360         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
57361         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
57362         memset for PPC64.
57363         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
57365         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
57366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
57367         implementations.
57368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57369         (__libc_ifunc_impl_list): Likewise.
57370         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
57371         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
57372         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
57373         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
57374         memcmp for PPC64.
57376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
57377         multiarch for POWER/PPC64.
57378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
57379         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
57380         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
57381         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
57382         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
57383         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
57384         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
57385         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
57386         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
57387         memcpy for PPC64.
57389         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
57390         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
57391         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
57392         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
57393         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
57394         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
57395         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
57396         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
57397         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
57398         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
57399         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
57400         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
57401         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
57402         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
57403         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
57404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
57405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
57406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
57407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
57408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
57409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
57410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
57412 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
57416 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57418         * benchtests/Makefile (bench): Add exp2 and log2.
57419         (LDLIBS-bench-exp2): Add -lm.
57420         (LDLIBS-bench-log2): Likewise.
57421         * benchtests/exp2-inputs: New inputs file.
57422         * benchtests/log2-inputs: New inputs file.
57423         * benchtests/log-inputs: Add new inputs.
57424         * benchtests/tan-inputs: Likewise.
57426 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57428         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
57429         definition...
57430         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
57431         (csloww2): ... from here.
57433         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
57434         instead of structures.
57435         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
57436         (POLYNOMIAL): Likewise.
57437         (TAYLOR_SLOW): Likewise.
57438         (__sin): Likewise.
57439         (__cos): Likewise.
57440         (slow1): Likewise.
57441         (slow2): Likewise.
57442         (sloww): Likewise.
57443         (sloww1); Likewise.
57444         (sloww2): Likewise.
57445         (bsloww1): Likewise.
57446         (bsloww2): Likewise.
57447         (cslow2): Likewise.
57448         (csloww): Likewise.
57449         (csloww1): Likewise.
57450         (csloww2): Likewise.
57452 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
57454         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57455         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
57456         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
57457         * malloc/hooks.c (realloc_check): Likewise.
57459         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
57460         * malloc/arena.c: Remove PER_THREAD conditional.
57461         [!PER_THREAD]: Remove code.
57462         (ptmalloc_unlock_all2): Likewise.
57463         (ptmalloc_init): Likewise.
57464         (_int_new_arena): Likewise.
57465         (arena_get2): Likewise.
57466         * malloc/hooks.c (__malloc_get_state): Likewise.
57467         (__malloc_set_state): Likewise.
57468         * malloc/malloc.c: Likewise.
57469         (struct malloc_state): Likewise.
57470         (struct malloc_par): Likewise.
57471         (__libc_realloc): Likewise.
57472         (__libc_mallopt): Likewise.
57474 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57476         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
57478 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
57480         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
57481         macro to a function.  Check for zero perturb_byte.
57482         (_int_malloc, _int_free): Remove zero perturb_byte checks.
57484         * malloc/malloc.c: (force_reg): Remove.
57485         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
57486         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
57487         force_reg by atomic_forced_read.
57488         * malloc/arena.c (ptmalloc_init): Likewise.
57489         * malloc/hooks.c (top_check): Likewise.
57491 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57495 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
57497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57499 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
57501         * math/auto-libm-test-in: Add tests of lgamma.
57502         * math/auto-libm-test-out: Regenerated.
57503         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
57504         (M_LOG_2_SQRT_PIl): Likewise.
57505         (lgamma_test_data): Use AUTO_TESTS_f_f1.
57506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57507         mpfr_f_f1.
57508         (func_calc_desc): Add mpfr_f_f1 union field.
57509         (ARGS1): New macro.
57510         (ARGS2): Likewise.
57511         (ARGS3): Likewise.
57512         (ARGS4): Likewise.
57513         (RET1): Likewise.
57514         (RET2): Likewise.
57515         (CALC): Likewise.
57516         (FUNC): Likewise.
57517         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
57518         (test_functions): Add lgamma.
57519         (calc_generic_results): Handle mpfr_f_f1.
57520         * sysdeps/i386/fpu/libm-test-ulps: Update.
57521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57523 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57525         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
57526         __mpn_add_n for PowerPC64/POWER7.
57527         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
57528         __mpn_sub_n for PowerPC64/POWER7.
57530         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
57531         __mpn_addmul_1 for PowerPC64.
57532         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
57533         __mpn_submul_1 for PowerPC64.
57534         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
57535         for PowerPC64.
57536         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
57537         for PowerPC64.
57539 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
57541         [BZ #15089]
57542         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
57544 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57546         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
57548         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
57549         add multiarch folders.
57550         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
57551         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
57552         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
57553         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
57554         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
57555         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
57556         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
57557         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
57558         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
57559         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
57560         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
57561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
57562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
57563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
57564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
57565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
57566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
57568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57569         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
57570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
57571         New file.
57572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
57573         New file.
57574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
57575         multiarch __ieee754_hypot for PowerPC32.
57576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
57577         New file.
57578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
57579         New file.
57580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
57581         multiarch __ieee754_hypotf for PowerPC32.
57583         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
57584         long_double_symbol only if __logbl is defined.
57585         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
57586         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
57587         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
57588         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
57589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
57590         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
57591         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
57592         path for implementation.
57593         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
57594         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
57595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
57596         logb, and logbl multiarch implementations for PowerPC32.
57597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
57598         file.
57599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
57600         file.
57601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
57602         multiarch logb for PowerPC32.
57603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
57604         file.
57605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
57606         file.
57607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
57608         multiarch logbf for PowerPC32.
57609         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
57610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
57611         file.
57612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
57613         multiarch logbl implementation for PowerPC32.
57615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
57616         and modff multiarch implementations.
57617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
57618         New file.
57619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
57620         New file.
57621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
57622         multiarch modf for PowerPC32.
57623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
57624         New file.
57625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
57626         New file.
57627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
57628         multiarch modff for PowerPC32.
57630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
57631         and lrintf multiarch implementations.
57632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
57633         New file.
57634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
57635         New file.
57636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
57637         multiarch lrint for PowerPC32.
57638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
57639         file: multiarch lrintf for PowerPC32.
57641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
57642         and lroundf multiarch implementations.
57643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
57644         New file.
57645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
57646         New file.
57647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
57648         New file.
57649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
57650         multiarch lround for PowerPC32.
57651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
57652         file: multiarch lroundf for PowerPC32.
57654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
57655         copysign and copysignf multiarch implementations.
57656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
57657         New file.
57658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
57659         New file.
57660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
57661         file: multiarch copysign for PowerPC32.
57662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
57663         file: multiarch copysignf for PowerPC32.
57665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
57666         and truncf multiarch implementations.
57667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
57668         New file.
57669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
57670         file.
57671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
57672         multiarch trunc for PowerPC32.
57673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
57674         New file.
57675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
57676         New file.
57677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
57678         multiarch truncf for PowerPC32.
57680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
57681         and roundf multiarch implementations.
57682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
57683         New file.
57684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
57685         file.
57686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
57687         multiarch round for PowerPC32.
57688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
57689         New file.
57690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
57691         New file.
57692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
57693         multiarch roundf for PowerPC32.
57695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
57696         and floorf multiarch implementations.
57697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
57698         New file.
57699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
57700         file.
57701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
57702         multiarch floor for PowerPC32.
57703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
57704         New file.
57705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
57706         New file.
57707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
57708         multiarch floorf for PowerPC32.
57710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
57711         and ceilf multiarch implementations.
57712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
57713         New file.
57714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
57715         file.
57716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
57717         multiarch ceil for PowerPC32.
57718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
57719         New file.
57720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
57721         file.
57722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
57723         multiarch ceilf for PowerPC32.
57725         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
57726         is defined.
57727         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
57728         FINITEF is defined.
57729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
57730         and finitef multiarch implementations.
57731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
57732         New file.
57733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
57734         file.
57735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
57736         multiarch finite for PowerPC32.
57737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
57738         New file.
57739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
57740         file: multiarch finitef for PowerPC32.
57742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
57743         and isinff multiarch implementations.
57744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
57745         file.
57746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
57747         file.
57748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
57749         multiarch isinf for PowerPC32.
57750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
57751         New file.
57752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
57753         multiarch isinff for PowerPC32.
57755         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
57756         alias when __isnan is defined.
57757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
57758         and isnanf multiarch implementations.
57759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
57760         file.
57761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
57762         file.
57763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
57764         file.
57765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
57766         file.
57767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
57768         multiarch isnan for PowerPC32.
57769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
57770         New file.
57771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
57772         New file.
57773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
57774         multiarch isnanf for PowerPC32.
57776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
57777         and sqrtf multiarch implementations.
57778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
57779         file.
57780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
57781         file.
57782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
57783         multiarch sqrt for PowerPC32.
57784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
57785         file.
57786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
57787         file.
57788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
57789         multiarch sqrtf for PowerPC32.
57791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
57792         and llroundf multiarch implementations.
57793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
57794         New file.
57795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57796         New file.
57797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57798         New file.
57799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57800         file: multiarch llround for PowerPC32.
57801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57802         file: multiarch llroundf for PowerPC32.
57804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57805         multiarch PowerPC32 fpu implementations.
57806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57807         New file.
57808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57809         New file.
57810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57811         multiarch llrint for PowerPC32.
57812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57813         New file.
57814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57815         New file.
57816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57817         file.
57819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57821         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57822         file.
57823         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57824         file.
57825         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57826         file.
57827         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57828         multiarch wordcopy for PPC32.
57829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57830         wordcopy objects.
57831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57832         (__libc_ifunc_impl_list): Likewise.
57833         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57834         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57835         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57836         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57837         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57838         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57840         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57842         file.
57843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57844         file.
57845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57846         file.
57847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57848         multiarch wcscpy for PPC32.
57849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57850         multiarch objects.
57851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57852         (__libc_ifunc_impl_list): Likewise.
57853         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57854         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57855         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57856         sysdeps/powerpc/power6/wcscpy.c.
57858         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57860         file.
57861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57862         file.
57863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57864         file.
57865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57866         multiarch wcsrchr for PPC32.
57867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57868         multiarch objects.
57869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57870         (__libc_ifunc_impl_list): Likewise.
57871         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57872         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57873         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57874         sysdeps/powerpc/power6/wcsrchr.c.
57876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57877         file.
57878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57879         file.
57880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57882         multiarch wcschr for PPc32.
57883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57884         multiarch objects.
57885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57886         (__libc_ifunc_impl_list): Likewise.
57887         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57888         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57889         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57890         sysdeps/powerpc/power6/wcschr.c.
57892         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57893         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57894         file.
57895         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57896         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57897         file: multiarch strchr for PPC32.
57898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57899         multiarch objects.
57900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57901         (__libc_ifunc_impl_list): Likewise.
57903         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57904         name.
57905         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57906         file.
57907         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57908         file.
57909         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57910         multiarch strchrnul for PPC32.
57911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57912         multiarch objects.
57913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57914         (__libc_ifunc_impl_list): Likewise.
57916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57917         file.
57918         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57919         multiarch strncasecmp for PPC32.
57920         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57921         file.
57922         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57923         multiarch strncasecmp_l for PPC32.
57924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57925         strncasecmp multiarch objects.
57926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57927         (__libc_ifunc_impl_list): Likewise.
57929         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57930         file.
57931         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57932         multiarch strncasecmp for PPC32.
57933         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57934         New file.
57935         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57936         multiarch strcasecmp_l for PPC32.
57937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57938         multiarch objects.
57939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57940         (__libc_ifunc_impl_list): Likewise.
57942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57943         file.
57944         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57945         file.
57946         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57947         multiarch strncmp for PPC32.
57948         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57949         multiarch objects.
57950         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57951         (__libc_ifunc_impl_list): Likewise.
57953         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57954         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57955         file.
57956         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57957         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57959         multiarch objects.
57960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57961         (__libc_ifunc_impl_list): Likewise.
57963         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57964         file.
57965         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57966         file.
57967         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57969         multiarch objects.
57970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57971         (__libc_ifunc_impl_list): Likewise.
57973         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57974         file.
57975         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57976         file.
57977         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57978         multiarch rawmemchr for PPC32.
57979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57980         multiarch objects.
57981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57982         (__libc_ifunc_impl_list): Likewise.
57984         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57985         file.
57986         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57987         file.
57988         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57989         file: memrchr multiarch for PPC32.
57990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57991         multiarch objects.
57992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57993         (__libc_ifunc_impl_list): Likewise.
57995         * string/memchr.c (__memchr): Using macro to redefine symbol name.
57996         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57997         file.
57998         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57999         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58000         multiarch memchr for PPC32.
58001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58002         multiarch objects.
58003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58004         (__libc_ifunc_impl_list): Likewise.
58006         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58007         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58008         file.
58009         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58010         file.
58011         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58012         file: multiarch mempcpy for PPC32.
58013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58014         multiarch objects.
58015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58016         (__libc_ifunc_impl_list): Likewise.
58018         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58019         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58020         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58021         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58022         multiarch bzero for PPC32.
58023         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58024         file.
58025         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58026         file.
58027         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58028         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58029         file: multiarch memset for PPC32.
58030         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58032         memset multiarch objects.
58033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58034         (__libc_ifunc_impl_list): Likewise.
58036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58037         file.
58038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58039         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58040         memcmp for PPC32.
58041         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58043         multiarch objects.
58044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58045         (__libc_ifunc_impl_list): Likewise.
58047         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58050         file.
58051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58052         file.
58053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58054         file.
58055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58056         multiarch memcpy for PPC32.
58057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58058         multiarch objects.
58059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58060         (__libc_ifunc_impl_list): Likewise.
58062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58063         support multiarch for POWER/PPC32.
58064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58065         Likewise.
58066         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58068         Implies file to make multiarch folder appers before the fpu and
58069         default folder for power4 configuration.
58071 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58073         * scripts/bench.pl: Append volatile keyword to type.
58075 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58077         * sysdeps/sh/sotruss-lib.c: New file.
58078         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58080 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58084 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58086         [BZ #6810]
58087         * math/w_tgamma.c: Include <errno.h>.
58088         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58089         * math/w_tgammaf.c: Include <errno.h>.
58090         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58091         * math/w_tgammal.c: Include <errno.h>.
58092         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58093         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58094         underflow.  Add more tgamma tests.
58095         * math/auto-libm-test-out: Regenerated.
58096         * sysdeps/i386/fpu/libm-test-ulps: Update.
58097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58099         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58100         sin, sinh, tan, tanh, tgamma, y0 and y1.
58101         * math/auto-libm-test-out: Regenerated.
58102         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58103         (TEST_COND_x86): Likewise.
58104         (M_E2l): Remove macro.
58105         (M_E3l): Likewise.
58106         (M_2_SQRT_PIl): Likewise.
58107         (M_SQRT_PIl): Likewise.
58108         (M_1_DIV_El): Likewise.
58109         (log_test_data): Use AUTO_TESTS_f_f.
58110         (log10_test_data): Likewise.
58111         (log1p_test_data): Likewise.
58112         (log2_test_data): Likewise.
58113         (sin_test_data): Likewise.
58114         (sin_tonearest_test_data): Likewise.
58115         (sin_towardzero_test_data): Likewise.
58116         (sin_downward_test_data): Likewise.
58117         (sin_upward_test_data): Likewise.
58118         (sinh_test_data): Likewise.
58119         (sinh_tonearest_test_data): Likewise.
58120         (sinh_towardzero_test_data): Likewise.
58121         (sinh_downward_test_data): Likewise.
58122         (sinh_upward_test_data): Likewise.
58123         (tan_test_data): Likewise.
58124         (tan_tonearest_test_data): Likewise.
58125         (tan_towardzero_test_data): Likewise.
58126         (tan_downward_test_data): Likewise.
58127         (tan_upward_test_data): Likewise.
58128         (tanh_test_data): Likewise.
58129         (tgamma_test_data): Likewise.
58130         (y0_test_data): Likewise.
58131         (y1_test_data): Likewise.
58132         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58133         (special_real_inputs): Add pi/4.
58134         * sysdeps/i386/fpu/libm-test-ulps: Update.
58135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58137 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58139         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58140         "longjmp_target" static probes.
58141         (__longjmp): Rename to __longjmp_symbol.
58142         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58143         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58144         on which longjmp to generate.
58145         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58146         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58147         probe.
58148         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58149         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58150         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58151         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58152         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58153         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58155         __longjmp_symbol based on which __longjmp to generate.
58156         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58157         probe.
58158         (setjmp): Rename to setjmp_symbol.
58159         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58160         (_setjmp): Rename to _setjmp_symbol.
58161         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58162         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58163         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58164         which setjmp to generate.
58165         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58166         "longjmp_target" static probes.
58168 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58170         * benchtests/README: Add note about output arguments.
58171         * benchtests/bench-sincos.c: Remove file.
58172         * benchtests/sincos-inputs: New file.
58173         * scripts/bench.pl: Identify output arguments and define
58174         static variables for them.
58176         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58178         [BZ #15941]
58179         * Makefile (INSTALL): Add install-plain.texi as the primary
58180         dependency.
58181         * manual/install-plain.texi: New file.
58182         * manual/install.texi: Include node directive only for
58183         non-plaintext output.
58185 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58187         * stdlib/longlong.h: Update from GCC.
58189         [BZ #6807]
58190         [BZ #15901]
58191         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58192         * math/w_j0f.c (y0f): Likewise.
58193         * math/w_j0l.c (__y0l): Likewise.
58194         * math/w_j1.c (y1): Likewise.
58195         * math/w_j1f.c (y1f): Likewise.
58196         * math/w_j1l.c (__y1l): Likewise.
58197         * math/w_jn.c (yn): Likewise.
58198         * math/w_jnf.c (ynf): Likewise.
58199         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58200         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58201         value for Bessel function domain errors outside _SVID_ mode.
58202         Adjust sign of return value for yn (negative integer, 0).
58203         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58204         by zero in return for negative x and set sign appropriately for
58205         negative n.
58206         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58208         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58209         expectations in error cases.
58210         (y1_test_data): Likewise.
58211         (yn_test_data): Likewise.
58212         * sysdeps/i386/fpu/libm-test-ulps: Update.
58213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58215 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58217         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58218         "64" to "64-v1".  Add "64-v2".
58219         (abi-64-options): Rename to ...
58220         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58221         (abi-64-condition): Rename to ...
58222         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58223         (abi-64-ld-soname): Rename to ...
58224         (abi-64-v1-ld-soname): ... this.
58225         (abi-64-v2-options): Define.
58226         (abi-64-v2-condition): Likewise.
58227         (abi-64-v2-ld-soname): Likewise.
58228         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58229         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58234 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58235             Alan Modra  <amodra@gmail.com>
58237         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58238         New versions for use with the ELFv2 ABI.
58239         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58240         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58241         declaration.
58242         (struct La_ppc64v2_retval): Likewise.
58243         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58244         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58245         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58246         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58247         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58249         Do not save or restore CR.
58250         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58251         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58252         return values for ELFv2 ABI.  Fix location of FPR return registers.
58253         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58254         updated values for _CALL_ELF == 2.
58255         (La_regs, La_retval, int_retval): Likewise.
58257 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58259         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58260         (FRAME_MIN_SIZE_PARM): Likewise.
58261         (FRAME_BACKCHAIN): Likewise.
58262         (FRAME_CR_SAVE): Likewise.
58263         (FRAME_LR_SAVE): Likewise.
58264         (FRAME_TOC_SAVE): Likewise.
58265         (FRAME_PARM_SAVE): Likewise.
58266         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58267         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58268         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58269         (call_mcount_parm_offset): New macro.
58270         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58271         (PROF): Use symbolic stack frame offsets.
58272         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58273         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58274         Redefine in terms of FRAME_MIN_SIZE.
58275         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58276         (_dl_profile_resolve): Likewise.  Update comment.
58277         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58278         symbols stack frame offsets.
58279         (__sigsetjmp): Likewise.
58280         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58281         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58282         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58283         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58286         (FRAME_BACKCHAIN): Remove.
58287         (FRAME_CR_SAVE): Likewise.
58288         (FRAME_LR_SAVE): Likewise.
58289         (FRAME_COMPILER_DW): Likewise.
58290         (FRAME_LINKER_DW): Likewise.
58291         (FRAME_TOC_SAVE): Likewise.
58292         (FRAME_PARM_SAVE): Likewise.
58293         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58294         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58295         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58297         (CHECK_SP): Use symbolic stack frame offsets.
58298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58299         zone" instead of caller's parameter save area for temp storage.
58300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58301         Likewise.  Also, use symbolic stack frame offsets.
58302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58303         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58304         our own stack frame instead of the caller's.
58305         (__socket): Use symbolic stack frame offsets.
58307 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58308             Alan Modra  <amodra@gmail.com>
58310         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58311         Define.
58312         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58313         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58314         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58315         New function.
58316         (elf_machine_fixup_plt): Call it.
58317         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58318         reloc arguments.
58319         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58320         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58321         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58322         r2 before calling target.
58324 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58325             Alan Modra  <amodra@gmail.com>
58327         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
58328         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
58329         versions of macros to support ELFv2 ABI.
58330         (LOCALENTRY): New macro.
58331         (ENTRY, EALIGN): Use it.
58332         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
58333         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
58334         fall through into ENTRY entry point.
58335         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
58336         Only define if _CALL_ELF != 2.
58338         (elf_machine_matches_host): Verify ABI version matches.
58339         (RTLD_START): Use LOCALENTRY.
58340         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
58341         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
58342         (PLT_ENTRY_WORDS): New macro.
58343         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
58344         (elf_machine_runtime_setup): Support ELFv2 ABI.
58345         (elf_machine_fixup_plt): Likewise.
58346         (elf_machine_plt_conflict): Likewise.
58347         (resolve_ifunc): Likewise.
58348         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
58349         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58350         Likewise.
58351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
58352         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
58353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58354         (makecontext): Support ELFv2 ABI.
58355         * elf/elf.h (EF_PPC64_ABI): Define.
58357 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58359         * sysdeps/powerpc/powerpc64/sysdep.h
58360         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
58361         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
58362         (ENTRY) [ASSEMBLER]: ... but instead here ...
58363         (EALIGN) [ASSEMBLER]: ... and here.
58364         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
58365         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
58366         (ENTRY_2) [!ASSEMBLER]: Use it.
58367         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
58368         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
58369         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58370         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
58371         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
58372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
58373         Use PPC64_LOAD_FUNCPTR.
58375         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
58377 2013-12-04  Alan Modra  <amodra@gmail.com>
58379         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
58380         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
58381         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
58382         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
58384         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
58385         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
58386         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
58387         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
58388         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
58389         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
58391 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58394         (__makecontext): Fix incorrect CFI when backtracing out of
58395         context created via makecontext.
58396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
58397         (__setcontext): Fix incorrect CFI during switch to new context.
58398         (__novec_setcontext): Likewise.
58400 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58402         [BZ #4772]
58403         * time/strptime_l.c (__strptime_internal): Allow modifiers
58404         in strptime.
58405         * time/tst-strptime.c (day_tests): Add testcase.
58407 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58409         * scripts/bench.pl: Skip over blank lines.
58411 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
58413         [BZ #926]
58414         * manual/time.texi (Calendar Time): Clarify what timezone functions
58415         use.
58417 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58421 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
58423         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
58424         implementation.
58425         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
58426         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
58427         * debug/memset_chk.c (__memset_chk): Likewise.
58428         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
58429         * debug/strncpy_chk.c: Likewise.
58431 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58433         [BZ #15268]
58434         [BZ #15425]
58435         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
58436         (__ieee754_exp): For possibly underflowing results, check size of
58437         result and force underflow exception if required.
58438         * math/auto-libm-test-in: Add more tests of exp.
58439         * math/auto-libm-test-out: Regenerated.
58440         * sysdeps/i386/fpu/libm-test-ulps: Update.
58441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58443         [BZ #16283]
58444         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
58445         * math/w_exp2f.c (__exp2f): Likewise.
58446         * math/w_exp2l.c (__exp2l): Likewise.
58447         * math/auto-libm-test-in: Do not allow missing errno on exp2
58448         underflow.
58449         * math/auto-libm-test-out: Regenerated.
58451 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
58453         [BZ #16274]
58454         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
58455         handle filename validation.
58456         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
58457         (do_open): Delete.
58459 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
58461         [BZ #6786]
58462         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
58463         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
58464         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
58465         <float.h>.
58466         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
58467         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
58468         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58469         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
58470         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58471         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
58472         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
58473         * math/auto-libm-test-in: Don't allow missing errno from erfc.
58474         Add more erfc tests.
58475         * math/auto-libm-test-out: Regenerated.
58476         * sysdeps/i386/fpu/libm-test-ulps: Update.
58477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58479         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
58480         exp2, expm1, j0 and j1.
58481         * math/auto-libm-test-out: Regenerated.
58482         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
58483         (erfc_test_data): Likewise.
58484         (exp_test_data): Likewise.
58485         (exp_tonearest_test_data): Likewise.
58486         (exp_towardzero_test_data): Likewise.
58487         (exp_downward_test_data): Likewise.
58488         (exp_upward_test_data): Likewise.
58489         (exp10_test_data): Likewise.
58490         (exp2_test_data): Likewise.
58491         (expm1_test_data): Likewise.
58492         (j0_test_data): Likewise.
58493         (j1_test_data): Likewise.
58494         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
58495         (input_flag_type): Add flag_xfail_rounding.
58496         (input_flags): Add xfail-rounding.
58497         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
58498         (output_for_one_input_case): Handle flag_xfail_rounding.
58499         * sysdeps/i386/fpu/libm-test-ulps: Update.
58500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58502 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
58504         [BZ #16289]
58505         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
58506         division by 0.
58508 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58510         [BZ #16195]
58511         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
58512         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
58513         (STAP_PROBE0): New macro.
58514         (STAP_PROBE1): Likewise.
58515         (STAP_PROBE2): Likewise.
58516         (STAP_PROBE3): Likewise.
58517         (STAP_PROBE4): Likewise.
58519 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
58521         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
58523 2013-12-02  Steve Ellcey  <sellcey@mips.com>
58525         * benchtests/Makefile (bench): Add sqrt.
58526         (LDLIBS-bench-sqrt): New.
58527         * benchtests/sqrt-input: New.
58529 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
58531         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
58532         (GAIH_EAI): Likewise.
58533         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
58534         (gaih_inet): Likewise.
58535         (getaddrinfo): Don't use GAIH_EAI.
58537         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
58538         (struct gaih): Remove definition.
58540 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58542         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
58543         Use HERRNOP directly.
58545 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58549 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
58551         * math/gen-auto-libm-tests.c (test_functions): Add more
58552         single-argument functions.
58553         (special_fill_pi_2): New function.
58554         (special_fill_minus_pi_2): Likewise.
58555         (special_fill_pi_6): Likewise.
58556         (special_fill_minus_pi_6): Likewise.
58557         (special_fill_pi_3): Likewise.
58558         (special_fill_2pi_3): Likewise.
58559         (special_fill_e): Likewise.
58560         (special_fill_1_e): Likewise.
58561         (special_fill_e_minus_1): Likewise.
58562         (special_real_inputs): Add more special inputs.
58563         (output_for_one_input_case): Do not require ERANGE on underflow to
58564         zero if round-to-nearest result does not underflow to zero, unless
58565         exact results required.
58566         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
58567         atan, atanh, cbrt, cos and cosh.
58568         * math/auto-libm-test-out: Regenerated.
58569         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
58570         (acos_tonearest_test_data): Likewise.
58571         (acos_towardzero_test_data): Likewise.
58572         (acos_downward_test_data): Likewise.
58573         (acos_upward_test_data): Likewise.
58574         (acosh_test_data): Likewise.
58575         (asin_test_data): Likewise.
58576         (asin_tonearest_test_data): Likewise.
58577         (asin_towardzero_test_data): Likewise.
58578         (asin_upward_test_data): Likewise.
58579         (asinh_test_data): Likewise.
58580         (atan_test_data): Likewise.
58581         (atanh_test_data): Likewise.
58582         (cbrt_test_data): Likewise.
58583         (cos_test_data): Likewise.
58584         (cos_tonearest_test_data): Likewise.
58585         (cos_towardzero_test_data): Likewise.
58586         (cos_downward_test_data): Likewise.
58587         (cos_upward_test_data): Likewise.
58588         (cosh_test_data): Likewise.
58589         (cosh_tonearest_test_data): Likewise.
58590         (cosh_towardzero_test_data): Likewise.
58591         (cosh_downward_test_data): Likewise.
58592         (cosh_upward_test_data): Likewise.
58593         * sysdeps/i386/fpu/libm-test-ulps: Update.
58594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58596 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
58598         [BZ #6787]
58599         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
58600         * math/w_exp10f.c (__exp10f): Likewise.
58601         * math/w_exp10l.c (__exp10l): Likewise.
58602         * math/libm-test.inc (exp10_test_data): Add more tests and expect
58603         errno settings in existing tests.
58605         [BZ #14032]
58606         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
58607         precision control set to double precision.
58608         * sysdeps/i386/fpu/w_sqrt.c: New file.
58609         * math/auto-libm-test-in: Add more tests.
58610         * math/auto-libm-test-out: Update.
58612         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
58613         (sqrt_test_tonearest): New function.
58614         (sqrt_towardzero_test_data): New variable.
58615         (sqrt_test_towardzero): New function.
58616         (sqrt_downward_test_data): New variable.
58617         (sqrt_test_downward): New function.
58618         (sqrt_upward_test_data): New variable.
58619         (sqrt_test_upward): New function.
58620         (main): Call the new functions.
58622         * math/gen-auto-libm-tests.c: New file.
58623         * math/auto-libm-test-in: Likewise.
58624         * math/auto-libm-test-out: New generated file.
58625         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
58626         variables.
58627         (%beautify): Add generated representations of zero.
58628         (top level): Set $auto_input and call parse_auto_input.
58629         (beautify): Remove trailing "f" from hex float constants.
58630         (parse_args): Handle XFAIL_TEST.
58631         (convert_condition): New function.
58632         (or_value): Likewise.
58633         (or_cond_value): Likewise.
58634         (generate_testfile): Handle AUTO_TESTS_* lines.
58635         (parse_auto_input): New function.
58636         * math/libm-test.inc (XFAIL_TEST): New macro.
58637         (ERRNO_UNCHANGED): Update value.
58638         (ERRNO_EDOM): Likewise.
58639         (ERRNO_ERANGE): Likewise.
58640         (IGNORE_RESULT): Likewise.
58641         (TEST_COND_flt_32): New macro.
58642         (TEST_COND_dbl_64): Likewise.
58643         (TEST_COND_ldbl_96_intel): Likewise.
58644         (TEST_COND_ldbl_96_m68k): Likewise.
58645         (TEST_COND_ldbl_128): Likewise.
58646         (TEST_COND_ldbl_128ibm): Likewise.
58647         (TEST_COND_long32): Likewise.
58648         (TEST_COND_long64): Likewise.
58649         (TEST_COND_before_rounding): Likewise.
58650         (TEST_COND_after_rounding): Likewise.
58651         (enable_test): Handle XFAIL_TEST flag.
58652         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
58653         with finite results.
58654         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
58655         auto-libm-test-out.
58657 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58658             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58660         [BZ #16214]
58661         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
58662         __tls_get_addr_internal instead of __tls_get_offset in order to
58663         avoid GOT pointer dependency.  Make rtld export
58664         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
58665         __tls_get_addr since we are a __tls_get_offset platform.
58666         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
58667         GOT pointer being set up before.
58668         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
58670 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
58672         * manual/math.texi (Errors in Math Functions): Document accuracy
58673         goals.
58675         [BZ #15004]
58676         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
58677         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
58678         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58679         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58680         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58681         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58682         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58683         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
58684         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
58685         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58686         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58687         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58688         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58689         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58690         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58691         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
58693         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
58694         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
58695         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
58696         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
58697         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
58698         Likewise.
58699         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
58700         Likewise.
58701         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
58702         Likewise.
58703         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
58704         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
58705         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
58706         atomic-feupdateenv and flt-rounds.
58707         * sysdeps/powerpc/nofpu/Versions (libc): Add
58708         __atomic_feholdexcept, __atomic_feclearexcept,
58709         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
58710         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
58711         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
58712         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
58713         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
58714         here.
58715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
58716         Update.
58718         * manual/arith.texi (FP Exceptions): Document that exceptions may
58719         not be raised when matherr is used.
58720         (Math Error Reporting): Document overflow in directed rounding
58721         modes.  Document that errno may not be set when finite values are
58722         returned on overflow.  Document intent to set errno on underflow
58723         only for underflow to zero.
58725         [BZ #16271]
58726         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
58727         round-to-nearest then adjust result for other rounding modes.
58728         * include/fenv.h (fegetround): Use libm_hidden_proto.
58729         * math/fegetround.c (fegetround): Use libm_hidden_def.
58730         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
58731         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
58732         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58733         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
58734         Likewise.
58735         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
58736         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58737         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
58738         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
58740 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58742         [BZ #16077]
58743         * nss/Versions (libnss_files): Add
58744         _nss_files_gethostbyname3_r.
58745         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
58746         New function.
58747         (HOST_DB_LOOKUP): Remove macro.
58748         (_nss_files_gethostbyname_r): Implement function without the
58749         HOST_DB_LOOKUP macro.
58750         (_nss_files_gethostbyname2_r): Likewise.
58752 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
58754         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
58756 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
58758         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
58759         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
58760         warning.
58762 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58764         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
58765         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
58766         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
58767         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
58768         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
58769         __fe_nomask_env_priv and attribute_hidden.
58770         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
58771         (libc_feupdateenv_test_ppc): Likewise.
58772         (libc_feresetround_ppc): Likewise.
58773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58774         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
58775         compat_symbol macro.
58776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58777         (__fe_nomask_env): Likewise.
58778         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58780 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58782         * string/Makefile: Remove ifunc tests.
58783         * string/test-string.h: Define TEST_IFUNC.
58784         * string/test-bcopy-ifunc.c: Remove.
58785         * string/test-bzero-ifunc.c: Likewise.
58786         * string/test-memccpy-ifunc.c: Likewise.
58787         * string/test-memchr-ifunc.c: Likewise.
58788         * string/test-memcmp-ifunc.c: Likewise.
58789         * string/test-memcpy-ifunc.c: Likewise.
58790         * string/test-memmem-ifunc.c: Likewise.
58791         * string/test-memmove-ifunc.c: Likewise.
58792         * string/test-mempcpy-ifunc.c: Likewise.
58793         * string/test-memrchr-ifunc.c: Likewise.
58794         * string/test-memset-ifunc.c: Likewise.
58795         * string/test-rawmemchr-ifunc.c: Likewise.
58796         * string/test-stpcpy-ifunc.c: Likewise.
58797         * string/test-stpncpy-ifunc.c: Likewise.
58798         * string/test-strcasecmp-ifunc.c: Likewise.
58799         * string/test-strcasestr-ifunc.c: Likewise.
58800         * string/test-strcat-ifunc.c: Likewise.
58801         * string/test-strchr-ifunc.c: Likewise.
58802         * string/test-strchrnul-ifunc.c: Likewise.
58803         * string/test-strcmp-ifunc.c: Likewise.
58804         * string/test-strcpy-ifunc.c: Likewise.
58805         * string/test-strcspn-ifunc.c: Likewise.
58806         * string/test-strlen-ifunc.c: Likewise.
58807         * string/test-strncasecmp-ifunc.c: Likewise.
58808         * string/test-strncat-ifunc.c: Likewise.
58809         * string/test-strncmp-ifunc.c: Likewise.
58810         * string/test-strncpy-ifunc.c: Likewise.
58811         * string/test-strnlen-ifunc.c: Likewise.
58812         * string/test-strpbrk-ifunc.c: Likewise.
58813         * string/test-strrchr-ifunc.c: Likewise.
58814         * string/test-strspn-ifunc.c: Likewise.
58815         * string/test-strstr-ifunc.c: Likewise.
58817 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58819         * benchtests/Makefile: Remove ifunc tests.
58820         * benchtests/bench-string.h: Define TEST_IFUNC.
58821         * benchtests/bench-bcopy-ifunc.c: Remove.
58822         * benchtests/bench-bzero-ifunc.c: Likewise.
58823         * benchtests/bench-memccpy-ifunc.c: Likewise.
58824         * benchtests/bench-memchr-ifunc.c: Likewise.
58825         * benchtests/bench-memcmp-ifunc.c: Likewise.
58826         * benchtests/bench-memcpy-ifunc.c: Likewise.
58827         * benchtests/bench-memmem-ifunc.c: Likewise.
58828         * benchtests/bench-memmove-ifunc.c: Likewise.
58829         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58830         * benchtests/bench-memrchr-ifunc.c: Likewise.
58831         * benchtests/bench-memset-ifunc.c: Likewise.
58832         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58833         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58834         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58835         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58836         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58837         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58838         * benchtests/bench-strcat-ifunc.c: Likewise.
58839         * benchtests/bench-strchr-ifunc.c: Likewise.
58840         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58841         * benchtests/bench-strcmp-ifunc.c: Likewise.
58842         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58843         * benchtests/bench-strcpy-ifunc.c: Likewise.
58844         * benchtests/bench-strcspn-ifunc.c: Likewise.
58845         * benchtests/bench-strlen-ifunc.c: Likewise.
58846         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58847         * benchtests/bench-strncat-ifunc.c: Likewise.
58848         * benchtests/bench-strncmp-ifunc.c: Likewise.
58849         * benchtests/bench-strncpy-ifunc.c: Likewise.
58850         * benchtests/bench-strnlen-ifunc.c: Likewise.
58851         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58852         * benchtests/bench-strrchr-ifunc.c: Likewise.
58853         * benchtests/bench-strsep-ifunc.c: Likewise.
58854         * benchtests/bench-strspn-ifunc.c: Likewise.
58855         * benchtests/bench-strstr-ifunc.c: Likewise.
58857 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58859         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58861 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58863         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58864         * rt/aio.h: Likewise.
58865         * sysdeps/gnu/bits/utmp.h: Likewise.
58866         * sysdeps/gnu/bits/utmpx.h: Likewise.
58867         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58868         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58869         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58870         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58871         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58872         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58873         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58874         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58875         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58876         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58877         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58878         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58879         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58881         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58882         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58883         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58884         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58885         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58886         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58887         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58888         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58889         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58890         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58891         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58892         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58893         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58894         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58895         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58896         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58897         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58898         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58899         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58900         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58901         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58902         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58903         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58904         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58905         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58906         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58907         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58908         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58910 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58912         [BZ #16245]
58913         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58914         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58916 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58918         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58919         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58920         Likewise.
58922 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58925         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58926         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58927         (__fesetround): Remove define.
58928         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58929         rounding and exceptions handling.
58930         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58931         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58932         (__fe_nomask_env): Likewise.
58933         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58934         __fegetround instead of fegetround.
58935         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58936         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58938 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58940         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58941         it's there.
58943         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58945 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58947         [BZ #11157]
58948         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58949         (encrypt_r): Likewise.
58950         * malloc/obstack.h (obstack_free): Likewise.
58951         * posix/unistd.h (encrypt): Likewise.
58953 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58955         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58956         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58957         DL_CALL_DT_FINI() that call the functions directly.
58958         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58959         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58960         * elf/dl-fini.c: Likewise.
58962 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58964         * malloc/hooks.c (memalign_check): Add alignment rounding.
58965         * malloc/malloc.c (_mid_memalign): New function.
58966         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58967         Implement by calling _mid_memalign.
58968         * manual/probes.texi (Memory Allocation Probes): Remove
58969         memory_valloc_retry and memory_pvalloc_retry.
58971 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58973         * locale/programs/locarchive.c (open_archive): Add const
58974         qualifier to ARCHIVEFNAME and copy default fname to
58975         DEFAULT_FNAME.
58977         [BZ #15601]
58978         * libio/tst-widetext.input: Rename Oriya to Odia.
58979         * locale/iso-639.def: Likewise.
58981         * manual/probes.texi (Mathematical Function Probes): Add
58982         documentation for sin, cos, asin and acos probes.
58983         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58984         (__sin32): Add slowasin probe.
58985         (__cos32): Add slowacos probe.
58986         (__mpsin): Add slowsin probe.
58987         (__mpcos): Add slowcos probe.
58989 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
58991         [BZ #15483]
58992         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58993         thread-local __sim_exceptions_thread and global
58994         __sim_exceptions_global.
58995         (__sim_disabled_exceptions): Change to thread-local
58996         __sim_disabled_exceptions_thread and global
58997         __sim_disabled_exceptions_global.
58998         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58999         and global __sim_round_mode_global.
59000         (__simulate_exceptions): Use thread-local floating-point state and
59001         set global state from it as needed.
59002         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59003         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59004         __sim_round_mode_thread.
59005         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59006         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59007         and global __sim_exceptions_global.
59008         (__sim_disabled_exceptions): Change to thread-local
59009         __sim_disabled_exceptions_thread and global
59010         __sim_disabled_exceptions_global.
59011         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59012         and global __sim_round_mode_global.
59013         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59014         (SIM_SET_GLOBAL): Likewise.
59015         * sysdeps/powerpc/soft-fp/sfp-machine.h
59016         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59017         __sim_round_mode_thread.
59018         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59019         __sim_disabled_exceptions_thread.
59020         (__sim_exceptions): Change to __sim_exceptions_thread.
59021         (__sim_disabled_exceptions): Change to
59022         __sim_disabled_exceptions_thread.
59023         (__sim_round_mode): Change to __sim_round_mode_thread.
59024         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59025         thread-local floating-point state and set global state from it as
59026         needed.
59027         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59028         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59029         (__sim_disabled_exceptions): Remove extern declaration.
59030         (feenableexcept): Use thread-local floating-point state and set
59031         global state from it as needed.
59032         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59033         extern declaration.
59034         (__sim_disabled_exceptions): Likewise.
59035         (__sim_round_mode): Likewise.
59036         (__fegetenv): Use thread-local floating-point state.
59037         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59038         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59039         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59040         floating-point state and set global state from it as needed.
59041         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59042         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59043         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59044         Likewise.
59045         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59046         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59047         Likewise.
59048         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59049         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59050         Use __sim_round_mode_thread.
59051         * math/test-fenv-tls.c: New file.
59052         * math/Makefile (tests): Add test-fenv-tls.
59053         ($(objpfx)test-fenv-tls): Depend on
59054         $(common-objpfx)nptl/libpthread.so.
59056 2013-11-19  Andreas Schwab  <schwab@suse.de>
59058         * locale/programs/locale.c (show_info): Decode wordarray elements.
59059         * locale/categories.def (LC_MONETARY): Add element for
59060         _NL_MONETARY_CRNCYSTR.
59061         * locale/C-monetary.c (conversion_rate): New variable.
59062         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59063         element.
59065 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59067         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59068         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59070 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59072         * elf/Makefile (tst-auxv): New test.
59073         * elf/tst-auxv.c: New
59074         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59076 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59078         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59079         (hidden_proto): Caller changed.
59080         (hidden_tls_proto): New macro.
59081         (libc_hidden_tls_proto): Likewise.
59082         (rtld_hidden_tls_proto): Likewise.
59083         (libm_hidden_tls_proto): Likewise.
59084         (libresolv_hidden_tls_proto): Likewise.
59085         (librt_hidden_tls_proto): Likewise.
59086         (libdl_hidden_tls_proto): Likewise.
59087         (libnss_files_hidden_tls_proto): Likewise.
59088         (libnsl_hidden_tls_proto): Likewise.
59089         (libnss_nisplus_hidden_tls_proto): Likewise.
59090         (libutil_hidden_tls_proto): Likewise.
59092 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59094         [BZ #10253]
59095         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59096         (decompose_rpath): Defer expansion to fillin_rpath.
59097         (_dl_init_paths): Pass linkmap to fillin_rpath.
59099 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59101         * benchtests/Makefile: Add strsep.
59102         * benchtests/bench-strsep.c: New file: strsep benchtest.
59103         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59105 2013-11-18  Andreas Schwab  <schwab@suse.de>
59107         * locale/programs/locale.c (show_info) [case byte]: Check for
59108         '\377' instead of '\177'.
59109         * locale/C-monetary.c (not_available): Always use "\377".
59110         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59111         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59112         detect unavailable sign_posn locale elements.
59113         * locale/localeconv.c (__localeconv): For grouping and
59114         mon_grouping handle "\177" and "\377" like no grouping.
59115         (INT_ELEM): New macro.  Use it to set all numeric members.
59116         * locale/programs/ld-monetary.c (monetary_read)
59117         <tok_mon_grouping>: Normalize single -1 to the empty string.
59118         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59119         Likewise.
59121 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59123         [BZ #16055]
59124         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59125         when we match (nil).
59126         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59128 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59130         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59131         (NO_TEST_INLINE): Update value.
59132         (ERRNO_UNCHANGED): Likewise.
59133         (ERRNO_EDOM): Likewise.
59134         (ERRNO_ERANGE): Likewise.
59135         (IGNORE_RESULT): Likewise.
59136         (check_float_internal): Check signs of NaN results if
59137         TEST_NAN_SIGN used.
59138         (check_complex): Pass TEST_NAN_SIGN flag through to second
59139         check_float_internal call.
59140         (copysign_test_data): Add tests with quiet NaNs as second
59141         argument.  Use TEST_NAN_SIGN.
59142         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59143         TEST_NAN_SIGN.
59144         (signbit_test_data): Add tests of quiet NaN argument.
59145         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59147         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59148         $ignore_result.
59149         (parse_args): Handle function results specified as IGNORE.
59150         * math/libm-test.inc (IGNORE_RESULT): New macro.
59151         (check_float_internal): Do not check numerical result if flag
59152         IGNORE_RESULT set.
59153         (check_complex): Pass through IGNORE_RESULT to second
59154         check_float_internal call.
59155         (check_int): Do not check numerical result if flag IGNORE_RESULT
59156         set.
59157         (check_long): Likewise.
59158         (check_bool): Likewise.
59159         (check_longlong): Likewise.
59160         (lrint_test_data): Add tests of infinite and NaN arguments.
59161         (lrint_tonearest_test_data): Likewise.
59162         (lrint_towardzero_test_data): Likewise.
59163         (lrint_downward_test_data): Likewise.
59164         (lrint_upward_test_data): Likewise.
59165         (llrint_test_data): Likewise.
59166         (llrint_tonearest_test_data): Likewise.
59167         (llrint_towardzero_test_data): Likewise.
59168         (llrint_downward_test_data): Likewise.
59169         (llrint_upward_test_data): Likewise.
59170         (lround_test_data): Likewise.
59171         (llround_test_data): Likewise.
59173         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59174         (ERRNO_UNCHANGED): Update value.
59175         (ERRNO_EDOM): Likewise.
59176         (ERRNO_ERANGE): Likewise.
59177         (NO_TEST_INLINE_FLOAT): New macro.
59178         (NO_TEST_INLINE_DOUBLE): Likewise.
59179         (enable_test): New function.
59180         (RUN_TEST_f_f): Check enable_test before running test.
59181         (RUN_TEST_2_f): Likewise.
59182         (RUN_TEST_fff_f): Likewise.
59183         (RUN_TEST_c_f): Likewise.
59184         (RUN_TEST_f_f1): Likewise.
59185         (RUN_TEST_fF_f1): Likewise.
59186         (RUN_TEST_fI_f1): Likewise.
59187         (RUN_TEST_ffI_f1): Likewise.
59188         (RUN_TEST_c_c): Likewise.
59189         (RUN_TEST_cc_c): Likewise.
59190         (RUN_TEST_f_i): Likewise.
59191         (RUN_TEST_f_i_tg): Likewise.
59192         (RUN_TEST_ff_i_tg): Likewise.
59193         (RUN_TEST_f_b): Likewise.
59194         (RUN_TEST_f_b_tg): Likewise.
59195         (RUN_TEST_f_l): Likewise.
59196         (RUN_TEST_f_L): Likewise.
59197         (RUN_TEST_fFF_11): Likewise.
59198         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59199         conditionals.
59200         (cosh_test_data): Likewise.
59201         (exp_test_data): Likewise.
59202         (expm1_test_data): Likewise.
59203         (hypot_test_data): Likewise.
59204         (pow_test_data): Likewise.
59205         (sinh_test_data): Likewise.
59206         (tanh_test_data): Likewise.
59207         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59208         flags argument.
59210         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59211         tests with quiet NaN input and output.
59212         (acosh_test_data): Likewise.
59213         (asin_test_data): Likewise.
59214         (asinh_test_data): Likewise.
59215         (atan_test_data): Likewise.
59216         (atanh_test_data): Likewise.
59217         (atan2_test_data): Likewise.
59218         (cbrt_test_data): Likewise.
59219         (cos_test_data): Likewise.
59220         (cosh_test_data): Likewise.
59221         (erf_test_data): Likewise.
59222         (erfc_test_data): Likewise.
59223         (exp_test_data): Likewise.
59224         (exp10_test_data): Likewise.
59225         (exp2_test_data): Likewise.
59226         (expm1_test_data): Likewise.
59227         (hypot_test_data): Likewise.
59228         (j0_test_data): Likewise.
59229         (j1_test_data): Likewise.
59230         (jn_test_data): Likewise.
59231         (lgamma_test_data): Likewise.
59232         (log_test_data): Likewise.
59233         (log10_test_data): Likewise.
59234         (log1p_test_data): Likewise.
59235         (log2_test_data): Likewise.
59236         (pow_test_data): Likewise.
59237         (scalb_test_data): Likewise.
59238         (sin_test_data): Likewise.
59239         (sincos_test_data): Likewise.
59240         (sinh_test_data): Likewise.
59241         (tan_test_data): Likewise.
59242         (tanh_test_data): Likewise.
59243         (tgamma_test_data): Likewise.
59244         (y0_test_data): Likewise.
59245         (y1_test_data): Likewise.
59246         (yn_test_data): Likewise.
59248         [BZ #16167]
59249         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59250         argument being NaN and avoid computations with second argument in
59251         that case.
59252         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59253         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59254         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59256 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59258         * locale/iso-639.def: Add Chitwani Tharu (the).
59260 2013-11-14  Andreas Schwab  <schwab@suse.de>
59262         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59263         word instead of empty string.
59265 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59268         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59270         (__fe_nomask_env): Likewise.
59272 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59274         * benchtests/bench-timing.h: Include time.h.
59276 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59278         [BZ #15997]
59279         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59280         to 3.4.0 for x32.
59281         * sysdeps/unix/sysv/linux/configure: Regenerated.
59283 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59285         [BZ #16151]
59286         * stdlib/strtod_l.c (round_and_return): Do not consider
59287         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59288         exponent one less than half the least subnormal exponent.
59289         * stdlib/test-strtod-round-data: Add more tests.
59290         * stdlib/tst-strtod-round.c (tests): Regenerated.
59292 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59294         [BZ #14143]
59295         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59296         (__fe_mask_env): Likewise.
59297         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59298         libm_hidden_proto and add function prototype.
59299         (__fe_mask_env): Add function prototype.
59300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59301         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59303         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59305         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59307 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59309         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59310         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59312 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59314         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59315         of htab_find_slot().
59317 2013-11-11  David S. Miller  <davem@davemloft.net>
59319         [BZ #16150]
59320         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59321         symbol in the non-vis3 case in static builds.
59322         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59323         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59324         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59325         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59327 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
59329         [BZ #387]
59330         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
59331         it is empty.
59333 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59335         * benchtests/Makefile: Add bench-strtod.
59336         * benchtests/bench-strtod.c: New file: strtod benchtest
59338 2013-11-11  Andreas Schwab  <schwab@suse.de>
59340         [BZ #16153]
59341         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
59342         terminating NUL in key length.
59344 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59347         Add artificial ODP entry for vDSO symbol for PPC64.
59348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
59349         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59351 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59353         [BZ #15374]
59354         * nss/getent.c (services_keys): Recognize services starting with digit.
59356 2013-11-06  David S. Miller  <davem@davemloft.net>
59358         [BZ #15985]
59359         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
59360         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
59362 2013-11-06  Will Newton  <will.newton@linaro.org>
59364         * manual/memory.texi (Malloc Examples): Remove register
59365         keyword from examples.
59367 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
59369         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
59371 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
59373         [BZ #6981]
59374         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
59375         depending on [__GCC_IEC_559 > 0].
59376         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
59377         depending on [__GCC_IEC_559_COMPLEX > 0].
59379 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
59381         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
59382         to iso-639.def.
59384 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
59386         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
59388 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
59390         [BZ #16112]
59391         * malloc/malloc (malloc_info): Do not handle first bin as
59392         special case.
59394 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
59396         * locale/iso-639.def: Add Central Nahuatl (nhn).
59398 2013-11-01  Bruno Haible  <bruno@clisp.org>
59400         [BZ #7003]
59401         * manual/math.texi (BSD Random): Specify range upper bound as
59402         in POSIX.
59404 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
59406         * locale/iso-639.def: Add Meadow Mari (mhr).
59408 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
59410         [BZ #14752], [BZ #15763]
59411         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
59412         Validate name.
59413         * rt/tst_shm.c: Add test for escaping directory.
59415 2013-10-31  Andreas Schwab  <schwab@suse.de>
59417         [BZ #15917]
59418         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
59419         followed by 'x' as part of digit sequence.
59420         * stdio-common/tst-sscanf.c (double_tests2): New tests.
59422 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
59424         [BZ #16037]
59425         * configure.ac: allow GNU Make 4.0 and greater.
59426         * configure: Regenerated.
59428 2013-10-30  Will Newton  <will.newton@linaro.org>
59430         [BZ #16038]
59431         * malloc/hooks.c (memalign_check): Limit alignment to the
59432         maximum representable power of two.
59433         * malloc/malloc.c (__libc_memalign): Likewise.
59434         * malloc/tst-memalign.c (do_test): Add test for very
59435         large alignment values.
59436         * malloc/tst-posix_memalign.c (do_test): Likewise.
59438 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59440         [BZ #11087]
59441         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59442         (munmap_chunk): Likewise.
59443         (mremap_chunk): Likewise.
59445 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
59447         [BZ #15799]
59448         * stdlib/div.c (div): Remove obsolete code.
59449         * stdlib/ldiv.c (ldiv): Likewise.
59450         * stdlib/lldiv.c (lldiv): Likewise.
59452 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59454         [BZ #16071]
59455         * nss/nss_files/files-XXX.c (get_contents_ret): New
59456         enumerator.
59457         (get_contents): New function.
59458         (internal_getent): Use it.  Expand size of LINEBUFLEN.
59460 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
59462         * configure.in: Moved to ...
59463         * configure.ac: ... here. Change reference to configure.in
59464         to configure.ac.
59465         * sysdeps/arm/preconfigure.ac: ... here.
59466         configure.in to configure.ac.
59467         * sysdeps/gnu/configure.in: Moved to ...
59468         * sysdeps/gnu/configure.ac: ... here.
59469         * sysdeps/i386/configure.in: Moved to ...
59470         * sysdeps/i386/configure.ac: ... here.
59471         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
59472         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
59473         * sysdeps/mach/configure.in: Moved to ...
59474         * sysdeps/mach/configure.ac: ... here.
59475         * sysdeps/mach/hurd/configure.in: Moved to ...
59476         * sysdeps/mach/hurd/configure.ac: ... here.
59477         * sysdeps/powerpc/configure.in: Moved to ...
59478         * sysdeps/powerpc/configure.ac: ... here.
59479         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
59480         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
59481         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
59482         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
59483         * sysdeps/s390/s390-32/configure.in: Moved to ...
59484         * sysdeps/s390/s390-32/configure.ac: ... here.
59485         * sysdeps/s390/s390-64/configure.in: Moved to ...
59486         * sysdeps/s390/s390-64/configure.ac: ... here.
59487         * sysdeps/sh/configure.in: Moved to ...
59488         * sysdeps/sh/configure.ac: ... here.
59489         * sysdeps/sparc/configure.in: Moved to ...
59490         * sysdeps/sparc/configure.ac: ... here.
59491         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
59492         * sysdeps/unix/sysv/linux/configure.ac: ... here.
59493         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
59494         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
59495         * sysdeps/x86_64/configure.in: Moved to ...
59496         * sysdeps/x86_64/configure.ac: ... here.
59497         * sysdeps/x86_64/preconfigure.in: Moved to ...
59498         * sysdeps/x86_64/preconfigure.ac: ... here.
59499         * aclocal.m4: Change reference to configure.in to configure.ac.
59500         * config.h.in: Likewise.
59501         * manual/install.texi: Likewise.
59502         * manual/maint.texi: Likewise.
59503         * Makefile: Likewise.
59504         * malloc/Makefile: Likewise.
59505         * nscd/Makefile: Likewise.
59506         * Makeconfig: Change reference to configure.in and
59507         preconfigure.in to configure.ac and preconfigure.ac
59508         respectively.
59509         * INSTALL: Regenerated.
59510         * configure: Likewise.
59511         * sysdeps/gnu/configure: Likewise.
59512         * sysdeps/i386/configure: Likewise.
59513         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
59514         * sysdeps/mach/configure: Likewise.
59515         * sysdeps/mach/hurd/configure: Likewise.
59516         * sysdeps/powerpc/configure: Likewise.
59517         * sysdeps/powerpc/powerpc32/configure: Likewise.
59518         * sysdeps/powerpc/powerpc64/configure: Likewise.
59519         * sysdeps/s390/s390-32/configure: Likewise.
59520         * sysdeps/s390/s390-64/configure: Likewise.
59521         * sysdeps/sh/configure: Likewise.
59522         * sysdeps/sparc/configure: Likewise.
59523         * sysdeps/unix/sysv/linux/configure: Likewise.
59524         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
59525         * sysdeps/x86_64/configure: Likewise.
59526         * sysdeps/x86_64/preconfigure: Likewise.
59528 2013-10-29  Andreas Schwab  <schwab@suse.de>
59530         * stdio-common/Makefile (tst-swscanf-ENV): Define.
59532 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59534         * benchtests/pow-inputs: Add new inputs.
59536         * benchtests/exp-inputs: Add new inputs.
59538         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
59539         conditional check for return value.
59540         (__cos32): Likewise.
59542 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59544         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
59545         to provide a boost for large inputs with word alignment.
59546         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
59547         implementation based on optimized PPC64 strcpy.
59548         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
59549         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
59550         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
59551         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
59553 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59555         [BZ #2801]
59556         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
59558 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59560         [BZ #14876]
59561         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
59562         * time/tst-strptime.c (day_tests): Add testcase.
59564 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
59566         [BZ #14029]
59567         * manual/pattern.texi: Acknowledge that fnmatch can fail.
59569 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
59571         [BZ #16074]
59572         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
59573         MAP_FAILED on error.
59575 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59577         [BZ #16072]
59578         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
59579         heap for large requests.
59581 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
59583         [BZ #9954]
59584         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
59585         result if the result has no associated interface.
59586         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
59587         interface for all 127.X.Y.Z addresses.
59589 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
59591         * locale/iso-639.def: Add Ligurian (lij)
59593 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
59595         [BZ #15825]
59596         * sunrpc/rpc_main.c: Document rpcgen -5.
59598 2013-10-19  Michael Stahl  <mstahl@redhat.com>
59600         * elf/rtld.c (do_preload): Print the reason why preloading failed.
59602 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59604         [BZ #10278]
59605         * posix/glob.c: Match only directories when trailing slash is present.
59606         * posix/tst-gnuglob.c (my_opendir): Do not open files.
59607         (main): Add testcase.
59609 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
59611         [BZ #15670]
59612         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
59614 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
59616         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
59617         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
59618         AUTH_DES and cindex for FIPS 140-2.
59619         (DES Encryption): Add cindex FIPS 46-3.
59621         * locale/locarchive.h (struct locarhandle): Add fname.
59622         * locale/programs/localedef.c (main): Pass ARGV[remaining]
59623         if an optional argument was specified to --list-archive,
59624         otherwise NULL.
59625         * locale/programs/locarchive.c (show_archive_content): Take new
59626         argument fname and pass it via ah.fname to open_archive.
59627         * locale/programs/localedef.h: Update decl.
59628         (open_archive): If AH->fname is non-null, open that file
59629         rather than the default file name, and don't ignore ENOENT.
59630         (create_archive): Set AH.fname to NULL.
59631         (delete_locales_from_archive): Likewise.
59632         (add_locales_to_archive): Likewise.
59633         * locale/programs/locfile.c (write_all_categories): Likewise.
59635 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
59636             Aldy Hernandez  <aldyh@redhat.com>
59638         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
59639         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
59640         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
59641         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
59642         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
59643         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
59644         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
59645         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
59646         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
59647         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
59648         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
59649         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
59650         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
59651         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
59652         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
59653         Likewise.
59654         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
59655         Likewise.
59656         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
59657         Likewise.
59658         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
59659         Likewise.
59660         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
59661         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
59662         Likewise.
59663         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
59664         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
59665         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
59666         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
59667         Likewise.
59668         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
59669         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
59670         * sysdeps/powerpc/preconfigure: Likewise.
59671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
59672         Likewise.
59673         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
59674         Replace contents of file by #include of <fenv_libc.h>.
59675         * sysdeps/powerpc/soft-fp/sfp-machine.h
59676         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
59677         and <sys/prctl.h>.
59678         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
59679         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
59680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
59681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
59682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
59683         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
59684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
59685         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
59686         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
59687         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
59688         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
59689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
59690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59691         Allow copysignl PLT reference to be missing.
59693 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
59694             Joseph Myers  <joseph@codesourcery.com
59696         [BZ #15948]
59697         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
59698         single character.
59699         (add_to_tablewc): Assert sequence of wide characters is nonempty.
59701 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59703         * elf/tst-tls-dlinfo.c: Don't include tls.h.
59704         * elf/tst-tls1.c: Likewise.
59705         * elf/tst-tls10.h: Likewise.
59706         * elf/tst-tls14.c: Likewise.
59707         * elf/tst-tls2.c: Likewise.
59708         * elf/tst-tls3.c: Likewise.
59709         * elf/tst-tls4.c: Likewise.
59710         * elf/tst-tls5.c: Likewise.
59711         * elf/tst-tls6.c: Likewise.
59712         * elf/tst-tls7.c: Likewise.
59713         * elf/tst-tls8.c: Likewise.
59714         * elf/tst-tls9.c: Likewise.
59715         * elf/tst-tlsmod1.c: Likewise.
59716         * elf/tst-tlsmod13.c: Likewise.
59717         * elf/tst-tlsmod13a.c: Likewise.
59718         * elf/tst-tlsmod14a.c: Likewise.
59719         * elf/tst-tlsmod16a.c: Likewise.
59720         * elf/tst-tlsmod16b.c: Likewise.
59721         * elf/tst-tlsmod2.c: Likewise.
59722         * elf/tst-tlsmod3.c: Likewise.
59723         * elf/tst-tlsmod4.c: Likewise.
59724         * elf/tst-tlsmod5.c: Likewise.
59725         * elf/tst-tlsmod6.c: Likewise.
59727 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
59729         [BZ #12486]
59730         * malloc/malloc.c: remove checks for statistics.
59732 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59734         [BZ #15277]
59735         * inet/inet_net.c (inet_network): Detect additional invalid strings.
59736         * inet/tst-network.c: Add testcase.
59738 2013-10-17  Andreas Schwab  <schwab@suse.de>
59740         [BZ #15218]
59741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
59742         to determine canonical name.
59744 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
59746         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
59747         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
59748         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59749         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59750         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59751         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59752         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59753         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59754         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59755         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59756         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59757         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59758         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59759         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59760         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59761         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59763         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59764         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59765         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59766         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59768         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59769         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
59770         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
59771         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59772         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59773         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
59774         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59775         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
59776         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59777         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59778         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59779         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59780         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59781         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59782         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59783         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59784         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59785         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59786         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59787         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59788         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59789         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59790         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59791         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59792         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59793         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59794         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59795         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59796         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59797         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59798         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59799         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59800         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59801         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59803         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59805 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59807         [BZ #16041]
59808         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59809         make result into a quiet NaN.
59811 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59813         * soft-fp/adddf3.c: Fix horizontal whitespace.
59814         * soft-fp/addsf3.c: Likewise.
59815         * soft-fp/addtf3.c: Likewise.
59816         * soft-fp/divdf3.c: Likewise.
59817         * soft-fp/divsf3.c: Likewise.
59818         * soft-fp/divtf3.c: Likewise.
59819         * soft-fp/double.h: Likewise.
59820         * soft-fp/eqdf2.c: Likewise.
59821         * soft-fp/eqsf2.c: Likewise.
59822         * soft-fp/eqtf2.c: Likewise.
59823         * soft-fp/extenddftf2.c: Likewise.
59824         * soft-fp/extended.h: Likewise.
59825         * soft-fp/extendsfdf2.c: Likewise.
59826         * soft-fp/extendsftf2.c: Likewise.
59827         * soft-fp/extendxftf2.c: Likewise.
59828         * soft-fp/fixdfdi.c: Likewise.
59829         * soft-fp/fixdfsi.c: Likewise.
59830         * soft-fp/fixdfti.c: Likewise.
59831         * soft-fp/fixsfdi.c: Likewise.
59832         * soft-fp/fixsfsi.c: Likewise.
59833         * soft-fp/fixsfti.c: Likewise.
59834         * soft-fp/fixtfdi.c: Likewise.
59835         * soft-fp/fixtfsi.c: Likewise.
59836         * soft-fp/fixtfti.c: Likewise.
59837         * soft-fp/fixunsdfdi.c: Likewise.
59838         * soft-fp/fixunsdfsi.c: Likewise.
59839         * soft-fp/fixunsdfti.c: Likewise.
59840         * soft-fp/fixunssfdi.c: Likewise.
59841         * soft-fp/fixunssfsi.c: Likewise.
59842         * soft-fp/fixunssfti.c: Likewise.
59843         * soft-fp/fixunstfdi.c: Likewise.
59844         * soft-fp/fixunstfsi.c: Likewise.
59845         * soft-fp/fixunstfti.c: Likewise.
59846         * soft-fp/floatdidf.c: Likewise.
59847         * soft-fp/floatdisf.c: Likewise.
59848         * soft-fp/floatditf.c: Likewise.
59849         * soft-fp/floatsidf.c: Likewise.
59850         * soft-fp/floatsisf.c: Likewise.
59851         * soft-fp/floatsitf.c: Likewise.
59852         * soft-fp/floattidf.c: Likewise.
59853         * soft-fp/floattisf.c: Likewise.
59854         * soft-fp/floattitf.c: Likewise.
59855         * soft-fp/floatundidf.c: Likewise.
59856         * soft-fp/floatundisf.c: Likewise.
59857         * soft-fp/floatunditf.c: Likewise.
59858         * soft-fp/floatunsidf.c: Likewise.
59859         * soft-fp/floatunsisf.c: Likewise.
59860         * soft-fp/floatunsitf.c: Likewise.
59861         * soft-fp/floatuntidf.c: Likewise.
59862         * soft-fp/floatuntisf.c: Likewise.
59863         * soft-fp/floatuntitf.c: Likewise.
59864         * soft-fp/fmadf4.c: Likewise.
59865         * soft-fp/fmasf4.c: Likewise.
59866         * soft-fp/fmatf4.c: Likewise.
59867         * soft-fp/gedf2.c: Likewise.
59868         * soft-fp/gesf2.c: Likewise.
59869         * soft-fp/getf2.c: Likewise.
59870         * soft-fp/ledf2.c: Likewise.
59871         * soft-fp/lesf2.c: Likewise.
59872         * soft-fp/letf2.c: Likewise.
59873         * soft-fp/muldf3.c: Likewise.
59874         * soft-fp/mulsf3.c: Likewise.
59875         * soft-fp/multf3.c: Likewise.
59876         * soft-fp/negdf2.c: Likewise.
59877         * soft-fp/negsf2.c: Likewise.
59878         * soft-fp/negtf2.c: Likewise.
59879         * soft-fp/op-1.h: Likewise.
59880         * soft-fp/op-2.h: Likewise.
59881         * soft-fp/op-4.h: Likewise.
59882         * soft-fp/op-8.h: Likewise.
59883         * soft-fp/op-common.h: Likewise.
59884         * soft-fp/quad.h: Likewise.
59885         * soft-fp/single.h: Likewise.
59886         * soft-fp/soft-fp.h: Likewise.
59887         * soft-fp/sqrtdf2.c: Likewise.
59888         * soft-fp/sqrtsf2.c: Likewise.
59889         * soft-fp/sqrttf2.c: Likewise.
59890         * soft-fp/subdf3.c: Likewise.
59891         * soft-fp/subsf3.c: Likewise.
59892         * soft-fp/subtf3.c: Likewise.
59893         * soft-fp/truncdfsf2.c: Likewise.
59894         * soft-fp/trunctfdf2.c: Likewise.
59895         * soft-fp/trunctfsf2.c: Likewise.
59896         * soft-fp/trunctfxf2.c: Likewise.
59897         * soft-fp/unorddf2.c: Likewise.
59898         * soft-fp/unordsf2.c: Likewise.
59899         * soft-fp/unordtf2.c: Likewise.
59901 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59903         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59904         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59906 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59908         * elf/dl-libc.c: Clear initfini list after freeing.
59910 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59912         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59913         * soft-fp/addsf3.c: Likewise.
59914         * soft-fp/addtf3.c: Likewise.
59915         * soft-fp/divdf3.c: Likewise.
59916         * soft-fp/divsf3.c: Likewise.
59917         * soft-fp/divtf3.c: Likewise.
59918         * soft-fp/double.h: Likewise.
59919         * soft-fp/eqdf2.c: Likewise.
59920         * soft-fp/eqsf2.c: Likewise.
59921         * soft-fp/eqtf2.c: Likewise.
59922         * soft-fp/extenddftf2.c: Likewise.
59923         * soft-fp/extended.h: Likewise.
59924         * soft-fp/extendsfdf2.c: Likewise.
59925         * soft-fp/extendsftf2.c: Likewise.
59926         * soft-fp/extendxftf2.c: Likewise.
59927         * soft-fp/fixdfdi.c: Likewise.
59928         * soft-fp/fixdfsi.c: Likewise.
59929         * soft-fp/fixdfti.c: Likewise.
59930         * soft-fp/fixsfdi.c: Likewise.
59931         * soft-fp/fixsfsi.c: Likewise.
59932         * soft-fp/fixsfti.c: Likewise.
59933         * soft-fp/fixtfdi.c: Likewise.
59934         * soft-fp/fixtfsi.c: Likewise.
59935         * soft-fp/fixtfti.c: Likewise.
59936         * soft-fp/fixunsdfdi.c: Likewise.
59937         * soft-fp/fixunsdfsi.c: Likewise.
59938         * soft-fp/fixunsdfti.c: Likewise.
59939         * soft-fp/fixunssfdi.c: Likewise.
59940         * soft-fp/fixunssfsi.c: Likewise.
59941         * soft-fp/fixunssfti.c: Likewise.
59942         * soft-fp/fixunstfdi.c: Likewise.
59943         * soft-fp/fixunstfsi.c: Likewise.
59944         * soft-fp/fixunstfti.c: Likewise.
59945         * soft-fp/floatdidf.c: Likewise.
59946         * soft-fp/floatdisf.c: Likewise.
59947         * soft-fp/floatditf.c: Likewise.
59948         * soft-fp/floatsidf.c: Likewise.
59949         * soft-fp/floatsisf.c: Likewise.
59950         * soft-fp/floatsitf.c: Likewise.
59951         * soft-fp/floattidf.c: Likewise.
59952         * soft-fp/floattisf.c: Likewise.
59953         * soft-fp/floattitf.c: Likewise.
59954         * soft-fp/floatundidf.c: Likewise.
59955         * soft-fp/floatundisf.c: Likewise.
59956         * soft-fp/floatunsidf.c: Likewise.
59957         * soft-fp/floatunsisf.c: Likewise.
59958         * soft-fp/floatuntidf.c: Likewise.
59959         * soft-fp/floatuntisf.c: Likewise.
59960         * soft-fp/floatuntitf.c: Likewise.
59961         * soft-fp/fmadf4.c: Likewise.
59962         * soft-fp/fmasf4.c: Likewise.
59963         * soft-fp/fmatf4.c: Likewise.
59964         * soft-fp/gedf2.c: Likewise.
59965         * soft-fp/gesf2.c: Likewise.
59966         * soft-fp/getf2.c: Likewise.
59967         * soft-fp/ledf2.c: Likewise.
59968         * soft-fp/lesf2.c: Likewise.
59969         * soft-fp/letf2.c: Likewise.
59970         * soft-fp/muldf3.c: Likewise.
59971         * soft-fp/mulsf3.c: Likewise.
59972         * soft-fp/multf3.c: Likewise.
59973         * soft-fp/negdf2.c: Likewise.
59974         * soft-fp/negsf2.c: Likewise.
59975         * soft-fp/negtf2.c: Likewise.
59976         * soft-fp/op-1.h: Likewise.
59977         * soft-fp/op-2.h: Likewise.
59978         * soft-fp/op-4.h: Likewise.
59979         * soft-fp/op-8.h: Likewise.
59980         * soft-fp/op-common.h: Likewise.
59981         * soft-fp/quad.h: Likewise.
59982         * soft-fp/single.h: Likewise.
59983         * soft-fp/soft-fp.h: Likewise.
59984         * soft-fp/sqrtdf2.c: Likewise.
59985         * soft-fp/sqrtsf2.c: Likewise.
59986         * soft-fp/sqrttf2.c: Likewise.
59987         * soft-fp/subdf3.c: Likewise.
59988         * soft-fp/subsf3.c: Likewise.
59989         * soft-fp/subtf3.c: Likewise.
59990         * soft-fp/truncdfsf2.c: Likewise.
59991         * soft-fp/trunctfdf2.c: Likewise.
59992         * soft-fp/trunctfsf2.c: Likewise.
59993         * soft-fp/trunctfxf2.c: Likewise.
59994         * soft-fp/unorddf2.c: Likewise.
59995         * soft-fp/unordsf2.c: Likewise.
59996         * soft-fp/unordtf2.c: Likewise.
59998 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60000         [BZ #15672]
60001         * misc/error.c (error_tail): Fix possible buffer overflow.
60003 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60005         [BZ #13028]
60006         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60007         address.
60009 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60011         [BZ #832]
60012         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60013         testing pipefail option.
60015 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60017         * soft-fp/double.h: Indent preprocessor directives inside #if.
60018         * soft-fp/extended.h: Likewise.
60019         * soft-fp/op-2.h: Likewise.
60020         * soft-fp/op-4.h: Likewise.
60021         * soft-fp/op-common.h: Likewise.
60022         * soft-fp/quad.h: Likewise.
60023         * soft-fp/single.h: Likewise.
60024         * soft-fp/soft-fp.h: Likewise.
60026 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60028         * iconv/iconv_prog.c: Fix typos.
60029         * stdio-common/psiginfo-data.h: Likewise.
60031 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60033         [BZ #15764]
60034         * locale/setlocale.c: Fix typo.
60036 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60038         [BZ #16036]
60039         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60040         signaling NaN arguments.
60041         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60042         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60044         [BZ #14910]
60045         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60046         unordered operands.
60047         * soft-fp/gesf2.c (__gesf2): Likewise.
60048         * soft-fp/getf2.c (__getf2): Likewise.
60049         * soft-fp/ledf2.c (__ledf2): Likewise.
60050         * soft-fp/lesf2.c (__lesf2): Likewise.
60051         * soft-fp/letf2.c (__letf2): Likewise.
60053         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60054         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60055         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60056         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60057         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60058         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60059         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60060         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60061         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60062         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60063         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60064         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60065         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60066         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60067         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60068         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60069         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60070         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60071         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60072         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60073         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60074         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60075         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60076         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60077         * soft-fp/floattidf.c (__floattidf): Likewise.
60078         * soft-fp/floattisf.c (__floattisf): Likewise.
60079         * soft-fp/floattitf.c (__floattitf): Likewise.
60080         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60081         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60082         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60083         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60084         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60085         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60086         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60087         * soft-fp/gesf2.c (__gesf2): Likewise.
60088         * soft-fp/getf2.c (__getf2): Likewise.
60089         * soft-fp/ledf2.c (__ledf2): Likewise.
60090         * soft-fp/lesf2.c (__lesf2): Likewise.
60091         * soft-fp/letf2.c (__letf2): Likewise.
60093         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60094         Undefine and redefine.
60095         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60096         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60097         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60098         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60099         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60100         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60101         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60102         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60103         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60104         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60105         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60106         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60107         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60108         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60109         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60111         [BZ #16032]
60112         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60113         without decrementing exponent if mantissa >= that for the
60114         denominator, not >.
60115         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60116         denominator, not >.  Decrement exponent in < case instead of
60117         incrementing in >= case.
60118         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60119         without decrementing exponent if mantissa >= that for the
60120         denominator, not >.
60122         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60123         computing saturated result for unsigned overflow.
60125 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60126             Jeff Law  <law@redhat.com>
60128         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60129         (atan2Mp): Add systemtap probe marker.
60130         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60131         (__ieee754_log): Add systemtap probe marker.
60132         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60133         (atanMp): Add systemtap probe marker.
60134         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60135         (tanMp): Add systemtap probe marker.
60136         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60137         (__slowexp): Add systemtap probe marker.
60138         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60139         (__slowpow): Add systemtap probe marker.
60140         * manual/probes.texi: Document probes.
60142 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60144         [BZ #15362]
60145         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60146         written.
60147         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60148         written.
60149         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60150         written to buffer but not flushed.
60151         * libio/iofwrite_u.c:  Likewise.
60152         * libio/iopadn.c:  Return bytes returned even if EOF was
60153         encountered.
60154         * libio/iowpadn.c:  Likewise.
60155         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60156         if _IO_padn does not write the whole buffer.
60157         [!COMPILE_WPRINTF] (PAD): Likewise.
60159 2013-10-10  David S. Miller  <davem@davemloft.net>
60161         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60162         directory block.
60164 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60166         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60167         instead of FSF address.
60168         * soft-fp/fixdfti.c: Likewise.
60169         * soft-fp/fixsfti.c: Likewise.
60170         * soft-fp/fixtfti.c: Likewise.
60171         * soft-fp/fixunsdfti.c: Likewise.
60172         * soft-fp/fixunssfti.c: Likewise.
60173         * soft-fp/fixunstfti.c: Likewise.
60174         * soft-fp/floattidf.c: Likewise.
60175         * soft-fp/floattisf.c: Likewise.
60176         * soft-fp/floattitf.c: Likewise.
60177         * soft-fp/floatuntidf.c: Likewise.
60178         * soft-fp/floatuntisf.c: Likewise.
60179         * soft-fp/floatuntitf.c: Likewise.
60180         * soft-fp/trunctfxf2.c: Likewise.
60182         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60183         * soft-fp/fixdfti.c: Likewise.
60184         * soft-fp/fixsfti.c: Likewise.
60185         * soft-fp/fixtfti.c: Likewise.
60186         * soft-fp/fixunsdfti.c: Likewise.
60187         * soft-fp/fixunssfti.c: Likewise.
60188         * soft-fp/fixunstfti.c: Likewise.
60189         * soft-fp/floattidf.c: Likewise.
60190         * soft-fp/floattisf.c: Likewise.
60191         * soft-fp/floattitf.c: Likewise.
60192         * soft-fp/floatuntidf.c: Likewise.
60193         * soft-fp/floatuntisf.c: Likewise.
60194         * soft-fp/floatuntitf.c: Likewise.
60195         * soft-fp/trunctfxf2.c: Likewise.
60197 2013-10-10  David S. Miller  <davem@davemloft.net>
60199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60201 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60203         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60204         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60205         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60206         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60207         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60208         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60209         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60211         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60212         for NaNs before doing comparisons on argument.
60213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60214         Likewise.
60216 2013-10-10  Will Newton  <will.newton@linaro.org>
60218         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60219         passed to _int_memalign does not overflow.
60221 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60223         * scripts/bench.pl: Add include-sources directive.
60224         * benchtests/README: Update documentation.
60226 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60228         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60229         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60230         instead of FP_INIT_ROUNDMODE.
60231         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60232         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60234         [BZ #16034]
60235         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60236         copy class of input value.
60237         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60238         not handle exceptions.
60239         * soft-fp/negsf2.c (__negsf2): Likewise.
60240         * soft-fp/negtf2.c (__negtf2): Likewise.
60241         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60243 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60245         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60246         semicolon.  From Linux kernel.
60248 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60250         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60252 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60254         [BZ #156]
60255         * manual/socket.texi: Added statement about buffer
60256         for gethostbyname2_r.
60258 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60260         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60261         Use .p2align directive instead, throughout.
60262         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60263         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60264         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60265         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60267         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60268         * sysdeps/x86_64/strchr.S: Likewise.
60269         * sysdeps/x86_64/strrchr.S: Likewise.
60271 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60273         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60275         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60277         * sysdeps/generic/math_private.h (__mpsin1): Remove
60278         declaration.
60279         (__mpcos1): Likewise.
60280         (__mpsin): New argument __range_reduce.
60281         (__mpcos): Likewise.
60282         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60283         (slow): Use __mpsin and __mpcos.
60284         (slow1): Likewise.
60285         (slow2): Likewise.
60286         (sloww): Likewise.
60287         (sloww1): Likewise.
60288         (sloww2): Likewise.
60289         (bsloww): Likewise.
60290         (bsloww1): Likewise.
60291         (bsloww2): Likewise.
60292         (cslow2): Likewise.
60293         (csloww): Likewise.
60294         (csloww1): Likewise.
60295         (csloww2): Likewise.
60296         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60297         range_reduce.  Merge in __mpsin1.
60298         (__mpcos): Likewise.
60299         (__mpsin1): Remove.
60300         (__mpcos1): Likewise.
60302 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60304         * locale/loadlocale.c (_nl_intern_locale_data): Use
60305         LOCFILE_ALIGNED_P.
60306         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60307         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60308         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60309         obstack data is appropriately aligned.
60310         (obstack_int32_grow_fast): Likewise.
60311         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60312         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60313         (add_locale_uint32_array): Likewise.
60315 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60317         * benchtests/Makefile: Remove ARGLIST and RET variables.
60318         ($(objpfx)bench-%.c): Pass only function name to the script.
60319         * benchtests/README: Update documentation.
60320         * benchtests/acos-inputs: Add new directives.
60321         * benchtests/acosh-inputs: Likewise.
60322         * benchtests/asin-inputs: Likewise.
60323         * benchtests/asinh-inputs: Likewise.
60324         * benchtests/atan-inputs: Likewise.
60325         * benchtests/atanh-inputs: Likewise.
60326         * benchtests/cos-inputs: Likewise.
60327         * benchtests/cosh-inputs: Likewise.
60328         * benchtests/exp-inputs: Likewise.
60329         * benchtests/log-inputs: Likewise.
60330         * benchtests/pow-inputs: Likewise.
60331         * benchtests/rint-inputs: Likewise.
60332         * benchtests/sin-inputs: Likewise.
60333         * benchtests/sinh-inputs: Likewise.
60334         * benchtests/tan-inputs: Likewise.
60335         * benchtests/tanh-inputs: Likewise.
60336         * scripts/bench.pl: Add support for new directives.
60338 2013-10-07  Alan Modra  <amodra@gmail.com>
60340         * README: Fix careless merge.
60342 2013-10-05  Alan Modra  <amodra@gmail.com>
60344         * NEWS: Mention powerpc64le support and bugs fixed.
60345         * README: Both big-endian and little-endian powerpc64 supported.
60347 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60349         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
60350         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
60351         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
60352         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
60354 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
60356         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
60357         match prototype.
60359 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
60361         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
60362         Move -mhard-float appending from
60363         ports/sysdeps/powerpc/powerpc32/Makefile.
60364         [$(with-fp) = yes] (ASFLAGS): Likewise.
60365         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
60366         * sysdeps/powerpc/nofpu: Move directory from
60367         ports/sysdeps/powerpc/nofpu.
60368         * sysdeps/powerpc/soft-fp: Move directory from
60369         ports/sysdeps/powerpc/soft-fp.
60370         * sysdeps/powerpc/powerpc32/405: Move directory from
60371         ports/sysdeps/powerpc/powerpc32/405.
60372         * sysdeps/powerpc/powerpc32/440: Move directory from
60373         ports/sysdeps/powerpc/powerpc32/440.
60374         * sysdeps/powerpc/powerpc32/464: Move directory from
60375         ports/sysdeps/powerpc/powerpc32/464.
60376         * sysdeps/powerpc/powerpc32/476: Move directory from
60377         ports/sysdeps/powerpc/powerpc32/476.
60378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
60379         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
60380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
60381         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
60382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
60383         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
60384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
60385         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
60386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
60387         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
60388         * README: Update for powerpc-*-linux-gnu software floating point
60389         support in libc.
60391         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
60392         case to powerpc/powerpc32*.
60393         * sysdeps/unix/sysv/linux/configure: Regenerated.
60395         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
60396         (_FPU_MASK_OM): Define as 0x04.
60397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
60398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
60399         0x00c10080.
60400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
60401         0x0000003c.
60402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
60404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
60405         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60406         getcontext_e500.
60407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
60408         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
60409         setcontext_e500.
60410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
60411         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
60412         and setcontext_e500.
60414 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
60416         * locale/iso-3166.def: Update iso-1366.def and related occurrences
60418 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60420         * manual/threads.texi (Default Thread Attributes): Fix typo.
60422 2013-10-04  Will Newton  <will.newton@linaro.org>
60424         * malloc/Makefile: Add tst-memalign.
60425         * malloc/tst-memalign.c: New file.
60427         * malloc/tst-posix_memalign.c: Add comments.
60428         (do_test): Add comments and call free on all potentially
60429         allocated pointers. Add space after cast.
60431         * malloc/tst-pvalloc.c: Add comments.
60432         (do_test): Add comments and call free on all potentially
60433         allocated pointers. Remove duplicate check for NULL pointer.
60434         Add space after cast.
60436         * malloc/tst-valloc.c: Add comments.
60437         (do_test): Add comments and call free on all potentially
60438         allocated pointers. Remove duplicate check for NULL pointer.
60439         Add space after cast.
60441 2013-10-04  Alan Modra  <amodra@gmail.com>
60443         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60444         Use stdint types in rather than __attribute__((mode())).
60445         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60447 2013-10-04  Alan Modra  <amodra@gmail.com>
60449         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
60450         Correct handling of unaligned relocs for little-endian.
60451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
60453 2013-10-04  Alan Modra  <amodra@gmail.com>
60455         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
60456         * configure: Regenerate.
60457         * nptl/shlib-versions: Powerpc*le starts at 2.18.
60458         * shlib-versions: Likewise.
60460 2013-10-04  Alan Modra  <amodra@gmail.com>
60462         * string/tester.c (test_memrchr): Increment reported test cycle.
60464 2013-10-04  Alan Modra  <amodra@gmail.com>
60466         * string/test-memcpy.c (do_one_test): When reporting errors, print
60467         string address and don't overrun end of string.
60469 2013-10-04  Alan Modra  <amodra@gmail.com>
60471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
60472         insrdi.  Make better use of reg selection to speed exit slightly.
60473         Schedule entry path a little better.  Remove useless "are we done"
60474         checks on entry to main loop.  Handle wrapping around zero address.
60475         Correct main loop count.  Handle single left-over word from main
60476         loop inline rather than by using loop_small.  Remove extra word
60477         case in loop_small caused by wrong loop count.  Add little-endian
60478         support.
60479         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
60480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
60481         cache hint.
60482         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
60483         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
60484         support.  Avoid rlwimi.
60485         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
60487 2013-10-04  Alan Modra  <amodra@gmail.com>
60489         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
60490         insrdi.  Formatting.
60491         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
60492         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60493         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
60494         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60495         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60496         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
60498 2013-10-04  Alan Modra  <amodra@gmail.com>
60500         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
60501         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60502         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
60503         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
60504         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
60505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60506         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60507         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60508         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
60509         use of regs.  Use power7 mtocrf.  Tidy function tails.
60511 2013-10-04  Alan Modra  <amodra@gmail.com>
60513         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
60514         Formatting.  Consistently use rXXX register defines or rN defines.
60515         Use early exit labels that avoid restoring unused non-volatile regs.
60516         Make cr field use more consistent with rWORDn compares.  Rename
60517         regs used as shift registers for unaligned loop, using rN defines
60518         for short lifetime/multiple use regs.
60519         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60520         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
60521         addi 1,1,64 to pop stack frame.  Simplify return value code.
60522         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60524 2013-10-04  Alan Modra  <amodra@gmail.com>
60526         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
60527         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
60528         rather than rlwimi.
60529         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
60530         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
60531         little-endian support.  Correct typos.
60532         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
60533         rather than rlwimi.
60534         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
60535         in loop and entry code to keep "and." results.
60536         (strchr): Add little-endian support.  Comment.  Move cntlzd
60537         earlier in tail.
60538         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
60540 2013-10-04  Alan Modra  <amodra@gmail.com>
60542         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
60543         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
60544         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
60545         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
60547 2013-10-04  Alan Modra  <amodra@gmail.com>
60549         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
60550         (rTMP): Define as r11.
60551         (strcmp): Add little-endian support.  Optimise tail.
60552         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
60553         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60554         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
60555         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60556         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60557         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60558         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60560 2013-10-04  Alan Modra  <amodra@gmail.com>
60562         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
60563         little-endian support.  Remove unnecessary "are we done" tests.
60564         Handle "s" wrapping around zero and extremely large "size".
60565         Correct main loop count.  Handle single left-over word from main
60566         loop inline rather than by using small_loop.  Correct comments.
60567         Delete "zero" tail, use "end_max" instead.
60568         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
60570 2013-10-04  Alan Modra  <amodra@gmail.com>
60572         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
60573         support.  Don't branch over align.
60574         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
60575         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
60576         support.  Rearrange tmp reg use to suit.  Comment.
60577         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
60579 2013-10-04  Alan Modra  <amodra@gmail.com>
60581         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
60583 2013-10-04  Alan Modra  <amodra@gmail.com>
60585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
60586         conditional form of branch and link when obtaining pc.
60587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
60589 2013-10-04  Alan Modra  <amodra@gmail.com>
60591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
60592         HIWORD/LOWORD.
60593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
60594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
60596 2013-10-04  Alan Modra  <amodra@gmail.com>
60598         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
60599         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
60600         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
60601         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
60602         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60603         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60604         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
60605         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60606         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
60607         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
60609 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60610             Alistair Popple <alistair@ozlabs.au.ibm.com>
60611             Alan Modra <amodra@gmail.com>
60613         [BZ #15723]
60614         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
60615         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
60616         _dl_hwcap access for little-endian.
60617         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
60618         destroy vmx regs when saving unaligned.
60619         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
60620         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
60621         destroy vmx regs when saving unaligned.
60623 2013-10-04  Alan Modra  <amodra@gmail.com>
60625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
60626         Don't use a union to pack hi/low value.
60628 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60630         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
60631         for little-endian.
60632         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60633         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
60634         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60635         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60636         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60638 2013-10-04  Alan Modra  <amodra@gmail.com>
60640         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
60641         constants to usual value for .cst8 section, and remove redundant
60642         high address load.
60643         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
60644         constant for 0x1p52.  Load little-endian words of double from
60645         correct stack offsets.
60647 2013-10-04  Alan Modra  <amodra@gmail.com>
60649         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
60650         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
60651         words of double from correct stack offsets.
60652         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
60653         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
60654         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60656         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60657         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60658         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60659         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
60660         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
60661         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60663         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60664         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60665         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60666         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60667         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
60668         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
60670 2013-10-04  Alan Modra  <amodra@gmail.com>
60672         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
60673         64-bit int/double union.
60674         (_FPU_SETCW): Likewise.
60675         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
60676         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
60678 2013-10-04  Alan Modra  <amodra@gmail.com>
60680         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
60681         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
60683 2013-10-04  Alan Modra  <amodra@gmail.com>
60685         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
60686         use vector int constants.
60687         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
60689 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60691         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
60692         array with long long.
60693         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
60694         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
60695         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
60696         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
60697         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
60698         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
60699         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
60700         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
60701         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
60702         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
60703         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
60704         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
60705         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
60707 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
60709         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
60710         (__signbit): Likewise.  Correct for little-endian.
60711         (__signbitl): Call __signbit.
60712         (lrint): Correct for little-endian.
60713         (lrintf): Call lrint.
60715 2013-10-04  Alan Modra  <amodra@gmail.com>
60717         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
60718         union 32-bit int array member with 64-bit int array.
60719         (t515, tm256): Double rather than long double.
60720         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
60722 2013-10-04  Alan Modra  <amodra@gmail.com>
60724         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
60725         Delete.
60726         (IEEE854_LONG_DOUBLE_BIAS): Delete.
60727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
60728         version of math_ldbl.h.
60730 2013-10-04  Alan Modra  <amodra@gmail.com>
60732         [BZ #15734], [BZ #15735]
60733         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
60734         all uses of ieee875 long double macros and unions.  Simplify test
60735         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
60736         ldbl_extract_mantissa value for ix,iy exponents.  Properly
60737         normalize after ldbl_extract_mantissa, and don't add hidden bit
60738         already handled.  Don't treat low word of ieee854 mantissa like
60739         low word of IBM long double and mask off bit when testing for
60740         zero.
60741         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
60742         all uses of ieee875 long double macros and unions.  Simplify tests
60743         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
60744         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
60745         two1022, instead use their values.  Recognise that tests for large
60746         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
60747         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
60748         Rewrite all uses of ieee875 long double macros and unions.  Simplify
60749         test for 0.0L and nan.  Correct negation.
60750         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
60751         ieee875 long double macros and unions.  Correct output for large
60752         magnitude x.  Correct absolute value calculation.
60753         (__erfcl): Likewise.
60754         * math/libm-test.inc: Add tests for errors discovered in IBM long
60755         double versions of fmodl, remainderl, erfl and erfcl.
60757 2013-10-04  Alan Modra  <amodra@gmail.com>
60759         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
60760         all uses of ieee854 long double macros and unions.  Simplify tests
60761         for long doubles that are fully specified by the high double.
60762         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
60763         Likewise.
60764         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
60765         Remove dead code too.
60766         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
60767         (__ieee754_ynl): Likewise.
60768         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
60769         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
60770         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
60771         Remove dead code too.
60772         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
60773         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
60774         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
60775         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
60776         Simplify.
60777         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
60778         Simplify.
60779         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
60780         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
60781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
60782         Comment on variable precision.
60783         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
60784         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60785         Likewise.
60786         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
60787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
60790         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
60792 2013-10-04  Alan Modra  <amodra@gmail.com>
60794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60795         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60796         all uses of ieee854 long double macros and unions.
60797         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60798         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60800         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60801         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60802         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60803         Likewise.
60804         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60805         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60806         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60807         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60808         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60809         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60810         Simplify sign and nan test too.
60811         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60812         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60813         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60814         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60815         Likewise.
60816         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60817         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60818         Likewise.
60819         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60820         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60821         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60822         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60823         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60824         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60826 2013-10-04  Alan Modra  <amodra@gmail.com>
60828         * stdio-common/printf_size.c (__printf_size): Don't use
60829         union ieee854_long_double in fpnum union.
60830         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60831         signbit macro to retrieve sign from long double.
60832         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60833         retrieve sign from long double.
60834         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60835         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60836         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60837         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60838         * math/test-misc.c (main): Don't use union ieee854_long_double.
60840 2013-10-04  Alan Modra  <amodra@gmail.com>
60842         [BZ #15680]
60843         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60845         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60846         calculation.  Remove unnecessary test for denormal exponent.
60847         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60848         Correct handling of denormals.  Avoid undefined shift behaviour.
60849         Correct normalisation of low mantissa when low double is denormal.
60850         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60851         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60852         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60853         Correct normalisation of low mantissa.  Test for overflow of high
60854         mantissa and normalise.
60855         (ldbl_nearbyint): Use more readable constant for two52.
60856         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60857         (__mpn_construct_long_double): Fix test for overflow of high
60858         mantissa and correct normalisation.  Avoid undefined shift.
60860 2013-10-04  Alan Modra  <amodra@gmail.com>
60862         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60863         (union ibm_extended_long_double): Define as an array of ieee754_double.
60864         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60865         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60866         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60867         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60868         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60869         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60870         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60871         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60872         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60873         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60874         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60876 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60878         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60879         page size instead of calling getpagesize.
60881         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60882         (LOCFILE_ALIGN_MASK): Likewise.
60883         (LOCFILE_ALIGN_UP): Likewise.
60884         (LOCFILE_ALIGNED_P): Likewise.
60885         * locale/programs/ld-collate.c (collate_output): Use the new
60886         macros instead of __alignof__ (int32_t).
60887         * locale/weight.h (findidx): Likewise.
60889 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60891         [BZ #431]
60892         * manual/string.texi: Fix strncat and wcsncat.
60894 2013-10-03  Brooks Moses  <bmoses@google.com>
60896         [BZ #15915]
60897         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60898         * Makerules: ...here, and adjust associated comments.
60900 2013-10-02  Will Newton  <will.newton@linaro.org>
60902         * malloc/Makefile: Add tst-pvalloc.
60903         * malloc/tst-pvalloc.c: New file.
60905 2013-10-02  Will Newton  <will.newton@linaro.org>
60907         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60908         improve test coverage.
60910 2013-10-02  Will Newton  <will.newton@linaro.org>
60912         * malloc/Makefile: Add tst-posix_memalign.
60913         * malloc/tst-posix_memalign.c: New file.
60915 2013-10-01  Eric Blake  <eblake@redhat.com>
60917         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60918         Use __THROWNL rather than __THROW on static functions.
60920 2013-09-30  Petr Machata  <pmachata@redhat.com>
60922         * elf/elf.h (R_AARCH64_ABS16): New macro.
60923         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60924         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60925         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60926         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60927         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60928         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60929         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60930         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60931         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60932         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60933         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60934         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60935         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60936         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60937         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60938         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60939         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60940         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60941         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60942         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60943         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60944         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60945         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60946         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60947         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60948         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60949         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60950         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60951         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60952         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60953         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60954         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60955         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60956         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60957         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60958         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60959         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60960         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60961         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60962         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60963         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60964         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60965         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60966         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60967         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60968         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60969         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60970         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60971         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60972         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60973         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60974         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60975         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60976         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60977         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60978         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60979         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60980         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60981         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60982         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60983         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60984         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60985         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60986         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60987         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60988         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60989         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60990         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60991         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60992         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60993         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60994         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60995         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60996         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60997         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60998         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60999         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61000         (R_AARCH64_TLSDESC_LDR): Likewise.
61001         (R_AARCH64_TLSDESC_ADD): Likewise.
61002         (R_AARCH64_TLSDESC_CALL): Likewise.
61004 2013-09-30  Andreas Schwab  <schwab@suse.de>
61006         [BZ #15048]
61007         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61008         the nss database lookup.
61009         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61012 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61014         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61016 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61018         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61019         ${Bash-specific parameter/pattern/string} parameter expansion.
61020         * sysdeps/unix/make-syscalls.sh: Likewise.
61022 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61024         * sysdeps/sh/stackguard-macros.h: New file.
61026 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61030         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61031         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61032         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61033         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61035 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61037         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61038         Fix thread ID register.
61040 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61042         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61043         [POSIX || UNIX98]: Require rather than permitting all symbols from
61044         <time.h>.
61045         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61046         element of struct sched_param.
61047         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61048         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61049         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61050         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61051         constant.
61053 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61055         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61056         argument calculation.
61058 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61060         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61061         Expect macro.
61062         [POSIX] (pthread_attr_t): Do not require type.
61063         [POSIX] (pthread_cond_t): Likewise.
61064         [POSIX] (pthread_condattr_t): Likewise.
61065         [POSIX] (pthread_key_t): Likewise.
61066         [POSIX] (pthread_mutex_t): Likewise.
61067         [POSIX] (pthread_mutexattr_t): Likewise.
61068         [POSIX] (pthread_once_t): Likewise.
61069         [POSIX] (pthread_t): Likewise.
61070         [POSIX-based standards] (pthread_atfork): Expect function.
61072 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61073             Richard Sandiford  <richard@codesourcery.com>
61075         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61076         (swap_endianness_p): New extern variable.
61077         (set_big_endian): New inline function.
61078         (maybe_swap_uint32): Likewise.
61079         (maybe_swap_uint32_array): Likewise.
61080         (maybe_swap_uint32_obstack): Likewise.
61081         * locale/programs/locfile.c: Include <stdbool.h>.
61082         (swap_endianness_p): New variable.
61083         (add_locale_uint32): Call maybe_swap_uint32.
61084         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61085         (write_locale_data): Call maybe_swap_uint32_array.
61086         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61087         maybe_swap_uint32.
61088         (obstack_int32_grow_fast): Likewise.
61089         (output_weightwc): Call maybe_swap_uint32_obstack.
61090         (collate_output): Likewise.
61091         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61092         (OPT_LITTLE_ENDIAN): Likewise.
61093         (options): Add --little-endian and --big-endian options.
61094         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61095         * locale/programs/locarchive.c: Include "locfile.h".
61096         (GET): New macro.
61097         (SET): Likewise.
61098         (INC): Likewise.
61099         (create_archive): Use the new macros to access fields of
61100         structures directly mapped from or written to locale archives.
61101         (oldlocrecentcmp): Likewise.
61102         (enlarge_archive): Likewise.
61103         (insert_name): Likewise.
61104         (add_alias): Likewise.
61105         (add_locale): Likewise.
61106         (delete_locales_from_archive): Likewise.
61107         (show_archive_content): Likewise.
61108         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61109         locale data.
61111 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61113         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61114         http://www.gnu.org/doc/freemanuals.texi.
61115         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61117 2013-09-24  Will Newton  <will.newton@linaro.org>
61119         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61120         macro.
61122 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61124         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61125         unsigned char.
61127 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61129         * manual/threads.texi (POSIX Threads): Fix a typo.
61131 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61133         [BZ #14547]
61134         * string/tst-strcoll-overflow.c: New test case.
61135         * string/Makefile (xtests): Add tst-strcoll-overflow.
61136         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61137         cache if string sizes may cause integer overflow.
61139         [BZ #14547]
61140         * string/strcoll_l.c (coll_seq): New members rule, idx,
61141         save_idx and back_us.
61142         (get_next_seq_nocache): New function.
61143         (do_compare_nocache): New function.
61144         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61145         when malloc fails.
61147 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61149         [BZ #15754]
61150         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61151         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61152         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61154         [BZ #15754]
61155         * elf/Makefile (tests): Add tst-ptrguard1.
61156         (tests-static): Add tst-ptrguard1-static.
61157         (tst-ptrguard1-ARGS): Define.
61158         (tst-ptrguard1-static-ARGS): Define.
61159         * elf/tst-ptrguard1.c: New file.
61160         * elf/tst-ptrguard1-static.c: New file.
61161         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61162         * sysdeps/i386/stackguard-macros.h: Likewise.
61163         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61164         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61165         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61166         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61167         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61168         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61170 2013-09-23  Hector Marco  <hecmargi@upv.es>
61171             Ismael Ripoll  <iripoll@disca.upv.es>
61172             Carlos O'Donell  <carlos@redhat.com>
61174         [BZ #15754]
61175         * sysdeps/generic/stackguard-macros.h: Define
61176         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61177         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61178         Define __pointer_chk_guard_local.
61179         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61180         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61182 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61184         [BZ #15859]
61185         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61187 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61189         * include/string.h (__ffs): Declare as hidden.
61190         * string/ffs.c (__ffs): Define as hidden.
61191         * sysdeps/i386/ffs.c (__ffs): Likewise.
61192         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61193         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61194         * sysdeps/s390/ffs.c (__ffs): Likewise.
61195         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61197 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61199         * NEWS: Mention malloc probes.
61201         * malloc/arena.c (new_heap): New memory_heap_new probe.
61202         (grow_heap): New memory_heap_more probe.
61203         (shrink_heap): New memory_heap_less probe.
61204         (heap_trim): New memory_heap_free probe.
61205         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61206         (systrim): New memory_sbrk_less probe.
61207         * manual/probes.texi: Document them.
61209         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61210         * manual/probes.texi: Document it.
61212         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61213         (__libc_realloc): Add memory_realloc_retry probe.
61214         (__libc_memalign): Add memory_memalign_retry probe.
61215         (__libc_valloc): Add memory_valloc_retry probe.
61216         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61217         (__libc_calloc): Add memory_calloc_retry probe.
61218         * manual/probes.texi: Document them.
61220         * malloc/arena.c (get_free_list): Add probe
61221         memory_arena_reuse_free_list.
61222         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61223         and memory_arena_reuse.
61224         (arena_get2) [!PER_THREAD]: Likewise.
61225         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61226         memory_arena_reuse_realloc.
61227         * manual/probes.texi: Document them.
61229         * malloc/malloc.c (__libc_free): Add
61230         memory_mallopt_free_dyn_thresholds probe.
61231         (__libc_mallopt): Add multiple memory_mallopt probes.
61232         * manual/probes.texi: Document them.
61234         * malloc/malloc.c: Include stap-probe.h.
61235         (__libc_mallopt): Add memory_mallopt probe.
61236         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61237         * manual/probes.texi: New.
61238         * manual/Makefile (chapters): Add probes.
61239         * manual/threads.texi: Set next node.
61241 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61243         [BZ #15963, #13985]
61244         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61245         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61246         Add `Chinese' to `nan' entry name.
61248 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61250         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61251         (POLYNOMIAL): Likewise.
61252         (TAYLOR_SINCOS): Likewise.
61253         (TAYLOR_SLOW): Likewise.
61254         (__sin): Use TAYLOR_SINCOS.
61255         (__cos): Likewise.
61256         (slow): Use TAYLOR_SLOW.
61257         (sloww): Likewise.
61258         (bsloww): Likewise.
61259         (csloww): Likewise.
61261 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61263         * stdlib/strtod_l.c: Fix buffer overrun.
61265 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61267         * benchtests/Makefile (bench): Add sincos.
61268         * benchtests/bench-sincos.c: New file.
61270         * math/libm-test.inc (cos_test_data): New test inputs.
61271         (sin_test_data): Likewise.
61273         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61274         macro.
61275         (__sin): Use it.
61276         (__cos): Likewise.
61277         (slow1): Likewise.
61278         (slow2): Likewise.
61279         (sloww1): Likewise.
61280         (sloww2): Likewise.
61281         (bsloww1): Likewise.
61282         (bsloww2): Likewise.
61283         (cslow2): Likewise.
61284         (csloww1): Likewise.
61285         (csloww2): Likewise.
61287         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61288         function.
61289         (__sin): Use it.
61290         (__cos): Likewise.
61292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61293         gotos.
61294         (__cos): Likewise.
61296 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61298         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61299         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61300         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61301         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61302         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61303         * elf/cache.c (print_entry): Handle the new cache flags.
61305 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61306             Aldy Hernandez  <aldyh@redhat.com>
61308         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61309         Change condition to [_SOFT_FLOAT].
61310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61322         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61325         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61326         declaration.
61328 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61330         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
61331         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61332         (__longjmp): Use LOAD_GP to load saved GPRs.
61333         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
61334         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
61335         (__sigsetjmp): Use SAVE_GP to save GPRs.
61337         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
61338         Do not append -msoft-float.
61339         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
61341 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61343         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
61345 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
61347         [BZ #15966]
61348         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
61349         (_FPU_GETCW): Use initial "__" on variable and field names but not
61350         on macro parameter name.
61351         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
61352         parentheses around reference to macro parameter.
61354 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
61356         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
61357         prototype.
61358         (ctype_startup): Use uint32_t in cast and sizeof for
61359         ctype->charnames.
61361 2013-09-11  Jia Liu  <proljc@gmail.com>
61363         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
61364         __daddr_t_defined.
61365         [__FreeBSD__]: Likewise.
61367 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
61369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
61370         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
61371         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
61372         (strchr): Remove __strchr_sse42 ifunc selection.
61373         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
61374         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
61376 2013-09-11  Will Newton  <will.newton@linaro.org>
61378         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
61379         parameter to RES. Remove hardcoded 1000 value.
61380         * benchtests/bench-skeleton.c (main): Pass RES parameter
61381         to TIMING_INIT and multiply result by 1000.
61383 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61387 2013-09-11  Andreas Schwab  <schwab@suse.de>
61389         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
61390         if not defined.
61391         (O_TMPFILE) [__USE_GNU]: Define.
61392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
61393         Define.
61395 2013-09-11  Will Newton  <will.newton@linaro.org>
61397         [BZ #15857]
61398         * malloc/malloc.c (__libc_memalign): Check the value of bytes
61399         does not overflow.
61401 2013-09-11  Will Newton  <will.newton@linaro.org>
61403         [BZ #15856]
61404         * malloc/malloc.c (__libc_valloc): Check the value of bytes
61405         does not overflow.
61407 2013-09-11  Will Newton  <will.newton@linaro.org>
61409         [BZ #15855]
61410         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
61411         does not overflow.
61413 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
61415         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
61416         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61417         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61418         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61419         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61421 2013-09-10  Allan McRae  <allan@archlinux.org>
61423         [BZ #15748]
61424         * manual/arith.texi (Parsing of Floats): Clarify
61425         cross-reference.
61427         [BZ #15849]
61428         * manual/install.texi (Running make install): Mention
61429         --enable-pt-chown.
61430         * INSTALL: Regenerated.
61432 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
61434         * csu/init-first.c (_init): Remove the !SHARED condition around
61435         FPU control word initialization.
61436         * elf/dl-support.c (_dl_fpu_control): New variable.
61437         (_dl_aux_init) <AT_FPUCW>: Initialize it.
61438         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
61439         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
61440         * math/test-fpucw-static.c: New file.
61441         * math/test-fpucw-ieee.c: New file.
61442         * math/test-fpucw-ieee-static.c: New file.
61443         * math/Makefile (tests): Add `test-fpucw-ieee' and
61444         `$(tests-static)'.
61445         (tests-static): New variable.
61446         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
61447         dependency to...
61448         [($(build-shared),yes)]
61449         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
61450         ... this.
61451         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
61452         New dependency.
61454 2013-09-09  Allan McRae  <allan@archlinux.org>
61456         [BZ #15939]
61457         * manual/string.texi (Collation Functions): Fix typo in
61458         strcoll example.
61459         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
61461         [BZ #15893]
61462         * stdlib/isomac.c (get_null_defines): Fix memory leak.
61464         [BZ #15892]
61465         * libio/memstream.c (open_memstream): Fix memory leak.
61466         * libio/wmemstream.c (open_wmemstream): Likewise.
61468         [BZ #15895]
61469         * nscd/netgroupcache.c: Fix nesting of ifdefs.
61471 2013-09-09  Will Newton  <will.newton@linaro.org>
61473         * malloc/Makefile: Add tst-realloc to tests.
61474         * malloc/tst-realloc.c: New file.
61476 2013-09-09  Allan McRae  <allan@archlinux.org>
61478         [BZ #15844]
61479         * COPYING: Update from GNU website to fix FSF address.
61480         * COPYING.LIB: Likewise.
61482 2013-09-06  David S. Miller  <davem@davemloft.net>
61484         * po/zh_TW.po: Update Chinese (traditional) translation from
61485         translation project.
61487 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
61488             Joseph Myers  <joseph@codesourcery.com>
61490         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
61491         "localeinfo.h".
61492         (obstack_chunk_alloc): New macro.
61493         (obstack_chunk_free): Likewise.
61494         (record_offset): New function.
61495         (init_locale_data): Likewise.
61496         (align_locale_data): Likewise.
61497         (add_locale_empty): Likewise.
61498         (add_locale_raw_data): Likewise.
61499         (add_locale_raw_obstack): Likewise.
61500         (add_locale_string): Likewise.
61501         (add_locale_wstring): Likewise.
61502         (add_locale_uint32): Likewise.
61503         (add_locale_uint32_array): Likewise.
61504         (add_locale_char): Likewise.
61505         (start_locale_structure): Likewise.
61506         (end_locale_structure): Likewise.
61507         (start_locale_prelude): Likewise.
61508         (end_locale_prelude): Likewise.
61509         (write_locale_data): Take locale_file structure rather than an
61510         iovec.
61511         * locale/programs/locfile.h: Include "obstack.h".
61512         (struct locale_file): Change to store locale file contents instead
61513         of header.
61514         (init_locale_data): New prototype.
61515         (align_locale_data): Likewise.
61516         (add_locale_empty): Likewise.
61517         (add_locale_raw_data): Likewise.
61518         (add_locale_raw_obstack): Likewise.
61519         (add_locale_string): Likewise.
61520         (add_locale_wstring): Likewise.
61521         (add_locale_uint32): Likewise.
61522         (add_locale_uint32_array): Likewise.
61523         (add_locale_char): Likewise.
61524         (start_locale_structure): Likewise.
61525         (end_locale_structure): Likewise.
61526         (start_locale_prelude): Likewise.
61527         (end_locale_prelude): Likewise.
61528         (write_locale_data): Update prototype.
61529         * locale/programs/3level.h (struct TABLE): Remove result field.
61530         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
61531         Use new locale_file interface.
61532         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
61533         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
61534         * locale/programs/ld-address.c (address_output): Use new
61535         locale_file interface.
61536         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
61537         NO_ADD_LOCALE.
61538         (collate_finish): Don't call collseq_table_finalize.
61539         (collate_output): Use new locale_file interface.
61540         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
61541         in file.
61542         (NO_FINALIZE): Change to NO_ADD_LOCALE.
61543         (TABLE): Move defines earlier in file.
61544         (ELEMENT): Likewise.
61545         (DEFAULT): Likewise.
61546         (wctrans_table_add): Move macro and inline function earlier in
61547         file.
61548         (struct wctype_table): Move type earlier in file.
61549         (add_locale_wctype_table): New static prototype.
61550         (struct locale_ctype_t): Use logical types instead of struct iovec
61551         pointers for members.
61552         (ctype_output): Use new locale_file interface.
61553         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
61554         new locale_file interface.
61555         (allocate_arrays): Update for use of new locale_file interface.
61556         * locale/programs/ld-identification.c (identification_output): Use
61557         new locale_file interface.
61558         * locale/programs/ld-measurement.c (measurement_output): Likewise.
61559         * locale/programs/ld-messages.c (messages_output): Likewise.
61560         * locale/programs/ld-monetary.c (monetary_output): Likewise.
61561         * locale/programs/ld-name.c (name_output): Likewise.
61562         * locale/programs/ld-numeric.c (numeric_output): Likewise.
61563         * locale/programs/ld-paper.c (paper_output): Likewise.
61564         * locale/programs/ld-telephone.c (telephone_output): Likewise.
61565         * locale/programs/ld-time.c (time_output): Likewise.
61567 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61569         * benchtests/Makefile: Add memrchr benchmark.
61570         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
61571         benchmark as memrchr.
61572         * benchtests/bench-memrchr-ifunc.c: New file.
61573         * benchtests/bench-memrchr.c: New file.
61575 2013-09-06   Will Newton  <will.newton@linaro.org>
61577         * benchtests/Makefile (string-bench): Add memcpy.
61579 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
61580             Cong Wang  <amwang@redhat.com>
61582         [BZ #15850]
61583         * sysdeps/unix/sysv/linux/bits/in.h
61584         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
61585         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
61586         before __USE_KERNEL_IPV6_DEFS uses.
61587         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
61588         IPPROTO_BEETPH.
61589         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
61590         sockaddr_in6, or ipv6_mreq.
61592 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61594         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
61595         memory access for final bytes in some large inputs.
61596         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
61598 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61600         * string/test-memrchr.c: New file.
61601         * string/test-memrchr-ifunc.c: New file.
61602         * string/Makefile: Add new memrchr testcase.
61604 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
61606         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
61607         fanotify_init returns EPERM.
61609 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61611         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
61612         errors.
61613         (top level): Treat second token from macro or constant entries for
61614         allowed headers as allowed.
61615         * include/complex.h: Condition internal declarations on
61616         [!_ISOMAC].
61617         * include/fenv.h: Condition include of <stdbool.h> and internal
61618         declarations on [!_ISOMAC].
61620 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
61622         [BZ #15923]
61623         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
61625 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
61627         * configure.in (--enable-versioning): Remove configure option.
61628         (libc_cv_asm_symver_directive): Remove configure test.
61629         (libc_cv_ld_version_script_option): Likewise.
61630         (VERSIONING): Remove variable and AC_SUBST.
61631         (DO_VERSIONING): Remove AC_DEFINE.
61632         * configure: Regenerated.
61633         * config.h.in (DO_VERSIONING): Remove macro.
61634         * Makerules [$(versioning) = yes]: Change conditionals to
61635         [$(build-shared) = yes].
61636         * config.make.in (versioning): Remove variable.
61637         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
61638         [$(build-shared) = yes].
61639         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
61640         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
61641         * elf/Makefile [$(versioning) = yes]: Change conditionals to
61642         [$(build-shared) = yes].
61643         * extra-lib.mk [$(versioning) = yes]: Likewise.
61644         * hurd/Makefile [$(versioning) = yes]: Likewise.
61645         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
61646         [SHARED].
61647         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
61648         [SHARED].
61649         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61650         [SHARED && !NO_HIDDEN].
61651         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
61652         [SHARED].
61653         [SHARED && DO_VERSIONING]: Likewise..
61654         * libio/Makefile [$(versioning) = yes]: Change conditionals to
61655         [$(build-shared) = yes].
61656         * manual/install.texi (--disable-versioning): Remove
61657         documentation.
61658         * INSTALL: Regenerated.
61659         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
61660         to [SHARED].
61661         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
61662         [$(build-shared) = yes].
61663         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
61664         * sysdeps/i386/i686/multiarch/strstr-c.c
61665         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
61666         [SHARED && !NO_HIDDEN].
61667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
61668         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61669         * sysdeps/powerpc/powerpc32/dl-machine.c
61670         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
61671         * sysdeps/powerpc/powerpc32/sysdep.h
61672         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
61673         to [SHARED && PIC && !NO_HIDDEN].
61674         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
61675         conditional to [SHARED].
61677 2013-09-04   Will Newton  <will.newton@linaro.org>
61679         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
61680         * benchtests/bench-string.h: Include bench-timing.h instead
61681         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
61682         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
61683         call to HP_TIMING_DIFF_INIT.
61684         * benchtests/bench-memccpy.c: Use bench-timing.h macros
61685         instead of hp-timing.h macros.
61686         * benchtests/bench-memchr.c: Likewise.
61687         * benchtests/bench-memcmp.c: Likewise.
61688         * benchtests/bench-memcpy.c: Likewise.
61689         * benchtests/bench-memmem.c: Likewise.
61690         * benchtests/bench-memmove.c: Likewise.
61691         * benchtests/bench-memset.c: Likewise.
61692         * benchtests/bench-rawmemchr.c: Likewise.
61693         * benchtests/bench-strcasecmp.c: Likewise.
61694         * benchtests/bench-strcasestr.c: Likewise.
61695         * benchtests/bench-strcat.c: Likewise.
61696         * benchtests/bench-strchr.c: Likewise.
61697         * benchtests/bench-strcmp.c: Likewise.
61698         * benchtests/bench-strcpy.c: Likewise.
61699         * benchtests/bench-strcpy_chk.c: Likewise.
61700         * benchtests/bench-strlen.c: Likewise.
61701         * benchtests/bench-strncasecmp.c: Likewise.
61702         * benchtests/bench-strncat.c: Likewise.
61703         * benchtests/bench-strncmp.c: Likewise.
61704         * benchtests/bench-strncpy.c: Likewise.
61705         * benchtests/bench-strnlen.c: Likewise.
61706         * benchtests/bench-strpbrk.c: Likewise.
61707         * benchtests/bench-strrchr.c: Likewise.
61708         * benchtests/bench-strspn.c: Likewise.
61709         * benchtests/bench-strstr.c: Likewise.
61711 2013-09-04  Will Newton  <will.newton@linaro.org>
61713         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
61715 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
61717         [BZ #15427]
61718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
61719         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
61720         * math/libm-test.inc (lgamma_test_data): Add more tests.
61721         * sysdeps/i386/fpu/libm-test-ulps: Update.
61722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61724 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
61726         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
61727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61728         Add ifunc.
61729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61730         Add strcmp-sse2-unaligned
61731         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
61733 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61735         * Versions.def (libc): Add GLIBC_2.19.
61737 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
61739         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
61740         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
61742 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
61744         [BZ #14155]
61745         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
61746         intermediate calculations in recurrence.
61747         (__ieee754_ynf): Likewise.
61748         * math/libm-test.inc (jn_test_data): Do not allow spurious
61749         underflow exception.  Add more tests.
61750         (yn_test_data): Add more tests.
61751         * sysdeps/i386/fpu/libm-test-ulps: Update.
61752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61754 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
61756         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
61758 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61760         * csu/init-first.c: Fix then/than typos.
61761         * locale/programs/ld-collate.c: Likewise.
61762         * locale/programs/linereader.h: Likewise.
61763         * manual/charset.texi: Likewise.
61764         * manual/filesys.texi: Likewise.
61765         * manual/stdio.texi: Likewise.
61766         * manual/string.texi: Likewise.
61767         * stdlib/fmtmsg.c: Likewise.
61768         * sysdeps/i386/stpncpy.S: Likewise.
61769         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61770         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61771         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61772         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61774 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
61776         * elf/dl-open.c: Fix typos.
61777         * iconvdata/gbbig5.c: Likewise.
61778         * iconvdata/iso-2022-jp.c: Likewise.
61779         * iconv/gconv_int.h: Likewise.
61780         * iconv/loop.c: Likewise.
61781         * nis/rpcsvc/nis.h: Likewise.
61782         * resolv/ns_name.c: Likewise.
61783         * stdio-common/vfscanf.c: Likewise.
61784         * streams/stropts.h: Likewise.
61785         * sunrpc/rpc_thread.c: Likewise.
61786         * sysdeps/i386/strpbrk.S: Likewise.
61787         * sysdeps/ieee754/k_standard.c: Likewise.
61788         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61789         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61790         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
61791         * sysdeps/mach/hurd/profil.c: Likewise.
61792         * sysdeps/s390/dl-procinfo.h: Likewise.
61793         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
61794         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61795         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61796         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61797         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61799 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61801         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61804 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61806         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61807         aix specific files.
61808         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61809         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61810         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61811         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61812         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61813         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61814         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61815         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61817 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61818             Roland McGrath  <roland@hack.frob.com>
61820         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61821         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61823 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61825         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61826         __executable_start symbol instead of _start.
61828 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61830         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61831         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61832         Move macros to...
61833         * sysdeps/gnu/ldsodefs.h: ... this new file.
61835         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61836         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61837         instead of ELFOSABI_LINUX.
61839         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61840         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61841         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61842         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61843         Likewise.
61844         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61845         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61846         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61847         Likewise.
61848         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61849         (ibm_extended_long_double): Add ieee_nan member.
61850         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61851         (do_test): New function.
61853         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61854         TEST_TRUNC.
61855         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61856         functions, renamed from truncdfsf_test, trunctfsf_test,
61857         trunctfdf_test.
61858         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61859         functions.
61860         (do_test): Run all these.
61862 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61864         * argp/argp-help.c: Fix typos.
61865         * argp/argp-parse.c: Likewise.
61866         * debug/backtracesyms.c: Likewise.
61867         * elf/elf.h: Likewise.
61868         * malloc/malloc.c: Likewise.
61869         * nis/nis_print.c: Likewise.
61870         * resolv/res_comp.c: Likewise.
61871         * stdlib/stdlib.h: Likewise.
61872         * sunrpc/clnt_tcp.c: Likewise.
61873         * sunrpc/clnt_udp.c: Likewise.
61874         * sunrpc/clnt_unix.c: Likewise.
61875         * sysdeps/unix/bsd/ptsname.c: Likewise.
61876         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61877         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61879         Likewise.
61880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61881         Likewise.
61882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61883         Likewise.
61884         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61886 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61888         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61891 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61893         [BZ #15897]
61894         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61895         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61896         ($(objpfx)bug-dl-leaf): New rule.
61897         ($(objpfx)bug-dl-leaf.so): Likewise.
61898         ($(objpfx)bug-dl-leaf.out): Likewise.
61899         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61900         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61901         * dlfcn/bug-dl-leaf.c: New test.
61902         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61903         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61904         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61905         (dlclose): Likewise.
61906         (dlmopen): Likewise.
61908 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61910         * include/netdb.h [!_ISOMAC]:
61911         Don't include <tls.h>.
61912         (h_errno, __libc_h_errno): Move declaration and macros out of
61913         [_LIBC_REENTRANT].
61915         * include/resolv.h [_RESOLV_H_]:
61916         Don't include <tls.h>.
61917         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61918         * resolv/res_libc.c: Don't include <tls.h>.
61919         (_res): Use __attribute__ ((nocommon)) in place of
61920         __attribute__ ((section (".bss"))).
61922         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61923         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61925         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61927         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61928         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61930         * resolv/res_mkquery.c: Include <sys/time.h>.
61932         * inet/ifreq.c: Moved to ...
61933         * sysdeps/unix/ifreq.c: ... here.
61934         * inet/ifreq.c: New file, true stub version.
61936         * socket/sa_len.c: New file.
61937         * socket/Makefile (aux): Add it.
61938         * sysdeps/unix/sysv/linux/Makefile
61939         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61940         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61941         and #include <socket/sa_len.c>.
61942         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61943         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61945         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61946         * bits/socket.h: ... here.
61948         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61949         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61950         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61952 2013-08-27  Andreas Schwab  <schwab@suse.de>
61954         [BZ #15736]
61955         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61956         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61957         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61958         * string/test-strcasecmp.c (test_main): Run tests in several
61959         locales.
61960         * string/test-strncasecmp.c (test_main): Likewise.
61962         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61963         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61964         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61966         (__strncasecmp_ssse3) [PIC]: Likewise.
61968 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61970         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61972         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61973         instead of explicitly declaring xdecrypt.
61974         * nis/nss_nis/nis-publickey.c: Likewise.
61976 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61978         [BZ #15890]
61979         * nscd/aicache.c: Include res_hconf.h.
61980         (addhstaiX): Initialize res_hconf.
61982 2013-08-26  Andreas Schwab  <schwab@suse.de>
61984         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61985         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61987 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61989         * nscd/aicache.c (addhstaiX): Fix indentation.
61991 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
61993         * configure.ac: Quote $build_pt_chown test.
61994         * configure: Regenerated.
61996 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
61998         [BZ #15532]
61999         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62000         * math/s_cexpf.c (__cexpf): Likewise.
62001         * math/s_cexpl.c (__cexpl): Likewise.
62002         * math/libm-test.inc (cexp_test_data): Correct expected return
62003         value for NaN + i0.  Add another test.
62005 2013-08-22  David S. Miller  <davem@davemloft.net>
62007         * po/ca.po: Update Catalan translation from translation project.
62008         * po/uk.po: Add Ukrainian translations from translation project.
62010 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62012         [BZ #15797]
62013         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62014         is infinite, not alongside NaN test.
62015         * math/s_fdimf.c (__fdimf): Likewise.
62016         * math/s_fdiml.c (__fdiml): Likewise.
62017         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62018         errno is unchanged.
62020 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62022         * argp/argp-help.c: Fix typos.
62023         * crypt/speeds.c: Likewise.
62024         * csu/check_fds.c: Likewise.
62025         * elf/dl-load.c: Likewise.
62026         * elf/dl-open.c: Likewise.
62027         * elf/reldep3.c: Likewise.
62028         * elf/reldep.c: Likewise.
62029         * elf/sprof.c: Likewise.
62030         * iconv/iconv_charmap.c: Likewise.
62031         * iconv/skeleton.c: Likewise.
62032         * iconv/strtab.c: Likewise.
62033         * io/lockf64.c: Likewise.
62034         * libio/libioP.h: Likewise.
62035         * resolv/gai_notify.c: Likewise.
62036         * resolv/ns_name.c: Likewise.
62037         * resolv/ns_samedomain.c: Likewise.
62038         * resolv/res_send.c: Likewise.
62039         * stdlib/random.c: Likewise.
62040         * sunrpc/rpc/xdr.h: Likewise.
62041         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62042         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62043         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62044         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62045         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62048         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62049         * sysdeps/mach/hurd/check_fds.c: Likewise.
62050         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62051         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62053         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62054         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62055         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62056         * sysdeps/pthread/aio_notify.c: Likewise.
62057         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62058         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62059         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62060         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62061         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62063 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62065         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62066         version if bit_Slow_SSE4_2 is set.
62067         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62070 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62072         [BZ #15867]
62073         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62074         trampoline stack frame information.
62075         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62076         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62077         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62078         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62079         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62080         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62081         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62082         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62083         sa_flags value.
62084         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62085         interrupting a syscall and set with option SA_SIGINFO.
62087 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62089         [BZ #15531]
62090         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62091         argument is infinite.
62092         * math/s_cprojf.c (__cprojf): Likewise.
62093         * math/s_cprojl.c (__cprojl): Likewise.
62094         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62095         * math/libm-test.inc (cproj_test_data): Add more tests.
62097         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62099         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62100         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62101         size.  Use __ffs to determine corresponding shift.
62103 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62104             Roland McGrath  <roland@hack.frob.com>
62106         * Makefile (INSTALL): Remove trailing blank lines from output of
62107         makeinfo.
62109 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62111         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62112         Align 32 bit compat elf_greg to 8 bytes.
62114 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62116         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62118 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62120         * string/strcoll_l.c (coll_seq): New structure.
62121         (get_next_seq_cached): New function.
62122         (get_next_seq): New function.
62123         (do_compare): New function.
62124         (STRCOLL): Use GNU style definition.  Simplify implementation
62125         by using get_next_seq, get_next_seq_cached and do_compare.
62127 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62129         [BZ #14699]
62130         CVE-2013-4237
62131         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62132         member.
62133         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62134         member.
62135         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62136         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62137         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62138         conditional.
62139         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62140         GETDENTS_64BIT_ALIGNED.
62141         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62142         * manual/filesys.texi (Reading/Closing Directory): Document
62143         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62144         strongly.
62145         * manual/conf.texi (Limits for Files): Add portability note to
62146         NAME_MAX, PATH_MAX.
62147         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62149 2013-08-13  Andreas Schwab  <schwab@suse.de>
62151         [BZ #15749]
62152         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62153         of fabs.
62154         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62155         LDBL_MAX_EXP >= 16384]: Add tests for it.
62157 2013-08-12  David S. Miller  <davem@davemloft.net>
62159         * version.h (RELEASE): Set to "development".
62160         (VERSION): Set to "2.18.90".
62161         * NEWS: Add 2.19 section.
62163 2013-08-03  David S. Miller  <davem@davemloft.net>
62165         * po/ko.po: Update Korean translation from translation project.
62167 2013-08-01  David S. Miller  <davem@davemloft.net>
62169         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62170         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62171         Bilka.
62173 2013-07-30  David S. Miller  <davem@davemloft.net>
62175         * po/fr.po: Update French translation from translation project.
62177 2013-07-28  David S. Miller  <davem@davemloft.net>
62179         * po/cs.po: Update Czech translation from translation project.
62181         * po/sv.po: Update Swedish translation from translation project.
62183 2013-07-27  David S. Miller  <davem@davemloft.net>
62185         * po/eo.po: Update Esperanto translation from translation project.
62187         * po/vi.po: Update Vietnamese translation from translation project.
62189         * po/de.po: Update German translation from translation project.
62191 2013-07-26  David S. Miller  <davem@davemloft.net>
62193         * po/bg.po: Update Bulgarian translation from translation project.
62195         * po/nl.po: Update Dutch translation from translation project.
62196         * po/pl.po: Update Polish translation from translation project.
62197         * po/ru.po: Update Russian translation from translation project.
62199 2013-07-24  David S. Miller  <davem@davemloft.net>
62201         * po/libc.pot: Update.
62203 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62205         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62206         variable page size.
62207         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62208         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62209         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62211 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62213         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62215 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62216             Andreas Schwab  <schwab@suse.de>
62217             Roland McGrath  <roland@hack.frob.com>
62218             Joseph Myers  <joseph@codesourcery.com>
62219             Carlos O'Donell  <carlos@redhat.com>
62221         [BZ #15755]
62222         * config.h.in: Define HAVE_PT_CHOWN.
62223         * config.make.in (build-pt-chown): New variable.
62224         * configure.in (--enable-pt_chown): New configure option.
62225         * configure: Regenerate.
62226         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62227         build-pt-chown is enabled.
62228         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62229         pt_chown to fix pty ownership.
62230         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62231         CLOSE_ALL_FDS.
62232         * manual/install.texi (Configuring and compiling): Mention
62233         --enable-pt_chown. Add @findex for grantpt.
62234         * INSTALL: Regenerate.
62236 2013-07-20  David S. Miller  <davem@davemloft.net>
62238         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62239         difference between 32-bit and 64-bit.
62241 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62243         [BZ #15711]
62244         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62245         Avoid system header dependency with -ffreestanding.
62246         ($(objpfx)bits/syscall%d): Likewise.
62248 2013-07-13  David S. Miller  <davem@davemloft.net>
62250         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62251         underflows from atanl/atan2l due to bug 15319.
62252         (casinh_test_data): Likewise.
62254 2013-07-07  David S. Miller  <davem@davemloft.net>
62256         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62258 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62260         * sysdeps/i386/fpu/libm-test-ulps: Update.
62261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62263 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62265         * configure.in (--enable-lock-elision): Fix message text.
62266         * INSTALL: Regenerate.
62267         * configure: Regenerate.
62269 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62273 2013-07-03  Andreas Jaeger  <aj@suse.de>
62275         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62276         define.
62277         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62278         (ptrace_peeksiginfo_args): Add.
62279         (__ptrace_peeksiginfo_flags): Add.
62280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62281         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62282         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62284 2013-07-03  Allan McRae  <allan@archlinux.org>
62286         * sysdeps/i386/fpu/libm-test-ulps: Update.
62288 2013-07-02  David S. Miller  <davem@davemloft.net>
62290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62292 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62296 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62298         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62301 2013-07-02  Andi Kleen <ak@linux.intel.com>
62303         * config.h.in (ENABLE_LOCK_ELISION): Add.
62304         * configure.in (--enable-lock-elision): Add option.
62305         * manual/install.texi: Document --enable lock elision.
62306         * configure: Regenerate
62307         * INSTALL: Regenerate.
62309 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62311         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62312         SSE4.2 strcasecmp for libc.a.
62313         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62315 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62317         [BZ #13304]
62318         * soft-fp/op-common.h (_FP_FMA): New macro.
62319         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62320         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62321         (_FP_MUL_MEAT_1_imm): ... here.
62322         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62323         (_FP_MUL_MEAT_1_wide): ... here.
62324         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62325         (_FP_MUL_MEAT_1_hard): ... here.
62326         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62327         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
62328         (_FP_MUL_MEAT_2_wide): ... here.
62329         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
62330         (_FP_MUL_MEAT_2_wide_3mul): ... here.
62331         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
62332         (_FP_MUL_MEAT_2_gmp): ... here.
62333         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
62334         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
62335         (_FP_MUL_MEAT_4_wide): ... here.
62336         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
62337         (_FP_MUL_MEAT_4_gmp): ... here.
62338         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
62339         (_FP_WFRACBITS_DW_S): Likewise.
62340         (_FP_WFRACXBITS_DW_S): Likewise.
62341         (_FP_HIGHBIT_DW_S): Likewise.
62342         (FP_FMA_S): Likewise.
62343         (_FP_FRAC_HIGH_DW_S): Likewise.
62344         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
62345         (_FP_WFRACBITS_DW_D): Likewise.
62346         (_FP_WFRACXBITS_DW_D): Likewise.
62347         (_FP_HIGHBIT_DW_D): Likewise.
62348         (FP_FMA_D): Likewise.
62349         (_FP_FRAC_HIGH_DW_D): Likewise.
62350         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
62351         (_FP_WFRACBITS_DW_E): Likewise.
62352         (_FP_WFRACXBITS_DW_E): Likewise.
62353         (_FP_HIGHBIT_DW_E): Likewise.
62354         (FP_FMA_E): Likewise.
62355         (_FP_FRAC_HIGH_DW_E): Likewise.
62356         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
62357         (_FP_WFRACBITS_DW_Q): Likewise.
62358         (_FP_WFRACXBITS_DW_Q): Likewise.
62359         (_FP_HIGHBIT_DW_Q): Likewise.
62360         (FP_FMA_Q): Likewise.
62361         (_FP_FRAC_HIGH_DW_Q): Likewise.
62362         * soft-fp/fmasf4.c: New file.
62363         * soft-fp/fmadf4.c: Likewise.
62364         * soft-fp/fmatf4.c: Likewise.
62366 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62369         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
62370         Silvermont.
62371         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
62372         macro.
62373         (index_Slow_SSE4_2): Likewise.
62374         (index_Prefer_PMINUB_for_stringop): Likewise.
62375         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
62376         bit_Slow_SSE4_2 is set.
62377         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62378         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62380 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62382         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
62383         rtld_global._dl_hwcap2.
62384         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
62385         POWER8.
62386         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
62387         POWER8 feature descriptions defined in _dl_hwcap2.
62388         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
62389         string handling for POWER8 feature bits.
62390         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
62391         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
62392         _dl_powerpc_cap_flags.
62393         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
62394         * sysdeps/powerpc/rtld-global-offsets.sym
62395         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
62396         _dl_hwcap2 in the rtld_global_ro structure.
62398 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62400         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
62401         hardware capabilities in support of AT_HWCAP2.
62402         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
62403         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
62404         GLRO(dl_hwcap2).
62405         (_dl_show_auxv): Add support for calling _dl_procinfo to display
62406         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
62407         explicitly the unknown a_type display mechanism is used.
62408         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
62409         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
62410         struct member.
62411         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
62412         to macro prototype for AT_HWCAP2 support.
62413         * sysdeps/i386/dl-procinfo.h: Likewise.
62414         * sysdeps/s390/dl-procinfo.h: Likewise.
62415         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
62416         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
62417         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
62418         return -1 for unknown a_type display fallback.
62419         * sysdeps/sparc/dl-procinfo.h: Likewise.
62420         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
62421         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
62423 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
62425         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
62426         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
62428 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
62430         [BZ #12492]
62431         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
62432         mprotect making __stack_prot writable.
62434 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
62435             Joseph Myers  <joseph@codesourcery.com>
62437         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
62438         as being properly aligned.
62440 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
62442         * dlfcn/modstatic5.c: New file.
62443         * dlfcn/tststatic5.c: New file.
62444         * dlfcn/Makefile (tests): Add tststatic5.
62445         (tests-static): Likewise.
62446         (modules-names): Add modstatic5.
62447         (tststatic5-ENV): New variable.
62448         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
62450         [BZ #15022]
62451         * elf/dl-support.c (_dl_main_map): New variable.
62452         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
62453         (_dl_nns, _dl_load_adds): Set to 1.
62454         (_dl_initial_searchlist): Refer to _dl_main_map.
62455         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
62456         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
62457         call to _dl_get_origin.
62458         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62459         around call_map.
62460         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
62461         * dlfcn/modstatic3.c: New file.
62462         * dlfcn/tststatic3.c: New file.
62463         * dlfcn/tststatic4.c: New file.
62464         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
62465         (tests-static): Likewise.
62466         (modules-names): Add modstatic3.
62467         (tststatic3-ENV, tststatic4-ENV): New variables.
62468         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
62469         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
62471 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
62473         * configure.in (CC): Require GCC version 4.4 or later.
62474         * configure: Regenerated.
62475         * manual/install.texi (Tools for Compilation): Update GCC version
62476         requirement.
62477         * INSTALL: Regenerated.
62479 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62481         [BZ #15674]
62482         * string/test-memcmp.c (check2): New.
62483         (main): Call check2.
62485         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
62487 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
62489         [BZ #15022]
62490         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
62491         over to...
62492         (dl_open_worker) [!SHARED]: ... here.
62494 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62496         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
62498 2013-06-25  Richard Henderson  <rth@redhat.com>
62500         * locale/programs/locarchive.c: Include <libc-internal.h>
62502 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
62504         * manual/texinfo.tex: Update to version 2013-06-21.17, with
62505         trailing whitespace removed.
62507 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62509         [BZ #10283]
62510         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
62511         * locale/programs/locarchive.c: Include libc-mmap.h.
62512         (prepare_address_space): Take two new outputs (the mmap base and len).
62513         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
62514         values.
62515         (create_archive): Declare new mmap base and len values for
62516         prepare_address_space, and store the result in ah.
62517         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
62518         (enlarge_archive): If ah->mmap_base is not NULL, use that and
62519         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62520         Declare new mmap base and len values for
62521         prepare_address_space, and store the result in new_ah.
62522         (open_archive): Declare new mmap base and len values for
62523         prepare_address_space, and store the result in ah.
62524         (close_archive): If ah->mmap_base is not NULL, use that and
62525         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
62526         * sysdeps/generic/libc-mmap.h: New file.
62528 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
62530         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
62531         (ALIGN_UP): Likewise.
62532         (PTR_ALIGN_DOWN): Likewise.
62533         (PTR_ALIGN_UP): Likewise.
62535 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62537         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
62538         entry mapped to PPC_PLATFORM_POWER8.
62539         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
62540         POWER8.
62541         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
62542         (_dl_string_platform): Add case for exporting platform position for
62543         POWER8.
62544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
62545         search path to sysdeps/powerpc/powerpc32/power8 directory.
62546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
62547         search path to sysdeps/powerpc/powerpc64/power8 directory.
62548         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
62549         power7 directories.
62550         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
62551         power7 directories.
62553 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62555         * INSTALL: Regenerate.
62557         * nscd/connections.c (nscd_init): Fix comment.
62559 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
62561         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
62563         [BZ #15667]
62564         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
62565         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
62567 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62569         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
62570         DL_DST_REQ_STATIC.
62571         (DL_DST_REQ_STATIC): Remove macro.
62573 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
62575         [BZ #7006]
62576         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
62577         with a shift of 0 bits.
62579 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
62581         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
62582         $(tststatic-ENV).
62584 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62586         [BZ #15655]
62587         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
62589 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62591         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
62592         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
62593         accepts -fno-tree-loop-distribute-patterns.
62594         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
62595         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
62596         recursive call.
62597         * string/memset.c (memset): Likewise.
62598         * string/test-memmove.c (simple_memmove): Disable loop transformation
62599         to library calls.
62600         * string/test-memset.c (simple_memset): Likewise.
62601         * benchtests/bench-memmove.c (simple_memmove): Likewise.
62602         * benchtests/bench-memset.c (simple_memset): Likewise.
62603         * configure: Regenerated.
62605 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
62607         * math/test-misc.c (main): Ignore fesetround failure when failures
62608         of subsequent rounding tests would be ignored.
62610         [BZ #15654]
62611         * math/fedisblxcpt.c (fedisableexcept): Return 0.
62612         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
62613         * math/fegetenv.c (__fegetenv): Return 0.
62614         * math/fegetexcept.c (fegetexcept): Return 0.
62615         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
62616         FE_TONEAREST.
62617         * math/feholdexcpt.c (feholdexcept): Return 0.
62618         * math/fesetenv.c (__fesetenv): Return 0.
62619         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
62620         argument FE_TONEAREST.
62621         * math/feupdateenv.c (__feupdateenv): Return 0.
62622         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
62624 2013-06-18  Roland McGrath  <roland@hack.frob.com>
62626         * elf/rtld-Rules (rtld-compile-command.S): New variable.
62627         (rtld-compile-command.s, rtld-compile-command.c): New variables.
62628         ($(objpfx)rtld-%.os rules): Use them.
62630 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62632         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
62633         fields.
62635 2013-06-17  Roland McGrath  <roland@hack.frob.com>
62637         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
62638         length of target pattern, then descending length of dependency pattern.
62639         * configure.in (AWK): Require gawk 3.1.2 or newer.
62640         * manual/install.texi (Tools for Compilation): Say that we do.
62641         * configure: Regenerated.
62643         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
62644         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62645         * scripts/sysd-rules.awk: ... this new script.
62646         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
62647         than a glob-style pattern.
62649 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
62651         * math/test-misc.c (main): Do not treat incorrectly rounded
62652         conversions as failure unless ROUNDING_TESTS passes.
62654 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
62656         [BZ #15631]
62657         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
62658         restore exception state around main square root computation, then
62659         check for inexactness explicitly.
62661         * math/libm-test.inc (fma_test_data): Add another test.
62663 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62665         * manual/threads.texi (Non-POSIX Extensions): New document
62666         node.  Document pthread_getattr_default_np and
62667         pthread_setattr_default_np.
62669         * Versions.def (libpthread): Add GLIBC_2.18.
62670         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
62671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62672         Likewise.
62673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62674         Likewise.
62675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62676         Likewise.
62677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62678         Likewise.
62679         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
62680         Likewise.
62681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62682         Likewise.
62683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62684         Likewise.
62685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62686         Likewise.
62687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62688         Likewise.
62690 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62693         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
62695 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62696             H.J. Lu  <hjl.tools@gmail.com>
62698         [BZ #15627]
62699         * sysdeps/x86_64/rtld-memset.c: Remove file.
62700         * sysdeps/x86_64/rtld-memset.S: New file.
62702 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
62704         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
62705         (test_in_one_mode): Take arguments for whether the rounding mode
62706         is supported for each floating-point type.
62707         (do_test): Pass new arguments to test_in_one_mode using
62708         ROUNDING_TESTS.
62710 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62712         * posix/tst-waitid.c (do_test): Distinguish different instances of
62713         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
62714         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
62715         before entering the kernel for waitpid.
62717 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62719         * NEWS: Fix note on clock function precision.  Text by Roland
62720         McGrath.
62722 2013-06-13  Roland McGrath  <roland@hack.frob.com>
62724         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
62725         it into place only when and if the sanity check passes.
62727 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
62729         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
62730         output for whether conversion result is exact.  Take argument
62731         indicating whether type is IBM long double.
62732         (round_for_all): Change need_exact field to ibm_ld.
62733         * stdlib/tst-strtod-round.c (struct exactness): New type.
62734         (struct test): Change bool ld_ok field to struct exactness exact.
62735         (TEST): Update all definitions for change to field.
62736         (tests): Regenerate array contents.
62737         (test_in_one_mode): Take pointer to new field instead of old ld_ok
62738         field value.  Check for IBM long double here.
62739         (do_test): Update calls to test_in_one_mode.
62741 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
62743         [BZ #12515]
62744         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
62745         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
62747 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62749         [BZ #15605]
62750         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
62751         generated by the compiler on loop optimizations.
62752         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
62753         general definitions.
62755 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
62757         * math/bug-nextafter.c: Include <math-tests.h>.
62758         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62759         the relevant type.
62760         * math/bug-nexttoward.c: Include <math-tests.h>.
62761         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62762         the relevant type.
62763         * math/test-misc.c: Include <math-tests.h>.
62764         (main): Only test for exceptions if EXCEPTION_TESTS is true for
62765         the relevant type.
62767 2013-06-12  Andreas Jaeger  <aj@suse.de>
62769         * po/ia.po: Update Interlingua translation from translation
62770         project.
62772 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62774         * include/fenv.h: Include stdbool.h.
62775         (struct rm_ctx): New structure.
62776         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
62777         Define macro.
62778         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
62779         (SET_RESTORE_ROUNDF): Likewise.
62780         (SET_RESTORE_ROUNDL): Likewise.
62781         (SET_RESTORE_ROUND_NOEX): Likewise.
62782         (SET_RESTORE_ROUND_NOEXF): Likewise.
62783         (SET_RESTORE_ROUND_NOEXL): Likewise.
62784         (SET_RESTORE_ROUND_53BIT): Likewise.
62785         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
62786         (libc_feresetround_noexf_ctx): Likewise.
62787         (libc_feresetround_noexl_ctx): Likewise.
62788         (libc_feholdsetround_53bit_ctx): Likewise.
62789         (libc_feresetround_53bit_ctx): Likewise.
62790         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
62791         (libc_feholdexcept_setround_sse_ctx): New function.
62792         (libc_fesetenv_sse_ctx): Likewise.
62793         (libc_feupdateenv_sse_ctx): Likewise.
62794         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62795         (libc_feholdexcept_setround_387_ctx): Likewise.
62796         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62797         (libc_feholdsetround_387_prec_ctx): Likewise.
62798         (libc_feholdsetround_387_ctx): Likewise.
62799         (libc_feholdsetround_387_53bit_ctx): Likewise.
62800         (libc_feholdsetround_sse_ctx): Likewise.
62801         (libc_feresetround_sse_ctx): Likewise.
62802         (libc_feresetround_387_ctx): Likewise.
62803         (libc_feupdateenv_387_ctx): Likewise.
62804         (libc_feholdexcept_setroundf_ctx): Define macro.
62805         (libc_fesetenvf_ctx): Likewise.
62806         (libc_feupdateenvf_ctx): Likewise.
62807         (libc_feholdsetroundf_ctx): Likewise.
62808         (libc_feresetroundf_ctx): Likewise.
62809         (libc_feholdexcept_setround_ctx): Likewise.
62810         (libc_fesetenv_ctx): Likewise.
62811         (libc_feupdateenv_ctx): Likewise.
62812         (libc_feholdsetround_ctx): Likewise.
62813         (libc_feresetround_ctx): Likewise.
62814         (libc_feholdexcept_setroundl_ctx): Likewise.
62815         (libc_feupdateenvl_ctx): Likewise.
62816         (libc_feholdsetroundl_ctx): Likewise.
62817         (libc_feresetroundl_ctx): Likewise.
62818         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62819         (libc_feresetround_53bit_ctx): Likewise.
62821 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62823         * locale/iso-639.def: Convert to UTF-8.
62825 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62827         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62828         (EXCEPTION_TESTS_double): Likewise.
62829         (EXCEPTION_TESTS_long_double): Likewise.
62830         (EXCEPTION_TESTS): Likewise.
62831         * math/libm-test.inc (test_exceptions): Only test exceptions if
62832         EXCEPTION_TESTS (FLOAT).
62834 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62836         * benchtests/Makefile (string-bench): Add strcpy_chk and
62837         stpcpy_chk.
62838         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62839         * benchtests/bench-stpcpy_chk.c: New file.
62840         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62841         * benchtests/bench-strcpy_chk.c: New file.
62842         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62843         code.
62844         (do_test): Likewise.
62846 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62848         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62849         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62850         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62851         with tabs where appropriate.
62852         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62853         dl-procinfo.h.
62854         [PPC_PLATFORM_PPC440]: Likewise.
62855         [PPC_PLATFORM_PPC464]: Likewise.
62856         [PPC_PLATFORM_PPC476]: Likewise.
62857         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62858         ppc464, and ppc476 platform strings merging from ports/
62859         dl-procinfo.h.
62861 2013-06-11  Andreas Schwab  <schwab@suse.de>
62863         [BZ #14991]
62864         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62865         (from_ucs4_idx): Regenerate.
62866         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62867         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62868         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62869         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62870         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62871         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62872         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62873         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62874         from FROM_LOOP and TO_LOOP specific macros.
62875         (BODY): Handle combining characters.
62876         * iconvdata/BIG5HKSCS.irreversible: Update.
62877         * iconvdata/BIG5HKSCS.precomposed: New file.
62878         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62879         characters.
62880         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62882 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62884         * include/sys/time.h: Fix indentation and add copyright header.
62886         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62887         (do_test): Likewise.
62888         * string/test-memchr.c (do_one_test): Likewise.
62889         (do_test): Likewise.
62890         * string/test-memcmp.c (do_one_test): Likewise.
62891         (do_test): Likewise.
62892         * string/test-memcpy.c (do_one_test): Likewise.
62893         (do_test): Likewise.
62894         * string/test-memmem.c (do_one_test): Likewise.
62895         (do_test): Likewise.
62896         (do_random_tests): Likewise.
62897         * string/test-memmove.c (do_one_test): Likewise.
62898         (do_test): Likewise.
62899         * string/test-memset.c (do_one_test): Likewise.
62900         (do_test): Likewise.
62901         * string/test-rawmemchr.c (do_one_test): Likewise.
62902         (do_test): Likewise.
62903         * string/test-strcasecmp.c (do_one_test): Likewise.
62904         (do_test): Likewise.
62905         * string/test-strcasestr.c (do_one_test): Likewise.
62906         (do_test): Likewise.
62907         * string/test-strcat.c (do_one_test): Likewise.
62908         (do_test): Likewise.
62909         * string/test-strchr.c (do_one_test): Likewise.
62910         (do_test): Likewise.
62911         * string/test-strcmp.c (do_one_test): Likewise.
62912         (do_test): Likewise.
62913         * string/test-strcpy.c (do_one_test): Likewise.
62914         (do_test): Likewise.
62915         * string/test-string.h: Likewise.
62916         (test_init): Likewise.
62917         * string/test-strlen.c (do_one_test): Likewise.
62918         (do_test): Likewise.
62919         * string/test-strncasecmp.c (do_one_test): Likewise.
62920         (do_test): Likewise.
62921         * string/test-strncat.c (do_one_test): Likewise.
62922         (do_test): Likewise.
62923         * string/test-strncmp.c (do_one_test): Likewise.
62924         (do_test_limit): Likewise.
62925         (do_test): Likewise.
62926         * string/test-strncpy.c (do_one_test): Likewise.
62927         (do_test): Likewise.
62928         * string/test-strnlen.c (do_one_test): Likewise.
62929         (do_test): Likewise.
62930         * string/test-strpbrk.c (do_one_test): Likewise.
62931         (do_test): Likewise.
62932         * string/test-strrchr.c (do_one_test): Likewise.
62933         (do_test): Likewise.
62934         * string/test-strspn.c (do_one_test): Likewise.
62935         (do_test): Likewise.
62936         * string/test-strstr.c (do_one_test): Likewise.
62937         (do_test): Likewise.
62939         * benchtests/Makefile (string-bench): Add string benchmarks.
62940         * benchtests/bench-bcopy-ifunc.c: New file.
62941         * benchtests/bench-bcopy.c: New file.
62942         * benchtests/bench-bzero-ifunc.c: New file.
62943         * benchtests/bench-bzero.c: New file.
62944         * benchtests/bench-memccpy-ifunc.c: New file.
62945         * benchtests/bench-memccpy.c: New file.
62946         * benchtests/bench-memchr-ifunc.c: New file.
62947         * benchtests/bench-memchr.c: New file.
62948         * benchtests/bench-memcmp-ifunc.c: New file.
62949         * benchtests/bench-memcmp.c: New file.
62950         * benchtests/bench-memmem-ifunc.c: New file.
62951         * benchtests/bench-memmem.c: New file.
62952         * benchtests/bench-memmove-ifunc.c: New file.
62953         * benchtests/bench-memmove.c: New file.
62954         * benchtests/bench-mempcpy-ifunc.c: New file.
62955         * benchtests/bench-mempcpy.c: New file.
62956         * benchtests/bench-memset-ifunc.c: New file.
62957         * benchtests/bench-memset.c: New file.
62958         * benchtests/bench-rawmemchr-ifunc.c: New file.
62959         * benchtests/bench-rawmemchr.c: New file.
62960         * benchtests/bench-stpcpy-ifunc.c: New file.
62961         * benchtests/bench-stpcpy.c: New file.
62962         * benchtests/bench-stpncpy-ifunc.c: New file.
62963         * benchtests/bench-stpncpy.c: New file.
62964         * benchtests/bench-strcasecmp-ifunc.c: New file.
62965         * benchtests/bench-strcasecmp.c: New file.
62966         * benchtests/bench-strcasestr-ifunc.c: New file.
62967         * benchtests/bench-strcasestr.c: New file.
62968         * benchtests/bench-strcat-ifunc.c: New file.
62969         * benchtests/bench-strcat.c: New file.
62970         * benchtests/bench-strchr-ifunc.c: New file.
62971         * benchtests/bench-strchr.c: New file.
62972         * benchtests/bench-strchrnul-ifunc.c: New file.
62973         * benchtests/bench-strchrnul.c: New file.
62974         * benchtests/bench-strcmp-ifunc.c: New file.
62975         * benchtests/bench-strcmp.c: New file.
62976         * benchtests/bench-strcpy-ifunc.c: New file.
62977         * benchtests/bench-strcpy.c: New file.
62978         * benchtests/bench-strcspn-ifunc.c: New file.
62979         * benchtests/bench-strcspn.c: New file.
62980         * benchtests/bench-strlen-ifunc.c: New file.
62981         * benchtests/bench-strlen.c: New file.
62982         * benchtests/bench-strncasecmp-ifunc.c: New file.
62983         * benchtests/bench-strncasecmp.c: New file.
62984         * benchtests/bench-strncat-ifunc.c: New file.
62985         * benchtests/bench-strncat.c: New file.
62986         * benchtests/bench-strncmp-ifunc.c: New file.
62987         * benchtests/bench-strncmp.c: New file.
62988         * benchtests/bench-strncpy-ifunc.c: New file.
62989         * benchtests/bench-strncpy.c: New file.
62990         * benchtests/bench-strnlen-ifunc.c: New file.
62991         * benchtests/bench-strnlen.c: New file.
62992         * benchtests/bench-strpbrk-ifunc.c: New file.
62993         * benchtests/bench-strpbrk.c: New file.
62994         * benchtests/bench-strrchr-ifunc.c: New file.
62995         * benchtests/bench-strrchr.c: New file.
62996         * benchtests/bench-strspn-ifunc.c: New file.
62997         * benchtests/bench-strspn.c: New file.
62998         * benchtests/bench-strstr-ifunc.c: New file.
62999         * benchtests/bench-strstr.c: New file.
63001         * benchtests/Makefile: Disable parallel execution of targets.
63002         (string-bench): Add memcpy.
63003         (benchset): New variable to store a list of benchmark sets.
63004         (bench-func): Renamed from bench.
63005         (bench-set): New target.
63006         (bench): Depend on bench-func and bench-set.
63007         * benchtests/README: Add section on benchmark sets.
63008         * benchtests/bench-memcpy-ifunc.c: New file.
63009         * benchtests/bench-memcpy.c: New file.
63010         * benchtests/bench-string.h: New file.
63012 2013-06-11  Andreas Schwab  <schwab@suse.de>
63014         [BZ #15577]
63015         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63016         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63017         values in the triple.
63018         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63019         terminator in the group key.
63021 2013-06-11  Andreas Jaeger  <aj@suse.de>
63023         * po/zh_TW.po: Update Chinese (traditional) translation from
63024         translation project.
63026 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63028         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63029         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63030         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63031         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63032         (clock_getcpuclockid): Likewise.
63033         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63034         Add weak_alias and libc_hidden_def.
63035         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63036         * rt/clock_gettime.c (clock_gettime): Rename to
63037         __clock_gettime.  Add weak_alias and libc_hidden_def.
63038         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63039         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63040         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63041         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63042         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63043         Likewise.
63044         * rt/clock_settime.c (clock_settime): Rename to
63045         __clock_settime.  Add weak_alias and libc_hidden_def.
63046         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63048 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63050         * mach/err_boot.sub: Remove trailing whitespace.
63051         * mach/err_ipc.sub: Likewise.
63052         * mach/err_mach.sub: Likewise.
63054         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63055         (ROUNDING_TESTS_double): Likewise.
63056         (ROUNDING_TESTS_long_double): Likewise.
63057         (ROUNDING_TESTS): Likewise.
63058         * math/libm-test.inc: Include <math-tests.h>.
63059         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63060         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63061         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63062         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63064 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63066         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63067         of assigning.
63069 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63071         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63072         otherwise empty TRANS lines.
63073         * sysdeps/gnu/errlist.c: Regenerated.
63075         * catgets/gencat.c (error_print): Use (void) in function
63076         definition.
63077         * crypt/crypt_util.c (__init_des): Likewise.
63078         * crypt/speeds.c (Stop): Likewise.
63079         (main): Likewise.
63080         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63081         * inet/ruserpass.c (token): Likewise.
63082         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63083         * intl/localealias.c (extend_alias_table): Likewise.
63084         * intl/plural-exp.c (init_germanic_plural): Likewise.
63085         * libio/fcloseall.c (__fcloseall): Likewise.
63086         * libio/genops.c (_IO_flush_all): Likewise.
63087         (_IO_flush_all_linebuffered): Likewise.
63088         (_IO_cleanup): Likewise.
63089         (_IO_iter_begin): Likewise.
63090         (_IO_iter_end): Likewise.
63091         (_IO_list_lock): Likewise.
63092         (_IO_list_unlock): Likewise.
63093         (_IO_list_resetlock): Likewise.
63094         * libio/getchar.c (getchar): Likewise.
63095         * libio/getchar_u.c (getchar_unlocked): Likewise.
63096         * libio/getwchar.c (getwchar): Likewise.
63097         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63098         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63099         * login/getpt.c (__getpt): Likewise.
63100         * login/tst-utmp.c (main): Likewise.
63101         * malloc/hooks.c (__malloc_check_init): Likewise.
63102         * malloc/malloc.c (__malloc_stats): Likewise.
63103         * malloc/mtrace.c (tr_break): Likewise.
63104         (mtrace): Likewise.
63105         (muntrace): Likewise.
63106         * misc/fstab.c (endfsent): Likewise.
63107         * misc/getclktck.c (__getclktck): Likewise.
63108         * misc/getdtsz.c (__getdtablesize): Likewise.
63109         * misc/gethostid.c (gethostid): Likewise.
63110         * misc/getpagesize.c (__getpagesize): Likewise.
63111         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63112         (__get_nprocs): Likewise.
63113         (__get_phys_pages): Likewise.
63114         (__get_avphys_pages): Likewise.
63115         * misc/getttyent.c (getttyent): Likewise.
63116         (setttyent): Likewise.
63117         (endttyent): Likewise.
63118         * misc/getusershell.c (getusershell): Likewise.
63119         (endusershell): Likewise.
63120         (setusershell): Likewise.
63121         (initshells): Likewise.
63122         * misc/hsearch.c (__hdestroy): Likewise.
63123         * misc/sync.c (sync): Likewise.
63124         * misc/syslog.c (closelog_internal): Likewise.
63125         (closelog): Likewise.
63126         * misc/ttyslot.c (ttyslot): Likewise.
63127         * misc/vhangup.c (vhangup): Likewise.
63128         * posix/fork.c (__fork): Likewise.
63129         * posix/getegid.c (__getegid): Likewise.
63130         * posix/geteuid.c (__geteuid): Likewise.
63131         * posix/getgid.c (__getgid): Likewise.
63132         * posix/getpid.c (__getpid): Likewise.
63133         * posix/getppid.c (__getppid): Likewise.
63134         * posix/getuid.c (__getuid): Likewise.
63135         * posix/pause.c (pause): Likewise.
63136         * posix/setpgrp.c (setpgrp): Likewise.
63137         * posix/setsid.c (__setsid): Likewise.
63138         * posix/test-vfork.c (noop): Likewise.
63139         * resolv/gethnamaddr.c (_endhtent): Likewise.
63140         (_gethtent): Likewise.
63141         (ht_endhostent): Likewise.
63142         (gethostent): Likewise.
63143         (dns_service): Likewise.
63144         * stdlib/drand48.c (drand48): Likewise.
63145         * stdlib/lrand48.c (lrand48): Likewise.
63146         * stdlib/mrand48.c (mrand48): Likewise.
63147         * stdlib/rand.c (rand): Likewise.
63148         * stdlib/random.c (__random): Likewise.
63149         * stdlib/setenv.c (clearenv): Likewise.
63150         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63151         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63152         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63153         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63154         (__get_nprocs): Likewise.
63155         (__get_phys_pages): Likewise.
63156         (__get_avphys_pages): Likewise.
63157         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63158         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63159         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63160         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63161         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63162         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63163         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63164         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63165         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63166         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63167         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63168         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63169         * sysdeps/posix/clock.c (clock): Likewise.
63170         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63171         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63172         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63173         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63174         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63175         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63176         (__get_nprocs_conf): Likewise.
63177         (__get_phys_pages): Likewise.
63178         (__get_avphys_pages): Likewise.
63179         * time/clock.c (clock): Likewise.
63180         * time/tzset.c (__tzname_max): Likewise.
63182 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63184         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63185         (__bswap_32): Do not use "register".
63186         * crypt/crypt.c (_ufc_doit_r): Likewise.
63187         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63188         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63189         * gmon/gmon.c (__monstartup): Likewise.
63190         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63191         * hurd/hurdmalloc.c (more_memory): Likewise.
63192         (malloc): Likewise.
63193         (free): Likewise.
63194         (realloc): Likewise.
63195         (malloc_fork_prepare): Likewise.
63196         (malloc_fork_parent): Likewise.
63197         (malloc_fork_child): Likewise.
63198         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63199         (_svcauth_des): Likewise.
63200         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63201         * inet/inet_net.c (inet_network): Likewise.
63202         * inet/inet_netof.c (inet_netof): Likewise.
63203         * inet/rcmd.c (__validuser2_sa): Likewise.
63204         * io/fts.c (fts_open): Likewise.
63205         (fts_load): Likewise.
63206         (fts_close): Likewise.
63207         (fts_read): Likewise.
63208         (fts_children): Likewise.
63209         (fts_build): Likewise.
63210         (fts_stat): Likewise.
63211         (fts_sort): Likewise.
63212         (fts_alloc): Likewise.
63213         (fts_lfree): Likewise.
63214         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63215         (_IO_file_xsgetn): Likewise.
63216         (_IO_file_xsgetn_mmap): Likewise.
63217         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63218         (_IO_cookie_write): Likewise.
63219         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63220         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63221         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63222         * malloc/obstack.c (_obstack_begin): Likewise.
63223         (_obstack_begin_1): Likewise.
63224         (_obstack_newchunk): Likewise.
63225         (_obstack_allocated_p): Likewise.
63226         (obstack_free): Likewise.
63227         (_obstack_memory_used): Likewise.
63228         * misc/getttyent.c (getttynam): Likewise.
63229         (getttyent): Likewise.
63230         (skip): Likewise.
63231         (value): Likewise.
63232         * misc/getusershell.c (initshells): Likewise.
63233         * misc/syslog.c (__vsyslog_chk): Likewise.
63234         * misc/ttyslot.c (ttyslot): Likewise.
63235         * nis/nis_hash.c (__nis_hash): Likewise.
63236         * posix/fnmatch_loop.c (FCT): Likewise.
63237         * posix/getconf.c (print_all): Likewise.
63238         (main): Likewise.
63239         * posix/getopt.c (exchange): Likewise.
63240         * posix/glob.c (globfree): Likewise.
63241         (prefix_array): Likewise.
63242         (__glob_pattern_type): Likewise.
63243         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63244         (NS_GET32): Likewise.
63245         (NS_PUT16): Likewise.
63246         (NS_PUT32): Likewise.
63247         * resolv/gethnamaddr.c (getanswer): Likewise.
63248         (gethostbyname2): Likewise.
63249         (gethostbyaddr): Likewise.
63250         (_gethtent): Likewise.
63251         (_gethtbyname2): Likewise.
63252         (_gethtbyaddr): Likewise.
63253         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63254         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63255         * resolv/res_init.c (__res_vinit): Likewise.
63256         (net_mask): Likewise.
63257         * resolv/res_mkquery.c (outchar): Likewise.
63258         (PRINT): Likewise.
63259         * stdio-common/printf_fp.c (outchar): Likewise.
63260         (PRINT): Likewise.
63261         * stdio-common/printf_fphex.c (outchar): Likewise.
63262         (PRINT): Likewise.
63263         * stdio-common/printf_size.c (outchar): Likewise.
63264         (PRINT): Likewise.
63265         * stdio-common/test_rdwr.c (main): Likewise.
63266         * stdio-common/tfformat.c (matches): Likewise.
63267         * stdio-common/vfprintf.c (outchar): Likewise.
63268         (printf_unknown): Likewise.
63269         (buffered_vfprintf): Likewise.
63270         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63271         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63272         (ReadFile): Likewise.
63273         * stdlib/qsort.c (SWAP): Likewise.
63274         (_quicksort): Likewise.
63275         * stdlib/setenv.c (__add_to_environ): Likewise.
63276         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63277         * stdlib/strtol_l.c (__strtol_l): Likewise.
63278         * stdlib/tst-strtod.c (main): Likewise.
63279         * stdlib/tst-strtol.c (main): Likewise.
63280         * stdlib/tst-strtoll.c (main): Likewise.
63281         * string/bits/string2.h (__strcmp_cc): Likewise.
63282         (__strcmp_cg): Likewise.
63283         (__strcspn_c1): Likewise.
63284         (__strcspn_c2): Likewise.
63285         (__strcspn_c3): Likewise.
63286         (__strspn_c1): Likewise.
63287         (__strspn_c2): Likewise.
63288         (__strspn_c3): Likewise.
63289         (__strsep_1c): Likewise.
63290         (__strsep_2c): Likewise.
63291         (__strsep_3c): Likewise.
63292         * string/memccpy.c (__memccpy): Likewise.
63293         * string/stpcpy.c (__stpcpy): Likewise.
63294         * string/strcmp.c (strcmp): Likewise.
63295         * string/strrchr.c (strrchr): Likewise.
63296         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63297         Likewise.
63298         * sysdeps/mach/hurd/getcwd.c
63299         (_hurd_canonicalize_directory_name_internal): Likewise.
63300         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63301         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63302         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63303         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63304         Likewise, in both definitions.
63305         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63306         definitions.
63307         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63308         64] (__bswap_64): Likewise.
63309         * time/test_time.c (main): Likewise.
63310         * time/tzfile.c (__tzfile_read): Likewise.
63311         (__tzfile_compute): Likewise.
63312         * time/tzset.c (__tzset_parse_tz): Likewise.
63313         (tzset_internal): Likewise.
63314         (compute_change): Likewise.
63315         * wcsmbs/wcscat.c (__wcscat): Likewise.
63316         * wcsmbs/wcschr.c (wcschr): Likewise.
63317         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63318         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63319         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63320         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63321         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63322         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63323         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63324         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63325         * wcsmbs/wmemset.c (wmemset): Likewise.
63327 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
63329         * scripts/config.guess: Update to version 2013-05-16.
63330         * scripts/config.sub: Update to version 2013-04-24.
63331         * scripts/install-sh: Update to version 2011-11-20.07.
63332         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
63333         * scripts/move-if-change: Update to version 2012-01-06 07:23.
63335 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
63337         * debug/fgetws_u_chk.c: Fix leading whitespaces.
63338         * elf/sln.c: Likewise.
63339         * hurd/hurd/ioctl.h: Likewise.
63340         * hurd/hurdmalloc.c: Likewise.
63341         * hurd/xattr.c: Likewise.
63342         * include/shlib-compat.h: Likewise.
63343         * inet/ruserpass.c: Likewise.
63344         * libio/iofgets_u.c: Likewise.
63345         * libio/iofgetws_u.c: Likewise.
63346         * locale/programs/ld-identification.c: Likewise.
63347         * locale/programs/ld-time.c: Likewise.
63348         * mach/msg-destroy.c: Likewise.
63349         * nss/nss_files/files-netgrp.c: Likewise.
63350         * resolv/res_data.c: Likewise.
63351         * soft-fp/op-1.h: Likewise.
63352         * soft-fp/op-2.h: Likewise.
63353         * soft-fp/op-4.h: Likewise.
63354         * soft-fp/op-common.h: Likewise.
63355         * stdio-common/printf_fphex.c: Likewise.
63356         * stdlib/strtod_l.c: Likewise.
63357         * sunrpc/rpc/clnt.h: Likewise.
63358         * sysdeps/generic/framestate.c: Likewise.
63359         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63360         * sysdeps/i386/bsd-setjmp.S: Likewise.
63361         * sysdeps/i386/__longjmp.S: Likewise.
63362         * sysdeps/i386/setjmp.S: Likewise.
63363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63364         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63365         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63366         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63367         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63368         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63369         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63370         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63371         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63372         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
63373         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63374         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63375         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63376         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63377         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63379         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63380         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
63381         * sysdeps/ieee754/support.c: Likewise.
63382         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63383         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
63384         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
63385         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
63386         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
63387         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
63388         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
63389         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
63390         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
63391         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
63392         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
63393         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
63394         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
63395         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
63396         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
63397         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
63398         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
63401 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
63403         * posix/transbug.c: Remove executable mode.
63405 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
63407         * crypt/speeds.c: Remove trailing whitespace.
63408         * dlfcn/default.c: Likewise.
63409         * elf/ifuncdep2.c: Likewise.
63410         * elf/ifuncmain1.c: Likewise.
63411         * elf/ifuncmain1vis.c: Likewise.
63412         * elf/testobj.h: Likewise.
63413         * elf/tst-stackguard1.c: Likewise.
63414         * gmon/sys/gmon.h: Likewise.
63415         * hurd/hurdmsg.c: Likewise.
63416         * hurd/new-fd.c: Likewise.
63417         * hurd/ports-get.c: Likewise.
63418         * iconvdata/ibm1008_420.c: Likewise.
63419         * inet/tst-getni1.c: Likewise.
63420         * inet/tst-getni2.c: Likewise.
63421         * libio/ioungetc.c: Likewise.
63422         * libio/wfiledoalloc.c: Likewise.
63423         * manual/libm-err-tab.pl: Likewise.
63424         * math/w_dremf.c: Likewise.
63425         * misc/ftruncate.c: Likewise.
63426         * posix/bug-glob2.c: Likewise.
63427         * posix/tst-pcre.c: Likewise.
63428         * posix/wait4.c: Likewise.
63429         * resolv/README: Likewise.
63430         * resolv/res_debug.h: Likewise.
63431         * resolv/tst-inet_ntop.c: Likewise.
63432         * setjmp/bug269-setjmp.c: Likewise.
63433         * soft-fp/extended.h: Likewise.
63434         * soft-fp/op-1.h: Likewise.
63435         * soft-fp/op-2.h: Likewise.
63436         * soft-fp/op-4.h: Likewise.
63437         * soft-fp/op-8.h: Likewise.
63438         * soft-fp/testit.c: Likewise.
63439         * stdio-common/bug16.c: Likewise.
63440         * stdlib/random.c: Likewise.
63441         * sunrpc/rpcsvc/rquota.x: Likewise.
63442         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
63443         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63444         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63445         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63446         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63447         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63448         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63449         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63450         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63451         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63452         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63453         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63454         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63455         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63456         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63457         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63458         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63460         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63463         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63464         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
63465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63467         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63469         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63470         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63471         * sysdeps/ieee754/s_lib_version.c: Likewise.
63472         * sysdeps/mach/hurd/check_fds.c: Likewise.
63473         * sysdeps/mach/hurd/getsockname.c: Likewise.
63474         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
63475         * sysdeps/mach/hurd/recvfrom.c: Likewise.
63476         * sysdeps/powerpc/bits/link.h: Likewise.
63477         * sysdeps/powerpc/dl-procinfo.c: Likewise.
63478         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
63479         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
63480         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
63481         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
63482         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63483         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
63484         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
63485         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
63486         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63487         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
63488         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63489         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
63490         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63491         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63492         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63493         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63494         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63495         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63496         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63497         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63498         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
63499         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63500         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
63501         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
63502         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63503         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63504         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63505         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63506         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63507         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63508         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63509         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63510         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63511         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
63512         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
63513         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
63514         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63515         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
63516         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
63517         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
63518         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
63519         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
63520         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
63521         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63522         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
63523         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
63524         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63525         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
63526         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
63527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
63530         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
63531         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
63532         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
63533         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
63534         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63535         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
63536         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
63537         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
63538         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
63539         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
63540         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63541         * sysdeps/powerpc/sysdep.h: Likewise.
63542         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63543         * sysdeps/s390/s390-64/sub_n.S: Likewise.
63544         * sysdeps/sh/dl-trampoline.S: Likewise.
63545         * sysdeps/sh/memset.S: Likewise.
63546         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
63547         * sysdeps/sh/strlen.S: Likewise.
63548         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
63549         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
63550         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
63551         * sysdeps/sparc/sparc32/rem.S: Likewise.
63552         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
63553         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
63554         * sysdeps/sparc/sparc32/strchr.S: Likewise.
63555         * sysdeps/sparc/sparc32/udiv.S: Likewise.
63556         * sysdeps/sparc/sparc32/urem.S: Likewise.
63557         * sysdeps/sparc/sparc64/add_n.S: Likewise.
63558         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63559         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
63560         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
63561         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
63562         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
63563         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
63564         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
63565         * sysdeps/unix/bsd/times.c: Likewise.
63566         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
63567         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
63568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
63569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
63570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
63571         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
63572         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
63573         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
63574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
63575         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
63576         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
63577         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63578         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
63579         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63580         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63581         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
63582         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63583         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
63584         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
63585         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
63586         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
63587         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
63588         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63589         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
63590         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
63591         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
63592         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
63593         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63594         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
63595         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
63596         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
63597         * sysdeps/x86_64/strcspn.S: Likewise.
63599 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63601         * locale/C-translit.h: Revert #include <stdint.h> because this is a
63602         generated file.  Regenerate properly from gen-translit.pl.
63603         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
63604         locale/C-translit.h.
63606 2013-06-05  Andreas Schwab  <schwab@suse.de>
63608         [BZ #15100]
63609         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
63610         week as 6 instead of -1.
63611         * time/tst-strptime.c (day_tests): Add test case.
63613 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63615         * sysdeps/generic/math_private.h
63616         (libc_feholdexcept_setround_53bit): Replace with
63617         libc_feholdsetround_53bit.
63618         (libc_feupdateenv_53bit): Replace with
63619         libc_feresetround_53bit.
63620         (SET_RESTORE_ROUND_53BIT): Adjust.
63622 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63624         * string/test-strchrnul.c: Add copyright header.
63626         * posix/tst-getaddrinfo4.c: Increase test timeout.
63628 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
63630         [BZ #15536]
63631         * math/libm-test.inc (MAX_EXP): Remove
63632         (MIN_EXP): Define.
63633         (ulp): Use MIN_EXP - MANT_DIG.
63634         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
63636 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
63638         * po/be.po: Revert last change.
63639         * po/zh_CN.po: Likewise.
63640         * po/header.pot: Likewise.
63642 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
63644         * Makefile ($(common-objpfx)linkobj/libc.so): Define
63645         link-libc-deps to empty as target-specific variable.
63646         * Makerules (link-libc-args): New variable.
63647         (libc-for-link): Likewise.
63648         (link-libc-deps): Likewise.
63649         (lib%.so): Depend on $(link-libc-deps).  Link with
63650         $(link-libc-args).
63651         (build-module): Link with $(link-libc-args).
63652         (build-module-asneeded): Likewise.
63653         (build-module-helper-objlist): Filter out $(link-libc-deps) from
63654         list of objects.
63655         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
63656         target-specific variable.
63657         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
63658         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
63659         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
63660         libc.
63661         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
63662         libc and ld.so.
63663         ($(objpfx)libpcprofile.so): Likewise.
63664         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
63665         libc_nonshared.a.
63666         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
63667         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
63668         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
63669         $(link-libc-deps).
63670         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
63671         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
63672         * login/Makefile ($(objpfx)libutil.so): Likewise.
63673         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
63674         * math/Makefile ($(objpfx)libm.so): Likewise.
63675         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
63676         $(objpfx)libnsl.so): Define libc-for-link as target-specific
63677         variable instead of depending directly on libc.
63678         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
63679         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
63680         $(link-libc-deps).
63681         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
63682         libc.
63683         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
63684         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
63685         ($(objpfx)libanl.so): Likewise.
63686         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
63687         ld.so.
63688         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
63689         $(link-libc-deps).
63690         * sysdeps/i386/fpu/Makefile: Remove file.
63691         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
63692         ($(objpfx)libm.so): Remove dependency on ld.so.
63694 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
63696         [BZ # 15553]
63697         * nis/yp_xdr.c (XDRMAXNAME): Define.
63698         (XDRMAXRECORD): Define.
63699         (xdr_domainname): Use XDRMAXNAME.
63700         (xdr_mapname): Likewise.
63701         (xdr_peername): Likewise.
63702         (xdr_keydat): Use XDRMAXRECORD.
63703         (xdr_valdat): Likewise.
63705 2013-05-30  Jeff Law  <law@redhat.com>
63707         [BZ #14256]
63708         * manual/errno.texi (ESTALE): Update to account for more than
63709         just NFS file systems.
63710         * sysdeps/gnu/errlist.c: Regenerated.
63712 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63714         [BZ #15465]
63715         * elf/Makefile (tests): Add tst-null-argv.
63716         (modules-names):  Add tst-null-argv-lib.
63717         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
63718         (tst-null-argv-ENV): Set environment for tst-null-argv.
63719         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
63720         (RTLD_PROGNAME): New macro.
63721         * elf/tst-null-argv.c: New test case.
63722         * elf/tst-null-argv-lib.c: Library for test case.
63723         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
63724         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
63725         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
63726         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
63727         * elf/dl-init.c (call_init): Likewise.
63728         (_dl_init): Likewise.
63729         * elf/dl-load.c (print_search_path): Likewise.
63730         (_dl_map_object): Likewise.
63731         * elf/dl-lookup.c (do_lookup_x): Likewise.
63732         (add_dependency): Likewise.
63733         (_dl_lookup_symbol_x): Likewise.
63734         (_dl_debug_bindings): Likewise.
63735         * elf/dl-open.c (_dl_show_scope): Likewise.
63736         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
63737         * elf/dl-version.c (match_symbol): Likewise.
63738         (_dl_check_map_versions): Likewise.
63739         * elf/rtld.c (dl_main): Likewise.
63740         (print_unresolved): Use RTLD_PROGNAME.
63741         (print_missing_version): Likewise.
63742         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
63743         (elf_machine_rela): Likewise.
63744         * sysdeps/powerpc/powerpc32/dl-machine.c
63745         (__process_machine_rela): Likewise.
63746         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63747         Likewise.
63748         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63749         Likewise.
63750         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
63751         Likewise.
63752         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
63753         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
63754         Likewise.
63755         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
63756         Likewise.
63757         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
63759 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
63761         * po/be.po: Add descriptive title.
63762         * po/zh_CN.po: Likewise.
63763         * po/header.pot: Likewise.
63765 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
63767         * locale/programs/locarchive.c (create_archive): Inlucde fname in
63768         error message.
63769         (enlarge_archive): Likewise.
63771 2013-05-28  Ben North  <ben@redfrontdoor.org>
63773         * manual/arith.texi (frexp): It is the magnitude of the return
63774         value which lies in [0.5, 1), not the return value itself.
63776 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63780 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
63782         * stdio-common/bug26.c (main): Correct fscanf template.
63784         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
63785         declare _dl_skip_args.
63787         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
63788         Don't declare.
63790         * manual/platform.texi: Add missing @end deftypefun.
63792 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63794         [BZ #15529]
63795         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63796         bit of mantissa of 2^16382.
63797         * math/libm-test.inc (hypot_test_data): Add more tests.
63799         * math/libm-test.inc: Add drem and pow10 to list of tested
63800         functions.
63801         (pow10_test): New function.
63802         (drem_test): Likewise.
63803         (drem_test_tonearest): Likewise.
63804         (drem_test_towardzero): Likewise.
63805         (drem_test_downward): Likewise.
63806         (drem_test_upward): Likewise.
63807         (main): Call the new functions.
63809         * math/libm-test.inc (finite_test_data): Remove.
63810         (finite_test): Run tests from isfinite_test_data.
63811         (gamma_test_data): Remove.
63812         (gamma_test): Run tests from lgamma_test_data.
63813         * sysdeps/i386/fpu/libm-test-ulps: Update.
63814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63816 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63818         * manual/platform.texi: Add PowerPC PPR function set documentation.
63819         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63820         implementation.
63822 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63824         * math/libm-test.inc (MAX_EXP): Define.
63825         (ULPDIFF): Define.
63826         (ulp): New function.
63827         (check_float_internal): Use ULPDIFF.
63828         (cpow_test): Disable failing test.
63829         (check_ulp): Test ulp() implementation.
63830         (main): Call check_ulp before starting tests.
63832 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63834         * math/gen-libm-test.pl (generate_testfile): Do not handle
63835         START_DATA and END_DATA.
63836         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63837         END_DATA.
63838         (acos_tonearest_test_data): Likewise.
63839         (acos_towardzero_test_data): Likewise.
63840         (acos_downward_test_data): Likewise.
63841         (acos_upward_test_data): Likewise.
63842         (acosh_test_data): Likewise.
63843         (asin_test_data): Likewise.
63844         (asin_tonearest_test_data): Likewise.
63845         (asin_towardzero_test_data): Likewise.
63846         (asin_downward_test_data): Likewise.
63847         (asin_upward_test_data): Likewise.
63848         (asinh_test_data): Likewise.
63849         (atan_test_data): Likewise.
63850         (atanh_test_data): Likewise.
63851         (atan2_test_data): Likewise.
63852         (cabs_test_data): Likewise.
63853         (cacos_test_data): Likewise.
63854         (cacosh_test_data): Likewise.
63855         (carg_test_data): Likewise.
63856         (casin_test_data): Likewise.
63857         (casinh_test_data): Likewise.
63858         (catan_test_data): Likewise.
63859         (catanh_test_data): Likewise.
63860         (cbrt_test_data): Likewise.
63861         (ccos_test_data): Likewise.
63862         (ccosh_test_data): Likewise.
63863         (ceil_test_data): Likewise.
63864         (cexp_test_data): Likewise.
63865         (cimag_test_data): Likewise.
63866         (clog_test_data): Likewise.
63867         (clog10_test_data): Likewise.
63868         (conj_test_data): Likewise.
63869         (copysign_test_data): Likewise.
63870         (cos_test_data): Likewise.
63871         (cos_tonearest_test_data): Likewise.
63872         (cos_towardzero_test_data): Likewise.
63873         (cos_downward_test_data): Likewise.
63874         (cos_upward_test_data): Likewise.
63875         (cosh_test_data): Likewise.
63876         (cosh_tonearest_test_data): Likewise.
63877         (cosh_towardzero_test_data): Likewise.
63878         (cosh_downward_test_data): Likewise.
63879         (cosh_upward_test_data): Likewise.
63880         (cpow_test_data): Likewise.
63881         (cproj_test_data): Likewise.
63882         (creal_test_data): Likewise.
63883         (csin_test_data): Likewise.
63884         (csinh_test_data): Likewise.
63885         (csqrt_test_data): Likewise.
63886         (ctan_test_data): Likewise.
63887         (ctan_tonearest_test_data): Likewise.
63888         (ctan_towardzero_test_data): Likewise.
63889         (ctan_downward_test_data): Likewise.
63890         (ctan_upward_test_data): Likewise.
63891         (ctanh_test_data): Likewise.
63892         (ctanh_tonearest_test_data): Likewise.
63893         (ctanh_towardzero_test_data): Likewise.
63894         (ctanh_downward_test_data): Likewise.
63895         (ctanh_upward_test_data): Likewise.
63896         (erf_test_data): Likewise.
63897         (erfc_test_data): Likewise.
63898         (exp_test_data): Likewise.
63899         (exp_tonearest_test_data): Likewise.
63900         (exp_towardzero_test_data): Likewise.
63901         (exp_downward_test_data): Likewise.
63902         (exp_upward_test_data): Likewise.
63903         (exp10_test_data): Likewise.
63904         (exp2_test_data): Likewise.
63905         (expm1_test_data): Likewise.
63906         (fabs_test_data): Likewise.
63907         (fdim_test_data): Likewise.
63908         (finite_test_data): Likewise.
63909         (floor_test_data): Likewise.
63910         (fma_test_data): Likewise.
63911         (fma_towardzero_test_data): Likewise.
63912         (fma_downward_test_data): Likewise.
63913         (fma_upward_test_data): Likewise.
63914         (fmax_test_data): Likewise.
63915         (fmin_test_data): Likewise.
63916         (fmod_test_data): Likewise.
63917         (fpclassify_test_data): Likewise.
63918         (frexp_test_data): Likewise.
63919         (gamma_test_data): Likewise.
63920         (hypot_test_data): Likewise.
63921         (ilogb_test_data): Likewise.
63922         (isfinite_test_data): Likewise.
63923         (isgreater_test_data): Likewise.
63924         (isgreaterequal_test_data): Likewise.
63925         (isinf_test_data): Likewise.
63926         (isless_test_data): Likewise.
63927         (islessequal_test_data): Likewise.
63928         (islessgreater_test_data): Likewise.
63929         (isnan_test_data): Likewise.
63930         (isnormal_test_data): Likewise.
63931         (issignaling_test_data): Likewise.
63932         (isunordered_test_data): Likewise.
63933         (j0_test_data): Likewise.
63934         (j1_test_data): Likewise.
63935         (jn_test_data): Likewise.
63936         (ldexp_test_data): Likewise.
63937         (lgamma_test_data): Likewise.
63938         (lrint_test_data): Likewise.
63939         (lrint_tonearest_test_data): Likewise.
63940         (lrint_towardzero_test_data): Likewise.
63941         (lrint_downward_test_data): Likewise.
63942         (lrint_upward_test_data): Likewise.
63943         (llrint_test_data): Likewise.
63944         (llrint_tonearest_test_data): Likewise.
63945         (llrint_towardzero_test_data): Likewise.
63946         (llrint_downward_test_data): Likewise.
63947         (llrint_upward_test_data): Likewise.
63948         (log_test_data): Likewise.
63949         (log10_test_data): Likewise.
63950         (log1p_test_data): Likewise.
63951         (log2_test_data): Likewise.
63952         (logb_test_data): Likewise.
63953         (logb_downward_test_data): Likewise.
63954         (lround_test_data): Likewise.
63955         (llround_test_data): Likewise.
63956         (modf_test_data): Likewise.
63957         (nearbyint_test_data): Likewise.
63958         (nextafter_test_data): Likewise.
63959         (nexttoward_test_data): Likewise.
63960         (pow_test_data): Likewise.
63961         (pow_tonearest_test_data): Likewise.
63962         (pow_towardzero_test_data): Likewise.
63963         (pow_downward_test_data): Likewise.
63964         (pow_upward_test_data): Likewise.
63965         (remainder_test_data): Likewise.
63966         (remainder_tonearest_test_data): Likewise.
63967         (remainder_towardzero_test_data): Likewise.
63968         (remainder_downward_test_data): Likewise.
63969         (remainder_upward_test_data): Likewise.
63970         (remquo_test_data): Likewise.
63971         (rint_test_data): Likewise.
63972         (rint_tonearest_test_data): Likewise.
63973         (rint_towardzero_test_data): Likewise.
63974         (rint_downward_test_data): Likewise.
63975         (rint_upward_test_data): Likewise.
63976         (round_test_data): Likewise.
63977         (scalb_test_data): Likewise.
63978         (scalbn_test_data): Likewise.
63979         (scalbln_test_data): Likewise.
63980         (signbit_test_data): Likewise.
63981         (sin_test_data): Likewise.
63982         (sin_tonearest_test_data): Likewise.
63983         (sin_towardzero_test_data): Likewise.
63984         (sin_downward_test_data): Likewise.
63985         (sin_upward_test_data): Likewise.
63986         (sincos_test_data): Likewise.
63987         (sinh_test_data): Likewise.
63988         (sinh_tonearest_test_data): Likewise.
63989         (sinh_towardzero_test_data): Likewise.
63990         (sinh_downward_test_data): Likewise.
63991         (sinh_upward_test_data): Likewise.
63992         (sqrt_test_data): Likewise.
63993         (tan_test_data): Likewise.
63994         (tan_tonearest_test_data): Likewise.
63995         (tan_towardzero_test_data): Likewise.
63996         (tan_downward_test_data): Likewise.
63997         (tan_upward_test_data): Likewise.
63998         (tanh_test_data): Likewise.
63999         (tgamma_test_data): Likewise.
64000         (trunc_test_data): Likewise.
64001         (y0_test_data): Likewise.
64002         (y1_test_data): Likewise.
64003         (yn_test_data): Likewise.
64004         (significand_test_data): Likewise.
64006         * math/gen-libm-test.pl (@functions): Remove variable.
64007         (generate_testfile): Don't handle START and END lines.
64008         * math/libm-test.inc (START): New macro.
64009         (END): Likewise.
64010         (END_COMPLEX): Likewise.
64011         (acos_test): Use END macro without arguments.
64012         (acos_test_tonearest): Likewise.
64013         (acos_test_towardzero): Likewise.
64014         (acos_test_downward): Likewise.
64015         (acos_test_upward): Likewise.
64016         (acosh_test): Likewise.
64017         (asin_test): Likewise.
64018         (asin_test_tonearest): Likewise.
64019         (asin_test_towardzero): Likewise.
64020         (asin_test_downward): Likewise.
64021         (asin_test_upward): Likewise.
64022         (asinh_test): Likewise.
64023         (atan_test): Likewise.
64024         (atanh_test): Likewise.
64025         (atan2_test): Likewise.
64026         (cabs_test): Likewise.
64027         (cacos_test): Use END_COMPLEX macro without arguments.
64028         (cacosh_test): Likewise.
64029         (carg_test): Use END macro without arguments.
64030         (casin_test): Use END_COMPLEX macro without arguments.
64031         (casinh_test): Likewise.
64032         (catan_test): Likewise.
64033         (catanh_test): Likewise.
64034         (cbrt_test): Use END macro without arguments.
64035         (ccos_test): Use END_COMPLEX macro without arguments.
64036         (ccosh_test): Likewise.
64037         (ceil_test): Use END macro without arguments.
64038         (cexp_test): Use END_COMPLEX macro without arguments.
64039         (cimag_test): Use END macro without arguments.
64040         (clog_test): Use END_COMPLEX macro without arguments.
64041         (clog10_test): Likewise.
64042         (conj_test): Likewise.
64043         (copysign_test): Use END macro without arguments.
64044         (cos_test): Likewise.
64045         (cos_test_tonearest): Likewise.
64046         (cos_test_towardzero): Likewise.
64047         (cos_test_downward): Likewise.
64048         (cos_test_upward): Likewise.
64049         (cosh_test): Likewise.
64050         (cosh_test_tonearest): Likewise.
64051         (cosh_test_towardzero): Likewise.
64052         (cosh_test_downward): Likewise.
64053         (cosh_test_upward): Likewise.
64054         (cpow_test): Use END_COMPLEX macro without arguments.
64055         (cproj_test): Likewise.
64056         (creal_test): Use END macro without arguments.
64057         (csin_test): Use END_COMPLEX macro without arguments.
64058         (csinh_test): Likewise.
64059         (csqrt_test): Likewise.
64060         (ctan_test): Likewise.
64061         (ctan_test_tonearest): Likewise.
64062         (ctan_test_towardzero): Likewise.
64063         (ctan_test_downward): Likewise.
64064         (ctan_test_upward): Likewise.
64065         (ctanh_test): Likewise.
64066         (ctanh_test_tonearest): Likewise.
64067         (ctanh_test_towardzero): Likewise.
64068         (ctanh_test_downward): Likewise.
64069         (ctanh_test_upward): Likewise.
64070         (erf_test): Use END macro without arguments.
64071         (erfc_test): Likewise.
64072         (exp_test): Likewise.
64073         (exp_test_tonearest): Likewise.
64074         (exp_test_towardzero): Likewise.
64075         (exp_test_downward): Likewise.
64076         (exp_test_upward): Likewise.
64077         (exp10_test): Likewise.
64078         (exp2_test): Likewise.
64079         (expm1_test): Likewise.
64080         (fabs_test): Likewise.
64081         (fdim_test): Likewise.
64082         (finite_test): Likewise.
64083         (floor_test): Likewise.
64084         (fma_test): Likewise.
64085         (fma_test_towardzero): Likewise.
64086         (fma_test_downward): Likewise.
64087         (fma_test_upward): Likewise.
64088         (fmax_test): Likewise.
64089         (fmin_test): Likewise.
64090         (fmod_test): Likewise.
64091         (fpclassify_test): Likewise.
64092         (frexp_test): Likewise.
64093         (gamma_test): Likewise.
64094         (hypot_test): Likewise.
64095         (ilogb_test): Likewise.
64096         (isfinite_test): Likewise.
64097         (isgreater_test): Likewise.
64098         (isgreaterequal_test): Likewise.
64099         (isinf_test): Likewise.
64100         (isless_test): Likewise.
64101         (islessequal_test): Likewise.
64102         (islessgreater_test): Likewise.
64103         (isnan_test): Likewise.
64104         (isnormal_test): Likewise.
64105         (issignaling_test): Likewise.
64106         (isunordered_test): Likewise.
64107         (j0_test): Likewise.
64108         (j1_test): Likewise.
64109         (jn_test): Likewise.
64110         (ldexp_test): Likewise.
64111         (lgamma_test): Likewise.
64112         (lrint_test): Likewise.
64113         (lrint_test_tonearest): Likewise.
64114         (lrint_test_towardzero): Likewise.
64115         (lrint_test_downward): Likewise.
64116         (lrint_test_upward): Likewise.
64117         (llrint_test): Likewise.
64118         (llrint_test_tonearest): Likewise.
64119         (llrint_test_towardzero): Likewise.
64120         (llrint_test_downward): Likewise.
64121         (llrint_test_upward): Likewise.
64122         (log_test): Likewise.
64123         (log10_test): Likewise.
64124         (log1p_test): Likewise.
64125         (log2_test): Likewise.
64126         (logb_test): Likewise.
64127         (logb_test_downward): Likewise.
64128         (lround_test): Likewise.
64129         (llround_test): Likewise.
64130         (modf_test): Likewise.
64131         (nearbyint_test): Likewise.
64132         (nextafter_test): Likewise.
64133         (nexttoward_test): Likewise.
64134         (pow_test): Likewise.
64135         (pow_test_tonearest): Likewise.
64136         (pow_test_towardzero): Likewise.
64137         (pow_test_downward): Likewise.
64138         (pow_test_upward): Likewise.
64139         (remainder_test): Likewise.
64140         (remainder_test_tonearest): Likewise.
64141         (remainder_test_towardzero): Likewise.
64142         (remainder_test_downward): Likewise.
64143         (remainder_test_upward): Likewise.
64144         (remquo_test): Likewise.
64145         (rint_test): Likewise.
64146         (rint_test_tonearest): Likewise.
64147         (rint_test_towardzero): Likewise.
64148         (rint_test_downward): Likewise.
64149         (rint_test_upward): Likewise.
64150         (round_test): Likewise.
64151         (scalb_test): Likewise.
64152         (scalbn_test): Likewise.
64153         (scalbln_test): Likewise.
64154         (signbit_test): Likewise.
64155         (sin_test): Likewise.
64156         (sin_test_tonearest): Likewise.
64157         (sin_test_towardzero): Likewise.
64158         (sin_test_downward): Likewise.
64159         (sin_test_upward): Likewise.
64160         (sincos_test): Likewise.
64161         (sinh_test): Likewise.
64162         (sinh_test_tonearest): Likewise.
64163         (sinh_test_towardzero): Likewise.
64164         (sinh_test_downward): Likewise.
64165         (sinh_test_upward): Likewise.
64166         (sqrt_test): Likewise.
64167         (tan_test): Likewise.
64168         (tan_test_tonearest): Likewise.
64169         (tan_test_towardzero): Likewise.
64170         (tan_test_downward): Likewise.
64171         (tan_test_upward): Likewise.
64172         (tanh_test): Likewise.
64173         (tgamma_test): Likewise.
64174         (trunc_test): Likewise.
64175         (y0_test): Likewise.
64176         (y1_test): Likewise.
64177         (yn_test): Likewise.
64178         (significand_test): Likewise.
64180 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64182         [BZ #15381]
64183         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64185 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64187         [BZ #14894]
64188         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64189         __ppc_mdoio and __ppc_mdoom.
64190         * manual/platform.texi: Document new functions __ppc_yield,
64191         __ppc_mdoio and __ppc_mdoom.
64193 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64195         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64196         (main): Mention "tls" pseudo-hwcap is legacy.
64197         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64199 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64201         * math/gen-libm-test.pl (parse_args): Output only string of
64202         arguments as text for test name, not full call or descriptions of
64203         tests for extra outputs.
64204         (generate_testfile): Do not pass function name to parse_args.
64205         Generate this_func variable from START.
64206         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64207         field to arg_str.
64208         (struct test_ff_f_data): Likewise.
64209         (test_ff_f_data_nexttoward): Likewise.
64210         (struct test_fi_f_data): Likewise.
64211         (struct test_fl_f_data): Likewise.
64212         (struct test_if_f_data): Likewise.
64213         (struct test_fff_f_data): Likewise.
64214         (struct test_c_f_data): Likewise.
64215         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64216         (struct test_fF_f1_data): Likewise.
64217         (struct test_ffI_f1_data): Likewise.
64218         (struct test_c_c_data): Rename test_name field to arg_str.
64219         (struct test_cc_c_data): Likewise.
64220         (struct test_f_i_data): Likewise.
64221         (struct test_ff_i_data): Likewise.
64222         (struct test_f_l_data): Likewise.
64223         (struct test_f_L_data): Likewise.
64224         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64225         and extra2_name.
64226         (COMMON_TEST_SETUP): New macro.
64227         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64228         (COMMON_TEST_CLEANUP): Likewise.
64229         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64230         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64231         macros.
64232         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64233         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64234         macros.
64235         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64236         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64237         cleanup macros.
64238         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64239         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64240         macros.
64241         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64242         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64243         macros.
64244         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64245         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64246         cleanup macros.
64247         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64248         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64249         cleanup macros.
64250         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64251         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64252         cleanup macros.
64253         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64254         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64255         macros.
64256         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64257         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64258         macros.
64259         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64260         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64261         macros.
64262         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64263         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64264         cleanup macros.
64265         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64266         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64267         cleanup macros.
64268         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64269         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64270         macros.
64271         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64272         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64273         cleanup macros.
64274         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64275         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64276         macros.
64277         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64278         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64279         macros.
64280         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64281         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64282         cleanup macros.
64283         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64285 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64287         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64288         to _sifields.sigfault.
64289         (si_addr_lsb): Define new macro.
64290         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64291         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64294 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64296         [BZ #15441]
64297         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64298         returns -1.
64299         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64300         null return -1.
64301         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64302         loading the domain.
64304 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64306         * math/gen-libm-test.pl (parse_args): Do not include expected
64307         result in test name.
64308         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64310         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64311         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64312         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64315 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64317         * benchtests/Makefile: Sort function entries.
64319         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64320         tanh, asinh, acosh, atanh.
64321         * benchtests/acos-inputs: New file.
64322         * benchtests/acosh-inputs: New file.
64323         * benchtests/asin-inputs: New file.
64324         * benchtests/asinh-inputs: New file.
64325         * benchtests/atanh-inputs: New file.
64326         * benchtests/cosh-inputs: New file.
64327         * benchtests/log-inputs: New file.
64328         * benchtests/sinh-inputs: New file.
64329         * benchtests/tanh-inputs: New file.
64331 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
64333         [BZ #15339]
64334         * posix/tst-getaddrinfo4.c: New test.
64335         * posix/Makefile (tests): Add it.
64337 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64339         [BZ #15339]
64340         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
64341         when no services were used.
64342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
64343         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
64345 2013-05-21  Andreas Schwab  <schwab@suse.de>
64347         [BZ #15014]
64348         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
64349         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
64350         successful.
64351         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
64352         redundant variable declarations and reallocation of buffer when
64353         parsing as IPv6 address.  Always set NSS status when called from
64354         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
64355         buffer too small.  Correct computation of needed size.
64356         * nss/Makefile (tests): Add test-digits-dots.
64357         * nss/test-digits-dots.c: New test.
64359 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64361         * benchtests/Makefile: Remove instructions for adding
64362         benchmark tests.
64363         * benchtests/README: New file to explain how to execute and
64364         enhance the benchmark tests.
64366 2013-05-21  Andreas Schwab  <schwab@suse.de>
64368         [BZ #15493]
64369         * setjmp/Makefile (tests): Add tst-sigsetjmp.
64370         * setjmp/tst-sigsetjmp.c: New test.
64372 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64374         * sysdeps/x86_64/memset.S (memset): New implementation.
64375         (__bzero): Likewise.
64376         (__memset_tail): New function.
64378 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
64380         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
64381         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
64382         __memcpy_sse2_unaligned ifunc selection.
64383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64384         Add memcpy-sse2-unaligned.S.
64385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64386         Add: __memcpy_sse2_unaligned.
64388 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
64390         [BZ #15490]
64391         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64392         math_force_eval before restoring floating-point envrionment.
64393         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
64394         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
64395         Likewise.
64396         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
64397         <math_private.h>.
64398         (__nearbyintl): Use math_force_eval before restoring
64399         floating-point environment.
64400         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
64402         * math/gen-libm-test.pl (special_functions): Remove.
64403         (parse_args): Don't handle TEST_extra.  Handle functions with no
64404         return value.
64405         * math/libm-test.inc (struct test_sincos_data): Replace with
64406         struct test_fFF_11_data.
64407         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
64408         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
64409         (sincos_test_data): Change element type to struct
64410         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
64411         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
64412         RUN_TEST_LOOP_sincos.
64413         * math/README.libm-test: Don't mention special handling of
64414         individual functions.
64415         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
64416         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64417         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64418         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64419         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64422         * math/gen-libm-test.pl (get_variable): Remove function.
64423         (parse_args): Don't show pointer parameters to call in test
64424         names.  Use "extra output N" in test names for extra outputs
64425         rather than naming variables.
64427 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
64429         [BZ #15488]
64430         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
64431         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
64432         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
64433         double tests.
64434         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
64435         disable.
64436         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
64437         check_long_double.
64439         * math/gen-libm-test.pl (@tests): Remove variable.
64440         ($count): Likewise.
64441         (new_test): Remove function.
64442         (show_exceptions): New function.
64443         (special_functions): Use show_exceptions instead of new_test.
64444         (parse_args): Likewise.
64445         (generate_testfile): Pass only function name in generated call to
64446         print_max_error or print_complex_max_error.
64447         (get_ulps): Do not handle complex tests specially.
64448         (output_test): Rename to ...
64449         (get_all_ulps_for_test): ... this.  Return a string rather than
64450         printing to a file.  Require ulps to be present.
64451         (output_ulps): Generate arrays rather than #defines.
64452         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
64453         (struct ulp_data): New type.
64454         (BUILD_COMPLEX_ULP): Remove macro.
64455         (compare_ulp_data): New function.
64456         (find_ulps): Likewise.
64457         (find_test_ulps): Likewise.
64458         (find_function_ulps): Likewise.
64459         (find_complex_function_ulps): Likewise.
64460         (print_max_error): Determine allowed ulps using
64461         find_function_ulps.
64462         (print_complex_max_error): Determine allowed ulps using
64463         find_complex_function_ulps.
64464         (check_float_internal): Determine max ulps using find_test_ulps.
64465         (check_float): Do not take max_ulp parameter.  Update call to
64466         check_float_internal.
64467         (check_complex): Likewise.
64468         (check_int): Do not take max_ulp parameter.
64469         (check_long): Likewise.
64470         (check_bool): Likewise.
64471         (check_longlong): Likewise.
64472         (struct test_f_f_data): Remove max_ulp field.
64473         (struct test_ff_f_data): Likewise.
64474         (struct test_ff_f_data_nexttoward): Likewise.
64475         (struct test_fi_f_data): Likewise.
64476         (struct test_fl_f_data): Likewise.
64477         (struct test_if_f_data): Likewise.
64478         (struct test_fff_f_data): Likewise.
64479         (struct test_c_f_data): Likewise.
64480         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
64481         (struct test_fF_f1_data): Likewise.
64482         (struct test_ffI_f1_data): Likewise.
64483         (struct test_c_c_data): Remove max_ulp field.
64484         (struct test_cc_c_data): Likewise.
64485         (struct test_f_i_data): Likewise.
64486         (struct test_ff_i_data): Likewise.
64487         (struct test_f_l_data): Likewise.
64488         (struct test_f_L_data): Likewise.
64489         (struct test_sincos_data): Likewise.
64490         (RUN_TEST_f_f): Do not handle ulps.
64491         (RUN_TEST_LOOP_f_f): Likewise.
64492         (RUN_TEST_2_f): Likewise.
64493         (RUN_TEST_LOOP_2_f): Likewise.
64494         (RUN_TEST_fff_f): Likewise.
64495         (RUN_TEST_LOOP_fff_f): Likewise.
64496         (RUN_TEST_c_f): Likewise.
64497         (RUN_TEST_LOOP_c_f): Likewise.
64498         (RUN_TEST_f_f1): Likewise.
64499         (RUN_TEST_LOOP_f_f1): Likewise.
64500         (RUN_TEST_fF_f1): Likewise.
64501         (RUN_TEST_LOOP_fF_f1): Likewise.
64502         (RUN_TEST_fI_f1): Likewise.
64503         (RUN_TEST_LOOP_fI_f1): Likewise.
64504         (RUN_TEST_ffI_f1): Likewise.
64505         (RUN_TEST_LOOP_ffI_f1): Likewise.
64506         (RUN_TEST_c_c): Likewise.
64507         (RUN_TEST_LOOP_c_c): Likewise.
64508         (RUN_TEST_cc_c): Likewise.
64509         (RUN_TEST_LOOP_cc_c): Likewise.
64510         (RUN_TEST_f_i): Likewise.
64511         (RUN_TEST_LOOP_f_i): Likewise.
64512         (RUN_TEST_f_i_tg): Likewise.
64513         (RUN_TEST_LOOP_f_i_tg): Likewise.
64514         (RUN_TEST_ff_i_tg): Likewise.
64515         (RUN_TEST_LOOP_ff_i_tg): Likewise.
64516         (RUN_TEST_f_b): Likewise.
64517         (RUN_TEST_LOOP_f_b): Likewise.
64518         (RUN_TEST_f_b_tg): Likewise.
64519         (RUN_TEST_LOOP_f_b_tg): Likewise.
64520         (RUN_TEST_f_l): Likewise.
64521         (RUN_TEST_LOOP_f_l): Likewise.
64522         (RUN_TEST_f_L): Likewise.
64523         (RUN_TEST_LOOP_f_L): Likewise.
64524         (RUN_TEST_sincos): Likewise.
64525         (RUN_TEST_LOOP_sincos): Likewise.
64527 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
64529         [BZ #15480]
64530         [BZ #15485]
64531         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
64532         main case of finite arguments, set rounding mode to FE_TONEAREST
64533         and discard exceptions.
64534         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
64535         exceptions.
64536         (remainder_tonearest_test_data): New variable.
64537         (remainder_test_tonearest): New function.
64538         (remainder_towardzero_test_data): New variable.
64539         (remainder_test_towardzero): New function.
64540         (remainder_downward_test_data): New variable.
64541         (remainder_test_downward): New function.
64542         (remainder_upward_test_data): New variable.
64543         (remainder_test_upward): New function.
64544         (main): Call the new test functions.
64546         * math/libm-test.inc (struct test_f_f1_data): Remove field
64547         extra_init.
64548         (struct test_fF_f1_data): Likewise.
64549         (struct test_ffI_f1_data): Likewise.
64550         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
64551         based on value of EXTRA_EXPECTED.
64552         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64553         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
64554         EXTRA_VAR based on value of EXTRA_EXPECTED.
64555         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64556         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
64557         EXTRA_VAR based on value of EXTRA_EXPECTED.
64558         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64559         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
64560         EXTRA_VAR based on value of EXTRA_EXPECTED.
64561         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64562         * math/gen-libm-test.pl (parse_args): Don't output initializers
64563         for extra output values.
64565         * math/libm-test.inc (check_int): Expect result to be exactly
64566         equal to expected value and do not handle ulps.
64567         (check_long): Likewise.
64568         (check_longlong): Likewise.
64570         * math/libm-test.inc (ceil_test_data): Test for "inexact"
64571         exceptions.
64572         (cimag_test_data): Likewise.
64573         (conj_test_data): Likewise.
64574         (copysign_test_data): Likewise.
64575         (cproj_test_data): Likewise.
64576         (creal_test_data): Likewise.
64577         (fabs_test_data): Likewise.
64578         (fdim_test_data): Likewise.
64579         (finite_test_data): Likewise.
64580         (floor_test_data): Likewise.
64581         (fmax_test_data): Likewise.
64582         (fmin_test_data): Likewise.
64583         (fmod_test_data): Likewise.
64584         (fpclassify_test_data): Likewise.
64585         (frexp_test_data): Likewise.
64586         (ilogb_test_data): Likewise.
64587         (isfinite_test_data): Likewise.
64588         (isgreater_test_data): Likewise.
64589         (isgreaterequal_test_data): Likewise.
64590         (isinf_test_data): Likewise.
64591         (isless_test_data): Likewise.
64592         (islessequal_test_data): Likewise.
64593         (islessgreater_test_data): Likewise.
64594         (isnan_test_data): Likewise.
64595         (isnormal_test_data): Likewise.
64596         (issignaling_test_data): Likewise.
64597         (isunordered_test_data): Likewise.
64598         (ldexp_test_data): Likewise.
64599         (lrint_test_data): Likewise.
64600         (lrint_test_data) [TEST_FLOAT]: Disable one test.
64601         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
64602         (lrint_tonearest_test_data): Test for "inexact" exceptions.
64603         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64604         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
64605         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64606         test input.
64607         (lrint_towardzero_test_data): Test for "inexact" exceptions.
64608         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64609         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
64610         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
64611         that test input.
64612         (lrint_downward_test_data): Test for "inexact" exceptions.
64613         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64614         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
64615         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
64616         test input.
64617         (lrint_upward_test_data): Test for "inexact" exceptions.
64618         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
64619         test input.
64620         (llrint_test_data): Test for "inexact" exceptions.
64621         (llrint_test_data) [TEST_FLOAT]: Disable one test.
64622         (llrint_tonearest_test_data): Test for "inexact" exceptions.
64623         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
64624         (llrint_towardzero_test_data): Test for "inexact" exceptions.
64625         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
64626         (llrint_downward_test_data): Test for "inexact" exceptions.
64627         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
64628         (llrint_upward_test_data): Test for "inexact" exceptions.
64629         (logb_test_data): Likewise.
64630         (logb_downward_test_data): Likewise.
64631         (nextafter_test_data): Likewise.
64632         (nexttoward_test_data): Likewise.
64633         (remainder_test_data): Likewise.
64634         (remquo_test_data): Likewise.
64635         (scalbn_test_data): Likewise.
64636         (scalbln_test_data): Likewise.
64637         (signbit_test_data): Likewise.
64638         (sqrt_test_data): Likewise.
64639         (significand_test_data): Likewise.
64641 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64643         [BZ #15424]
64644         * benchtests/bench-modf.c (struct args): Mark arg0 as
64645         volatile.
64646         * scripts/bench.pl: Mark members of struct args as volatile.
64648 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64650         [BZ # 15497]
64651         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
64652         negative infinity on POWER6 or lower.
64653         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
64655 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
64657         [BZ #15442]
64658         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
64659         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
64660         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
64661         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
64662         (_FP_SETQNAN): New macro.
64663         (_FP_SETQNAN_SEMIRAW): Likewise.
64664         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
64665         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
64666         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
64667         (FP_EXTEND): Use _FP_FRAC_SNANP.
64668         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
64669         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
64670         into account.
64671         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64672         New macro.
64673         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
64674         Likewise.
64676 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64678         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
64679         with DIVIDE_BY_ZERO_EXCEPTION.
64680         (gamma_test_data): Likewise.
64681         (lgamma_test_data): Likewise.
64682         (log_test_data): Likewise.
64683         (log10_test_data): Likewise.
64684         (log2_test_data): Likewise.
64685         (tgamma_test_data): Likewise.
64687         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
64688         (acos_test_tonearest): Likewise.
64689         (acos_test_towardzero): Likewise.
64690         (acos_test_downward): Likewise.
64691         (acos_test_upward): Likewise.
64692         (acosh_test): Likewise.
64693         (asin_test): Likewise.
64694         (asin_test_tonearest): Likewise.
64695         (asin_test_towardzero): Likewise.
64696         (asin_test_downward): Likewise.
64697         (asin_test_upward): Likewise.
64698         (asinh_test): Likewise.
64699         (atan_test): Likewise.
64700         (atanh_test): Likewise.
64701         (atan2_test): Likewise.
64702         (cabs_test): Likewise.
64703         (cacos_test): Likewise.
64704         (cacosh_test): Likewise.
64705         (casin_test): Likewise.
64706         (casinh_test): Likewise.
64707         (catan_test): Likewise.
64708         (catanh_test): Likewise.
64709         (cbrt_test): Likewise.
64710         (ccos_test): Likewise.
64711         (ccosh_test): Likewise.
64712         (cexp_test): Likewise.
64713         (clog_test): Likewise.
64714         (clog10_test): Likewise.
64715         (cos_test): Likewise.
64716         (cos_test_tonearest): Likewise.
64717         (cos_test_towardzero): Likewise.
64718         (cos_test_downward): Likewise.
64719         (cos_test_upward): Likewise.
64720         (cosh_test): Likewise.
64721         (cosh_test_tonearest): Likewise.
64722         (cosh_test_towardzero): Likewise.
64723         (cosh_test_downward): Likewise.
64724         (cosh_test_upward): Likewise.
64725         (cpow_test): Likewise.
64726         (csin_test): Likewise.
64727         (csinh_test): Likewise.
64728         (csqrt_test): Likewise.
64729         (ctan_test): Likewise.
64730         (ctan_test_tonearest): Likewise.
64731         (ctan_test_towardzero): Likewise.
64732         (ctan_test_downward): Likewise.
64733         (ctan_test_upward): Likewise.
64734         (ctanh_test): Likewise.
64735         (ctanh_test_tonearest): Likewise.
64736         (ctanh_test_towardzero): Likewise.
64737         (ctanh_test_downward): Likewise.
64738         (ctanh_test_upward): Likewise.
64739         (erf_test): Likewise.
64740         (erfc_test): Likewise.
64741         (exp_test): Likewise.
64742         (exp_test_tonearest): Likewise.
64743         (exp_test_towardzero): Likewise.
64744         (exp_test_downward): Likewise.
64745         (exp_test_upward): Likewise.
64746         (exp10_test): Likewise.
64747         (exp2_test): Likewise.
64748         (expm1_test): Likewise.
64749         (fmod_test): Likewise.
64750         (gamma_test): Likewise.
64751         (hypot_test): Likewise.
64752         (j0_test): Likewise.
64753         (j1_test): Likewise.
64754         (jn_test): Likewise.
64755         (lgamma_test): Likewise.
64756         (log_test): Likewise.
64757         (log10_test): Likewise.
64758         (log1p_test): Likewise.
64759         (log2_test): Likewise.
64760         (logb_test_downward): Likewise.
64761         (pow_test): Likewise.
64762         (pow_test_tonearest): Likewise.
64763         (pow_test_towardzero): Likewise.
64764         (pow_test_downward): Likewise.
64765         (pow_test_upward): Likewise.
64766         (remainder_test): Likewise.
64767         (remquo_test): Likewise.
64768         (sin_test): Likewise.
64769         (sin_test_tonearest): Likewise.
64770         (sin_test_towardzero): Likewise.
64771         (sin_test_downward): Likewise.
64772         (sin_test_upward): Likewise.
64773         (sincos_test): Likewise.
64774         (sinh_test): Likewise.
64775         (sinh_test_tonearest): Likewise.
64776         (sinh_test_towardzero): Likewise.
64777         (sinh_test_downward): Likewise.
64778         (sinh_test_upward): Likewise.
64779         (sqrt_test): Likewise.
64780         (tan_test): Likewise.
64781         (tan_test_tonearest): Likewise.
64782         (tan_test_towardzero): Likewise.
64783         (tan_test_downward): Likewise.
64784         (tan_test_upward): Likewise.
64785         (tanh_test): Likewise.
64786         (tgamma_test): Likewise.
64787         (y0_test): Likewise.
64788         (y1_test): Likewise.
64789         (yn_test): Likewise.
64791         * math/gen-libm-test.pl (adjust_arg): Remove function.
64792         (special_function): Remove argument $in_func.  Only handle
64793         generating output for tables of tests, not inside functions.
64794         (parse_args): Likewise.
64795         (generate_testfile): Remove variable $in_func.  Update call to
64796         parse_args.
64797         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64798         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64799         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64800         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64801         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64802         (MAX_VALUE_INIT): Rename macro to max_value.
64803         (MIN_VALUE_INIT): Rename macro to min_value.
64804         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64805         (plus_zero): Remove variable.
64806         (minus_zero): Likewise.
64807         (plus_infty): Likewise.
64808         (minus_infty): Likewise.
64809         (qnan_value): Likewise.
64810         (max_value): Likewise.
64811         (min_value): Likewise.
64812         (min_subnorm_value): Likewise.
64814 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64816         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64817         uint64_t or uint32_t usage.
64818         * crypt/sha256-block.c: Likewise.
64819         * crypt/sha256-crypt.c: Likewise.
64820         * crypt/sha256.c: Likewise.
64821         * crypt/sha512-block.c: Likewise.
64822         * crypt/sha512-crypt.c: Likewise.
64823         * crypt/sha512.c: Likewise.
64824         * debug/backtrace-tst.c: Likewise.
64825         * debug/pcprofiledump.c: Likewise.
64826         * elf/cache.c: Likewise.
64827         * elf/dl-cache.c: Likewise.
64828         * elf/dl-misc.c: Likewise.
64829         * elf/dl-profile.c: Likewise.
64830         * elf/dl-support.c: Likewise.
64831         * elf/ldconfig.c: Likewise.
64832         * elf/sprof.c: Likewise.
64833         * iconv/dummy-repertoire.c: Likewise.
64834         * iconv/iconv_charmap.c: Likewise.
64835         * iconv/skeleton.c: Likewise.
64836         * iconvdata/8bit-generic.c: Likewise.
64837         * iconvdata/cp737.h: Likewise.
64838         * iconvdata/cp775.h: Likewise.
64839         * iconvdata/ibm1008.h: Likewise.
64840         * iconvdata/ibm1025.h: Likewise.
64841         * iconvdata/ibm1046.h: Likewise.
64842         * iconvdata/ibm1097.h: Likewise.
64843         * iconvdata/ibm1112.h: Likewise.
64844         * iconvdata/ibm1122.h: Likewise.
64845         * iconvdata/ibm1123.h: Likewise.
64846         * iconvdata/ibm1124.h: Likewise.
64847         * iconvdata/ibm1129.h: Likewise.
64848         * iconvdata/ibm1130.h: Likewise.
64849         * iconvdata/ibm1132.h: Likewise.
64850         * iconvdata/ibm1133.h: Likewise.
64851         * iconvdata/ibm1137.h: Likewise.
64852         * iconvdata/ibm1140.h: Likewise.
64853         * iconvdata/ibm1141.h: Likewise.
64854         * iconvdata/ibm1142.h: Likewise.
64855         * iconvdata/ibm1143.h: Likewise.
64856         * iconvdata/ibm1144.h: Likewise.
64857         * iconvdata/ibm1145.h: Likewise.
64858         * iconvdata/ibm1146.h: Likewise.
64859         * iconvdata/ibm1147.h: Likewise.
64860         * iconvdata/ibm1148.h: Likewise.
64861         * iconvdata/ibm1149.h: Likewise.
64862         * iconvdata/ibm1153.h: Likewise.
64863         * iconvdata/ibm1154.h: Likewise.
64864         * iconvdata/ibm1155.h: Likewise.
64865         * iconvdata/ibm1156.h: Likewise.
64866         * iconvdata/ibm1157.h: Likewise.
64867         * iconvdata/ibm1158.h: Likewise.
64868         * iconvdata/ibm1160.h: Likewise.
64869         * iconvdata/ibm1161.h: Likewise.
64870         * iconvdata/ibm1162.h: Likewise.
64871         * iconvdata/ibm1163.h: Likewise.
64872         * iconvdata/ibm1164.h: Likewise.
64873         * iconvdata/ibm1166.h: Likewise.
64874         * iconvdata/ibm1167.h: Likewise.
64875         * iconvdata/ibm12712.h: Likewise.
64876         * iconvdata/ibm1390.h: Likewise.
64877         * iconvdata/ibm1399.h: Likewise.
64878         * iconvdata/ibm16804.h: Likewise.
64879         * iconvdata/ibm4517.h: Likewise.
64880         * iconvdata/ibm4899.h: Likewise.
64881         * iconvdata/ibm4909.h: Likewise.
64882         * iconvdata/ibm4971.h: Likewise.
64883         * iconvdata/ibm5347.h: Likewise.
64884         * iconvdata/ibm803.h: Likewise.
64885         * iconvdata/ibm856.h: Likewise.
64886         * iconvdata/ibm901.h: Likewise.
64887         * iconvdata/ibm902.h: Likewise.
64888         * iconvdata/ibm9030.h: Likewise.
64889         * iconvdata/ibm9066.h: Likewise.
64890         * iconvdata/ibm921.h: Likewise.
64891         * iconvdata/ibm922.h: Likewise.
64892         * iconvdata/ibm9448.h: Likewise.
64893         * iconvdata/isiri-3342.h: Likewise.
64894         * iconvdata/jis0201.h: Likewise.
64895         * include/link.h: Likewise.
64896         * include/netdb.h: Likewise.
64897         * inet/check_native.c: Likewise.
64898         * inet/check_pf.c: Likewise.
64899         * inet/getipv4sourcefilter.c: Likewise.
64900         * inet/getnameinfo.c: Likewise.
64901         * inet/getsourcefilter.c: Likewise.
64902         * inet/htonl.c: Likewise.
64903         * inet/setipv4sourcefilter.c: Likewise.
64904         * inet/setsourcefilter.c: Likewise.
64905         * inet/test-inet6_opt.c: Likewise.
64906         * inet/tst-network.c: Likewise.
64907         * locale/C-collate.c: Likewise.
64908         * locale/C-ctype.c: Likewise.
64909         * locale/C-time.c: Likewise.
64910         * locale/C-translit.h: Likewise.
64911         * locale/loadarchive.c: Likewise.
64912         * locale/programs/3level.h: Likewise.
64913         * locale/programs/charmap.c: Likewise.
64914         * locale/programs/charmap.h: Likewise.
64915         * locale/programs/ld-address.c: Likewise.
64916         * locale/programs/ld-collate.c: Likewise.
64917         * locale/programs/ld-ctype.c: Likewise.
64918         * locale/programs/ld-identification.c: Likewise.
64919         * locale/programs/ld-measurement.c: Likewise.
64920         * locale/programs/ld-messages.c: Likewise.
64921         * locale/programs/ld-monetary.c: Likewise.
64922         * locale/programs/ld-name.c: Likewise.
64923         * locale/programs/ld-numeric.c: Likewise.
64924         * locale/programs/ld-paper.c: Likewise.
64925         * locale/programs/ld-telephone.c: Likewise.
64926         * locale/programs/ld-time.c: Likewise.
64927         * locale/programs/linereader.c: Likewise.
64928         * locale/programs/locale.c: Likewise.
64929         * locale/programs/locarchive.c: Likewise.
64930         * locale/programs/locfile.h: Likewise.
64931         * locale/programs/repertoire.c: Likewise.
64932         * locale/programs/simple-hash.c: Likewise.
64933         * locale/programs/simple-hash.h: Likewise.
64934         * malloc/memusage.c: Likewise.
64935         * malloc/memusagestat.c: Likewise.
64936         * nis/nis_defaults.c: Likewise.
64937         * nis/nis_hash.c: Likewise.
64938         * nis/nis_print.c: Likewise.
64939         * nis/nis_xdr.c: Likewise.
64940         * nscd/connections.c: Likewise.
64941         * nscd/hstcache.c: Likewise.
64942         * nscd/nscd_gethst_r.c: Likewise.
64943         * nscd/nscd_getserv_r.c: Likewise.
64944         * nscd/nscd_helper.c: Likewise.
64945         * nscd/servicescache.c: Likewise.
64946         * nss/makedb.c: Likewise.
64947         * nss/nss_db/db-XXX.c: Likewise.
64948         * nss/nss_db/db-initgroups.c: Likewise.
64949         * nss/nss_db/db-netgrp.c: Likewise.
64950         * nss/nss_files/files-network.c: Likewise.
64951         * nss/nss_files/files-parse.c: Likewise.
64952         * posix/bug-regex5.c: Likewise.
64953         * posix/fnmatch_loop.c: Likewise.
64954         * posix/regcomp.c: Likewise.
64955         * posix/regexec.c: Likewise.
64956         * posix/tst-rfc3484-2.c: Likewise.
64957         * posix/tst-rfc3484-3.c: Likewise.
64958         * posix/tst-rfc3484.c: Likewise.
64959         * resolv/nss_dns/dns-canon.c: Likewise.
64960         * resolv/nss_dns/dns-network.c: Likewise.
64961         * resolv/res_init.c: Likewise.
64962         * resolv/res_mkquery.c: Likewise.
64963         * resolv/tst-aton.c: Likewise.
64964         * stdlib/cxa_atexit.c: Likewise.
64965         * stdlib/cxa_finalize.c: Likewise.
64966         * stdlib/gen-fpioconst.c: Likewise.
64967         * stdlib/strtol_l.c: Likewise.
64968         * string/tst-endian.c: Likewise.
64969         * sunrpc/auth_des.c: Likewise.
64970         * sunrpc/clnt_udp.c: Likewise.
64971         * sunrpc/rtime.c: Likewise.
64972         * sunrpc/svcauth_des.c: Likewise.
64973         * sunrpc/xdr.c: Likewise.
64974         * sunrpc/xdr_intXX_t.c: Likewise.
64975         * sunrpc/xdr_rec.c: Likewise.
64976         * sysdeps/generic/ldconfig.h: Likewise.
64977         * sysdeps/generic/ldsodefs.h: Likewise.
64978         * sysdeps/generic/memusage.h: Likewise.
64979         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64980         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64981         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64982         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64984         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64985         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64986         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64987         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64989         * sysdeps/posix/getaddrinfo.c: Likewise.
64990         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64991         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64992         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64993         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64994         * sysdeps/powerpc/test-gettimebase.c: Likewise.
64995         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64996         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64997         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64998         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64999         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65000         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65001         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65002         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65003         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65004         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65005         * sysdeps/x86_64/dl-tls.h: Likewise.
65006         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65007         * time/alt_digit.c: Likewise.
65008         * time/era.c: Likewise.
65009         * wcsmbs/tst-c16c32-1.c: Likewise.
65011 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65013         * math/libm-test.inc (struct test_sincos_data): New type.
65014         (RUN_TEST_LOOP_sincos): New macro.
65015         (sincos_test_data): New variable.
65016         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65018 2013-05-16  Richard Henderson  <rth@redhat.com>
65020         * math/atest-exp2.c (LIMB64): New macro.
65021         (CONSTSZ): New macro.
65022         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65023         (hexdig): Move ...
65024         (print_mpn_fp): ... to function scope.
65025         (read_mpn_hex): Remove.
65026         (get_log2): Remove.
65027         (exp2_mpn): Use mp_log2.
65028         (main): Use mp_exp1.
65030 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65032         * math/libm-test.inc: Remove comment about not testing "inexact"
65033         exceptions.
65034         (INEXACT_EXCEPTION): New macro.
65035         (NO_INEXACT_EXCEPTION): Likewise.
65036         (INVALID_EXCEPTION_OK): Update value.
65037         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65038         (OVERFLOW_EXCEPTION_OK): Likewise.
65039         (UNDERFLOW_EXCEPTION_OK): Likewise.
65040         (IGNORE_ZERO_INF_SIGN): Likewise.
65041         (ERRNO_UNCHANGED): Likewise.
65042         (ERRNO_EDOM): Likewise.
65043         (ERRNO_ERANGE): Likewise.
65044         (test_exceptions): Handle testing "inexact" exceptions.
65045         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65046         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65047         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65048         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65049         INEXACT_EXCEPTION.
65050         (rint_towardzero_test_data): Likewise.
65051         (rint_downward_test_data): Likewise.
65052         (rint_upward_test_data): Likewise.
65054         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65055         with OVERFLOW_EXCEPTION.
65056         (exp10_test_data): Likewise.
65057         (exp2_test_data): Likewise.
65058         (expm1_test_data): Likewise.
65059         (lgamma_test_data): Likewise.
65060         (pow_test_data): Likewise.
65061         (tgamma_test_data): Likewise.
65062         (yn_test_data): Remove duplicate test of overflow.
65064         * math/libm-test.inc (struct test_cc_c_data): New type.
65065         (RUN_TEST_LOOP_cc_c): New macro.
65066         (cpow_test_data): New variable.
65067         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65069         * math/libm-test.inc (struct test_f_L_data): New type.
65070         (RUN_TEST_LOOP_f_L): New macro.
65071         (llrint_test_data): New variable.
65072         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65073         (llrint_tonearest_test_data): New variable.
65074         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65075         (llrint_towardzero_test_data): New variable.
65076         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65077         (llrint_downward_test_data): New variable.
65078         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65079         (llrint_upward_test_data): New variable.
65080         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65081         (llround_test_data): New variable.
65082         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65084 2013-05-13  Peter Collingbourne  <pcc@google.com>
65086         * math/atest-exp2.c (get_log2): Remove const attribute.
65088 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65090         * math/libm-test.inc (struct test_f_l_data): New type.
65091         (RUN_TEST_LOOP_f_l): New macro.
65092         (lrint_test_data): New variable.
65093         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65094         (lrint_tonearest_test_data): New variable.
65095         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65096         (lrint_towardzero_test_data): New variable.
65097         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65098         (lrint_downward_test_data): New variable.
65099         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65100         (lrint_upward_test_data): New variable.
65101         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65102         (lround_test_data): New variable.
65103         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65105 2013-05-15  Peter Collingbourne  <pcc@google.com>
65107         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65108         (EXTRACT_WORDS64) Use where appropriate.
65109         (INSERT_WORDS64) Likewise.
65111         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65112         constraints with x constraints.
65113         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65115         * malloc/obstack.c (_obstack_compat): Add initializer.
65117 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65119         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65120         si_trapno and add si_addr_lsb to _sifields.sigfault.
65121         (si_trapno): Remove macro.
65122         (si_addr_lsb): Define new macro.
65123         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65125 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65127         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65128         instead of TEST_f_l.
65129         (llrint_test_tonearest): Likewise.
65130         (llrint_test_towardzero): Likewise.
65131         (llrint_test_downward): Likewise.
65132         (llrint_test_upward): Likewise.
65133         (llround_test): Likewise.
65135         * math/libm-test.inc (struct test_f_i_data): Add comment.
65136         (RUN_TEST_LOOP_f_b): New macro.
65137         (RUN_TEST_LOOP_f_b_tg): Likewise.
65138         (finite_test_data): New variable.
65139         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65140         (isfinite_test_data): New variable.
65141         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65142         (isinf_test_data): New variable.
65143         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65144         (isnan_test_data): New variable.
65145         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65146         (isnormal_test_data): New variable.
65147         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65148         (issignaling_test_data): New variable.
65149         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65150         (signbit_test_data): New variable.
65151         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65153         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65154         with INVALID_EXCEPTION.
65155         (acosh_test_data): Likewise.
65156         (asin_test_data): Likewise.
65157         (atanh_test_data): Likewise.
65158         (fmod_test_data): Likewise.
65159         (log_test_data): Likewise.
65160         (log10_test_data): Likewise.
65161         (log2_test_data): Likewise.
65162         (pow_test_data): Likewise.
65163         (sqrt_test_data): Likewise.
65164         (y0_test_data): Likewise.
65165         (y1_test_data): Likewise.
65166         (yn_test_data): Likewise.
65168         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65169         function contents.
65171         * math/libm-test.inc (struct test_ff_i_data): New type.
65172         (RUN_TEST_LOOP_ff_i_tg): New macro.
65173         (isgreater_test_data): New variable.
65174         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65175         (isgreaterequal_test_data): New variable.
65176         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65177         (isless_test_data): New variable.
65178         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65179         (islessequal_test_data): New variable.
65180         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65181         (islessgreater_test_data): New variable.
65182         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65183         (isunordered_test_data): New variable.
65184         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65186 2013-05-14  David S. Miller  <davem@davemloft.net>
65188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65190 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65192         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65194         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65195         extra_test to int.
65196         (struct test_f_i_data): Change type of max_ulp to int.
65198         * math/libm-test.inc (test_ffI_f1_data): New type.
65199         (RUN_TEST_LOOP_ffI_f1): New macro.
65200         (remquo_test_data): New variable.
65201         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65203         * setjmp/tst-setjmp-fp.c: New file.
65204         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65205         (link-libm): New variable.
65206         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65208         * math/libm-test.inc (struct test_f_i_data): New type.
65209         (RUN_TEST_LOOP_f_i): New macro.
65210         (RUN_TEST_LOOP_f_i_tg): Likewise.
65211         (fpclassify_test_data): New variable.
65212         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65213         (ilogb_test_data): New variable.
65214         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65216         * math/libm-test.inc (scalbln_test): Correct function name in END
65217         call.
65219         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65220         (RUN_TEST_LOOP_fI_f1): New macro.
65221         (frexp_test_data): New variable.
65222         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65224         * math/libm-test.inc (struct test_fF_f1_data): New type.
65225         (RUN_TEST_LOOP_fF_f1): New macro.
65226         (modf_test_data): New variable.
65227         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65229         * math/libm-test.inc (struct test_f_f1_data): New type.
65230         (RUN_TEST_LOOP_f_f1): New macro.
65231         (gamma_test_data): New variable.
65232         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65233         (lgamma_test_data): New variable.
65234         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65236 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65238         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65239         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65240         (main): Comment "tls" pseudo-hwcap.
65242 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65244         * math/libm-test.inc (struct test_fl_f_data): New type.
65245         (RUN_TEST_LOOP_fl_f): New variable.
65246         (scalbln_test_data): New variable.
65247         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65249         * math/libm-test.inc (struct test_fi_f_data): New type.
65250         (RUN_TEST_LOOP_fi_f): New macro.
65251         (ldexp_test_data): New variable.
65252         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65253         (scalbn_test_data): New variable.
65254         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65256         * math/libm-test.inc (struct test_c_f_data): New type.
65257         (RUN_TEST_LOOP_c_f): New macro.
65258         (cabs_test_data): New variable.
65259         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65260         (carg_test_data): New variable.
65261         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65262         (cimag_test_data): New variable.
65263         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65264         (creal_test_data): New variable.
65265         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65267         * math/libm-test.inc (struct test_if_f_data): New type.
65268         (RUN_TEST_LOOP_if_f): New macro.
65269         (jn_test_data): New variable.
65270         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65271         (yn_test_data): New variable.
65272         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65274         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65276 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65278         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65279         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65281 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65283         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65284         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65285         (bench-deps): Add bench-timing.h.
65286         * benchtests-bench-skeleton.c: Include bench-timing.h.
65287         (main): Use TIMING_* macros instead of clock_gettime.
65288         * benchtests/bench-timing.h: New file.
65290         [BZ #14582]
65291         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65292         Renamed from _LIB_VERSION.
65293         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65295 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65297         * math/libm-test.inc (struct test_fff_f_data): New type.
65298         (RUN_TEST_LOOP_fff_f): New macro.
65299         (fma_test_data): New variable.
65300         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65301         (fma_towardzero_test_data): New variable.
65302         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65303         (fma_downward_test_data): New variable.
65304         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65305         (fma_upward_test_data): New variable.
65306         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65308         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65309         (struct test_c_c_data): New type.
65310         (RUN_TEST_LOOP_c_c): New macro.
65311         (cacos_test_data): New variable.
65312         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65313         (cacosh_test_data): New variable.
65314         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65315         (casin_test_data): New variable.
65316         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65317         (casinh_test_data): New variable.
65318         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65319         (catan_test_data): New variable.
65320         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65321         (catanh_test_data): New variable.
65322         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65323         (ccos_test_data): New variable.
65324         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65325         (ccosh_test_data): New variable.
65326         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65327         (cexp_test_data): New variable.
65328         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
65329         (clog_test_data): New variable.
65330         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
65331         (clog10_test_data): New variable.
65332         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
65333         (conj_test_data): New variable.
65334         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
65335         (cproj_test_data): New variable.
65336         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
65337         (csin_test_data): New variable.
65338         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
65339         (csinh_test_data): New variable.
65340         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
65341         (csqrt_test_data): New variable.
65342         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
65343         (ctan_test_data): New variable.
65344         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
65345         (ctan_tonearest_test_data): New variable.
65346         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65347         (ctan_towardzero_test_data): New variable.
65348         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65349         (ctan_downward_test_data): New variable.
65350         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65351         (ctan_upward_test_data): New variable.
65352         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65353         (ctanh_test_data): New variable.
65354         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
65355         (ctanh_tonearest_test_data): New variable.
65356         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
65357         (ctanh_towardzero_test_data): New variable.
65358         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
65359         (ctanh_downward_test_data): New variable.
65360         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
65361         (ctanh_upward_test_data): New variable.
65362         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
65363         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
65364         of BUILD_COMPLEX.
65366         * math/libm-test.inc (struct test_ff_f_data): New type.
65367         (struct test_ff_f_data_nexttoward): Likewise.
65368         (RUN_TEST_LOOP_2_f): New macro.
65369         (RUN_TEST_LOOP_ff_f): Likewise.
65370         (atan2_test_data): New variable.
65371         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
65372         (copysign_test_data): New variable.
65373         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
65374         (fdim_test_data): New variable.
65375         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
65376         (fmax_test_data): New variable.
65377         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
65378         (fmin_test_data): New variable.
65379         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
65380         (fmod_test_data): New variable.
65381         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
65382         (hypot_test_data): New variable.
65383         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
65384         (nextafter_test_data): New variable.
65385         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
65386         (nexttoward_test_data): New variable.
65387         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
65388         (pow_test_data): New variable.
65389         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
65390         (pow_tonearest_test_data): New variable.
65391         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
65392         (pow_towardzero_test_data): New variable.
65393         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
65394         (pow_downward_test_data): New variable.
65395         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
65396         (pow_upward_test_data): New variable.
65397         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
65398         (remainder_test_data): New variable.
65399         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
65400         (scalb_test_data): New variable.
65401         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
65402         * sysdeps/i386/fpu/libm-test-ulps: Update.
65404 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
65406         * math/libm-test.inc (fma_test): Use max_value instead of local
65407         variable fltmax.
65408         (nextafter_test): Likewise.
65410         * math/libm-test.inc (acos_towardzero_test_data): New variable.
65411         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65412         (acos_downward_test_data): New variable.
65413         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65414         (acos_upward_test_data): New variable.
65415         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65416         (acosh_test_data): New variable.
65417         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
65418         (asin_test_data): New variable.
65419         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
65420         (asin_tonearest_test_data): New variable.
65421         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65422         (asin_towardzero_test_data): New variable.
65423         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65424         (asin_downward_test_data): New variable.
65425         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65426         (asin_upward_test_data): New variable.
65427         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65428         (asinh_test_data): New variable.
65429         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
65430         (atan_test_data): New variable.
65431         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
65432         (atanh_test_data): New variable.
65433         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
65434         (cbrt_test_data): New variable.
65435         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
65436         (ceil_test_data): New variable.
65437         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
65438         (cos_test_data): New variable.
65439         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
65440         (cos_tonearest_test_data): New variable.
65441         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65442         (cos_towardzero_test_data): New variable.
65443         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65444         (cos_downward_test_data): New variable.
65445         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65446         (cos_upward_test_data): New variable.
65447         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65448         (cosh_test_data): New variable.
65449         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
65450         (cosh_tonearest_test_data): New variable.
65451         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65452         (cosh_towardzero_test_data): New variable.
65453         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65454         (cosh_downward_test_data): New variable.
65455         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65456         (cosh_upward_test_data): New variable.
65457         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65458         (erf_test_data): New variable.
65459         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
65460         (erfc_test_data): New variable.
65461         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
65462         (exp_test_data): New variable.
65463         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
65464         (exp_tonearest_test_data): New variable.
65465         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65466         (exp_towardzero_test_data): New variable.
65467         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65468         (exp_downward_test_data): New variable.
65469         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65470         (exp_upward_test_data): New variable.
65471         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65472         (exp10_test_data): New variable.
65473         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
65474         (exp2_test_data): New variable.
65475         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
65476         (expm1_test_data): New variable.
65477         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
65478         (fabs_test_data): New variable.
65479         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
65480         (floor_test_data): New variable.
65481         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
65482         (j0_test_data): New variable.
65483         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
65484         (j1_test_data): New variable.
65485         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
65486         (log_test_data): New variable.
65487         (log_test): Run tests with RUN_TEST_LOOP_f_f.
65488         (log10_test_data): New variable.
65489         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
65490         (log1p_test_data): New variable.
65491         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
65492         (log2_test_data): New variable.
65493         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
65494         (logb_test_data): New variable.
65495         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
65496         (logb_downward_test_data): New variable.
65497         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65498         (nearbyint_test_data): New variable.
65499         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
65500         (rint_test_data): New variable.
65501         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
65502         (rint_tonearest_test_data): New variable.
65503         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65504         (rint_towardzero_test_data): New variable.
65505         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65506         (rint_downward_test_data): New variable.
65507         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65508         (rint_upward_test_data): New variable.
65509         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65510         (round_test_data): New variable.
65511         (round_test): Run tests with RUN_TEST_LOOP_f_f.
65512         (sin_test_data): New variable.
65513         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
65514         (sin_tonearest_test_data): New variable.
65515         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65516         (sin_towardzero_test_data): New variable.
65517         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65518         (sin_downward_test_data): New variable.
65519         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65520         (sin_upward_test_data): New variable.
65521         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65522         (sinh_test_data): New variable.
65523         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
65524         (sinh_tonearest_test_data): New variable.
65525         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65526         (sinh_towardzero_test_data): New variable.
65527         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65528         (sinh_downward_test_data): New variable.
65529         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65530         (sinh_upward_test_data): New variable.
65531         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65532         (sqrt_test_data): New variable.
65533         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
65534         (tan_test_data): New variable.
65535         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
65536         (tan_tonearest_test_data): New variable.
65537         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65538         (tan_towardzero_test_data): New variable.
65539         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65540         (tan_downward_test_data): New variable.
65541         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
65542         (tan_upward_test_data): New variable.
65543         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
65544         (tanh_test_data): New variable.
65545         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
65546         (tgamma_test_data): New variable.
65547         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
65548         (trunc_test_data): New variable.
65549         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
65550         (y0_test_data): New variable.
65551         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
65552         (y1_test_data): New variable.
65553         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
65554         (significand_test_data): New variable.
65555         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
65557 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
65559         [BZ #12387]
65560         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
65562 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65564         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
65566 2013-05-10  Andreas Jaeger  <aj@suse.de>
65568         [BZ #15448]
65569         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
65570         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
65572 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65574         * math/gen-libm-test.pl (adjust_arg): New function.
65575         (special_functions): Handle generating output in both functions
65576         and arrays.
65577         (parse_args): Likewise.
65578         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
65579         $in_func argument to parse_args.
65580         * math/libm-test.inc (struct test_f_f_data): New type.
65581         (IF_ROUND_INIT_): New macro.
65582         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
65583         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65584         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65585         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65586         (ROUND_RESTORE_): Likewise.
65587         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
65588         (ROUND_RESTORE_FE_TONEAREST): Likewise.
65589         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
65590         (ROUND_RESTORE_FE_UPWARD): Likewise.
65591         (RUN_TEST_LOOP_f_f): New macro.
65592         (acos_test_data): New variable.
65593         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
65594         (acos_tonearest_test_data): New variable.
65595         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
65597 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65599         * benchtests/bench-skeleton.c (startup): Fix coding style.
65601 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
65603         [BZ #6809]
65604         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
65605         negative infinity argument.
65606         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
65607         negative infinity argument.
65608         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
65609         negative infinity argument.
65610         * math/libm-test.inc (tgamma_test): Expect errno to be set for
65611         domain errors.
65613 2013-05-10  Florian Weimer  <fweimer@redhat.com>
65615         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
65616         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
65617         * iconv/iconv_prog.c (main): Likewise.
65618         * locale/programs/charmap-dir.c (charmap_readdir)
65619         (fopen_uncompressed): Likewise.
65620         * locale/programs/locfile.c (siblings_uncached)
65621         (write_locale_data): Use lstat64 instead of lstat.
65622         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
65623         stat.
65625 2013-05-10  Andreas Jaeger  <aj@suse.de>
65627         [BZ #15395]
65628         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
65629         localization.
65630         Include <locale.h>.
65632 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
65634         * elf/dl-close.c (_dl_close_worker): Add comments.
65636 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
65638         [BZ #15359]
65639         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
65640         high part of pi/2.
65641         (__ieee754_rem_pio2l): Update comments.
65643         [BZ #15429]
65644         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
65645         high part of pi/2.
65646         (__ieee754_rem_pio2l): Update comments.
65648         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
65649         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
65651         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
65652         M_PI_4l.
65654         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
65655         (M_PI_34_LOG10El): Likewise.
65656         (M_PI2_LOG10El): Likewise.
65657         (M_PI4_LOG10El): Likewise.
65658         (M_PI_LOG10El): Likewise.
65660 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65664 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
65666         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
65667         (MINUS_ZERO_INIT): Likewise.
65668         (PLUS_INFTY_INIT): Likewise.
65669         (MINUS_INFTY_INIT): Likewise.
65670         (QNAN_VALUE_INIT): Likewise.
65671         (MAX_VALUE_INIT): Likewise.
65672         (MIN_VALUE_INIT): Likewise.
65673         (MIN_SUBNORM_VALUE_INIT): Likewise.
65674         (plus_zero): Initialize with PLUS_ZERO_INIT.
65675         (minus_zero): Initialize with MINUS_ZERO_INIT.
65676         (plus_infty): Initialize with PLUS_INFTY_INIT.
65677         (minus_infty): Initialize with MINUS_INFTY_INIT.
65678         (qnan_value): Initialize with QNAN_VALUE_INIT.
65679         (max_value): Initialize with MAX_VALUE_INIT.
65680         (min_value): Initialize with MIN_VALUE_INIT.
65681         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
65683         * math/libm-test.inc (RUN_TEST_if_f): New macro.
65684         (jn_test): Use TEST_if_f instead of TEST_ff_f.
65685         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
65686         (yn_test): Use TEST_if_f instead of TEST_ff_f.
65688         * math/libm-test.inc (RUN_TEST_f_f): New macro.
65689         (RUN_TEST_2_f): Likewise.
65690         (RUN_TEST_ff_f): Likewise.
65691         (RUN_TEST_fi_f): Likewise.
65692         (RUN_TEST_fl_f): Likewise.
65693         (RUN_TEST_fff_f): Likewise.
65694         (RUN_TEST_c_f): Likewise.
65695         (RUN_TEST_f_f1): Likewise.
65696         (RUN_TEST_fF_f1): Likewise.
65697         (RUN_TEST_fI_f1): Likewise.
65698         (RUN_TEST_ffI_f1): Likewise.
65699         (RUN_TEST_c_c): Likewise.
65700         (RUN_TEST_cc_c): Likewise.
65701         (RUN_TEST_f_i): Likewise.
65702         (RUN_TEST_f_i_tg): Likewise.
65703         (RUN_TEST_ff_i_tg): Likewise.
65704         (RUN_TEST_f_b): Likewise.
65705         (RUN_TEST_f_b_tg): Likewise.
65706         (RUN_TEST_f_l): Likewise.
65707         (RUN_TEST_f_L): Likewise.
65708         (RUN_TEST_sincos): Likewise.
65709         * math/gen-libm-test.pl (new_test): Take new argument to indicate
65710         whether to show exceptions.  Do not include ");\n" in return
65711         value.
65712         (special_functions): Output call to RUN_TEST_sincos instead of
65713         check_float calls.  Update calls to new_test.
65714         (parse_args): Output call to single RUN_TEST_* macro instead of
65715         check_* calls and other assignments.  Update calls to new_test.
65717         [BZ #2546]
65718         [BZ #2560]
65719         [BZ #5159]
65720         [BZ #15426]
65721         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
65722         input to result for tgamma overflow.
65723         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65724         (gamma_coeff): New variable.
65725         (NCOEFF): New macro.
65726         (gamma_positive): New function.
65727         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
65728         underflow here.  Use gamma_positive instead of exp (lgamma) for
65729         other arguments.
65730         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
65731         (gamma_coeff): New variable.
65732         (NCOEFF): New macro.
65733         (gammaf_positive): New function.
65734         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
65735         underflow here.  Use gamma_positive instead of exp (lgamma) for
65736         other arguments.
65737         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
65738         (gamma_coeff): New variable.
65739         (NCOEFF): New macro.
65740         (gammal_positive): New function.
65741         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
65742         underflow here.  Use gamma_positive instead of exp (lgamma) for
65743         other arguments.
65744         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
65745         (gamma_coeff): New variable.
65746         (NCOEFF): New macro.
65747         (gammal_positive): New function.
65748         (__ieee754_gammal_r): Handle positive infinity, overflow and
65749         underflow here.  Handle NaN the same as positive infinity.  Remove
65750         check x < 0xffffffff for negative integers.  Use gamma_positive
65751         instead of exp (lgamma) for other arguments.
65752         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
65753         (gamma_coeff): New variable.
65754         (NCOEFF): New macro.
65755         (gammal_positive): New function.
65756         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
65757         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
65758         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
65759         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
65760         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
65761         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
65762         * sysdeps/generic/math_private.h (__gamma_productf): New
65763         prototype.
65764         (__gamma_product): Likewise.
65765         (__gamma_productl): Likewise.
65766         * math/Makefile (libm-calls): Add gamma_product.
65767         * math/libm-test.inc (tgamma_test): Add more tests.
65768         * sysdeps/i386/fpu/libm-test-ulps: Update.
65769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65771 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
65773         * benchtests/bench-skeleton.c (main): Preheat CPU.
65775 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
65777         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
65779 2013-05-07  Roland McGrath  <roland@hack.frob.com>
65781         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
65782         and _dl_skip_args_internal.
65784 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
65786         * manual/message.texi (Message Translation): Talk about users.
65787         Message to key mapping impacts design.
65789 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65791         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
65793         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65795         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65796         * sysdeps/wordsize-64/glob64.c: ... here.
65798         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65799         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65800         New macros.
65802         * debug/getlogin_r_chk.c: Moved to ...
65803         * login/getlogin_r_chk.c: ... here.
65804         * debug/Makefile (routines): Move getlogin_r_chk to ...
65805         * login/Makefile (routines): ... here.
65806         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65807         * login/Versions (libc: GLIBC_2.4): ... here.
65809         * io/poll.c (__poll): Renamed from poll.
65810         Add libc_hidden_def.
65811         (poll): Define as weak alias.
65813         * debug/ptsname_r_chk.c: Moved to ...
65814         * login/ptsname_r_chk.c: ... here.
65815         * debug/Makefile (routines): Move ptsname_r_chk to ...
65816         * login/Makefile (routines): ... here.
65817         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65818         * login/Versions (libc: GLIBC_2.4): ... here.
65820         * posix/getlogin.c: Moved to ...
65821         * login/getlogin.c: ... here.
65822         * posix/getlogin_r.c: Moved to ...
65823         * login/getlogin_r.c: ... here.
65824         * posix/getlogin_r.c: Moved to ...
65825         * login/getlogin_r.c: ... here.
65826         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65827         * login/Makefile (routines): ... here.
65828         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65829         * login/Versions (libc: GLIBC_2.0): ... here.
65831         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65832         (setrlimit): Define as weak alias.
65834         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65835         Call __ names for open, ftruncate, and close.
65836         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65837         (truncate): Define as weak alias.
65839 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65841         * math/gen-libm-test.pl (parse_args): Initialize x before each
65842         test of frexp, modf and remquo.
65844         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65845         test signgam value.
65847 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65849         [BZ #15418]
65850         [BZ #15419]
65851         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65852         internal tests.
65853         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65855 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65857         * elf/dl-writev.h: New file.
65858         * elf/dl-misc.c: Include it.
65859         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65860         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65862 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65864         * math/libm-test.inc (noXFails): Remove variable.
65865         (noXPasses): Likewise.
65866         (BUILD_COMPLEX_INT): Remove macro.
65867         (print_screen): Remove xfail argument.
65868         (print_screen_max_error): Likewise.
65869         (update_stats): Likewise.
65870         (print_max_error): Likewise.  Update calls to other affected
65871         functions.
65872         (print_complex_max_error): Likewise.
65873         (test_single_exception): Update calls to print_screen.
65874         (test_single_errno): Likewise.
65875         (check_float_internal): Remove xfail argument.  Update calls to
65876         other affected functions.
65877         (check_float): Likewise.
65878         (check_complex): Likewise.
65879         (check_int): Likewise.
65880         (check_long): Likewise.
65881         (check_bool): Likewise.
65882         (check_longlong): Likewise.
65883         (main): Don't print noXFails and noXPasses.
65884         * math/gen-libm-test.pl (top level): Don't mention expected
65885         failure handling in comment.
65886         (new_test): Don't handle expected failures.
65887         (parse_args): Don't mention expected failure handling in comment.
65888         (generate_testfile): Don't handle expected failures.
65889         (parse_ulps): Likewise.
65890         (print_ulps_file): Likewise.
65891         (get_failure): Remove function.
65892         (output_test): Don't handle expected failures.
65893         * make/README.libm-test: Don't mention expected failure handling.
65895         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65896         (minus_zero): Likewise.
65897         (plus_infty): Likewise.
65898         (minus_infty): Likewise.
65899         (qnan_value): Likewise.
65900         (max_value): Likewise.
65901         (min_value): Likewise.
65902         (min_subnorm_value): Likewise.
65903         (initialize): Do not initialize those variables dynamically.
65905 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65907         * io/open.c (__open_2): Moved to ...
65908         * io/open_2.c: ... this new file.
65909         * io/open64.c (__open64_2): Moved to ...
65910         * io/open64_2.c: ... this new file.
65911         * io/openat.c (__openat_2): Moved to ...
65912         * io/openat_2.c: ... this new file.
65913         * io/openat64.c (__openat64_2): Moved to ...
65914         * io/openat64_2.c: ... this new file.
65915         * io/Makefile (routines): Add them.
65916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65917         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65918         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65919         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65920         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65921         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65922         (__openat64): Add hidden_ver.
65923         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65924         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65926         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65927         Separately conditionalize setting of GLRO(dl_sysinfo) so
65928         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65929         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65931 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65933         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65934         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65935         definition.
65936         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65937         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65938         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65939         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65940         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65942 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65944         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65945         test signgam value.
65947         * math/libm-test.inc (hypot_test): Do not use
65948         IGNORE_ZERO_INF_SIGN.
65950 2013-05-03  Andreas Jaeger  <aj@suse.de>
65952         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65953         Linux 3.9.
65954         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65955         (PF_MAX): Adjust for VSOCK change.
65957 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65961 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65963         [BZ #15264]
65964         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65965         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65966         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65968 2013-05-02  David S. Miller  <davem@davemloft.net>
65970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65972 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65974         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65976 2013-05-01  Roland McGrath  <roland@hack.frob.com>
65978         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65980 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
65982         [BZ #14952]
65983         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65984         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65985         Use __attribute__ ((__gnu_inline__)).
65986         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65987         Don't use __attribute__ ((__gnu_inline__)).
65989 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
65991         [BZ #15423]
65992         * math/s_catan.c (__catan): Handle small real or imaginary part of
65993         input specially to avoid spurious underflow.
65994         * math/s_catanf.c (__catanf): Likewise.
65995         * math/s_catanh.c (__catanh): Likewise.
65996         * math/s_catanhf.c (__catanhf): Likewise.
65997         * math/s_catanhl.c (__catanhl): Likewise.
65998         * math/s_catanl.c (__catanl): Likewise.
65999         * math/libm-test.inc (catan_test): Add more tests.
66000         (catanh_test): Likewise.
66001         * sysdeps/i386/fpu/libm-test-ulps: Update.
66002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66004 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66008 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66010         [BZ #15416]
66011         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66012         accurately for denominator in atan2.
66013         * math/s_catanf.c (__catanf): Likewise.
66014         * math/s_catanh.c (__catanh): Likewise.
66015         * math/s_catanhf.c (__catanhf): Likewise.
66016         * math/s_catanhl.c (__catanhl): Likewise.
66017         * math/s_catanl.c (__catanl): Likewise.
66018         * math/libm-test.inc (catan_test): Add more tests.
66019         (catanh_test): Likewise.
66020         * sysdeps/i386/fpu/libm-test-ulps: Update.
66021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66023 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66025         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66027         * benchtests/Makefile (bench): Remove slow benchmarks.
66028         * benchtests/atan-inputs: Add slow benchmark inputs.
66029         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66030         (BENCH_FUNC): Accept variant offset.
66031         (VARIANT): Define.
66032         * benchtests/bench-skeleton.c (main): Run benchmark for each
66033         variant.
66034         * benchtests/cos-inputs: Add slow benchmark inputs.
66035         * benchtests/exp-inputs: Likewise.
66036         * benchtests/pow-inputs: Likewise.
66037         * benchtests/sin-inputs: Likewise.
66038         * benchtests/slowatan-inputs: Remove.
66039         * benchtests/slowatan.c: Remove.
66040         * benchtests/slowcos-inputs: Remove.
66041         * benchtests/slowcos.c: Remove.
66042         * benchtests/slowexp-inputs: Remove.
66043         * benchtests/slowexp.c: Remove.
66044         * benchtests/slowpow-inputs: Remove.
66045         * benchtests/slowpow.c: Remove.
66046         * benchtests/slowsin-inputs: Remove.
66047         * benchtests/slowsin.c: Remove.
66048         * benchtests/slowtan-inputs: Remove.
66049         * benchtests/slowtan.c: Remove.
66050         * benchtests/tan-inputs: Add slow benchmark inputs.
66051         * scripts/bench.pl: Parse comments and directives.
66053         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66054         in CPPFLAGS.
66055         ($(objpfx)bench-%.c): Remove *-ITER.
66056         * benchtests/bench-modf.c: Remove definition of ITER.
66057         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66058         (main): Loop for DURATION seconds instead of fixed number of
66059         iterations.
66060         * scripts/bench.pl: Don't expect iterations in parameters.
66062 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66064         * io/fchdir.c (__fchdir): Renamed from fchdir.
66065         (fchdir): Define as weak alias.
66067 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66069         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66070         (ERRNO_EDOM): Likewise.
66071         (ERRNO_ERANGE): Likewise.
66072         (noErrnoTests): New variable.
66073         (init_max_error): Set errno to 0.
66074         (test_single_errno): New function.
66075         (test_errno): Likewise.
66076         (check_float_internal): Call test_errno.  Set errno to 0.
66077         (check_complex): Refer to errno tests in comment.
66078         (check_int): Call test_errno.  Set errno to 0.
66079         (check_long): Likewise.
66080         (check_bool): Likewise.
66081         (check_longlong): Likewise.
66082         (cos_test): Use ERRNO_* flags for errno tests instead of
66083         check_int.
66084         (expm1_test): Likewise.
66085         (fmod_test): Likewise.
66086         (ilogb_test): Likewise.
66087         (lgamma_test): Likewise.
66088         (pow_test): Likewise.
66089         (remainder_test): Likewise.
66090         (sin_test): Likewise.
66091         (tan_test): Likewise.
66092         (yn_test): Likewise.
66093         (initialize): Set errno to 0.
66094         (main): Print number of errno tests.
66095         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66097 2013-04-29  Andreas Jaeger  <aj@suse.de>
66099         [BZ #15084]
66100         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66101         and RES_USEVC.
66103         [BZ #15085]
66104         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66105         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66106         unimplemented.
66108         [BZ #15380]
66109         * stdlib/random.c (__initstate): Return NULL if
66110         __initstate fails.
66112         [BZ #15086]
66113         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66114         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66115         RES_SNGLKUPREOP.
66117 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66121 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66123         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66124         of individual tests.
66125         (casin_test): Likewise.
66126         (casinh_test): Likewise.
66128 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66130         [BZ #15409]
66131         * math/s_catan.c (__catan): Handle arguments with large real or
66132         imaginary part separately without squaring.
66133         * math/s_catanf.c (__catanf): Likewise.
66134         * math/s_catanh.c (__catanh): Likewise.
66135         * math/s_catanhf.c (__catanhf): Likewise.
66136         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66137         and redefine.
66138         (__catanhl): Handle arguments with large real or imaginary part
66139         separately without squaring.
66140         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66141         and redefine.
66142         (__catanl): Handle arguments with large real or imaginary part
66143         separately without squaring.
66144         * math/libm-test.inc (catan_test): Add more tests.
66145         (catanh_test): Likewise.
66146         * sysdeps/i386/fpu/libm-test-ulps: Update.
66147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66149 2013-04-27  Andreas Jaeger  <aj@suse.de>
66151         [BZ #15007]
66152         * stdlib/stdlib.h: Update guards for qecvt.
66153         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66154         <stdlib.h>.
66156 2013-04-27  Allan McRae  <allan@archlinux.org>
66158         * sysdeps/i386/fpu/libm-test-ulps: Update.
66160 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66162         [BZ #15406]
66163         * math/s_catan.c: Include <float.h>.
66164         (__catan): Ensure underflow exception occurs for underflowed
66165         result.
66166         * math/s_catanf.c: Include <float.h>.
66167         (__catanf): Ensure underflow exception occurs for underflowed
66168         result.
66169         * math/s_catanh.c: Include <float.h>.
66170         (__catanh): Ensure underflow exception occurs for underflowed
66171         result.
66172         * math/s_catanhf.c: Include <float.h>.
66173         (__catanhf): Ensure underflow exception occurs for underflowed
66174         result.
66175         * math/s_catanhl.c: Include <float.h>.
66176         (__catanhl): Ensure underflow exception occurs for underflowed
66177         result.
66178         * math/s_catanl.c: Include <float.h>.
66179         (__catanl): Ensure underflow exception occurs for underflowed
66180         result.
66181         * math/libm-test.inc (catan_test): Add more tests.
66182         (catanh_test): Likewise.
66184         [BZ #15405]
66185         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66186         underflowed result.
66187         * math/s_ccoshf.c (__ccoshf): Likewise.
66188         * math/s_ccoshl.c (__ccoshl): Likewise.
66189         * math/s_csin.c (__csin): Likewise.
66190         * math/s_csinf.c (__csinf): Likewise.
66191         * math/s_csinh.c (__csinh): Likewise.
66192         * math/s_csinhf.c (__csinhf): Likewise.
66193         * math/s_csinhl.c (__csinhl): Likewise.
66194         * math/s_csinl.c (__csinl): Likewise.
66195         * math/libm-test.inc (ccos_test): Add more tests.
66196         (ccosh_test): Likewise.
66197         (csin_test): Likewise.
66198         (csinh_test): Likewise.
66200 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66202         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66203         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66204         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66205         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66206         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66207         powerpc/power5+/fpu folders.
66208         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66211 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66215 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66217         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66218         additions to variable.
66219         [$(config-machine) = x86_64] (modules-names): Likewise.
66220         ($(objpfx)tst-audit3): Remove dependency.
66221         ($(objpfx)tst-audit3.out): Likewise.
66222         ($(objpfx)tst-audit4): Likewise.
66223         ($(objpfx)tst-audit4.out): Likewise.
66224         ($(objpfx)tst-audit5): Likewise.
66225         ($(objpfx)tst-audit5.out): Likewise.
66226         ($(objpfx)tst-audit6): Likewise.
66227         ($(objpfx)tst-audit6.out): Likewise.
66228         ($(objpfx)tst-audit7): Likewise.
66229         ($(objpfx)tst-audit7.out): Likewise.
66230         (tst-audit3-ENV): Remove variable.
66231         (tst-audit4-ENV): Likewise.
66232         (tst-audit5-ENV): Likewise.
66233         (tst-audit6-ENV): Likewise.
66234         (tst-audit7-ENV): Likewise.
66235         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66236         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66237         addition to variable.
66238         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66239         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66240         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66241         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66242         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66243         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66244         tst-audit3, tst-audit4 and tst-audit5.
66245         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66246         tst-audit6 and tst-audit7.
66247         [$(subdir) = elf] (modules-names): Add audit modules for those
66248         tests.
66249         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66250         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66251         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66252         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66253         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66254         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66255         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66256         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66257         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66258         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66259         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66260         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66261         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66262         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66263         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66264         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66265         Likewise.
66266         [$(subdir) = elf && $(config-cflags-avx) = yes]
66267         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66268         [$(subdir) = elf && $(config-cflags-avx) = yes]
66269         (CFLAGS-tst-auditmod4a.c): Likewise.
66270         [$(subdir) = elf && $(config-cflags-avx) = yes]
66271         (CFLAGS-tst-auditmod4b.c): Likewise.
66272         [$(subdir) = elf && $(config-cflags-avx) = yes]
66273         (CFLAGS-tst-auditmod6b.c): Likewise.
66274         [$(subdir) = elf && $(config-cflags-avx) = yes]
66275         (CFLAGS-tst-auditmod6c.c): Likewise.
66276         [$(subdir) = elf && $(config-cflags-avx) = yes]
66277         (CFLAGS-tst-auditmod7b.c): Likewise.
66278         * elf/tst-audit3.c: Move to ...
66279         * sysdeps/x86_64/tst-audit3.c: ... here.
66280         * elf/tst-audit4.c: Move to ...
66281         * sysdeps/x86_64/tst-audit4.c: ... here.
66282         * elf/tst-audit5.c: Move to ...
66283         * sysdeps/x86_64/tst-audit5.c: ... here.
66284         * elf/tst-audit6.c: Move to ...
66285         * sysdeps/x86_64/tst-audit6.c: ... here.
66286         * elf/tst-audit7.c: Move to ...
66287         * sysdeps/x86_64/tst-audit7.c: ... here.
66288         * elf/tst-auditmod3a.c: Move to ...
66289         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66290         * elf/tst-auditmod3b.c: Move to ...
66291         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66292         * elf/tst-auditmod4a.c: Move to ...
66293         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66294         * elf/tst-auditmod4b.c: Move to ...
66295         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66296         * elf/tst-auditmod5a.c: Move to ...
66297         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66298         * elf/tst-auditmod5b.c: Move to ...
66299         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66300         * elf/tst-auditmod6a.c: Move to ...
66301         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66302         * elf/tst-auditmod6b.c: Move to ...
66303         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66304         * elf/tst-auditmod6c.c: Move to ...
66305         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66306         * elf/tst-auditmod7a.c: Move to ...
66307         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66308         * elf/tst-auditmod7b.c: Move to ...
66309         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66311 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66313         [BZ #15366]
66314         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66315         define unconditionally.
66316         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66317         define unconditionally.
66318         (INT8_C, INT16_C, etc.): Likewise.
66320 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66322         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66323         __ehdr_start with hidden visibility.
66325         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66327 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
66329         * math/libm-test.inc (cos_test): Use accurate hex constants.
66330         (sincost_test): Likewise.
66332 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
66334         * math/libm-test.inc (catan_test): Add more tests.
66335         (catanh_test): Likewise.
66337         * math/s_catanf.c (__catanf): Use suffixed floating-point
66338         constants.
66339         * math/s_catanhf.c (__catanhf): Likewise.
66340         * math/s_catanhl.c (__catanhl): Likewise.
66341         * math/s_catanl.c (__catanl): Likewise.
66343         [BZ #15394]
66344         * math/s_catan.c (__catan): Calculate imaginary part of result
66345         with log1p not log unless computing log of number close to 0.
66346         * math/s_catanf.c (__catanf): Likewise.
66347         * math/s_catanl.c (__catanl): Likewise.
66348         * math/s_catanh.c (__catanh): Calculate real part of result with
66349         log1p not log unless computing log of number close to 0.
66350         * math/s_catanhf.c (__catanhf): Likewise.
66351         * math/s_catanhl.c (__catanhl): Likewise.
66352         * math/libm-test.inc (catan_test): Add more tests.
66353         (catanh_test): Likewise.
66354         * sysdeps/i386/fpu/libm-test-ulps: Update.
66355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66357 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
66359         * benchtests/Makefile: Mention files in which fast and slow
66360         paths of math functions are implemented.
66362 2013-04-23  Roland McGrath  <roland@hack.frob.com>
66364         * sysdeps/posix/timespec_get.c: New file.
66366 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66368         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
66369         POWER.
66370         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
66371         for POWER.
66372         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
66373         powerpc/power5/fpu folders.
66374         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
66375         * benchtests/Makefile: Add modf testcase.
66376         * benchtests/bench-modf.c: New file: Benchmark test for mo
66378 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
66380         [BZ #14888]
66381         * time/Makefile (tests): Add tst-strptime-whitespace.
66382         * time/strptime_l.c (get_number): Use ISSPACE.
66383         (__strptime_internal): Likewise.
66384         * time/tst-strptime-whitespace.c: New test case.
66386 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
66388         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
66389         member.
66390         (_nss_files_init): Set it here.
66392 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
66394         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
66395         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
66396         unsigned.
66398 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
66400         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
66402 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
66405         size just once.
66407 2013-04-21  David S. Miller  <davem@davemloft.net>
66409         * po/ru.po: Update Russion translation from translation project.
66411 2013-04-17  Adam Conrad  <adconrad@0c3.net>
66413         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
66414         and setfsgid.
66416 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
66418         * configure.in: Remove i386 configure warning. Remove i386 case.
66419         * configure: Regenerate.
66420         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
66421         Add example to error message.
66422         * sysdeps/i386/configure: Regenerate.
66424 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66426         * benchtests/Makefile (bench): Add cos, tan, slowcos and
66427         slowtan.
66428         * benchtests/cos-inputs: New file.
66429         * benchtests/slowcos-inputs: New file.
66430         * benchtests/slowcos.c: New file.
66431         * benchtests/slowtan-inputs: New file.
66432         * benchtests/slowtan.c: New file.
66433         * benchtests/tan-inputs: New file.
66435 2013-04-16  Roland McGrath  <roland@hack.frob.com>
66437         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
66438         considered kosher.
66440 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66442         * benchtests/Makefile: Include cppflags-iterator.mk to add
66443         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
66445         * Makefile.in (bench-clean): New target.
66446         * benchtests/Makefile (bench-clean): Likewise.
66448 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
66450         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
66452 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
66454         * stdio-common/tstdiomisc.c: Fix coding-style violation.
66456 2013-04-15  Andreas Schwab  <schwab@suse.de>
66458         * nscd/grpcache.c (cache_addgr): Properly check for short write.
66459         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66460         * nscd/pwdcache.c (cache_addpw): Likewise.
66461         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
66462         more than recsize.
66464 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66466         * benchtests/Makefile (bench): Write all output to
66467         bench-out.tmp together.
66469 2013-04-15  Andreas Schwab  <schwab@suse.de>
66471         * nscd/nscd.c (main): Don't fork again after closing files.
66473 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66475         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
66477         * benchtests/Rules (bench-deps): Collect dependencies into a
66478         single variable.  Add Makefile to dependencies.
66479         ($(objpfx)bench-%.c): Depend on bench-deps.
66481 2013-04-12  Roland McGrath  <roland@hack.frob.com>
66482             Xavier Roche  <roche+kml2@exalead.com>
66484         [BZ #15361]
66485         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
66486         just that it's a file descriptor.
66487         * manual/llio.texi (Synchronizing AIO Operations): Update description
66488         for EBADF error from aio_fsync.
66490 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
66492         * Rules (bench): Move target definition...
66493         * benchtests/Makefile: ... here.
66495 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
66497         * math/libm-test.inc (cos_test): Fix PI/2 test.
66498         (sincos_test): Likewise.
66499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
66500         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
66502 2013-04-11  Andreas Schwab  <schwab@suse.de>
66504         [BZ #13988]
66505         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
66506         accept exponent character only when digits were seen.
66507         * stdio-common/Makefile (tests): Add bug26.
66508         * stdio-common/bug26.c: New file.
66510         [BZ #14293]
66511         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
66512         non-freeable.
66514 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66516         * Makeconfig (rtld-prefix): Define built linker prefix.
66517         * Rules (run-bench): Use it.
66518         * math/Makefile (run-regen-ulps): Likewise.
66520         * Rules (bench): Remove eval.
66522 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66523             Roland McGrath  <roland@hack.frob.com>
66524             Ondrej Bilka  <neleai@seznam.cz>
66526         [BZ #15346]
66527         * time/getdate.c: Include ctype.h and alloca.h.
66528         (__getdate_r): Trim leading and trailing spaces of input.
66529         * time/tst-getdate.c (tests): Add tests with leading and
66530         trailing spaces.
66532 2013-04-08  Roland McGrath  <roland@hack.frob.com>
66534         [BZ #14280]
66535         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
66536         when computing value.
66538 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66540         * math/README.libm-test (How can I generate "libm-test-ulps"?):
66541         Use testrun.sh to run libm tests.
66543         [BZ #15309]
66544         * elf/dl-open.c (dl_open_worker): memset all of seen array.
66546 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
66548         [BZ #15264]
66549         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
66551 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66553         * Makefile.in (regen-ulps): New target.
66554         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
66555         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
66556         [ifneq (no,$(PERL)] (regen-ulps): New target.
66557         [ifeq (no,$(PERL)] (regen-ulps): New target.
66558         * math/libm-test.inc (ulps_file_name): Define.
66559         (output_dir): New variable.
66560         (options): Add "output-dir" option.
66561         (parse_opt): Handle 'o' case.
66562         (main): If output_dir is non-NULL use it as a prefix
66563         otherwise use "".
66564         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
66566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66568         [BZ #10060, #10062]
66569         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
66570         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
66571         fail configure if __sync_val_compare_and_swap is not inlined.
66572         * sysdeps/i386/configure: Regenerate.
66573         * configure.in: Build for i686 when configured for i386.
66574         * configure: Regenerate.
66575         * README: Remove i386 reference.
66577 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
66579         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
66580         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66582 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66584         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
66585         (lmsnanval): New variables.
66586         (F): Add conversion tests.
66587         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
66588         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
66590         * stdio-common/tstdiomisc.c (F): Properly collect individual
66591         tests' results.
66593         [BZ #14686, #15336]
66594         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
66595         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
66596         Instead, use input NaN values or generate a qNaN by arithmetic
66597         operation.  Also fix bugs to comply with the standard.
66598         * math/libm-test.inc (remainder_test): Add more tests.
66600         [BZ #15335, #15342]
66601         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
66602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
66603         input NaN values or generate a qNaN by arithmetic operation.
66605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
66606         unreachable code.
66608         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
66609         definitions.
66611 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
66613         [BZ #14478]
66614         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
66615         underflowed result.
66616         * math/s_cexpf.c (__cexpf): Likewise.
66617         * math/s_cexpl.c (__cexpl): Likewise.
66618         * math/libm-test.inc (cexp_test): Add more tests.
66620 2013-04-03  Andreas Schwab  <schwab@suse.de>
66622         [BZ #15330]
66623         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
66624         order arrays from heap if bigger than alloca cutoff.
66626 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
66628         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
66629         (SNAN_TESTS_double): Refer to GCC PR56831.
66630         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
66631         GCC PR56828.
66633 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66635         * Rules (bench): Move bench.out after the run is complete.
66637         * Rules (bench): Echo currently running benchmark.
66639         * benchtests/Makefile (bench): Add atan and slowatan.
66640         * benchtests/atan-inputs: New file.
66641         * benchtests/slowatan-inputs: New file.
66642         * benchtests/slowatan.c: New file.
66644         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
66645         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
66646         its value.
66648         [BZ #15305]
66649         * sysdeps/unix/sysv/linux/kernel-features.h
66650         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
66651         __ASSUME_XFS_RESTRICTED_CHOWN.
66652         * sysdeps/unix/sysv/linux/pathconf.c
66653         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
66654         Save and restore errno.
66656 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
66658         [BZ #15327]
66659         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
66660         arguments using __kernel_casinh.
66661         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
66662         arguments using __kernel_casinhf.
66663         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
66664         arguments using __kernel_casinhl.
66665         * math/libm-test.inc (cacosh_test): Add more tests.
66666         * sysdeps/i386/fpu/libm-test-ulps: Update.
66667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66669 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66671         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
66672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
66674         * bench/Makefile (bench): Add sin and slowsin.
66675         * benchtests/sin-inputs: New file.
66676         * benchtests/slowsin-inputs: New file.
66677         * benchtests/slowsin.c: New file.
66679         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
66680         (bench): Add slowexp and slowpow.
66681         (exp-ITER): Increase iterations.
66682         (pow-ITER): Likewise.
66683         * benchtests/exp-inputs: Change input.
66684         * benchtests/pow-inputs: Likewise.
66685         * benchtests/slowexp-inputs: New file.
66686         * benchtests/slowexp.c: New file.
66687         * benchtests/slowpow-inputs: New file.
66688         * benchtests/slowpow.c: New file.
66690 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66692         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
66693         instructions.
66694         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66695         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
66696         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
66697         * benchtests/Makefile: Add rint benchtest.
66698         * benchtests/rint-inputs: Input for rint benchtest.
66700 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66702         * Versions.def (libm): Add GLIBC_2.18.
66703         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
66704         hidden libm prototypes.
66705         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
66706         * math/Makefile (libm-calls): Add s_issignaling.
66707         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
66708         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
66709         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
66710         declaration.
66711         * math/math.h [__USE_GNU] (issignaling): New macro.
66712         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
66713         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
66714         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
66715         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
66716         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
66717         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
66718         * manual/arith.texi (issignaling): New section.
66719         * manual/libm-err-tab.pl (@all_functions): Update comment.
66720         * math/gen-libm-test.pl (parse_args): Apply special handling for
66721         issignaling.
66722         * math/libm-test.inc (print_float, issignaling_test): New
66723         functions.
66724         (check_float_internal): Add issignaling checks.
66725         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
66726         default definition.
66727         * sysdeps/powerpc/math-tests.h: New file.
66728         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
66729         tests.
66730         * math/test-snan.c (TEST_FUNC): Likewise.
66732 2013-03-30  David S. Miller  <davem@davemloft.net>
66734         * po/de.po: Update from translation team.
66736 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
66738         [BZ #10357]
66739         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66740         imaginary part less than 1.0 and real part less than 0.5
66741         specially.
66742         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66743         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66744         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
66745         (cacos_test): Add more tests.
66746         (casin_test): Likewise.
66747         (casinh_test): Likewise.
66748         * sysdeps/i386/fpu/libm-test-ulps: Update.
66749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66751 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66753         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
66754         ONE with its value.
66756         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
66757         (__pow_mp): Replace ONE and MONE with their values.
66758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66759         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
66760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66761         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
66762         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66763         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66765         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
66767         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
66768         (__pow_mp): Replace ZERO and MZERO with their values.
66769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66771         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66773         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66774         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
66775         (__sqr): Likewise.
66777         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
66779         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
66781 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66783         * include/stdlib.h [!SHARED] (__call_tls_dtors):
66784         Declare with __attribute__ ((weak)).
66785         * stdlib/exit.c (__libc_atexit) [!SHARED]:
66786         Call __call_tls_dtors only if it's not NULL.
66788 2013-03-28  Roland McGrath  <roland@hack.frob.com>
66790         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
66791         didn't do it already, then set _dl_phdr and _dl_phnum based on the
66792         magic __ehdr_start linker symbol if it's defined.
66793         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
66794         them up here if it was already done.
66796         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66797         (_dl_aux_init): Use const in cast when setting it.
66798         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66799         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66800         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66802         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66803         Declare them here.
66804         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66805         * csu/libc-tls.c: Nor here.
66806         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66808         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66809         (__libc_message): Never call vsyslog.
66811 2013-03-28  Alan Modra  <amodra@gmail.com>
66813         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66814         Define as empty.
66815         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66816         Likewise.
66818 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66820         [BZ #15214]
66821         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66822         underflow.
66823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66825 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66827         [BZ #15304]
66828         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66829         Don't add gid passed as argument.
66831         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66833 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66835         [BZ #15307]
66836         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66837         imaginary part between 1.0 and 1.5 and real part less than 0.5
66838         specially.
66839         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66840         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66841         * math/libm-test.inc (cacos_test): Add more tests.
66842         (casin_test): Likewise.
66843         (casinh_test): Likewise.
66844         * sysdeps/i386/fpu/libm-test-ulps: Update.
66845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66847 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66849         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66850         constants.
66851         (norm): Likewise.
66852         (denorm): Likewise.
66853         (__dbl_mp): Likewise.
66854         (add_magnitudes): Likewise.
66855         (sub_magnitudes): Likewise.
66856         (__add): Likewise.
66857         (__sub): Likewise.
66858         (__mul): Likewise.
66859         (__sqr): Likewise.
66860         (__inv): Likewise.
66861         (__dvd): Likewise.
66863         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66864         commented code.
66865         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66866         (__dubcos): Likewise.
66867         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66868         (__ieee754_acos): Likewise.
66869         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66870         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66871         (__exp1): Likewise.
66872         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66874         (log1): Likewise.
66875         (my_log2): Likewise.
66876         (checkint): Likewise.
66877         * sysdeps/ieee754/dbl-64/e_remainder.c
66878         (__ieee754_remainder): Likewise.
66879         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66881         (bsloww): Likewise.
66882         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66884         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66885         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66886         MANTISSA_STORE_T to store computations on mantissa.  Use
66887         macros for rounding and division.
66888         (denorm): Likewise.
66889         (__dbl_mp): Likewise.
66890         (add_magnitudes): Likewise.
66891         (sub_magnitudes): Likewise.
66892         (__mul): Likewise.
66893         (__sqr): Likewise.
66894         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66895         powers of two in terms of TWOPOW macro.
66896         (mp_no): Make type of mantissa as MANTISSA_T.
66897         [!RADIXI]: Define RADIXI.
66898         [!TWO52]: Define TWO52.
66899         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66901 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66903         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66904         llroundl symbol when building for PPC32.
66906 2013-03-24  Mark H Weaver  <mhw@netris.org>
66908         * manual/arith.texi (Normalization Functions): Fix prototypes for
66909         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66911 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66913         [BZ #13889]
66914         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66915         high value to check if expl overflow.
66916         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66917         to check for underflow and overflow.
66918         * math/libm-test.inc: Add exp test.
66920 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66922         [BZ #11120]
66923         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66924         with NOT_IN_libc.
66926 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66928         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66929         symbol.
66931 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66933         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66934         wrap blocks consisting of several statements.
66936         * sysdeps/generic/math-tests.h: New file.
66937         * sysdeps/i386/fpu/math-tests.h: Likewise.
66938         * math/test-snan.c: Include it.
66939         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66941 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66943         [BZ #15285]
66944         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66945         (__ieee754_j0l): Do not improve calculations using cos of twice
66946         input for inputs above LDBL_MAX / 2.0L.
66947         (__ieee754_y0l): Likewise.
66948         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66949         (__ieee754_j1l): Do not improve calculations using cos of twice
66950         input for inputs above LDBL_MAX / 2.0L.
66951         (__ieee754_y1l): Likewise.
66952         * math/libm-test.inc (j0_test): Add another test.
66953         (j1_test): Likewise.
66954         (y0_test): Likewise.
66955         (y1_test): Likewise.
66956         * sysdeps/i386/fpu/libm-test-ulps: Update.
66958 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66960         * Rules ($(objpfx)bench-%.c): Include code from a C source
66961         file.
66963 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66965         [BZ #15287]
66966         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66967         imaginary part 1.0 and real part less than 0.5 specially.
66968         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66969         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66970         * math/libm-test.inc (cacos_test): Add more tests.
66971         (casin_test): Likewise.
66972         (casinh_test): Likewise.
66973         * sysdeps/i386/fpu/libm-test-ulps: Update.
66974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66976 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66978         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66979         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66981 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
66983         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66984         * config.make.in (config-cflags-sse4): Remove variable.
66985         (config-cflags-avx): Likewise.
66986         (config-cflags-sse2avx): Likewise.
66987         (config-cflags-novzeroupper): Likewise.
66988         (config-asflags-i686): Likewise.
66989         (have-mfma4): Likewise.
66990         (have-as-vis3): Likewise.
66991         (MIG): Likewise.
66992         * configure.in (MIG): Do not AC_SUBST.
66993         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66994         (libc_cv_cc_sse4): Do not AC_SUBST.
66995         (libc_cv_cc_avx): Likewise.
66996         (libc_cv_cc_sse2avx): Likewise.
66997         (libc_cv_cc_novzeroupper): Likewise.
66998         (libc_cv_cc_fma4): Likewise.
66999         (libc_cv_as_i686): Likewise.
67000         (libc_cv_sparc_as_vis3): Likewise.
67001         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67002         LIBC_CONFIG_VAR.
67003         (config-asflags-i686): Likewise.
67004         (config-cflags-avx): Likewise.
67005         (config-cflags-sse2avx): Likewise.
67006         (have-mfma4): Likewise.
67007         (config-cflags-novzeroupper): Likewise.
67008         * sysdeps/mach/configure.in (MIG): Likewise.
67009         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67010         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67011         LIBC_CONFIG_VAR.
67012         (config-cflags-avx): Likewise.
67013         (config-cflags-sse2avx): Likewise.
67014         (have-mfma4): Likewise.
67015         (config-cflags-novzeroupper): Likewise.
67016         * configure: Regenerated.
67017         * sysdeps/i386/configure: Likewise.
67018         * sysdeps/mach/configure: Likewise.
67019         * sysdeps/sparc/configure: Likewise.
67020         * sysdeps/x86_64/configure: Likewise.
67022 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67024         [BZ #14812]
67025         * locale/programs/localedef.c (options): Put N_ translation marker
67026         on argument names, not just descriptions.
67028 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67030         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67032 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67034         [BZ #14176]
67035         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67037 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67039         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67040         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67041         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67042         [!BEFORE_ABORT] (before_abort): New function.
67043         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67044         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67045         (writev_for_fatal): New function.
67046         (WRITEV_FOR_FATAL): New macro; call that.
67047         (backtrace_and_maps): New function.
67048         (BEFORE_ABORT): New macro; call that.
67049         (struct str_list): Type removed.
67050         (__libc_message, __libc_fatal): Functions removed.
67051         Include <sysdeps/posix/libc_fatal.c> instead.
67053 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67055         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67056         constants.
67057         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67058         double constants.
67060 2013-03-19  Andreas Schwab  <schwab@suse.de>
67062         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67063         * sysdeps/gnu/configure: Regenerate.
67065         * configure.in: Substitute libc_cv_rtlddir.
67066         * configure: Regenerate.
67067         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67068         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67069         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67070         * elf/Makefile (install-others, CFLAGS-interp.c)
67071         (ldso_install, common-ldd-rewrite): Likewise.
67072         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67073         $(inst_slibdir)/$(rtld-installed-name).
67074         * scripts/rellns-sh: Add -p option.
67075         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67076         for source.
67078 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67080         * manual/nptl.texi: Renamed to ...
67081         * manual/threads.texi: ... this.
67082         * manual/Makefile (chapters): Update.
67084 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67086         [BZ #14812]
67087         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67088         on argument names, not just descriptions.
67089         * malloc/memusagestat.c (options): Likewise.
67090         * nss/getent.c (options): Likewise.
67092 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67094         [BZ #14812]
67095         * iconv/iconv_prog.c (options): Put N_ translation marker
67096         on argument names, not just descriptions.
67097         * iconv/iconvconfig.c (options): Likewise.
67099 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67101         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67102         implementation which is faster on all x86_64 architectures.
67103         Tested on AMD, Intel Nehalem, SNB, IVB.
67104         * sysdeps/x86_64/strnlen.S: Likewise.
67106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67107         Remove all multiarch strlen and strnlen versions.
67108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67109         Remove strlen and strnlen related parts.
67111         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67112         Inline strlen part.
67113         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67115         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67116         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67117         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67118         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67119         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67120         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67122 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67124         * manual/memory.texi (Malloc Tunable Parameters):
67125         Sort parameters alphabetically. Add comments for missing entries.
67127 2013-03-17  David S. Miller  <davem@davemloft.net>
67129         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67131 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67133         [BZ #15283]
67134         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67135         for arguments at most half maximum finite value.
67136         * math/libm-test.inc (j0_test): Add more tests.
67137         (j1_test): Likewise.
67138         (y0_test): Likewise.
67139         (y1_test): Likewise.
67140         * sysdeps/i386/fpu/libm-test-ulps: Update.
67141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67143         [BZ #14155]
67144         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67145         1 / x and functions P and Q for arguments above 0x1p256L.
67146         (__ieee754_y0l): Likewise.
67147         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67148         (__ieee754_y1l): Likewise.
67149         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67150         (j1_test): Likewise.
67151         (y0_test): Likewise.
67152         (y1_test): Likewise.
67154 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67156         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67157         variable.
67159 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67161         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67162         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67163         zero since it's initialized to EXEC_PAGESIZE.
67165         * sysdeps/unix/sysv/linux/ldsodefs.h
67166         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67167         * sysdeps/generic/ldsodefs.h: ... here.
67169 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67171         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67173         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67174         math/test-snan.c.
67175         * math/test-snan.c: Renamed from
67176         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67177         * math/Makefile (tests): Add test-snan.
67178         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67179         test-powerpc-snan.
67181         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67182         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67183         functions.
67184         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67185         __builtin_nan family of functions.
67186         * math/libm-test.inc (initialize): Initialize qnan_value with
67187         __builtin_nan family of functions.
67188         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67189         Remove variables.
67190         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67191         Remove functions.
67192         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67193         storage class.  Initialize qNaN_var and sNaN_var with
67194         __builtin_nan and __builtin_nans families of functions,
67195         respectively.
67197         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67198         (sqrt_test): Remove duplicate test with qNaN input.
67199         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67200         (round_test, signbit_test, significand_test): Note missing +/-Inf
67201         as well as qNaN tests.
67203         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67204         qNaN_var.  Fix a few strings, too.
67205         * math/libm-test.inc (nan_value): Rename to qnan_value.
67206         * math/gen-libm-test.pl (%beautify): Adjust to that.
67207         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67208         * math/test-misc.c (main): Likewise.
67209         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67210         to __qnan_bytes, and __qnan_union, respectively.
67211         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67212         Likewise.
67213         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67214         and lqnanval, respectively.
67215         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67216         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67217         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67218         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67220         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67221         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67222         doubles.
67224         * math/test-misc.c (main): Fix copy'n'pastos.
67225         * misc/tst-efgcvt.c (special): Likewise.
67227         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67228         Remove declarations.
67230 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67232         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67233         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67234         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67235         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67237 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67239         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67240         macro to return vdso values correctly in IFUNC implementations.
67241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67242         Optimization by using IFUNC.
67244 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67245             Richard Henderson  <rth@redhat.com>
67246             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67248         * Makefile.in (bench): New target.
67249         * NEWS: Mention the benchmark framework.
67250         * Rules (bench): Likewise.
67251         (binaries-bench): Generate binaries for functions to
67252         benchmark.
67253         * benchtests/Makefile: New makefile for benchmark tests.
67254         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67255         programs.
67256         * benchtests/exp-inputs: New input file for EXP function.
67257         * benchtests/pow-inputs: New input file for POW function.
67258         * scripts/bench.pl: New script to generate source files for
67259         benchmark programs.
67261 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67263         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67264         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67265         computations on mantissa.  Use macros for rounding and
67266         division.
67267         (denorm): Likewise.
67268         (__dbl_mp): Likewise.
67269         (add_magnitudes): Likewise.
67270         (sub_magnitudes): Likewise.
67271         (__mul): Likewise.
67272         (__sqr): Likewise.
67273         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67274         powers of two in terms of TWOPOW macro.
67275         (mp_no): Make type of mantissa as MANTISSA_T.
67276         [!RADIXI]: Define RADIXI.
67277         [!TWO52]: Define TWO52.
67278         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67280         * manual/nptl.texi (cindex): Modify threads to pthreads.
67282 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67284         * sysdeps/x86_64/preconfigure: Regenerated.
67286 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67288         [BZ #14155]
67289         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67290         0x1p28 and above.
67291         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67292         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67293         0x1p28 and above.
67294         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67295         * math/libm-test.inc (j0_test): Do not allow one spurious
67296         underflow exception.
67297         (y1_test): Likewise.
67299 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67301         * manual/Makefile (chapters): Add nptl.
67302         * manual/debug.texi (Debugging Support): Add link to Threads
67303         chapter.
67304         * manual/nptl.texi: New file.
67306         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67308 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67310         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67311         for non-NULL pointer before the memory validity test. Pointed
67312         out by Holger Brunck <holger.brunck@keymile.com>.
67314 2013-03-13  Andreas Schwab  <schwab@suse.de>
67316         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67317         instead of .os.
67319 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67321         * timezone/zic.c: Update from tzcode 2013b.
67323 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67325         * manual/install.texi (Configuring and compiling):
67326         Mention i686 and i586.
67327         * INSTALL: Regenerate.
67329 2013-03-12  Roland McGrath  <roland@hack.frob.com>
67331         * sysdeps/init_array/elf-init.c: New file.
67332         * csu/elf-init.c
67333         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
67334         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
67336         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
67337         __gmon_start__ as global, but as static with a .preinit_array pointer.
67338         * sysdeps/init_array/gmon-start.c: New file.  Use that.
67339         * sysdeps/init_array/crti.S: New file, empty except for comments.
67340         * sysdeps/init_array/crtn.S: Likewise.
67342 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
67344         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
67345         definining bcopy.
67346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67347         Remove Prefer_SSE_for_memop.
67348         * sysdeps/x86_64/multiarch/init-arch.h: Remove
67349         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
67350         HAS_PREFER_SSE_FOR_MEMOP.
67351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
67352         memset-x86-64.
67353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
67354         Remove bzero, memset ifunc support.
67355         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
67356         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
67357         * sysdeps/x86_64/multiarch/memset.S: Likewise.
67358         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
67360 2013-03-11  Andreas Schwab  <schwab@suse.de>
67362         [BZ #15234]
67363         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
67364         by SHLIB_COMPAT.
67365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
67366         (GLIBC_2.16): Remove pthread_atfork.
67368 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
67370         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
67371         (ptestcases.h): Likewise.
67373 2013-03-08  Roland McGrath  <roland@hack.frob.com>
67375         * Makeconfig ($(common-objpfx)config.status): Depend on
67376         sysdeps/*/preconfigure{,.in} too.
67378 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
67380         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
67381         (__free_hook): Use void * instead of __malloc_ptr_t.
67382         (__malloc_hook): Likewise.
67383         (__realloc_hook): Likewise.
67384         (__memalign_hook): Likewise.
67385         (__after_morecore_hook): Likewise.
67386         * malloc/arena.c (save_malloc_hook): Likewise.
67387         (save_free_hook): Likewise.
67388         * malloc/hooks.c (malloc_hook_ini): Likewise.
67389         (realloc_hook_ini): Likewise.
67390         (memalign_hook_ini): Likewise.
67391         * malloc/malloc.c (malloc_hook_ini): Likewise.
67392         (realloc_hook_ini): Likewise.
67393         (memalign_hook_ini): Likewise.
67394         (__free_hook): Likewise.
67395         (__malloc_hook): Likewise.
67396         (__realloc_hook): Likewise.
67397         (__memalign_hook): Likewise.
67398         (__libc_malloc): Likewise.
67399         (__libc_free): Likewise.
67400         (__libc_realloc): Likewise.
67401         (__libc_memalign): Likewise.
67402         (__libc_valloc): Likewise.
67403         (__libc_pvalloc): Likewise.
67404         (__libc_calloc): Likewise.
67405         (__posix_memalign): Likewise.
67406         * malloc/morecore.c (__sbrk): Likewise.
67407         (__default_morecore): Likewise.
67409         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
67411         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
67412         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
67413         __malloc_ptrdiff_t.
67415         * malloc/malloc.h (__malloc_size_t): Remove macro.
67416         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
67417         __malloc_size_t.
67418         (old_memalign_hook): Likewise.
67419         (old_realloc_hook): Likewise.
67420         (struct hdr): Likewise.
67421         (flood): Likewise.
67422         (mallochook): Likewise.
67423         (memalignhook): Likewise.
67424         (reallochook): Likewise.
67425         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
67426         (tr_old_realloc_hook): Likewise.
67427         (tr_old_memalign_hook): Likewise.
67428         (tr_mallochook): Likewise.
67429         (tr_reallochook): Likewise.
67430         (tr_memalignhook): Likewise.
67432 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67434         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
67435         default_ldbl_pack and using as default implementation.
67436         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
67437         implementation.
67438         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
67439         redundant definition.
67440         (ldbl_insert_mantissa): Likewise.
67441         (ldbl_canonicalize): Likewise.
67442         (ldbl_nearbyint): Likewise.
67443         (ldbl_pack): Rename to ldbl_pack_ppc.
67444         (ldbl_unpack): Rename to ldbl_unpack_ppc.
67445         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
67446         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
67448 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
67451         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
67452         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
67453         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
67454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
67455         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
67456         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
67457         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
67459 2013-03-07  Andreas Jaeger  <aj@suse.de>
67461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67462         bits/mman-linux.h.
67464 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67466         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
67467         Include mpa.h and declare __MPEXP.
67468         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
67469         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67470         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67471         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
67472         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67473         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
67474         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
67476         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
67477         (__slowpow): Use long double EXPL and LOGL functions to
67478         compute POW.
67479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
67480         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67481         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
67482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67483         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
67484         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
67486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
67487         intermediate variable to calculate exponent.
67488         (__sqr): Likewise.
67489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67490         Likewise.
67491         (__sqr): Likewise.
67493         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
67494         [!NO__SQR]: Define __sqr.
67495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
67496         and NO__SQR.  Remove all code except __mul and __sqr.  Include
67497         sysdeps/ieee754/dbl-64/mpa.c.
67498         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67500         [BZ #12723]
67501         * posix/Makefile (tests): Add tst-pathconf.
67502         * posix/tst-pathconf.c: New test case.
67503         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
67504         _PC_PIPE_BUF.
67505         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
67507 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
67509         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
67511 2013-03-06  Andreas Jaeger  <aj@suse.de>
67513         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67514         definition via __MAP_ANONYMOUS.
67516         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
67517         it's not part of Linux headers.
67519         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
67520         (MAP_HUGE_MASK): Define.
67522         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67523         Define.
67524         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67526         Define.
67527         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67528         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
67529         Define.
67530         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
67532         Define.
67533         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
67535         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
67536         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
67537         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
67538         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
67539         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
67540         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
67542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
67543         Handle f2fs.
67545         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67546         Handle f2fs and efivarfs.
67548         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
67549         f2fs.
67551         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
67552         (EFIVARFS_MAGIC): Add.
67553         (F2FS_LINK_MAX): Add.
67555 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67557         * stdio-common/vfprintf.c: Replace __builtin_expect with
67558         __glibc_unlikely.
67560 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
67562         [BZ #13550]
67563         * sysdeps/generic/bp-sym.h: Remove file.
67564         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
67565         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
67566         <bp-sym.h> and <bp-asm.h>.
67567         (__longjmp): Don't use BP_SYM.
67568         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
67569         and <bp-asm.h>.
67570         (memcpy): Don't use BP_SYM.
67571         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
67572         <bp-sym.h> and <bp-asm.h>.
67573         (memcpy): Don't use BP_SYM.
67574         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
67575         <bp-asm.h>.
67576         (memcpy): Don't use BP_SYM.
67577         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
67578         <bp-asm.h>.
67579         (memset): Don't use BP_SYM.
67580         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67581         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67582         (__bzero): Don't use BP_SYM.
67583         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67584         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67585         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
67586         <bp-sym.h> and <bp-asm.h>.
67587         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67588         pointers.
67589         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
67590         <bp-sym.h> and <bp-asm.h>.
67591         (memcpy): Don't use BP_SYM.
67592         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
67593         <bp-sym.h> and <bp-asm.h>.
67594         (memset): Don't use BP_SYM.
67595         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67596         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67597         (__bzero): Don't use BP_SYM.
67598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67600         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
67601         <bp-sym.h> and <bp-asm.h>.
67602         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67603         pointers.
67604         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
67605         <bp-sym.h> and <bp-asm.h>.
67606         (memcpy): Don't use BP_SYM.
67607         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
67608         <bp-sym.h> and <bp-asm.h>.
67609         (memset): Don't use BP_SYM.
67610         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67611         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67612         (__bzero): Don't use BP_SYM.
67613         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67614         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67615         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
67616         <bp-sym.h> and <bp-asm.h>.
67617         (__memchr): Don't use BP_SYM.
67618         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
67619         <bp-sym.h> and <bp-asm.h>.
67620         (memcmp): Don't use BP_SYM.  Remove comment about bounded
67621         pointers.
67622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
67623         <bp-sym.h> and <bp-asm.h>.
67624         (memcpy): Don't use BP_SYM.
67625         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
67626         <bp-sym.h> and <bp-asm.h>.
67627         (__mempcpy): Don't use BP_SYM.
67628         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
67629         <bp-sym.h> and <bp-asm.h>.
67630         (__memrchr): Don't use BP_SYM.
67631         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
67632         <bp-sym.h> and <bp-asm.h>.
67633         (memset): Don't use BP_SYM.
67634         (__bzero): Likewise.
67635         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
67636         <bp-sym.h> and <bp-asm.h>.
67637         (__rawmemchr): Don't use BP_SYM.
67638         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
67639         <bp-sym.h> and <bp-asm.h>.
67640         (__STRCMP): Don't use BP_SYM.
67641         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
67642         <bp-sym.h> and <bp-asm.h>.
67643         (strchr): Don't use BP_SYM.
67644         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
67645         <bp-sym.h> and <bp-asm.h>.
67646         (__strchrnul): Don't use BP_SYM.
67647         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
67648         <bp-sym.h> and <bp-asm.h>.
67649         (strlen): Don't use BP_SYM.
67650         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
67651         <bp-sym.h> and <bp-asm.h>.
67652         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67653         pointers.
67654         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
67655         <bp-sym.h> and <bp-asm.h>.
67656         (__strnlen): Don't use BP_SYM.
67657         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
67658         <bp-sym.h> and <bp-asm.h>.
67659         (__GI__setjmp): Don't use BP_SYM.
67660         (_setjmp): Likewise.
67661         (__sigsetjmp): Likewise.
67662         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
67663         (L(start_addresses)): Don't use BP_SYM.
67664         (_start): Likewise.
67665         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
67666         <bp-asm.h>.
67667         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
67668         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
67669         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67670         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67671         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
67672         <bp-asm.h>.
67673         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
67674         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
67675         about bounded pointers.
67676         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67677         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67678         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
67679         <bp-asm.h>.
67680         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67681         about bounded pointers.  Remove GKM FIXME comments.
67682         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67683         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
67684         <bp-asm.h>.
67685         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
67686         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
67687         Remove GKM FIXME comments.
67688         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67689         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67690         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
67691         <bp-asm.h>.
67692         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
67693         about bounded pointers.  Remove GKM FIXME comment.
67694         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
67695         and <bp-asm.h>.
67696         (strncmp): Don't use BP_SYM.  Remove comment about bounded
67697         pointers.
67698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
67699         <bp-sym.h> and <bp-asm.h>.
67700         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
67702         <bp-sym.h> and <bp-asm.h>.
67703         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67704         comment.
67706 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67708         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
67709         call free(NULL).
67711 2013-03-05  David S. Miller  <davem@davemloft.net>
67713         * po/es.po: Update from translation team.
67715 2013-03-05  Andreas Jaeger  <aj@suse.de>
67717         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
67718         <bits/mman-linux.h>.
67719         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67720         is fine.
67721         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
67722         <bits/mman-linux.h> to end of file.
67723         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67724         is fine.
67725         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
67726         <bits/mman-linux.h> to end of file.
67727         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
67728         is fine.
67729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
67730         <bits/mman-linux.h> to end of file.
67732         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
67733         (MCL_CURRENT, MCL_FUTURE): Define here.
67735 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67737         [BZ #15232]
67738         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
67739         attribute_hidden.
67740         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67742 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67744         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
67745         fourth parameter needed for rt_sigprocmask syscall.
67746         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
67747         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
67748         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
67749         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
67750         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
67751         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
67753 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
67755         [BZ #13550]
67756         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
67757         comment about bounded pointers.
67758         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
67759         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
67761 2013-03-04  Andreas Jaeger  <aj@suse.de>
67763         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
67764         common definitions.
67766         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
67767         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
67768         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
67769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67770         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67773 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67775         [BZ #15055]
67776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
67777         __ieee754_sqrl instead of __sqrl.
67779 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
67781         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
67782         * sysdeps/powerpc/fpu_control.h: ... here.
67783         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
67784         * sysdeps/powerpc/bits/fenvinline.h: ... here.
67785         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
67786         * sysdeps/powerpc/bits/mathinline.h: ... here.
67788 2013-03-01  Roland McGrath  <roland@hack.frob.com>
67790         * elf/dl-hwcaps.c (_dl_important_hwcaps):
67791         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
67792         to just [NEED_DL_SYSINFO_DSO].
67793         * elf/dl-support.c: Likewise.
67794         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67795         * elf/rtld.c (dl_main): Likewise.
67796         * elf/setup-vdso.h (setup_vdso): Likewise.
67797         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67798         * sysdeps/unix/sysv/linux/dl-sysdep.c
67799         (_dl_discover_osversion): Likewise.
67801 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67803         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67804         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67806 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67808         * NEWS: Mention libm performance improvements and non-x86 PI
67809         futex support.
67811         * csu/libc-start.c (__pthread_initialize_minimal): Change
67812         function arguments.
67813         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67815 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67817         [BZ #13550]
67818         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67819         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
67820         <bp-sym.h> and <bp-asm.h>.
67821         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67822         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
67823         and <bp-asm.h>.
67824         (memcpy): Don't use BP_SYM.
67825         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67826         <bp-asm.h>.
67827         (__mpn_add_n): Don't use BP_SYM.
67828         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67829         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67830         and <bp-asm.h>.
67831         (__mpn_addmul_1): Don't use BP_SYM.
67832         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67833         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67834         <bp-sym.h>.
67835         (_setjmp): Don't use BP_SYM.
67836         (__novmx_setjmp): Likewise.
67837         (__GI__setjmp): Likewise.
67838         (__vmx_setjmp): Likewise.
67839         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67840         <bp-sym.h>.
67841         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67842         (__bzero): Don't use BP_SYM.
67843         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67844         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67845         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67846         <bp-sym.h> and <bp-asm.h>.
67847         (memcpy): Don't use BP_SYM.
67848         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67849         <bp-sym.h> and <bp-asm.h>.
67850         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67852         <bp-sym.h> and <bp-asm.h>.
67853         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67854         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67855         <bp-asm.h>.
67856         (__mpn_lshift): Don't use BP_SYM.
67857         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67858         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67859         <bp-asm.h>.
67860         (memset): Don't use BP_SYM.
67861         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67862         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67863         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67864         <bp-asm.h>.
67865         (__mpn_mul_1): Don't use BP_SYM.
67866         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67868         <bp-sym.h> and <bp-asm.h>.
67869         (memcmp): Don't use BP_SYM.
67870         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67871         <bp-sym.h> and <bp-asm.h>.
67872         (memcpy): Don't use BP_SYM.
67873         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67874         <bp-sym.h> and <bp-asm.h>.
67875         (memset): Don't use BP_SYM.
67876         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67877         <bp-sym.h> and <bp-asm.h>.
67878         (strncmp): Don't use BP_SYM.
67879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67880         <bp-sym.h> and <bp-asm.h>.
67881         (memcpy): Don't use BP_SYM.
67882         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67883         <bp-sym.h> and <bp-asm.h>.
67884         (memset): Don't use BP_SYM.
67885         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67886         <bp-sym.h> and <bp-asm.h>.
67887         (__memchr): Don't use BP_SYM.
67888         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67889         <bp-sym.h> and <bp-asm.h>.
67890         (memcmp): Don't use BP_SYM.
67891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67892         <bp-sym.h> and <bp-asm.h>.
67893         (memcpy): Don't use BP_SYM.
67894         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67895         <bp-sym.h> and <bp-asm.h>.
67896         (__mempcpy): Don't use BP_SYM.
67897         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67898         <bp-sym.h> and <bp-asm.h>.
67899         (__memrchr): Don't use BP_SYM.
67900         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67901         <bp-sym.h> and <bp-asm.h>.
67902         (memset): Don't use BP_SYM.
67903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67904         <bp-sym.h> and <bp-asm.h>.
67905         (__rawmemchr): Don't use BP_SYM.
67906         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67907         <bp-sym.h> and <bp-asm.h>.
67908         (__STRCMP): Don't use BP_SYM.
67909         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67910         <bp-sym.h> and <bp-asm.h>.
67911         (strchr): Don't use BP_SYM.
67912         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67913         <bp-sym.h> and <bp-asm.h>.
67914         (__strchrnul): Don't use BP_SYM.
67915         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67916         <bp-sym.h> and <bp-asm.h>.
67917         (strlen): Don't use BP_SYM.
67918         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67919         <bp-sym.h> and <bp-asm.h>.
67920         (strncmp): Don't use BP_SYM.
67921         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67922         <bp-sym.h> and <bp-asm.h>.
67923         (__strnlen): Don't use BP_SYM.
67924         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67925         <bp-asm.h>.
67926         (__mpn_rshift): Don't use BP_SYM.
67927         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67928         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67929         <bp-sym.h> and <bp-asm.h>.
67930         (__sigsetjmp): Don't use BP_SYM.
67931         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67932         (L(start_addresses)): Don't use BP_SYM.
67933         (_start): Likewise.
67934         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67935         <bp-asm.h>.
67936         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67937         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67938         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67939         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67940         <bp-asm.h>.
67941         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67942         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67943         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67944         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67945         <bp-asm.h>.
67946         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67947         comments.
67948         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67949         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67950         <bp-asm.h>.
67951         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67952         FIXME comments.
67953         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67954         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67955         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67956         <bp-asm.h>.
67957         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67958         comment.
67959         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67960         and <bp-asm.h>.
67961         (strncmp): Don't use BP_SYM,
67962         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67963         <bp-asm.h>.
67964         (__mpn_sub_n): Don't use BP_SYM.
67965         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67966         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67967         and <bp-asm.h>.
67968         (__mpn_submul_1): Don't use BP_SYM.
67969         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67971         <bp-sym.h> and <bp-asm.h>.
67972         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67974         <bp-sym.h> and <bp-asm.h>.
67975         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67976         comment.
67978 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67981         Use ZK to minimize writes to Z.
67982         (sub_magnitudes): Simplify code a bit.
67983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67984         Use ZK to minimize writes to Z.
67985         (sub_magnitudes): Simplify code a bit.
67987 2013-02-27  Roland McGrath  <roland@hack.frob.com>
67989         * csu/gmon-start.c: Add special exception to license text.
67991 2013-02-27  Richard Henderson  <rth@redhat.com>
67993         * scripts/config.guess: Update from config.git.
67994         * scripts/config.sub: Likewise.
67996 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67998         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68000         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68002         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68004         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68006         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68008 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68010         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68011         [$(build-shared = yes].
68013 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68015         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68016         (__mul): Reduce iterations for calculating mantissa.
68018         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68019         MPTWO.
68020         (__mpranred): Likewise.
68022         [BZ #15160]
68023         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68024         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68026 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68028         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68029         Define __attribute__.
68031 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68033         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68034         unused.
68035         * posix/regex_internal.h (__attribute): Remove.
68036         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68037         (re_string_context_at): Likewise.
68038         (bitset_not): Use __attribute__ and mark function as possibly
68039         unused.
68040         (bitset_merge): Likewise.
68041         (bitset_mask): Likewise.
68042         (re_string_char_size_at): Likewise.
68043         (re_string_wchar_at): Likewise.
68044         (re_string_elem_size_at): Likewise.
68046 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68048         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68049         code.
68050         (cc32): Likewise.
68052         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68053         (__acr): Likewise.
68054         (__cpy): Likewise.
68055         (norm): Likewise.
68056         (denorm): Likewise.
68057         (__dbl_mp): Likewise.
68058         (add_magnitudes): Likewise.
68059         (sub_magnitudes): Likewise.
68060         (__mul): Likewise.
68061         (__inv): Likewise.
68063         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68064         style.
68066         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68067         style.
68069         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68070         code.
68072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68073         up changes with default code.
68074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68075         Likewise.
68077 2013-02-24  Allan McRae  <allan@archlinux.org>
68079         * manual/socket.texi (The Internet Namespace): Order menu items
68080         to match that in the file.
68082         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68083         node listing of the info page menu.
68085 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68087         [BZ #13550]
68088         * sysdeps/i386/bp-asm.h: Remove file.
68089         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68090         (PARMS): Do not use macros from bp-asm.h.
68091         (S1): Likewise.
68092         (S2): Likewise.
68093         (SIZE): Likewise.
68094         (__mpn_add_n): Do not use BP_SYM
68095         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68096         "bp-asm.h".
68097         (PARMS): Do not use macros from bp-asm.h.
68098         (S1): Likewise.
68099         (SIZE): Likewise.
68100         (__mpn_addmul_1): Do not use BP_SYM
68101         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68102         "bp-asm.h".
68103         (PARMS): Do not use macros from bp-asm.h.
68104         (SIGMSK): Likewise.
68105         (_setjmp): Likewise.  Do not use BP_SYM.
68106         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68107         "bp-asm.h".
68108         (PARMS): Do not use macros from bp-asm.h.
68109         (SIGMSK): Likewise.
68110         (setjmp): Likewise.  Do not use BP_SYM.
68111         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68112         "bp-asm.h".
68113         (PARMS): Do not use macros from bp-asm.h.
68114         (__frexp): Do not use BP_SYM.
68115         (frexp): Likewise.
68116         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68117         "bp-asm.h".
68118         (PARMS): Do not use macros from bp-asm.h.
68119         (__frexpf): Do not use BP_SYM.
68120         (frexpf): Likewise.
68121         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68122         "bp-asm.h".
68123         (PARMS): Do not use macros from bp-asm.h.
68124         (__frexpl): Do not use BP_SYM.
68125         (frexpl): Likewise.
68126         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68127         "bp-asm.h".
68128         (PARMS): Do not use macros from bp-asm.h.
68129         (__remquo): Do not use BP_SYM.
68130         (remquo): Likewise.
68131         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68132         "bp-asm.h".
68133         (PARMS): Do not use macros from bp-asm.h.
68134         (__remquof): Do not use BP_SYM.
68135         (remquof): Likewise.
68136         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68137         "bp-asm.h".
68138         (PARMS): Do not use macros from bp-asm.h.
68139         (__remquol): Do not use BP_SYM.
68140         (remquol): Likewise.
68141         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68142         "bp-asm.h".
68143         (PARMS): Do not use macros from bp-asm.h.
68144         (DEST): Likewise.
68145         (SRC): Likewise.
68146         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68147         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68148         "bp-asm.h".
68149         (PARMS): Do not use macros from bp-asm.h.
68150         (strlen): Do not use BP_SYM.
68151         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68152         "bp-asm.h".
68153         (PARMS): Do not use macros from bp-asm.h.
68154         (S1): Likewise.
68155         (S2): Likewise.
68156         (SIZE): Likewise.
68157         (__mpn_add_n): Do not use BP_SYM.
68158         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68159         "bp-asm.h".
68160         (PARMS): Do not use macros from bp-asm.h.
68161         (S1): Likewise.
68162         (SIZE): Likewise.
68163         (__mpn_addmul_1): Do not use BP_SYM.
68164         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68165         weak_alias.
68166         (bzero): Likewise.
68167         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68168         "bp-asm.h".
68169         (PARMS): Do not use macros from bp-asm.h.
68170         (S): Likewise.
68171         (SIZE): Likewise.
68172         (__mpn_lshift): Do not use BP_SYM.
68173         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68174         "bp-asm.h".
68175         (PARMS): Do not use macros from bp-asm.h.
68176         (DEST): Likewise.
68177         (SRC): Likewise.
68178         (LEN): Likewise.
68179         (memcpy): Likewise.  Do not use BP_SYM.
68180         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68181         libc_hidden_def and weak_alias.
68182         (mempcpy): Do not use BP_SYM in weak_alias.
68183         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68184         "bp-asm.h".
68185         (PARMS): Do not use macros from bp-asm.h.
68186         (DEST): Likewise.
68187         (LEN): Likewise.
68188         [!BZERO_P] (CHR): Likewise.
68189         (memset): Likewise.  Do not use BP_SYM.
68190         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68191         "bp-asm.h".
68192         (PARMS): Do not use macros from bp-asm.h.
68193         (S1): Likewise.
68194         (SIZE): Likewise.
68195         (__mpn_mul_1): Do not use BP_SYM.
68196         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68197         "bp-asm.h".
68198         (PARMS): Do not use macros from bp-asm.h.
68199         (S): Likewise.
68200         (SIZE): Likewise.
68201         (__mpn_rshift): Do not use BP_SYM.
68202         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68203         "bp-asm.h".
68204         (PARMS): Do not use macros from bp-asm.h.
68205         (STR): Likewise.
68206         (CHR): Likewise.
68207         (strchr): Likewise.  Do not use BP_SYM.
68208         (index): Do not use BP_SYM in weak_alias.
68209         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68210         "bp-asm.h".
68211         (PARMS): Do not use macros from bp-asm.h.
68212         (DEST): Likewise.
68213         (SRC): Likewise.
68214         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68215         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68216         "bp-asm.h".
68217         (PARMS): Do not use macros from bp-asm.h.
68218         (strlen): Do not use BP_SYM.
68219         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68220         "bp-asm.h".
68221         (PARMS): Do not use macros from bp-asm.h.
68222         (S1): Likewise.
68223         (S2): Likewise.
68224         (SIZE): Likewise.
68225         (__mpn_sub_n): Do not use BP_SYM.
68226         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68227         "bp-asm.h".
68228         (PARMS): Do not use macros from bp-asm.h.
68229         (S1): Likewise.
68230         (SIZE): Likewise.
68231         (__mpn_submul_1): Do not use BP_SYM.
68232         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68233         "bp-asm.h".
68234         (PARMS): Do not use macros from bp-asm.h.
68235         (S1): Likewise.
68236         (S2): Likewise.
68237         (SIZE): Likewise.
68238         (__mpn_add_n): Do not use BP_SYM.
68239         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68240         weak_alias.
68241         (bzero): Likewise.
68242         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68243         "bp-asm.h".
68244         (PARMS): Do not use macros from bp-asm.h.
68245         (BLK2): Likewise.
68246         (LEN): Likewise.
68247         (memcmp): Do not use BP_SYM.
68248         (bcmp): Do not use BP_SYM in weak_alias.
68249         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68250         "bp-asm.h".
68251         (PARMS): Do not use macros from bp-asm.h.
68252         (DEST): Likewise.
68253         (SRC): Likewise.
68254         (LEN): Likewise.
68255         (memcpy): Likewise.  Do not use BP_SYM.
68256         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68257         "bp-asm.h".
68258         (PARMS): Do not use macros from bp-asm.h.
68259         (DEST): Likewise.
68260         (SRC): Likewise.
68261         (LEN): Likewise.
68262         (memmove): Likewise.  Do not use BP_SYM.
68263         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68264         "bp-asm.h".
68265         (PARMS): Do not use macros from bp-asm.h.
68266         (DEST): Likewise.
68267         (SRC): Likewise.
68268         (LEN): Likewise.
68269         (__mempcpy): Likewise.  Do not use BP_SYM.
68270         (mempcpy): Do not use BP_SYM in weak_alias.
68271         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68272         "bp-asm.h".
68273         (PARMS): Do not use macros from bp-asm.h.
68274         (DEST): Likewise.
68275         (LEN): Likewise.
68276         [!BZERO_P] (CHR): Likewise.
68277         (memset): Likewise.  Do not use BP_SYM.
68278         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68279         "bp-asm.h".
68280         (PARMS): Do not use macros from bp-asm.h.
68281         (STR2): Likewise.
68282         (strcmp): Do not use BP_SYM.
68283         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68284         "bp-asm.h".
68285         (PARMS): Do not use macros from bp-asm.h.
68286         (STR): Likewise.
68287         (DELIM): Likewise.
68288         [USE_AS_STRTOK_R] (SAVE): Likewise.
68289         (FUNCTION): Likewise.  Do not use BP_SYM.
68290         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68291         aliases.
68292         (strtok_r): Likewise.
68293         (__GI___strtok_r): Likewise.
68294         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68295         (PARMS): Do not use macros from bp-asm.h.
68296         (S): Likewise.
68297         (SIZE): Likewise.
68298         (__mpn_lshift): Do not use BP_SYM.
68299         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68300         (PARMS): Do not use macros from bp-asm.h.
68301         (STR): Likewise.
68302         (CHR): Likewise.
68303         (__memchr): Do not use BP_SYM.
68304         (memchr): Do not use BP_SYM in weak_alias.
68305         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68306         (PARMS): Do not use macros from bp-asm.h.
68307         (BLK2): Likewise.
68308         (LEN): Likewise.
68309         (memcmp): Do not use BP_SYM.
68310         (bcmp): Do not use BP_SYM in weak_alias.
68311         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68312         (PARMS): Do not use macros from bp-asm.h.
68313         (S1): Likewise.
68314         (SIZE): Likewise.
68315         (__mpn_mul_1): Do not use BP_SYM.
68316         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68317         "bp-asm.h".
68318         (PARMS): Do not use macros from bp-asm.h.
68319         (STR): Likewise.
68320         (CHR): Likewise.
68321         (__rawmemchr): Do not use BP_SYM.
68322         (rawmemchr): Do not use BP_SYM in weak_alias.
68323         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68324         (PARMS): Do not use macros from bp-asm.h.
68325         (S): Likewise.
68326         (SIZE): Likewise.
68327         (__mpn_rshift): Do not use BP_SYM.
68328         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68329         (PARMS): Do not use macros from bp-asm.h.
68330         (SIGMSK): Likewise.
68331         (__sigsetjmp): Likewise.  Do not use BP_SYM.
68332         * sysdeps/i386/start.S: Do not include "bp-sym.h".
68333         (_start): Do not use BP_SYM.
68334         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
68335         (PARMS): Do not use macros from bp-asm.h.
68336         (DEST): Likewise.
68337         (SRC): Likewise.
68338         (__stpcpy): Likewise.  Do not use BP_SYM.
68339         (stpcpy): Do not use BP_SYM in weak_alias.
68340         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
68341         "bp-asm.h".
68342         (PARMS): Do not use macros from bp-asm.h.
68343         (DEST): Likewise.
68344         (SRC): Likewise.
68345         (LEN): Likewise.
68346         (__stpncpy): Likewise.  Do not use BP_SYM.
68347         (stpncpy): Do not use BP_SYM in weak_alias.
68348         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68349         (PARMS): Do not use macros from bp-asm.h.
68350         (STR): Likewise.
68351         (CHR): Likewise.
68352         (strchr): Likewise.  Do not use BP_SYM.
68353         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
68354         "bp-asm.h".
68355         (PARMS): Do not use macros from bp-asm.h.
68356         (STR): Likewise.
68357         (CHR): Likewise.
68358         (__strchrnul): Likewise.  Do not use BP_SYM.
68359         (strchrnul): Do not use BP_SYM in weak_alias.
68360         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
68361         "bp-asm.h".
68362         (PARMS): Do not use macros from bp-asm.h.
68363         (STOP): Likewise.
68364         (strcspn): Do not use BP_SYM.
68365         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
68366         "bp-asm.h".
68367         (PARMS): Do not use macros from bp-asm.h.
68368         (STR): Likewise.
68369         (STOP): Likewise.
68370         (strpbrk): Likewise.  Do not use BP_SYM.
68371         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
68372         "bp-asm.h".
68373         (PARMS): Do not use macros from bp-asm.h.
68374         (STR): Likewise.
68375         (CHR): Likewise.
68376         (strrchr): Likewise.  Do not use BP_SYM.
68377         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
68378         (PARMS): Do not use macros from bp-asm.h.
68379         (SKIP): Likewise.
68380         (strspn): Do not use BP_SYM.
68381         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
68382         (PARMS): Do not use macros from bp-asm.h.
68383         (STR): Likewise.
68384         (DELIM): Likewise.
68385         (SAVE): Likewise.
68386         (FUNCTION): Likewise.  Do not use BP_SYM.
68387         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
68388         aliases.
68389         (strtok_r): Likewise.
68390         (__GI___strtok_r): Likewise.
68391         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68392         (PARMS): Do not use macros from bp-asm.h.
68393         (S1): Likewise.
68394         (S2): Likewise.
68395         (SIZE): Likewise.
68396         (__mpn_sub_n): Do not use BP_SYM.
68397         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
68398         "bp-asm.h".
68399         (PARMS): Do not use macros from bp-asm.h.
68400         (S1): Likewise.
68401         (SIZE): Likewise.
68402         (__mpn_submul_1): Do not use BP_SYM.
68403         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
68404         <bp-sym.h>.
68405         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
68406         and <bp-asm.h>.
68407         (PARMS): Do not use macros from bp-asm.h.
68408         (FLAGS): Likewise.
68409         (PTID): Likewise.
68410         (TLS): Likewise.
68411         (CTID): Likewise.
68412         (__clone): Do not use BP_SYM.
68413         (clone): Do not use BP_SYM in weak_alias.
68414         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
68415         and <bp-asm.h>.
68416         (PARMS): Do not use macros from bp-asm.h.
68417         (LEN): Likewise.
68418         (__mmap64): Do not use BP_SYM.
68419         (mmap64): Do not use BP_SYM in weak_alias.
68420         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
68421         <bp-sym.h> and <bp-asm.h>.
68422         (PARMS): Do not use macros from bp-asm.h.
68423         (__posix_fadvise64_l64): Do not use BP_SYM.
68424         * sysdeps/unix/sysv/linux/i386/semtimedop.S
68425         (PARMS): Do not use macros from bp-asm.h.
68426         (NSOPS): Likewise.
68427         (semtimedop): Do not use BP_SYM.
68428         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
68429         and <bp-asm.h>.
68431 2013-02-21  Allan McRae  <allan@archlinux.org>
68433         * manual/message.texi (Charset conversion in gettext):
68434         Move @end statement to beginning of line.
68436 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
68439         static.
68440         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68441         Likewise.
68443         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
68444         (denorm): Likewise.
68445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
68446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
68448 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68450         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
68451         tail-call to the resolved function if pltexit isn't needed.
68453 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
68456         or Y being zero as being unlikely.
68457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68458         Likewise.
68460 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
68462         * manual/nss.texi (System Databases and Name Service Switch):
68463         Remove frobnicate @pxref.
68465 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68467         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68468         __attribute__ ((unused)) to __attribute__ ((__unused__)).
68470 2013-02-20  Petr Machata  <pmachata@redhat.com>
68472         * elf/elf.h (R_ARM_TARGET1): New macro.
68473         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
68474         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
68475         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
68476         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
68477         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
68478         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
68479         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
68480         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
68481         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
68482         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
68483         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
68484         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
68485         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
68486         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
68487         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
68488         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
68489         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
68490         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
68491         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
68492         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
68493         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
68494         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
68495         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
68496         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
68497         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
68498         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
68499         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
68500         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
68501         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
68502         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
68503         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
68504         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
68505         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
68506         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
68507         (R_ARM_THM_GOT_BREL12): Likewise.
68508         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
68509         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
68510         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
68511         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
68512         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
68513         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
68514         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
68515         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
68516         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
68518 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
68520         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
68521         __attribute_used__ to __attribute__ ((unused)).
68523 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68525         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
68526         powerpc mpa.c.
68527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
68528         comment formatting.
68529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
68531 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
68533         [BZ #13550]
68534         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
68535         Remove macro.
68536         (ENTER): Remove both macro definitions.
68537         (LEAVE): Likewise.
68538         (CHECK_BOUNDS_LOW): Likewise.
68539         (CHECK_BOUNDS_HIGH): Likewise.
68540         (CHECK_BOUNDS_BOTH): Likewise.
68541         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
68542         (RETURN_BOUNDED_POINTER): Likewise.
68543         (RETURN_NULL_BOUNDED_POINTER): Likewise.
68544         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
68545         (POP_ERRNO_LOCATION_RETURN): Likewise.
68546         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
68547         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68548         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
68549         macros.
68550         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68551         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
68552         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
68553         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
68554         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
68555         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
68556         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
68557         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
68558         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
68559         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
68560         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
68561         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
68562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68563         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
68564         removed macros.
68565         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68566         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
68567         macros.
68568         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68569         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
68570         * sysdeps/i386/i586/memset.S (memset): Likewise.
68571         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
68572         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68573         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
68574         macros.
68575         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68576         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
68577         Change uses of L(2) to L(out).
68578         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
68579         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
68580         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
68581         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68582         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
68583         removed macros.
68584         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68585         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
68586         macros.
68587         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68588         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
68589         (RETURN): Do not use macro LEAVE.
68590         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
68591         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
68592         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
68593         * sysdeps/i386/i686/memset.S (memset): Likewise.
68594         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
68595         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
68596         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68597         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
68598         Likewise.
68599         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68600         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
68601         L(1_2) and L(1_3) into L(1).
68602         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68603         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
68604         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68605         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
68606         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68607         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
68608         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
68609         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68610         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
68611         macros.
68612         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
68613         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68614         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
68615         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
68616         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
68617         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68618         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
68619         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
68620         * sysdeps/i386/strcspn.S (strcspn): Likewise.
68621         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
68622         * sysdeps/i386/strrchr.S (strrchr): Likewise.
68623         * sysdeps/i386/strspn.S (strspn): Likewise.
68624         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
68625         conditional code.
68626         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68627         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
68628         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
68629         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
68630         L(1_3) into L(1_1).
68631         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
68632         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68633         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
68634         macros.
68635         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68637 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
68639         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
68640         macro.
68642 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68644         * math/atest-exp.c (exp_mpn): Remove ROUND.
68645         * math/atest-exp2.c (exp_mpn): Likewise.
68646         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
68648         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
68649         * stdlib/tst-tls-atexit-lib.c: Likewise.
68650         * stdlib/tst-tls-atexit.c: Likewise.
68652 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68654         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
68655         and __attribute_alloc_size__.
68657 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68659         * include/programs/xmalloc.h: Change __attribute_alloc_size to
68660         __attribute_alloc_size__.
68661         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
68662         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
68664 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
68666         * include/programs/xmalloc.h: New file.
68667         * catgets/gencat.c: Include it.
68668         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
68669         * elf/pldd.c: Likewise.
68670         * iconv/iconv_charmap.c: Likewise.
68671         * iconv/iconvconfig.c: Likewise.
68672         * iconv/strtab.c: Likewise.
68673         * locale/programs/locale.c: Likewise.
68674         * locale/programs/localedef.h: Likewise.
68675         * locale/programs/simple-hash.c: Likewise.
68676         * nscd/nscd.h: Likewise.
68677         * nss/makedb.c: Likewise.
68678         * sysdeps/generic/ldconfig.h: Likewise.
68680 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68682         * Versions.def: Add GLIBC_2.18.
68683         * include/link.h (struct link_map): New member l_tls_dtor_count.
68684         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
68685         (__call_tls_dtors): Likewise.
68686         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
68687         __cxa_thread_atexit_impl.
68688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68689         Likewise.
68690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68691         Likewise.
68692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
68693         Likewise.
68694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
68695         Likewise.
68696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
68698         Likewise.
68699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
68700         Likewise.
68701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68703         Likewise.
68704         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
68705         (tests): Add test case tst-tls-atexit.
68706         (modules-names): Add shared library for tst-tls-atexit.
68707         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
68708         (GLIBC_PRIVATE): Add __call_tls_dtors.
68709         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
68710         for libstdc++.
68711         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
68712         * stdlib/tst-tls-atexit.c: New test case.
68713         * stdlib/tst-tls-atexit-lib.c: New test case.
68715         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
68717         * elf/Versions (ld): Add _dl_find_dso_for_object.
68718         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
68719         * elf/dl-open.c (_dl_find_dso_for_object): New function.
68720         (dl_open_worker): Use _dl_find_dso_for_object.
68721         * elf/dl-sym.c (do_sym): Likewise.
68722         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
68724 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68726         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
68727         Syntactic changes only.
68728         (_dl_runtime_profile): Do a tail-call to the resolved function.
68730 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
68732         [BZ #13550]
68733         * sysdeps/x86_64/bp-asm.h: Remove file.
68734         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
68735         <bp-sym.h> and <bp-asm.h>.
68736         (__clone): Do not use BP_SYM.
68737         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
68738         <bp-sym.h> and <bp-asm.h>.
68739         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68740         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
68741         "bp-asm.h".
68742         (_setjmp): Do not use BP_SYM.
68743         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68744         "bp-asm.h".
68745         (setjmp): Do not use BP_SYM.
68746         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
68747         libc_hidden_def.
68748         (mempcpy): Do not use BP_SYM in weak_alias.
68749         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
68750         "bp-asm.h".
68751         (strchr): Do not use BP_SYM.
68752         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
68753         "bp-asm.h".
68754         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
68755         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
68756         (_start): Do not use BP_SYM.
68757         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
68758         "bp-asm.h".
68759         (strcat): Do not use BP_SYM.
68760         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
68761         "bp-asm.h".
68762         (STRCMP): Do not use BP_SYM.
68763         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
68764         "bp-asm.h".
68765         (STRCPY): Do not use BP_SYM.
68766         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
68767         "bp-asm.h".
68768         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
68769         "bp-asm.h".
68770         (FUNCTION): Do not use BP_SYM.
68771         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
68772         weak_alias.
68773         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
68775 2013-02-17  Andreas Jaeger  <aj@suse.de>
68777         * time/Versions: Sort entries.
68778         * string/Versions: Likewise.
68779         * resolv/Versions: Likewise.
68780         * posix/Versions: Likewise.
68781         * iconv/Versions: Likewise.
68782         * elf/Versions: Likewise.
68783         * wcsmbs/Versions: Likewise.
68785 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68787         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
68788         loop termination condition.
68790         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
68791         variable to calculate EZ.
68792         (__sqr): Likewise.
68794         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68795         the lower precision input.
68797 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68799         [BZ #13550]
68800         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68801         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68802         (run-via-rtld-prefix): Do not handle %-bp tests.
68803         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68804         (all-object-suffixes): Remove .ob.
68805         (bppfx): Remove variable.
68806         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68807         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68808         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68809         [$(build-bounded) = yes] (libtype.ob): Likewise.
68810         * Makerules (elide-routines.ob): Remove variable.
68811         (do-tests-clean): Do not handle *-bp.out.
68812         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68813         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68814         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68815         (tests): Do not include $(tests-bp.out).
68816         (xtests): Do not include $(xtests-bp.out).
68817         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68818         [$(build-bounded) = yes] ($(addprefix
68819         $(objpfx),$(binaries-bounded))): Remove rule.
68820         ($(objpfx)%-bp.out): Remove rule.
68821         * config.make.in (build-bounded): Remove variable.
68822         * crypt/Makefile [$(build-bounded) = yes]
68823         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68824         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68825         append to variable.
68826         [$(build-bounded) = yes] (install-lib): Likewise.
68827         [$(build-bounded) = yes] (generated): Likewise.
68828         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68829         Remove rule.
68830         * intl/Makefile [$(build-bounded) = yes]
68831         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68832         * math/Makefile [$(build-bounded) = yes]
68833         ($(tests:%=$(objpfx)%-bp): Likewise.
68834         * misc/Makefile [$(build-bounded) = yes]
68835         ($(objpfx)tst-tsearch-bp): Likewise.
68836         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68837         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68838         Remove dependency.
68839         * string/Makefile (o-objects.ob): Remove variable.
68840         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68841         (CFLAGS-.ob): Remove variable.
68842         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68843         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68844         both definitions of variable.
68845         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68846         (ASFLAGS-.ob): Remove variable.
68848 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68850         [BZ #13550]
68851         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68852         Remove __BOUNDED_POINTERS__ from condition.
68853         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68854         * string/bits/string2.h [!__NO_STRING_INLINES &&
68855         !__BOUNDED_POINTERS__]: Likewise.
68856         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68857         Likewise.
68858         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68859         Remove conditional code.
68860         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68861         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68862         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68863         condition.
68865         [BZ #13550]
68866         * csu/libc-start.c: Do not include <bp-sym.h>.
68867         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68868         * elf/dl-open.c: Do not include <bp-sym.h>.
68869         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68870         * math/fegetenv.c: Do not include <bp-sym.h>.
68871         (fegetenv): Do not use BP_SYM in versioned symbols.
68872         * nptl/sysdeps/pthread/bits/libc-lockP.h
68873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68874         <bp-sym.h>.
68875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68876         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68878         (__pthread_mutex_destroy): Likewise.
68879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68880         (__pthread_mutex_lock): Likewise.
68881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68882         (__pthread_mutex_trylock): Likewise.
68883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68884         (__pthread_mutex_unlock): Likewise.
68885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68886         (__pthread_mutexattr_init): Likewise.
68887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68888         (__pthread_mutexattr_destroy): Likewise.
68889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68890         (__pthread_mutexattr_settype): Likewise.
68891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68892         (__pthread_rwlock_init): Likewise.
68893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68894         (__pthread_rwlock_destroy): Likewise.
68895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68896         (__pthread_rwlock_rdlock): Likewise.
68897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68898         (__pthread_rwlock_tryrdlock): Likewise.
68899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68900         (__pthread_rwlock_wrlock): Likewise.
68901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68902         (__pthread_rwlock_trywrlock): Likewise.
68903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68904         (__pthread_rwlock_unlock): Likewise.
68905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68906         (__pthread_key_create): Likewise.
68907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68908         (__pthread_setspecific): Likewise.
68909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68910         (__pthread_getspecific): Likewise.
68911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68912         Likewise.
68913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68914         (_pthread_cleanup_push_defer): Likewise.
68915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68916         (_pthread_cleanup_pop_restore): Likewise.
68917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68918         (pthread_setcancelstate): Likewise.
68919         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68920         <bp-sym.h>.
68921         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68922         (memchr): Do not use BP_SYM in weak_alias.
68923         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68924         (fegetenv): Do not use BP_SYM in versioned symbols.
68925         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68926         (fesetenv): Do not use BP_SYM in versioned symbols.
68927         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68928         (feupdateenv): Do not use BP_SYM in versioned symbols.
68929         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68930         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68931         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68932         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68933         (open64): Do not use BP_SYM in weak_alias.
68934         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68935         (fegetenv): Do not use BP_SYM in versioned symbols.
68936         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68937         (fesetenv): Do not use BP_SYM in versioned symbols.
68938         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68939         (feupdateenv): Do not use BP_SYM in versioned symbols.
68940         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68941         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68942         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68943         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68944         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68945         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68946         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68947         <bp-sym.h>.
68948         (__libc_start_main): Do not use BP_SYM.
68950 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68953         redundant return line.
68954         (norm): Likewise.
68955         (denorm): Likewise.
68956         (dbl_mp): Likewise.
68957         (sub_magnitudes): Likewise.
68958         (__add): Likewise.
68959         (__sub): Likewise.
68960         (__mul): Likewise.
68961         (__inv): Likewise.
68962         (__dvd): Likewise.
68963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68964         (norm): Likewise.
68965         (denorm): Likewise.
68966         (dbl_mp): Likewise.
68967         (sub_magnitudes): Likewise.
68968         (__add): Likewise.
68969         (__sub): Likewise.
68970         (__mul): Likewise.
68971         (__inv): Likewise.
68972         (__dvd): Likewise.
68974         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68975         instead of __mul.
68976         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68977         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68978         (cc32): Likewise.
68980         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68981         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68983         of __mul for squares.
68984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68985         function
68986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68987         Likewise.
68988         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68989         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68991 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
68993         [BZ #13550]
68994         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68995         code.
68996         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68997         prototype or function definition.  Rename ubp_* variables and
68998         parameters.  Remove argv definitions conditional on
68999         [__BOUNDED_POINTERS__].
69000         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69001         * elf/dl-runtime.c (_dl_fixup): Likewise.
69002         * include/set-hooks.h (RUN_HOOK): Likewise.
69003         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69004         definition.
69005         * string/strcpy.c (strcpy): Do not use __unbounded.
69006         * sysdeps/generic/frame.h (struct layout): Likewise.
69007         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69008         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69009         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69010         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69011         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69012         (__backtrace): Likewise.
69013         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69014         use __ptrvalue.
69015         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69016         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69017         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69018         Likewise.
69019         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69020         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69021         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69022         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69023         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69024         Do not use __unbounded.
69025         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69026         Rename __unboundedrlimits parameter to rlimits in prototype.
69027         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69028         Do not use __unbounded.
69029         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69030         not use __ptrvalue.
69031         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69032         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69033         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69034         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69035         __ptrvalue or __unbounded.
69036         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69037         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69038         use __unbounded.
69039         (__new_msgctl): Do not use __ptrvalue.
69040         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69041         __unbounded.
69042         (__libc_msgrcv): Do not use __ptrvalue.
69043         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69044         startup_info): Do not use __unbounded.
69045         (__libc_start_main): Likewise.  Rename ubp_* variables and
69046         parameters.  Remove argv definitions conditional on
69047         [__BOUNDED_POINTERS__].
69048         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69049         __ptrvalue.
69050         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69051         use __unbounded.
69052         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69053         or __ptrvalue.
69054         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69055         use __unbounded.
69056         (__new_shmctl): Do not use __ptrvalue.
69057         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69058         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69059         Likewise.
69060         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69061         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69062         (__libc_sigaction): Likewise.
69063         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69064         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69065         Likewise.
69066         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69068 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69070         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69072         * string/mempcpy.c: Implement by calling memcpy.
69074 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69079         evaluation.
69081         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69082         values in the mantissa.
69084         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69085         minimize writes to Z.
69086         (sub_magnitudes): Simplify code a bit.
69088 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69090         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69091         from the message.  The linker prefixes all warnings with that already.
69093 2013-02-12  Andreas Schwab  <schwab@suse.de>
69095         [BZ #15078]
69096         * posix/regexec.c (extend_buffers): Add parameter min_len.
69097         (check_matching): Pass minimum needed length.
69098         (clean_state_log_if_needed): Likewise.
69099         (get_subexp): Likewise.
69100         * posix/Makefile (tests): Add bug-regex34.
69101         (bug-regex34-ENV): Define.
69102         * posix/bug-regex34.c: New file.
69104         [BZ #11561]
69105         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69106         elements compare against the byte sequence of it, not its name.
69107         * posix/Makefile (tests): Add bug-regex35.
69108         (bug-regex35-ENV): Define.
69109         * posix/bug-regex35.c: New file.
69111 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69113         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69114         comment.
69115         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69116         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69117         (CHECK_EOL): Add undef.
69119 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69121         * bits/stdlib-bsearch.h: New file.
69122         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69123         * stdlib/stdlib.h: Likewise.
69125 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69127         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69128         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69129         declaration.
69130         * manual/search.texi (Array Search Function): Add missing const in
69131         lfind prototype.
69132         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69133         declaration to use rlim_t.
69134         (Basic Scheduling Functions): Remove erroneous const from
69135         sched_getparam prototype.  Remove erroneous * from
69136         sched_get_priority_max and sched_get_priority_min prototypes.
69137         (Resource Usage): Fix summary @comment on vtimes to refer to
69138         sys/vtimes.h rather than vtimes.h.
69139         Add missing *s in vtimes prototype.
69140         (Limits on Resources): Fix ulimit prototype to return long int.
69141         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69142         prototypes to use long int rather than double.
69143         (BSD Random): Fix initstate and setstate to use char *, not void *.
69144         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69145         prototype to make second argument 'struct aiocb64 *const[]'.
69146         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69147         (Status of AIO Operations): Remove erroneous const in aio_return and
69148         aio_return64 prototypes.
69149         (Synchronizing I/O): Fix sync prototype to return void.
69150         * manual/startup.texi (Suboptions): Remove an erroneous const in
69151         getsubopt prototype.
69152         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69153         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69154         use size_t rather than int.
69155         (Scanning All Users): Likewise for getpwent_r.
69156         (Setting Groups): Add missing const to setgroups prototype.
69157         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69158         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69159         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69160         'const void *' rather than 'const char *'.
69161         (Host Address Functions): Likewise for inet_ntop.
69162         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69163         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69164         ssize_t for return value.
69165         (Sending Data): Likewise for send, sendto, sendmsg.
69166         (Socket Option Functions): Add a missing const in setsockopt prototype.
69167         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69168         use wchar_t for the argument.
69169         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69170         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69171         take no arguments.
69172         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69173         double/float/long double for second argument.
69174         Fix return types of significand, significandf, significandl.
69175         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69176         argument in fchmod prototype.
69177         (File Owner): Use uid_t and gid_t in fchown prototype.
69178         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69179         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69180         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69181         use 'const struct dirent **' as argument types to CMP function pointer
69182         argument.
69183         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69184         (File Times): Fix summary magic @comment for struct utimbuf and utime
69185         to refer to utime.h, not time.h.
69186         * manual/string.texi (Argz Functions): Add missing const in
69187         argz_extract and argz_next prototypes.
69188         (Finding Tokens in a String): Likewise for basename.
69189         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69190         (Copying and Concatenation): Fix typo in wmemmove prototype.
69191         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69192         (Signal Stack): Remove erroneous const in sigstack prototype.
69193         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69194         prototype.
69195         (Simple Calendar Time): Likewise for stime.
69196         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69197         prototype.
69198         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69199         say sys/sysctl.h instead.
69200         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69201         and vsyslog prototypes.
69203 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69205         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69206         Remove.
69208 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69210         * misc/sys/mman.h: Fix typo in mremap comment.
69212 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69214         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69215         the '\0' terminator.
69217 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69219         [BZ #13550]
69220         * debug/segfault.c: Don't include <bp-checks.h>.
69221         * sysdeps/generic/bp-checks.h: Remove file.
69222         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69223         (__GETDENTS): Don't use CHECK_N.
69224         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69225         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69226         (__getgroups): Don't use CHECK_N.
69227         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69228         (setgroups): Don't use CHECK_N.
69229         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69230         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69231         (__libc_msgrcv): Don't use CHECK_N.
69232         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69233         (__libc_msgsnd): Don't use CHECK_N.
69234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69235         <bp-checks.h>.
69236         (__libc_pread): Don't use CHECK_N.
69237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69238         include <bp-checks.h>.
69239         (__libc_pread64): Don't use CHECK_N.
69240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69241         include <bp-checks.h>.
69242         (__libc_pwrite): Don't use CHECK_N.
69243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69244         include <bp-checks.h>.
69245         (__libc_pwrite64): Don't use CHECK_N.
69246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69247         <bp-checks.h>.
69248         (__libc_pread): Don't use CHECK_N.
69249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69250         include <bp-checks.h>.
69251         (__libc_pread64): Don't use CHECK_N.
69252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69253         include <bp-checks.h>.
69254         (__libc_pwrite): Don't use CHECK_N.
69255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69256         include <bp-checks.h>.
69257         (__libc_pwrite64): Don't use CHECK_N.
69258         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69259         (do_pread): Don't use CHECK_N.
69260         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69261         (do_pread64): Don't use CHECK_N.
69262         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69263         (do_pwrite): Don't use CHECK_N.
69264         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69265         (do_pwrite64): Don't use CHECK_N.
69266         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69267         (__libc_readv): Don't use CHECK_N.
69268         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69269         (semop): Don't use CHECK_N.
69270         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69271         <bp-checks.h>.
69272         (semtimedop): Don't use CHECK_N.
69273         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69274         (__libc_pread): Don't use CHECK_N.
69275         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69276         <bp-checks.h>.
69277         (__libc_pread64): Don't use CHECK_N.
69278         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69279         <bp-checks.h>.
69280         (__libc_pwrite): Don't use CHECK_N.
69281         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69282         <bp-checks.h>.
69283         (__libc_pwrite64): Don't use CHECK_N.
69284         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69285         <bp-checks.h>.
69286         (__libc_msgrcv): Don't use CHECK_N.
69287         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69288         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69289         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69290         (__libc_writev): Don't use CHECK_N.
69292 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69294         * string/strcpy.c: Removed unused variable.
69296         * Makeconfig (+sysdep-includes): Define with := rather than =.
69297         Use an existing include/ subdir of each sysdeps dir before it.
69299 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69301         * nscd/connection.c (register_traced_file): Comment function.
69302         [HAVE_INOTIFY] (union __inev): Define.
69303         [HAVE_INOTIFY] (inotify_check_files): New function.
69304         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69305         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69306         clear_db_cache.
69307         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69311         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69312         loaded if not already and that a failure is permanent.
69314 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69316         [BZ #15006]
69317         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69318         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69320 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69322         [BZ #13550]
69323         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69324         (CHECK_1_NULL_OK): Likewise.
69325         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69326         (__fxstat): Do not use CHECK_1.
69327         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
69328         <bp-checks.h>.
69329         (___fxstat64): Do not use CHECK_1.
69330         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69331         <bp-checks.h>.
69332         (__fxstatat): Do not use CHECK_1.
69333         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
69334         <bp-checks.h>.
69335         (__fxstatat64): Do not use CHECK_1.
69336         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
69337         <bp-checks.h>.
69338         (__fxstat): Do not use CHECK_1.
69339         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
69340         <bp-checks.h>.
69341         (__fxstatat): Do not use CHECK_1.
69342         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69343         <bp-checks.h>.
69344         (__getresgid): Do not use CHECK_1.
69345         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69346         <bp-checks.h>.
69347         (__getresuid): Do not use CHECK_1.
69348         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
69349         <bp-checks.h>.
69350         (__lxstat): Do not use CHECK_1.
69351         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69352         <bp-checks.h>.
69353         (__old_msgctl): Do not use CHECK_1.
69354         (__new_msgctl): Likewise.
69355         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
69356         <bp-checks.h>.
69357         (__new_setrlimit): Do not use CHECK_1.
69358         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69359         <bp-checks.h>.
69360         (__old_shmctl): Do not use CHECK_1.
69361         (__new_shmctl): Likewise.
69362         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
69363         <bp-checks.h>.
69364         (__xstat): Do not use CHECK_1.
69365         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
69366         (__lxstat): Do not use CHECK_1.
69367         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
69368         <bp-checks.h>.
69369         (___lxstat64): Do not use CHECK_1.
69370         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
69371         (__old_msgctl): Do not use CHECK_1.
69372         (__new_msgctl): Likewise.
69373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
69374         <bp-checks.h>.
69375         (__gettimeofday): Do not use CHECK_1.
69376         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
69377         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
69378         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
69379         <bp-checks.h>.
69380         (__gettimeofday): Do not use CHECK_1.
69381         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
69382         (__old_shmctl): Do not use CHECK_1_NULL_OK.
69383         (__new_shmctl): Do not use CHECK_1.
69384         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
69385         <bp-checks.h>.
69386         (do_sigtimedwait): Do not use CHECK_1.
69387         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
69388         <bp-checks.h>.
69389         (do_sigwaitinfo): Do not use CHECK_1.
69390         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
69391         <bp-checks.h>.
69392         (msgctl): Do not use CHECK_1.
69393         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
69394         <bp-checks.h>.
69395         (shmctl): Do not use CHECK_1.
69396         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
69397         (ustat): Do not use CHECK_1.
69398         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
69399         <bp-checks.h>.
69400         (__fxstat): Do not use CHECK_1.
69401         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
69402         <bp-checks.h>.
69403         (__fxstatat): Do not use CHECK_1.
69404         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
69405         <bp-checks.h>.
69406         (__lxstat): Do not use CHECK_1.
69407         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
69408         <bp-checks.h>.
69409         (__xstat): Do not use CHECK_1.
69410         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
69411         (__xstat): Do not use CHECK_1.
69412         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
69413         (___xstat64): Do not use CHECK_1.
69415         [BZ #13550]
69416         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
69417         definitions.
69418         (CHECK_BOUNDS_HIGH): Likewise.
69419         * string/strcpy.c: Do not include <bp-checks.h>.
69420         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
69422 2013-02-07  Roland McGrath  <roland@hack.frob.com>
69424         * nscd/nscd-client.h (__nscd_drop_map_ref):
69425         Add __attribute__ ((unused)).
69426         * nis/nss-nisplus.h (niserr2nss): Likewise.
69428         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
69429         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
69431         * csu/libc-tls.c (init_static_tls, init_slotinfo):
69432         Remove inline keyword.
69433         * include/rounding-mode.h (round_away): Likewise.
69434         * libio/wfileops.c (adjust_wide_data): Likewise.
69435         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
69436         (__m128i_strloadu_tolower): Likewise.
69437         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
69438         (__m128i_strloadu_tolower): Likewise.
69439         * time/mktime.c (ydhms_diff): Likewise.
69440         * locale/elem-hash.h (elem_hash): Likewise.
69441         * locale/setlocale.c (setdata): Likewise.
69442         * posix/regex_internal.h (re_string_char_size_at): Likewise.
69443         (re_string_wchar_at): Likewise.
69444         (bitset_not, bitset_merge, bitset_mask): Likewise.
69445         [!(__GNUC__ > 3)] (inline): Remove macro.
69446         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
69447         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
69448         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
69449         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
69450         * string/memcmp.c (memcmp_bytes): Likewise.
69451         * locale/programs/locarchive.c (compute_hashval): Likewise.
69452         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
69453         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
69454         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
69455         * nss/getent.c (print_rpc, print_protocols): Likewise.
69456         (print_passwd, print_group, print_aliases): Likewise.
69457         * nis/nss-nisplus.h (niserr2nss): Likewise.
69458         * nscd/connections.c (restart_p): Likewise.
69459         Change return type to bool.
69461 2013-02-05  Roland McGrath  <roland@hack.frob.com>
69463         * Makeconfig (all-Depend-files): Add existing
69464         $(sorted-subdirs:=/Depend) files.
69465         (all-subdirs): Remove nss.
69466         * sysdeps/unix/inet/Subdirs: Add it here instead.
69467         * hesiod/Depend: New file.
69469         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
69470         instead of calling alloca.
69472         * io/lseek.c (__lseek): Rename to __libc_lseek.
69473         Define __lseek as an alias.
69475         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
69477 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
69479         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
69480         else clause and remove check for non-standard endianness.
69482 2013-02-04  David S. Miller  <davem@davemloft.net>
69484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69486 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
69488         [BZ #13550]
69489         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
69490         (__ubp_memchr): Remove prototype.
69491         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
69492         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69493         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
69494         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
69495         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
69496         Remove alias.
69497         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
69498         (__ubp_memchr): Likewise.
69499         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
69500         (__ubp_memchr): Likewise.
69501         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
69502         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
69503         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
69504         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
69505         CHECK_STRING.
69506         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
69507         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
69508         (__getcwd): Do not use CHECK_STRING.
69509         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69510         <bp-checks.h>.
69511         (__real_chown): Do not use CHECK_STRING.
69512         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
69513         <bp-checks.h>.
69514         (fchownat): Do not use CHECK_STRING.
69515         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
69516         CHECK_STRING.
69517         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69518         <bp-checks.h>.
69519         (__lchown): Do not use CHECK_STRING.
69520         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69521         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69522         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69523         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
69524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69525         include <bp-checks.h>.
69526         (truncate64): Do not use CHECK_STRING.
69527         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69528         <bp-checks.h>.
69529         (__real_chown): Do not use CHECK_STRING.
69530         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69531         <bp-checks.h>.
69532         (__lchown): Do not use CHECK_STRING.
69533         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69534         <bp-checks.h>.
69535         (__chown): Do not use CHECK_STRING.
69536         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
69537         <bp-checks.h>.
69538         (truncate64): Do not use CHECK_STRING.
69539         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
69540         Likewise.
69541         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
69542         (__xmknod): Do not use CHECK_STRING.
69543         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
69544         <bp-checks.h>.
69545         (__xmknodat): Do not use CHECK_STRING.
69546         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69547         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
69549 2013-02-04  Andreas Schwab  <schwab@suse.de>
69551         [BZ #14142]
69552         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
69553         * include/netdb.h: Likewise for h_errno.
69554         * elf/tst-stackguard1.c: Include <tls.h>.
69556 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
69558         * elf/link.h (struct link_map): Extend the l_addr comment.
69559         * include/link.h (struct link_map): Likewise.
69561 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
69563         [BZ #13550]
69564         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
69565         (BOUNDED_1): Remove macro.
69566         * debug/backtrace.c: Don't include <bp-checks.h>.
69567         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
69568         (__backtrace): Likewise.
69569         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
69570         <bp-checks.h>.
69571         (__backtrace): Don't use BOUNDED_1.
69572         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
69573         <bp-checks.h>.
69574         (__backtrace): Don't use BOUNDED_1.
69575         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
69576         (__backtrace): Don't use BOUNDED_1.
69577         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
69578         (shmat): Don't use BOUNDED_N.
69580 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
69582         [BZ #13550]
69583         * sysdeps/generic/bp-start.h: Remove file.
69584         * csu/libc-start.c: Don't include <bp-start.h>.
69585         (LIBC_START_MAIN): Set up __environ directly instead of using
69586         INIT_ARGV_and_ENVIRON.
69587         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
69588         <bp-start.h>.
69590         [BZ #13550]
69591         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
69592         definitions.
69593         (CHECK_FCNTL): Likewise.
69594         (CHECK_N_PAGES): Likewise.
69596         [BZ #13550]
69597         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
69598         definitions.
69599         (CHECK_SIGSET_NULL_OK): Likewise.
69600         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
69601         <bp-checks.h>.
69602         (sigpending): Don't use CHECK_SIGSET.
69603         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
69604         <bp-checks.h>.
69605         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69606         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
69607         <bp-checks.h>.
69608         (do_sigsuspend): Don't use CHECK_SIGSET.
69609         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
69610         use CHECK_SIGSET.
69611         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
69612         (do_sigwait): Don't use CHECK_SIGSET.
69613         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
69614         use CHECK_SIGSET.
69615         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
69616         include <bp-checks.h>.
69617         (sigpending): Don't use CHECK_SIGSET.
69618         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
69619         include <bp-checks.h>.
69620         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69621         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
69622         <bp-checks.h>.
69623         (sigpending): Don't use CHECK_SIGSET.
69624         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
69625         <bp-checks.h>.
69626         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
69628         [BZ #13550]
69629         * sysdeps/generic/bp-semctl.h: Remove file.
69630         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
69631         <bp-checks.h> and <bp-semctl.h>.
69632         (__old_semctl): Don't use CHECK_SEMCTL.
69633         (__new_semctl): Likewise.
69634         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
69635         and <bp-semctl.h>.
69636         (__old_semctl): Don't use CHECK_SEMCTL.
69637         (__new_semctl): Likewise.
69638         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
69639         <bp-checks.h> and <bp-semctl.h>.
69640         (__old_semctl): Don't use CHECK_SEMCTL.
69641         (__new_semctl): Likewise.
69642         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
69643         <bp-checks.h> and <bp-semctl.h>.
69644         (semctl): Don't use CHECK_SEMCTL.
69646         [BZ #13550]
69647         * Makerules (elide-bp-thunks): Remove variable.
69648         (elide-routines.oS): Don't use $(elide-bp-thunks).
69649         (elide-routines.os): Likewise.
69650         (elide-routines.o): Likewise.
69651         (elide-routines.op): Likewise.
69652         (elide-routines.og): Likewise.
69653         (objects): Don't use $(bp-thunks).
69654         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
69655         include.
69656         (common-generated): Do not add s-proto-bp.d.
69657         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
69658         (int): Likewise.
69659         (typ): Likewise.
69660         Do not generate makefile rules for bounded-pointer thunks.
69661         * sysdeps/generic/bp-thunks.h: Remove file.
69662         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
69663         * sysdeps/unix/s-proto-bp.S: Likewise.
69665         [BZ #15062]
69666         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
69667         parts of result separately when argument is not close to line from
69668         -i to i and one part of argument is small.
69669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69671         * math/libm-test.inc (cacos_test): Add more tests.
69672         (casin_test): Likewise.
69673         (casinh_test): Likewise.
69674         * sysdeps/i386/fpu/libm-test-ulps: Update.
69675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69677 2013-01-31  David S. Miller  <davem@davemloft.net>
69679         * po/de.po: Update from translation team.
69681 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
69683         * time/tzfile.c: Include stdint.h for SIZE_MAX.
69685 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
69687         * configure.in (_AC_PROG_CC_C89): New definition.
69688         * configure: Regenerate.
69690         * configure.in (AC_PROG_CPP): New definition.
69691         * configure: Regenerate.
69693 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69695         * debug/tst-backtrace.h: New file.
69696         * debug/tst-backtrace2.c: Include tst-backtrace.h.
69697         (ret): Remove variable.
69698         (x): Likewise.
69699         (FAIL): Remove macro.
69700         (NO_INLINE): Likewise.
69701         (fn1): Use match function instead of strstr.
69702         * debug/tst-backtrace3.c: Include tst-backtrace.h.
69703         (ret): Remove variable.
69704         (x): Likewise.
69705         (FAIL): Remove macro.
69706         (NO_INLINE): Likewise.
69707         (fn): Use match function instead of strstr.
69708         * debug/tst-backtrace4.c: Include tst-backtrace.h.
69709         (ret): Remove variable.
69710         (x): Likewise.
69711         (FAIL): Remove macro.
69712         (NO_INLINE): Likewise.
69713         (handle_signal): Use match function instead of strstr.
69714         * debug/tst-backtrace5.c: Include tst-backtrace.h.
69715         (ret): Remove variable.
69716         (x): Likewise.
69717         (FAIL): Remove macro.
69718         (NO_INLINE): Likewise.
69719         (handle_signal): Use match function instead of strstr.
69721 2013-01-23  Roland McGrath  <roland@hack.frob.com>
69723         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
69725 2013-01-23  David S. Miller  <davem@davemloft.net>
69727         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
69728         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
69729         argument of CAS if possible.
69730         * sysdeps/sparc/sparc64/bits/atomic.h
69731         (__arch_compare_and_exchange_val_32_acq): Likewise.
69732         (__arch_compare_and_exchange_val_64_acq): Likewise.
69734 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
69736         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
69737         * sysdeps/posix/ulimit.c: ... this.
69738         Include <limits.h>.
69739         * sysdeps/unix/bsd/ulimit.c: Remove file.
69741 2013-01-23  Adam Conrad  <adconrad@0c3.net>
69743         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
69744         (LDFLAGS-tst-array5): Likewise.
69746 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
69748         [BZ #15036]
69749         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
69750         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
69751         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
69752         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
69754 2013-01-21  David S. Miller  <davem@davemloft.net>
69756         * sysdeps/sparc/backtrace.c: New file.
69757         * sysdeps/sparc/sparc32/backtrace.h: New file.
69758         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
69759         * sysdeps/sparc/sparc64/backtrace.h: New file.
69760         * sysdeps/sparc/sparc64/backtrace.c: Delete.
69761         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
69762         -funwind-tables.
69764 2013-01-21  Andreas Schwab  <schwab@suse.de>
69766         [BZ #15020]
69767         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
69768         closed its stdout.
69770 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
69772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
69773         "mpa2.h".
69774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69776 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
69777             Mark Mitchell  <mark@codesourcery.com>
69778             Tom de Vries  <tom@codesourcery.com>
69779             Paul Pluzhnikov  <ppluzhnikov@google.com>
69781         * debug/tst-backtrace2.c: New file.
69782         * debug/tst-backtrace3.c: Likewise.
69783         * debug/tst-backtrace4.c: Likewise.
69784         * debug/tst-backtrace5.c: Likewise.
69785         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
69786         (CFLAGS-tst-backtrace3.c): Likewise.
69787         (CFLAGS-tst-backtrace4.c): Likewise.
69788         (CFLAGS-tst-backtrace5.c): Likewise.
69789         (LDFLAGS-tst-backtrace2): Likewise.
69790         (LDFLAGS-tst-backtrace3): Likewise.
69791         (LDFLAGS-tst-backtrace4): Likewise.
69792         (LDFLAGS-tst-backtrace5): Likewise.
69793         (tests): Add new tests tst-backtrace2, tst-backtrace3,
69794         tst-backtrace4 and tst-backtrace5.
69796 2013-01-18  Anton Blanchard  <anton@samba.org>
69797             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69799         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69800         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69801         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69802         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69804         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69805         "+r" and remove output regs list as redundant.  Add explicit inline
69806         asm to specify register of return val to work around compiler codegen
69807         bug.  Remove (int) cast on return value.  Add return type parameter to
69808         use in macro so that this macro does not truncate return value for
69809         64-bit values.
69810         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69811         pass to INTERNAL_VSYSCALL_NCS.
69812         (INLINE_VSYSCALL): Add 'long int' as return type to
69813         INTERNAL_VSYSCALL_NCS macro invocation.
69814         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69815         INTERNAL_VSYSCALL_NCS macro invocation.
69816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69818 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69820         [BZ #14496]
69821         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69822         Fix application of SIMD FP exception mask.
69824         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69825         mp_no from a power of two.
69826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69827         __mpexp_twomm1.  Use __pow_mp.
69829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69830         multiplication.
69832 2013-01-17  David S. Miller  <davem@davemloft.net>
69834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69836 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69838         [BZ #15023]
69839         * include/complex.h: Condition contents on [!_COMPLEX_H].
69840         (__kernel_casinhf): New prototype.
69841         (__kernel_casinh): Likewise.
69842         (__kernel_casinhl): Likewise.
69843         * math/Makefile (libm_calls): Add k_casinh.
69844         * math/k_casinh.c: New file.
69845         * math/k_casinhf.c: Likewise.
69846         * math/k_casinhl.c: Likewise.
69847         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69848         finite nonzero arguments.
69849         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69850         finite nonzero arguments.
69851         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69852         finite nonzero arguments.
69853         * math/s_casinh.c: Do not include <float.h>.
69854         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69855         * math/s_casinhf.c: Do not include <float.h>.
69856         (__casinhf): Move code for finite nonzero arguments to
69857         k_casinhf.c.
69858         * math/s_casinhl.c: Do not include <float.h>.
69859         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69860         redefine.
69861         (__casinhl): Move code for finite nonzero arguments to
69862         k_casinhl.c.
69863         * math/libm-test.inc (cacos_test): Add more tests.
69864         * sysdeps/i386/fpu/libm-test-ulps: Update.
69865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69867 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69869         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69870         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69871         [!HAVE_MREMAP]: Remove [defined linux] case.
69872         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69874 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69876         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69878 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69880         * elf/elf.h (R_386_SIZE32): New relocation.
69881         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69882         R_386_SIZE32.
69883         (elf_machine_rela): Likewise.
69884         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69885         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69887 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69889         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69890         (FP_FAST_FMA): Do not define.
69891         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69892         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69893         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69894         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69895         !_SOFT_FLOAT]: Likewise.
69896         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69897         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69898         value.
69899         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69900         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69901         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69902         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69903         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69904         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69905         file.
69907 2013-01-16  Andreas Schwab  <schwab@suse.de>
69909         [BZ #14327]
69910         * include/stdlib.h (__mktemp): Add declaration.
69911         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69912         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69914 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69916         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69917         definitions.
69918         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69919         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69920         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69921         definitions here.
69922         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69923         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69924         definitions.
69925         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69926         and ONE.
69927         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69928         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69929         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69930         definitions.
69931         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69932         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69933         definitions.
69934         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69936         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69938 2013-01-15  David S. Miller  <davem@davemloft.net>
69940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69941         trunc{,f} to libm-sysdep_routes.
69942         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69944         file.
69945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69947         file.
69948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69949         file.
69950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69952         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69953         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69954         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69955         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69956         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69957         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69960         nearbyint{,f} to libm-sysdep_routes.
69961         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69963         New file.
69964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69965         file.
69966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69967         New file.
69968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69969         file.
69970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69972         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69973         file.
69974         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69975         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69976         file.
69977         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69978         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69979         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69981         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69982         libc_feholdexcept and libc_fesetenv.
69984 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
69986         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69988 2013-01-14  David S. Miller  <davem@davemloft.net>
69990         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69991         (SPARC_ASM_VIS2_IFUNC): Likewise.
69992         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69994         use of 'siam' instruction.
69995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69996         Likewise.
69997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69998         Likewise.
69999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70000         Likewise.
70001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70006         file.
70007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70008         file.
70009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70010         file.
70011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70012         file.
70013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70018         new VIS2 routines.
70019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70022         Likewise.
70023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70028         routines to libm-sysdep_routines.
70029         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70032         fdim/fdimf to libm-sysdep_routines.
70033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70034         file.
70035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70037         file.
70038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70041         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70042         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70043         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70044         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70046 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70048         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70049         to optimize copies.
70051         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70056         local variable MPTWO.
70057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70058         Likewise.
70060 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70062         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70063         GLOB_NOESCAPE.
70065 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70067         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70069 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70071         * manual/pattern.texi (glob_t): Document gl_flags.
70072         (glob64_t): Likewise.
70074 2013-01-11  David S. Miller  <davem@davemloft.net>
70076         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70077         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70078         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70079         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70080         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70081         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70082         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70083         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70084         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70085         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70086         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70087         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70088         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70090         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70091         sparc V9 rather than using V8 code.
70092         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70093         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70095         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70096         Move to...
70097         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70098         Here.
70100 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70102         [BZ #14941]
70103         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70104         not in the main loop.
70105         * configure: Regenerated.
70107 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70109         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70110         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70111         to just #else.
70112         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70113         [!__GLIBC_HAVE_LONG_LONG] case.
70114         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70115         condition to just #else.
70116         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70117         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70118         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70119         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70120         unconditional.
70121         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70122         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70123         #elif condition to just #else.
70124         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70125         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70126         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70127         #elif condition to just #else.
70129 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70131         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70132         (EF_MIPS_ARCH_64): Fix value.
70133         (EF_MIPS_ARCH_32R2): New.
70134         (EF_MIPS_ARCH_64R2): New.
70136 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70138         * Makeconfig (+link-pie-before-libc): New.
70139         (+link-pie-after-libc): Likewise.
70140         (+link-pie-tests): Likewise.
70141         (+link-pie): Rewritten.
70142         (link-before-libc): Remove $(config-LDFLAGS).
70143         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70144         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70145         (config-LDFLAGS): Renamed to ...
70146         (rtld-LDFLAGS): This.
70147         (rtld-tests-LDFLAGS): New macro.
70148         (link-libc-rpath-link): Likewise.
70149         (link-libc-tests-rpath-link): Likewise.
70150         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70151         (link-libc): Prepand $(link-libc-rpath-link).
70152         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70153         (test-program-prefix): New macro.
70154         (test-via-rtld-prefix): Likewise.
70155         (test-program-cmd): Likewise.
70156         (host-test-program-cmd): Likewise.
70157         * Makefile ($(common-objpfx)testrun.sh): Replace
70158         $(run-program-prefix) with $(test-program-prefix).
70159         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70160         $(rtld-LDFLAGS).
70161         ($(common-objpfx)shlib.lds): Likewise.
70162         (build-module-helper): Likewise.
70163         ($(common-objpfx)format.lds): Likewise.
70164         * Rules (binaries-pie-tests): New.
70165         (binaries-pie-notests): Likewise.
70166         (binaries-pie): Rewritten.
70167         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70168         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70169         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70170         (make-test-out): Replace $(host-built-program-cmd) with
70171         $(host-test-program-cmd).
70172         * config.make.in (build-hardcoded-path-in-tests): New variable.
70173         * configure.in (--enable-hardcoded-path-in-tests): New configure
70174         option.
70175         (hardcoded_path_in_tests): New AC_SUBST.
70176         * configure: Regenerated.
70177         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70178         $(built-program-cmd) with $(test-program-cmd).
70179         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70180         (test_program_cmd): This.
70181         * elf/Makefile ($(objpfx)order.out): Run test with
70182         $(test-program-prefix).
70183         ($(objpfx)order2.out): Likewise.
70184         ($(objpfx)tst-initorder.out): Likewise.
70185         ($(objpfx)tst-initorder2.out): Likewise.
70186         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70187         $(test-program-cmd).
70188         ($(objpfx)tst-array1-static.out): Likewise.
70189         ($(objpfx)tst-array2.out): Likewise.
70190         ($(objpfx)tst-array3.out): Likewise.
70191         ($(objpfx)tst-array4.out): Likewise.
70192         ($(objpfx)tst-array5.out): Likewise.
70193         ($(objpfx)tst-array5-static.out): Likewise.
70194         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70195         $(test-program-cmd).
70196         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70197         $(run-program-prefix) with $(test-program-prefix).
70198         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70199         (test_program_prefix): This.
70200         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70201         $(run-program-prefix) with $(test-program-prefix).
70202         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70203         (test_program_prefix): This.
70204         * iconvdata/tst-tables.sh: Likewise.
70205         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70206         $(run-program-prefix) with $(test-program-prefix).
70207         ($(objpfx)tst-translit.out): Likewise.
70208         ($(objpfx)tst-gettext2.out): Likewise.
70209         ($(objpfx)tst-gettext4.out): Likewise.
70210         ($(objpfx)tst-gettext6.out): Likewise.
70211         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70212         (test_program_prefix): This.
70213         * intl/tst-gettext2.sh: Likewise.
70214         * intl/tst-gettext4.sh  Likewise.
70215         * intl/tst-gettext6.sh: Likewise.
70216         * intl/tst-translit.sh: Likewise.
70217         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70218         with $(test-program-cmd).
70219         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70220         $(run-program-prefix) with $(test-program-prefix).
70221         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70222         (test_program_prefix): This.
70223         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70224         $(run-program-prefix) with $(test-program-prefix).
70225         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70226         (test_program_prefix): This.
70227         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70228         * posix/Makefile ($(objpfx)globtest.out): Replace
70229         $(run-via-rtld-prefix) and $(test-wrapper) with
70230         $(test-program-prefix) and $(test-via-rtld-prefix).
70231         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70232         $(test-program-prefix).
70233         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70234         $(host-test-program-cmd).
70235         (tst-spawn-ARGS): Likewise.
70236         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70237         $(test-program-prefix).
70238         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70239         (test_via_rtld_prefix): This.
70240         (test_wrapper): Renamed to ...
70241         (test_program_prefix): This.
70242         (run_program_prefix): Replaced by test_program_prefix.
70243         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70244         (test_program_prefix): This.
70245         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70246         with $(host-test-program-cmd).
70247         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70248         $(run-program-prefix) with $(test-program-prefix).
70249         ($(objpfx)tst-printf.out): Likewise.
70250         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70251         $(test-program-cmd).
70252         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70253         (test_program_prefix): This.
70254         * stdio-common/tst-unbputc.sh: Likewise.
70255         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70256         $(run-program-prefix) with $(test-program-prefix).
70257         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70258         (test_program_prefix): This.
70259         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70260         $(built-program-cmd) with $(test-program-cmd).
70262 2013-01-11  Andreas Jaeger  <aj@suse.de>
70264         [BZ #15003]
70265         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70266         value. Sync with Linux 3.7.
70268 2013-01-10  David S. Miller  <davem@davemloft.net>
70270         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70271         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70272         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70274 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70276         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70277         never set.
70278         * configure: Regenerated.
70280 2013-01-10  David S. Miller  <davem@davemloft.net>
70282         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70283         sparc V9 rather than using V8 code.
70284         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70285         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70287 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70289         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70290         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70291         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70292         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70293         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70294         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70295         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70296         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70297         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70298         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70299         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70300         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70301         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70302         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70303         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70304         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70305         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70306         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70307         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70308         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70309         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70310         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70311         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70312         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70313         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70314         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70315         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70317 2013-01-10  David S. Miller  <davem@davemloft.net>
70319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70321 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70323         * posix/Makefile (tests-static): New variable.
70324         (tests): Add $(tests-static).
70325         (tst-exec-static-ARGS): New variable.
70326         (tst-spawn-static-ARGS): Likewise.
70327         * posix/tst-exec-static.c: New file.
70328         * posix/tst-spawn-static.c: Likewise.
70329         * posix/tst-exec.c: Support run directly.
70330         * posix/tst-spawn.c: Likewise.
70332 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
70334         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
70335         long.
70336         * math/bits/mathcalls.h (llrint): Likewise.
70337         (llround): Likewise.
70338         * stdlib/stdlib.h (struct drand48_data): Likewise.
70339         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
70340         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
70341         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
70342         Likewise.
70343         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
70344         Likewise.
70345         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
70346         (elf_greg_t): Likewise.
70347         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
70348         (__jmp_buf): Likewise.
70349         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
70350         definitions.
70351         (llrint): Likewise, for all definitions.
70352         (llrintl): Likewise.
70354         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
70355         Remove [__GNUC__] condition.
70356         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
70357         condition to just [__USE_ISOC99].
70358         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
70360 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70362         [BZ #14200]
70363         * sysdeps/unix/sysv/linux/x86/bits/environments.h
70364         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
70365         defined.
70366         (_POSIX_V6_ILP32_OFF32): Likewise.
70367         (_XBS5_ILP32_OFF32): Likewise.
70368         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
70369         (__ILP32_OFFBIG_LDFLAGS): Likewise.
70371 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70373         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
70375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
70376         doubles __mpexp_twomm1.  Adjust usage.
70377         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
70378         Remove.
70380 2013-01-10  Andreas Schwab  <schwab@suse.de>
70382         [BZ #14964]
70383         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
70384         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
70386 2013-01-09  David S. Miller  <davem@davemloft.net>
70388         [BZ #15003]
70389         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
70390         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
70391         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
70392         (TCP_FASTOPEN): Define.
70393         (tcp_repair_opt): New structure.
70394         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
70395         enum values.
70396         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
70397         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
70398         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
70399         (tcp_cookie_transactions): New structure.
70401 2013-01-09  Anton Blanchard  <anton@samba.org>
70403         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
70404         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
70405         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
70406         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
70408 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
70410         * include/features.h (__USE_ANSI): Remove.
70412 2013-01-09  Roland McGrath  <roland@hack.frob.com>
70414         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
70416         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
70418 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
70420         * sysdeps/s390/fpu/libm-test-ulps: Update.
70422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70424         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
70425         (__acr): Likewise.
70426         (__cpy): Likewise.
70427         (norm): Likewise.
70428         (denorm): Likewise.
70429         (__mp_dbl): Likewise.
70430         (__dbl_mp): Likewise.
70431         (add_magnitudes): Likewise.
70432         (sub_magnitudes): Likewise.
70433         (__add): Likewise.
70434         (__sub): Likewise.
70435         (__mul): Likewise.
70436         (__inv): Likewise.
70437         (__dvd): Likewise.
70438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
70439         (__acr): Likewise.
70440         (__cpy): Likewise.
70441         (norm): Likewise.
70442         (denorm): Likewise.
70443         (__mp_dbl): Likewise.
70444         (__dbl_mp): Likewise.
70445         (add_magnitudes): Likewise.
70446         (sub_magnitudes): Likewise.
70447         (__add): Likewise.
70448         (__sub): Likewise.
70449         (__mul): Likewise.
70450         (__inv): Likewise.
70451         (__dvd): Likewise.
70452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
70453         (__acr): Likewise.
70454         (__cpy): Likewise.
70455         (norm): Likewise.
70456         (denorm): Likewise.
70457         (__mp_dbl): Likewise.
70458         (__dbl_mp): Likewise.
70459         (add_magnitudes): Likewise.
70460         (sub_magnitudes): Likewise.
70461         (__add): Likewise.
70462         (__sub): Likewise.
70463         (__mul): Likewise.
70464         (__inv): Likewise.
70465         (__dvd): Likewise.
70467 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
70469         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
70470         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
70471         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
70472         2 && __USE_EXTERN_INLINES]: Likewise.
70474 2013-01-08  Andreas Jaeger  <aj@suse.de>
70476         [BZ #14985]
70477         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
70478         Remove.
70479         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70480         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
70482 2013-01-07  Anton Blanchard  <anton@samba.org>
70484         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
70485         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
70486         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
70487         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
70488         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
70489         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70490         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
70491         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70493         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70494         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70495         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70496         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70497         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
70498         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
70499         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70500         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70501         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
70502         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
70503         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
70504         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
70505         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
70506         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
70507         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
70508         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
70509         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
70510         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70511         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
70512         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
70513         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70514         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
70515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70516         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70517         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
70518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
70519         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
70520         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
70521         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70522         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
70523         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
70524         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
70525         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70526         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
70528 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
70530         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
70531         (__MALLOC_PMT): Likewise.
70532         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
70533         [__GNUC__], only on [_LIBC].
70534         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70535         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
70536         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
70537         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
70538         forward declaration.
70539         (realloc_hook_ini): Likewise.
70540         (memalign_hook_ini): Likewise.
70541         (__libc_memalign): Do not use __MALLOC_PMT in variable
70542         declaration.
70543         (__libc_valloc): Likewise.
70544         (__libc_pvalloc): Likewise.
70545         (__libc_calloc): Likewise.
70546         (__posix_memalign): Likewise.
70548         [BZ #14996]
70549         * math/s_casinh.c: Include <float.h>.
70550         (__casinh): Do not do computation with squaring and square root
70551         for large arguments.
70552         * math/s_casinhf.c: Include <float.h>.
70553         (__casinhf): Do not do computation with squaring and square root
70554         for large arguments.
70555         * math/s_casinhl.c: Include <float.h>.
70556         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
70557         (__casinhl): Do not do computation with squaring and square root
70558         for large arguments.
70559         * math/libm-test.inc (casin_test): Add more tests.
70560         (casinh_test): Likewise.
70561         * sysdeps/i386/fpu/libm-test-ulps: Update.
70562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70564 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
70566         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
70567         (__x86_64_raw_data_cache_size): Likewise.
70568         (__x86_64_data_cache_size_half): Likewise.
70569         (__x86_64_raw_data_cache_size_half): Likewise.
70570         (__x86_64_shared_cache_size): Likewise.
70571         (__x86_64_raw_shared_cache_size): Likewise.
70572         (__x86_64_shared_cache_size_half): Likewise.
70573         (__x86_64_raw_shared_cache_size_half): Likewise.
70574         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
70575         to ...
70576         (__x86_data_cache_size): This.
70577         (__x86_64_raw_data_cache_size): Renamed to ...
70578         (__x86_raw_data_cache_size): This.
70579         (__x86_64_data_cache_size_half): Renamed to ...
70580         (__x86_data_cache_size_half): This.
70581         (__x86_64_raw_data_cache_size_half): Renamed to ...
70582         (__x86_raw_data_cache_size_half): This.
70583         (__x86_64_shared_cache_size): Renamed to ...
70584         (__x86_shared_cache_size): This.
70585         (__x86_64_raw_shared_cache_size): Renamed to ...
70586         (__x86_raw_shared_cache_size): This.
70587         (__x86_64_shared_cache_size_half): Renamed to ...
70588         (__x86_shared_cache_size_half): This.
70589         (__x86_64_raw_shared_cache_size_half): Renamed to ...
70590         (__x86_raw_shared_cache_size_half): This.
70591         * sysdeps/x86_64/memcpy.S: Updated.
70592         * sysdeps/x86_64/memset.S: Likewise.
70593         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
70594         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
70595         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
70597 2013-01-04  David S. Miller  <davem@davemloft.net>
70599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70601 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
70603         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
70604         1 to avoid redefinition warning.
70605         (__USE_GNU): Don't define.
70606         (init_signaling_nan): Protoize.
70608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70610 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70612         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
70613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
70614         (__cpymn): Likewise.
70615         (norm): Remove commented code.
70616         (denorm): Likewise.
70617         (__mp_dbl): Likewise.
70618         (__inv): Likewise.
70619         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
70620         (__cpymn): Likewise.
70621         (norm): Remove commented code.
70622         (denorm): Likewise.
70623         (__mp_dbl): Likewise.
70624         (__inv): Likewise.
70626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
70627         mp_no value for 1.0 and 2.0.
70628         (norm): Use RADIXI instead of radixi.d.
70629         (denorm): Likewise.
70630         (__mul): Use 0.0 instead of zero.d.
70631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
70632         mp_no value for 1.0 and 2.0.
70633         (norm): Use RADIXI instead of radixi.d.
70634         (denorm): Likewise.
70635         (__mul): Use 0.0 instead of zero.d.
70637 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
70639         [BZ #14994]
70640         * math/s_casinh.c (__casinh): Reduce finite argument to first
70641         quadrant then set signs of results at the end.
70642         * math/s_casinhf.c (__casinhf): Likewise.
70643         * math/s_casinhl.c (__casinhl): Likewise.
70644         * math/libm-test.inc (casin_test): Add more tests.
70645         (casinh_test): Likewise.
70646         * sysdeps/i386/fpu/libm-test-ulps: Update.
70647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70649 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70651         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
70653         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
70655         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
70656         declarations.
70657         (denorm): Likewise.
70658         (__mp_dbl): Likewise.
70659         (__inv): Likewise.
70661         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
70662         and adjust the header comment.
70664         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
70665         variable name from declaration.
70667 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
70669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70670         Initialize COMMON_CPUID_INDEX_7 element.
70671         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
70672         (CPUID_RTM): Likewise.
70673         (HAS_RTM): Likewise.
70674         (COMMON_CPUID_INDEX_7): New enum.
70676 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
70678         [BZ #14981]
70679         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
70680         size is zero, record memory as freed.
70682 2013-01-03  Andreas Jaeger  <aj@suse.de>
70684         * po/ia.po: Add new Interlingua translation.
70686 2012-01-03  Allan McRae  <allan@archlinux.org>
70688         * locale/programs/localedef.c: Fix description of '--posix' flag.
70690 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
70692         * NEWS: Update dates in second copyright notice.
70693         * README: Update copyright dates in example.
70694         * manual/libc.texinfo: Update copyright dates.
70695         * scripts/test-installation.pl: Update copyright date in --version
70696         output.
70698         * hurd/ctty-input.c: Fix copyright notice formatting.
70699         * hurd/ctty-output.c: Likewise.
70700         * hurd/dtable.c: Likewise.
70701         * hurd/hurd-raise.c: Likewise.
70702         * hurd/hurdprio.c: Likewise.
70703         * hurd/msgportdemux.c: Likewise.
70704         * misc/sys/file.h: Likewise.
70705         * misc/sys/ioctl.h: Likewise.
70706         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
70707         * sysdeps/mach/hurd/chdir.c: Likewise.
70708         * sysdeps/mach/hurd/fchdir.c: Likewise.
70709         * sysdeps/mach/hurd/rename.c: Likewise.
70710         * sysdeps/mach/hurd/rmdir.c: Likewise.
70711         * sysdeps/mach/hurd/seekdir.c: Likewise.
70712         * sysdeps/mach/hurd/setsid.c: Likewise.
70713         * sysdeps/posix/wait3.c: Likewise.
70715         * All files with FSF copyright notices: Update copyright dates
70716         using scripts/update-copyrights.
70717         * intl/plural.c: Regenerated.
70718         * locale/programs/charmap-kw.h: Likewise.
70719         * locale/programs/locfile-kw.h: Likewise.
70721 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
70723         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
70724         four values.
70726         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
70727         calculation loop and add branch prediction.
70729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
70730         check access beyond bounds of m1np.
70732         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70733         MPTWO.
70734         (__inv): Remove local variable MPTWO to use the global
70735         constant.
70736         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
70737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70738         variable MPTWO.
70739         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
70740         MP3HALFS static const.
70742 2013-01-01  David S. Miller  <davem@davemloft.net>
70744         * po/ca.po: Update from translation team.
70746 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
70748         * scripts/update-copyrights: New file.
70749         * Makeconfig: Reformat copyright notice.
70750         * ctype/ctype.h: Likewise.
70751         * debug/swprintf_chk.c: Likewise.
70752         * elf/dl-cache.c: Likewise.
70753         * elf/dl-debug.c: Likewise.
70754         * elf/dl-object.c: Likewise.
70755         * grp/initgroups.c: Likewise.
70756         * hurd/Makefile: Likewise.
70757         * hurd/hurd/signal.h: Likewise.
70758         * hurd/hurdfault.c: Likewise.
70759         * hurd/hurdioctl.c: Likewise.
70760         * hurd/hurdlookup.c: Likewise.
70761         * hurd/intr-msg.c: Likewise.
70762         * iconv/gconv_open.c: Likewise.
70763         * libio/swprintf.c: Likewise.
70764         * locale/lc-ctype.c: Likewise.
70765         * locale/nl_langinfo.c: Likewise.
70766         * mach/Machrules: Likewise.
70767         * mach/Makefile: Likewise.
70768         * malloc/obstack.h: Likewise.
70769         * manual/Makefile: Likewise.
70770         * manual/tsort.awk: Likewise.
70771         * misc/bits/stab.def: Likewise.
70772         * nis/nis_print_group_entry.c: Likewise.
70773         * nis/nis_table.c: Likewise.
70774         * nis/nss_compat/compat-pwd.c: Likewise.
70775         * nis/nss_compat/compat-spwd.c: Likewise.
70776         * po/Makefile: Likewise.
70777         * posix/fnmatch.c: Likewise.
70778         * posix/regex.h: Likewise.
70779         * resolv/Makefile: Likewise.
70780         * resolv/nss_dns/dns-network.c: Likewise.
70781         * resolv/res_hconf.c: Likewise.
70782         * scripts/gen-sorted.awk: Likewise.
70783         * soft-fp/soft-fp.h: Likewise.
70784         * stdio-common/printf.h: Likewise.
70785         * stdlib/monetary.h: Likewise.
70786         * stdlib/random.c: Likewise.
70787         * stdlib/random_r.c: Likewise.
70788         * sysdeps/generic/Makefile: Likewise.
70789         * sysdeps/gnu/Makefile: Likewise.
70790         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70791         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70792         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70793         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70794         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70795         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70796         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70797         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70798         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70799         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70800         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70801         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70802         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70803         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70804         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70805         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70806         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70807         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70808         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70810         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70811         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70812         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70813         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70814         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70815         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70816         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70817         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70818         * sysdeps/mach/hurd/errnos.awk: Likewise.
70819         * sysdeps/mach/hurd/fork.c: Likewise.
70820         * sysdeps/mach/hurd/getcwd.c: Likewise.
70821         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70822         * sysdeps/mach/hurd/mmap.c: Likewise.
70823         * sysdeps/mach/hurd/utimes.c: Likewise.
70824         * sysdeps/mach/hurd/xmknod.c: Likewise.
70825         * sysdeps/posix/profil.c: Likewise.
70826         * sysdeps/posix/readdir_r.c: Likewise.
70827         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70828         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70830         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70832         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70833         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70834         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70836         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70837         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70838         * sysdeps/pthread/lio_listio.c: Likewise.
70839         * sysdeps/sparc/dl-procinfo.h: Likewise.
70840         * sysdeps/unix/i386/sysdep.S: Likewise.
70841         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70842         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70843         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70844         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70846         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70847         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70848         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70849         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70850         * sysdeps/wordsize-32/divdi3.c: Likewise.
70851         * time/sys/time.h: Likewise.
70852         * wcsmbs/Makefile: Likewise.
70854 2013-01-01  David S. Miller  <davem@davemloft.net>
70856         * po/fr.po: Update from translation team.
70858         * catgets/gencat.c: Update copyright year.
70859         * csu/version.c: Likewise.
70860         * debug/catchsegv.sh: Likewise.
70861         * debug/pcprofiledump.c: Likewise.
70862         * debug/xtrace.sh: Likewise.
70863         * elf/ldconfig.c: Likewise.
70864         * elf/ldd.bash.in: Likewise.
70865         * elf/pldd.c: Likewise.
70866         * elf/sotruss.ksh: Likewise.
70867         * elf/sprof.c: Likewise.
70868         * iconv/iconv_prog.c: Likewise.
70869         * iconv/iconvconfig.c: Likewise.
70870         * locale/programs/locale.c: Likewise.
70871         * locale/programs/localedef.c: Likewise.
70872         * login/programs/pt_chown.c: Likewise.
70873         * malloc/memusage.sh: Likewise.
70874         * malloc/memusagestat.c: Likewise.
70875         * malloc/mtrace.pl: Likewise.
70876         * nscd/nscd.c: Likewise.
70877         * nss/getent.c: Likewise.
70878         * nss/makedb.c: Likewise.
70879         * posix/getconf.c: Likewise.
70881 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70883         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70884         numbers.
70886 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70888         * math/bits/mathcalls.h (modf): Use __nonnull.
70890 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70892         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70893         (split): Use macro CN instead of the bare value.
70894         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70895         could be used.
70896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70897         instead of the bare value.
70898         (power1): Likewise.
70900 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70902         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70903         __ATAN_TWOM.
70904         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70906         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70907         their values.
70908         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70909         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70910         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70911         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70913 2012-12-28  Andreas Jaeger  <aj@suse.de>
70915         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70916         values are from Linux 3.7.
70918         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70919         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70921 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70923         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70924         TRUE case.
70926         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70927         (norm): Likewise.
70928         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70929         variables with preprocessor constants.
70930         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70931         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70932         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70934 2012-12-27  Bruno Haible  <bruno@clisp.org>
70936         [BZ #14317]
70937         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70938         only if needed.
70940 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70943         and use variable directly.
70944         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70946         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70947         MPONE.
70948         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70950         variable MPONE.
70951         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70953         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70954         include directive.  Remove local variable MPONE.
70955         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70956         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70957         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70959 2012-12-25  David S. Miller  <davem@davemloft.net>
70961         * version.h (RELEASE): Set to "development".
70962         (VERSION): Set to "2.17.90".
70963         * NEWS: Add 2.18 section.
70965 2012-12-21  David S. Miller  <davem@davemloft.net>
70967         * po/hr.po: Update from translation team.
70969 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70971         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70973 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70975         * NEWS:  Mention new memcpy for MIPS.
70977 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70979         * manual/contrib.texi (Contributors): Spelling correction.
70981 2012-12-15  David S. Miller  <davem@davemloft.net>
70983         * po/ru.po: Update from translation team.
70985 2012-12-13  David S. Miller  <davem@davemloft.net>
70987         * NEWS: Mention IFUNC testsuite enhancements.
70989         * po/pl.po: Update from translation team.
70990         * po/bg.po: Likewise.
70992         * manual/contrib.texi (Contributors): Update entries for Hongjiu
70993         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
70995 2012-12-11  David S. Miller  <davem@davemloft.net>
70997         * po/sv.po: Update from translation team.
70999         * po/vi.po: Update from translation team.
71001         * po/cs.po: Update from translation team.
71003         * po/de.po: Update from translation team.
71004         * po/eo.po: Likewise.
71005         * po/nl.po: Likewise.
71007 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71009         [BZ #14246]
71010         * manual/argp.texi (Argp Helper Functions): Move node to follow
71011         Argp Parsing State.
71013         [BZ #14872]
71014         * manual/conf.texi (Limits on File System Capacity): Mention if
71015         terminating null is included in the max size.
71017 2012-12-10  Andreas Jaeger  <aj@suse.de>
71019         * po/cs.po: Update from translation team.
71021 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71023         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71024         void pointer and cast to uintptr_t.
71025         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71026         path.
71027         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71028         * sysdeps/s390/s390-64/memset.S: Likewise.
71030 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71032         [BZ #14833]
71033         * menual/message.texi (Message Translation): Fix typos.
71034         (Helper programs for gettext): Likewise.
71036 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71038         [BZ #14898]
71039         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71040         Change to -1.
71042 2012-12-07  David S. Miller  <davem@davemloft.net>
71044         * po/libc.pot: Update.
71046 2012-12-07  Richard Henderson  <rth@redhat.com>
71048         [BZ #10114]
71049         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71050         normal/normal case to before the switch.
71051         (_FP_DIV): Likewise.
71053 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71054             Mike Frysinger  <vapier@gentoo.org>
71056         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71057         check for __NR_fadvise64_64.
71059 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71061         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71062         0, not just to plain "0" as a statement.
71063         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71064         with cw.
71066 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71068         * NEWS: Use sourceware.org in Bugzilla URL.
71070 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71073         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71075         * stdio-common/tst-put-error.c (do_test): Add newline to the
71076         padded test to ensure flush.
71078 2012-12-05  Jeff Law  <law@redhat.com>
71080         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71082 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71084         * README: Don't refer to ports add-on as distributed separately.
71085         Mention AArch64 in list of systems supported in the ports add-on.
71087         * LICENSES: Add more non-FSF copyright and license notices.
71089         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71090         ((unused)).
71092         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71094         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71095         10000 as width of padded output.
71097 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71099         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71101         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71102         variable LX with __attribute__ ((unused)).
71103         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71104         Likewise.
71105         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71107         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71108         with __attribute__ ((unused)).
71110 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71112         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71114 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71116         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71117         (CFLAGS-nldbl-acos.c): New variable.
71118         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71119         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71120         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71121         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71122         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71123         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71124         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71125         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71126         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71127         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71128         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71129         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71130         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71131         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71132         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71133         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71134         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71135         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71136         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71137         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71138         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71139         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71140         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71141         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71142         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71143         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71144         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71145         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71146         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71147         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71148         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71149         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71150         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71151         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71152         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71153         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71154         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71155         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71156         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71157         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71158         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71159         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71160         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71161         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71162         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71163         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71164         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71165         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71166         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71167         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71168         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71169         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71170         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71171         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71172         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71173         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71174         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71175         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71176         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71177         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71178         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71179         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71180         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71181         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71182         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71183         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71184         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71185         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71186         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71187         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71188         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71189         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71190         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71191         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71192         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71193         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71194         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71195         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71196         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71197         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71198         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71199         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71200         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71201         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71202         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71203         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71204         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71205         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71206         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71207         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71208         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71209         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71210         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71211         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71212         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71213         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71214         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71217         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71219         [BZ #14914]
71220         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71221         whole low double instead of just low 47 bits when splitting values
71222         into two parts.
71224 2012-12-03  Allan McRae  <allan@archlinux.org>
71226         * manual/stdio.texi (Predefined Printf Handlers): Remove
71227         @hsep and @vsep usage.
71229 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71231         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71232         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71234 2012-12-03  Jeff Law  <law@redhat.com>
71236         * time/sys/time.h (settimeofday): Do not mark TV argument
71237         as __nonnull.
71239 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71241         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71242         when currently writing and seek to current position when not.
71243         * libio/Makefile (tests): Remove bug-fclose1.
71244         * libio/bug-fclose1.c: Delete.
71246 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71248         * manual/arith.texi (feenableexcept): Fix typo.
71249         (fedisableexcept): Likewise.
71251 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71253         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71254         second, differently-typed declaration, rather than a cast.
71256 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71258         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71259         * include/rpc/svc.h: ... here.
71261 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71263         [BZ #13013]
71264         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71265         depending n and resplen2 to catch cases where answer
71266         equals answerp2.
71268 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71270         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71271         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71273 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71275         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71277 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71279         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71281 2012-11-28  Jeff Law  <law@redhat.com>
71283         [BZ #13761]
71284         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71285         dataset_temporary.  Track alloca usage into alloca_used.
71286         If dataset is large allocate and release it via malloc/free.
71288 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71290         [BZ #14197]
71291         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71293 2012-11-28  David S. Miller  <davem@davemloft.net>
71295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71297 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71299         [BZ #14803]
71300         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71301         of pi/2 rounded to nearest to 64 bits.
71302         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71303         nearest to 64 bits.
71304         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71305         bits.
71307 2012-11-28  Jeff Law <law@redhat.com>
71308             Martin Osvald <mosvald@redhat.com>
71310         [BZ #14889]
71311         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71312         * sunrpc/svc.c: Include time.h.
71313         (__svc_accept_failed): New function.
71314         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71315         any reason other than EINTR, call __svc_accept_failed.
71316         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71317         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71319 2012-11-28  Andreas Schwab  <schwab@suse.de>
71321         * scripts/abilist.awk: Also handle indirect functions in .opd
71322         section.
71324 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71326         [BZ #13881]
71327         * sysdeps/x86/fpu/powl_helper.c: New file.
71328         * sysdeps/x86/fpu/Makefile: Likewise.
71329         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
71330         (p3): New object.
71331         (__ieee754_powl): Use __powl_helper for finite arguments except
71332         integer exponents below 8.
71333         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
71334         (p3): New object.
71335         (__ieee754_powl): Use __powl_helper for finite arguments except
71336         integer exponents below 8.
71337         * math/libm-test.inc (pow_test): Add more tests and enable some
71338         previously disabled tests.
71339         * sysdeps/i386/fpu/libm-test-ulps: Update.
71340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71342 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71343             Carlos O'Donell  <carlos_odonell@mentor.com>
71345         * nss/makedb.c (is_prime): Assert that input is odd and greater
71346         than 4.  Note that fact in a comment too.
71347         (next_prime): Add 4 to input.
71349 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71351         [BZ #11741]
71352         * libio/Makefile (tests): Add test case tst-fwrite-error.
71353         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
71354         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
71355         * libio/tst-fwrite-error.c: New test case.
71357 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
71359         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
71360         before casting to void *.
71361         * include/libc-internal.h (__pointer_type): New macro.
71362         (__integer_if_pointer_type_sub): Likewise.
71363         (__integer_if_pointer_type): Likewise.
71364         (cast_to_integer): Likewise.
71365         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
71366         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
71367         before casting to atomic64_t.
71368         (atomic_exchange_acq): Likewise.
71369         (__arch_exchange_and_add_body): Likewise.
71370         (__arch_add_body): Likewise.
71371         (atomic_add_negative): Likewise.
71372         (atomic_add_zero): Likewise.
71374 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
71376         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
71377         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
71378         (add_fdes): Likewise.
71379         (linear_search_fdes): Likewise.
71380         (binary_search_unencoded_fdes): Likewise.
71382 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
71384         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
71386 2012-11-24  Adam Conrad  <adconrad@0c3.net>
71388         * configure.in: Autodetect C++ header directories.
71389         * configure: Regenerated.
71391 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
71393         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
71395 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
71397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71399 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
71401         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
71402         LDBL_MANT_DIG == 106]: Disable some tests.
71403         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71404         Likewise.
71405         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
71406         Likewise.
71408         [BZ #14871]
71409         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
71410         input for small inputs.  Return +/- pi/2 for large inputs.
71411         * math/libm-test.inc (atan_test): Add more tests.
71413         * sysdeps/generic/unwind-dw2-fde-glibc.c
71414         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
71415         __attribute__ ((unused)).
71417         [BZ #14645]
71418         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
71419         x * y if x and y are nonzero and z is zero.
71421         [BZ #14811]
71422         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
71423         nonzero exponents with absolute value below 0x1p-117 to +/-
71424         0x1p-117.
71426         [BZ #14869]
71427         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
71428         up arguments below 2**-450, not just those below 2**-500.
71429         * math/libm-test.inc (hypot_test): Add another test.
71431         [BZ #14868]
71432         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
71433         Return a+b for ratio over 2**120, not 2**60.
71434         * math/libm-test.inc (hypot_test): Add another test.
71436         * math/libm-test.inc (clog_test): Use
71437         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
71438         (clog10_test): Likewise.
71440         [BZ #6778]
71441         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
71443 2012-11-22  Andreas Schwab  <schwab@suse.de>
71445         * sysdeps/i386/fpu/libm-test-ulps: Update.
71447 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
71449         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
71450         printf output with newline.
71452 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
71454         [BZ #14865]
71455         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
71456         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
71457         -z nodlopen, -z initfirst and -z execstack support.
71458         * configure: Regenerated.
71460         * elf/elf.h (DF_1_NODIRECT): New macro.
71461         (DF_1_IGNMULDEF): Likewise.
71462         (DF_1_NOKSYMS): Likewise.
71463         (DF_1_NOHDR): Likewise.
71464         (DF_1_EDITED): Likewise.
71465         (DF_1_NORELOC): Likewise.
71466         (DF_1_SYMINTPOSE): Likewise.
71467         (DF_1_GLOBAUDIT): Likewise.
71468         (DF_1_SINGLETON): Likewise.
71469         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
71470         DT_1_SUPPORTED_MASK bits.
71471         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
71473 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
71475         * sysdeps/unix/make-syscalls.sh: Document prefixes.
71477 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
71479         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
71480         macro.
71482         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
71483         (sendmmsg): Move declarations...
71484         * socket/sys/socket.h: ... here.
71485         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
71486         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
71487         include it from...
71488         * socket/recvmmsg.c: ... this new file.
71489         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
71490         (sendmmsg): Rename to __sendmmsg, create weak alias and make
71491         definition of __sendmmsg hidden.
71492         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
71493         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
71494         Move ENOSYS stub into and include it from...
71495         * socket/sendmmsg.c: ... this new file.
71496         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
71497         (sysdep_routines): Move recvmmsg and sendmmsg...
71498         * socket/Makefile (routines): ... here.
71499         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
71500         (GLIBC_PRIVATE): Add __sendmmsg.
71501         * include/sys/socket.h (__sendmmsg): Add declarations.
71502         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
71503         sendmmsg.
71505 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
71507         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
71508         variable I1 with __attribute__ ((unused)).
71509         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71511 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71513         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
71514         DUMMY variables with __attribute__ ((unused)).
71516         * bits/byteswap.h: Include <bits/types.h>.
71517         (__bswap_64): Use __uint64_t instead of unsigned long long int.
71519 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71521         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
71522         string_t.  Do not manually set errno.
71523         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
71524         length with __strnlen.  Make sure to both set errno and return it on
71525         failure.
71527 2012-11-19  David S. Miller  <davem@davemloft.net>
71529         With help from Joseph Myers.
71530         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
71531         very large arguments properly.
71532         * math/libm-test.inc (atan_test): New tests.
71533         (atan2_test): New tests.
71534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71537 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
71539         [BZ #14856]
71540         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
71541         Define to 3.
71543         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
71544         [POSIX] (EADDRNOTAVAIL): Likewise.
71545         [POSIX] (EAFNOSUPPORT): Likewise.
71546         [POSIX] (EALREADY): Likewise.
71547         [POSIX] (ECONNABORTED): Likewise.
71548         [POSIX] (ECONNREFUSED): Likewise.
71549         [POSIX] (ECONNRESET): Likewise.
71550         [POSIX] (EDESTADDRREQ): Likewise.
71551         [POSIX] (EDQUOT): Likewise.
71552         [POSIX] (EHOSTUNREACH): Likewise.
71553         [POSIX] (EIDRM): Likewise.
71554         [POSIX] (EISCONN): Likewise.
71555         [POSIX] (ELOOP): Likewise.
71556         [POSIX] (EMULTIHOP): Likewise.
71557         [POSIX] (ENETDOWN): Likewise.
71558         [POSIX] (ENETUNREACH): Likewise.
71559         [POSIX] (ENOBUFS): Likewise.
71560         [POSIX] (ENODATA): Likewise.
71561         [POSIX] (ENOLINK): Likewise.
71562         [POSIX] (ENOMSG): Likewise.
71563         [POSIX] (ENOPROTOOPT): Likewise.
71564         [POSIX] (ENOSR): Likewise.
71565         [POSIX] (ENOSTR): Likewise.
71566         [POSIX] (ENOTCONN): Likewise.
71567         [POSIX] (ENOTSOCK): Likewise.
71568         [POSIX] (EOPNOTSUPP): Likewise.
71569         [POSIX] (EOVERFLOW): Likewise.
71570         [POSIX] (EPROTO): Likewise.
71571         [POSIX] (EPROTONOSUPPORT): Likewise.
71572         [POSIX] (EPROTOTYPE): Likewise.
71573         [POSIX] (ESTALE): Likewise.
71574         [POSIX] (ETIME): Likewise.
71575         [POSIX] (ETXTBSY): Likewise.
71576         [POSIX] (EWOULDBLOCK): Likewise.
71577         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
71578         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
71579         [POSIX] (SEEK_CUR): Likewise.
71580         [POSIX] (SEEK_END): Likewise.
71581         [POSIX || UNIX98] (mode_t): Do not require.
71582         [POSIX] (off_t): Likewise.
71583         [POSIX] (pid_t): Likewise.
71584         [POSIX] (sys/stat.h): Do not allow header.
71585         [POSIX] (unistd.h): Likewise.
71586         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
71587         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
71588         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
71589         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
71590         require.
71591         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
71592         sigevent): Specify elements.
71593         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
71594         entry.
71595         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
71596         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
71598         * conform/data/cpio.h-data [POSIX]: Disable whole file.
71599         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
71600         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
71601         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
71602         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
71603         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
71604         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
71605         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
71606         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
71607         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
71608         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
71609         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
71610         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
71611         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
71612         Likewise.
71613         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
71614         Likewise.
71615         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
71616         Likewise.
71617         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
71618         Likewise.
71619         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
71620         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
71621         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
71622         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
71623         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
71624         Specify lower bound on value.
71625         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
71626         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
71627         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
71628         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
71629         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
71630         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
71631         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
71632         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
71633         value.
71634         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
71635         as optional.
71636         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
71637         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
71638         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
71639         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
71640         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
71641         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
71642         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
71643         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
71644         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
71645         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
71646         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
71647         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
71648         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
71649         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
71650         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
71651         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
71652         entry.
71653         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
71654         optional.
71655         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
71656         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
71657         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
71658         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
71659         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
71660         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
71661         Likewise.
71662         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
71663         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
71664         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
71665         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
71666         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
71667         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
71668         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
71669         as optional.
71670         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
71671         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
71672         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
71673         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
71674         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
71675         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
71676         specify as optional.
71677         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
71678         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
71679         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
71680         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
71681         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
71682         [XPG3] (NL_LANGMAX): Likewise.
71683         [POSIX || XPG3] (NL_MSGMAX): Likewise.
71684         [POSIX || XPG3] (NL_NMAX): Likewise.
71685         [POSIX || XPG3] (NL_SETMAX): Likewise.
71686         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
71687         [XPG3] (NZERO): Likewise.
71688         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
71689         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
71690         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
71691         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
71692         (REG_ERANGE): Expect.
71693         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
71694         optional-constant.
71695         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
71696         Use (void) in prototype.
71697         [POSIX] (*_t): Allow.
71698         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
71699         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
71700         (WRDE_BADVAL): Expect.
71702         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
71703         expect.
71704         [XPG3 || XPG4] (O_RSYNC): Likewise.
71705         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
71706         Likewise.
71707         [XPG3 || XPG4] (pthread_sigmask): Likewise.
71708         [XPG3 || XPG4] (sigqueue): Likewise.
71709         [XPG3 || XPG4] (sigtimedwait): Likewise.
71710         [XPG3 || XPG4] (sigwaitinfo): Likewise.
71711         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
71712         [XPG3 || XPG4] (vsnprintf): Likewise.
71713         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
71714         Likewise.
71715         [XPG3 || XPG4] (blksize_t): Likewise.
71716         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
71717         Likewise.
71718         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
71719         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
71720         [XPG3 || XPG4] (struct itimerspec): Likewise.
71721         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
71722         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
71723         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
71724         [XPG3 || XPG4] (clockid_t): Likewise.
71725         [XPG3 || XPG4] (timer_t): Likewise.
71726         [XPG3 || XPG4] (clock_getres): Likewise.
71727         [XPG3 || XPG4] (clock_gettime): Likewise.
71728         [XPG3 || XPG4] (clock_settime): Likewise.
71729         [XPG3 || XPG4] (nanosleep): Likewise.
71730         [XPG3 || XPG4] (timer_create): Likewise.
71731         [XPG3 || XPG4] (timer_delete): Likewise.
71732         [XPG3 || XPG4] (timer_gettime): Likewise.
71733         [XPG3 || XPG4] (timer_getoverrun): Likewise.
71734         [XPG3 || XPG4] (timer_settime): Likewise.
71735         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
71736         [XPG3 || XPG4] (getlogin_r): Likewise.
71737         [XPG3 || XPG4] (pread): Likewise.
71738         [XPG3 || XPG4] (pthread_atfork): Likewise.
71739         [XPG3 || XPG4] (pwrite): Likewise.
71741         [BZ #14835]
71742         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
71743         <bits/siginfo.h>.
71745 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
71747         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
71748         finalizing MALLSTREAM.
71750         * sysdeps/mach/hurd/syncfs.c: New file.
71752 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71754         [BZ #14719]
71755         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
71756         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
71757         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
71758         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
71759         (_nss_dns_gethostbyname4_r): Likewise.
71760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
71761         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
71763 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
71765         [BZ #13763]
71766         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
71768 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
71770         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
71771         * elf/cache.c (print_entry): Print ",AArch64" for
71772         FLAG_AARCH64_LIB64
71774         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
71775         * elf/cache.c (print_entry): Print ",hard-float" for
71776         FLAG_ARM_LIBHF.
71778 2012-11-18  David S. Miller  <davem@davemloft.net>
71780         With help from Joseph Myers.
71781         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
71782         cutoff to 2**-13.
71783         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
71784         cutoff to 2**-25.
71785         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
71786         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
71787         small.
71788         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
71789         * math/libm-test.inc (y0_test): New tests.
71790         (y1_test): New tests.
71791         * sysdeps/i386/fpu/libm-test-ulps: Update.
71792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71795 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71797         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71798         64-bit targets.
71799         * configure: Regenerated.
71801 2012-11-17  David S. Miller  <davem@davemloft.net>
71803         [BZ #14811]
71804         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71805         nonzero exponents with absolute value below 0x1p-128 to +/-
71806         0x1p-128.
71808 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71810         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71812         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71814         * posix/getconf-speclist.c: New file.
71815         * posix/posix-envs.def: Likewise.
71816         * posix/confstr.c (START_ENV_GROUP): New macro.
71817         (END_ENV_GROUP): Likewise.
71818         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71819         (KNOWN_PRESENT_ENV_STRING): Likewise.
71820         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71821         (UNKNOWN_ENVIRONMENT): Likewise.
71822         (confstr): Include posix-envs.def instead of handling
71823         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71824         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71825         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71826         (END_ENV_GROUP): Likewise.
71827         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71828         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71829         (UNKNOWN_ENVIRONMENT): Likewise.
71830         (__sysconf): Include posix-envs.def instead of handling associated
71831         cases directly here.
71832         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71833         preprocessing getconf-speclist.c rather than running getconf or
71834         generating empty file.
71836 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71838         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71840 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71842         [BZ #14672]
71843         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71845 2012-11-16  David S. Miller  <davem@davemloft.net>
71847         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71848         smaller than LDBL_EPSILON/2.0L, just return xm1.
71850 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71852         * elf/tst-array1.c (init): Set constructor priority to 1000.
71853         (fini): Set destructor priority to 1000.
71854         * elf/tst-array2dep.c: Likewise.
71856 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71858         [BZ #11741]
71859         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71860         (_IO_new_file_xsputn): Also return EOF if none of the input
71861         data was written when overflow failed.
71862         * libio/iopadn.c (_IO_padn): Likewise.
71863         * libio/iowpadn.c (_IO_wpadn): Likewise.
71864         * stdio-common/tst-put-error.c: Add copyright notice.
71865         (do_test): Add case for printing padded string.
71866         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71867         _IO_padn returned error.
71868         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71869         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71870         return EOF.
71872 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71874         * libio/libioP.h: Add comment note that the references to C++
71875         bits are now obsolete.
71877 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71879         * math/libm-test.inc (check_complex): Use asprintf.
71881 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71883         * debug/pcprofiledump.c (print_version): Update copyright year.
71884         * malloc/memusagestat.c (print_version): Likewise.
71886 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71888         [BZ #14831]
71889         * elf/Makefile (tests): Add tst-audit8.
71890         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71891         ($(objpfx)tst-audit8.out): New target.
71892         (tst-audit8-ENV): New variable.
71893         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71894         audit if l_reloc_result is NULL.
71895         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71896         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71897         * elf/tst-audit8.c: New file.
71899 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71901         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71902         * misc/Makefile (CFLAGS-select.c): Define.
71903         * posix/Makefile (CFLAGS-pause.c): Define.
71905 2012-11-13  David S. Miller  <davem@davemloft.net>
71907         * crypt/Makefile: Move test targets after toplevel Rules
71908         inclusion.  Grab any necessary sysdep routines when linking.
71909         * crypt/md5.c (md5_process_block): Remove define, we will always
71910         name it __md5_process_block.
71911         (md5_finish_ctx): Update md5_process_block call.
71912         (md5_stream): Likewise.
71913         (md5_process_bytes): Likewise.
71914         (md5_process_block): Rename to __md5_process_block and move to ...
71915         * crypt/md5-block.c: ... here.
71916         * crypt/sha256.c (sha256_process_block): Move to ...
71917         * crypt/sha256-block.c: ... here.
71918         * crypt/sha512.c (sha512_process_block): Move to ...
71919         * crypt/sha512-block.c: ... here.
71920         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71921         path.
71922         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71923         * sysdeps/sparc/sparc64/multiarch/Makefile
71924         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71925         crypt subdir.
71926         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71927         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71928         multiarch changes.
71929         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71930         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71931         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71932         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71933         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71934         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71935         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71936         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71937         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71938         file.
71939         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71940         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71941         file.
71942         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71944 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71946         * timezone/tzselect.ksh: Update from tzcode git revision
71947         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71948         * timezone/zdump.c: Likewise.
71949         * timezone/zic.c: Likewise.
71950         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71951         in TZVERSION setting, not $(PKGVERSION).
71952         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71953         REPORT_BUGS_TO settings.
71955         [BZ #14838]
71956         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71957         macro.
71959 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71961         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71962         detection to immediately after _FP_ROUND().
71963         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71964         bits are 0.
71966 2012-11-11  David S. Miller  <davem@davemloft.net>
71968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71969         inttypes.h
71970         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71971         __close rather than their public counterparts.
71973 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71975         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71976         file.
71977         [UNIX98] (sem_timedwait): Do not expect.
71978         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71979         [XPG4 || UNIX98] (sockatmark): Do not expect.
71980         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71981         (clock_getcpuclockid): Do not expect.
71982         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71983         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71984         Do not expect.
71985         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71986         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71987         [UNIX98] (vwscanf): Likewise.
71988         [UNIX98] (vswscanf): Likewise.
71990 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
71992         * timezone/version.h: Remove file.
71993         * timezone/README: Do not refer to version.h.
71994         * timezone/Makefile ($(objpfx)zic.o): New dependency on
71995         $(objpfx)version.h.
71996         ($(objpfx)zdump.o): Likewise.
71997         ($(objpfx)version.h): New target.
71999         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72000         2012i.
72001         * timezone/README: Don't mention modification to tzselect.ksh.
72002         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72003         work on unmodified tzselect.ksh.  Substitute version numbers in
72004         tzselect.ksh.
72006         * Makefile (format-me): Remove.
72007         (INSTALL): Adjust indentation.  Use commands directly instead of
72008         using $(format-me).
72010         * aclocal.m4 (ACX_PKGVERSION): New macro.
72011         (ACX_BUGURL): Likewise.
72012         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72013         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72014         (REPORT_BUGS_TO): Likewise.
72015         * configure: Regenerated.
72016         * config.h.in (PKGVERSION): New macro.
72017         (REPORT_BUGS_TO): Likewise.
72018         * config.make.in (PKGVERSION): New variable.
72019         (PKGVERSION_TEXI): Likewise.
72020         (REPORT_BUGS_TO): Likewise.
72021         (REPORT_BUGS_TEXI): Likewise.
72022         * Makefile (format-me): Use -I$(common-objpfx)manual.
72023         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72024         ($(common-objpfx)manual/%): New target.
72025         (manual/%): Remove target.
72026         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72027         (print_version): Use PKGVERSION.
72028         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72029         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72030         and REPORT_BUGS_TO.
72031         ($(objpfx)xtrace): Likewise.
72032         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72033         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72034         (print_version): Use PKGVERSION.
72035         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72036         (do_version): Use PKGVERSION.
72037         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72038         REPORT_BUGS_TO.
72039         (common-ldd-rewrite): Likewise.
72040         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72041         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72042         (print_version): Use PKGVERSION.
72043         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72044         * elf/pldd.c (argp_program_bug_address): Remove variable.
72045         (more_help): New function.
72046         (argp): Use more_help.
72047         (print_version): Use PKGVERSION.
72048         * elf/sln.c (main): Use PKGVERSION.
72049         (usage): Use REPORT_BUGS_TO.
72050         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72051         (top level): Use PKGVERSION.
72052         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72053         (print_version): Use PKGVERSION.
72054         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72055         (print_version): Use PKGVERSION.
72056         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72057         (print_version): Use PKGVERSION.
72058         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72059         (print_version): Use PKGVERSION.
72060         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72061         (print_version): Use PKGVERSION.
72062         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72063         (print_version): Use PKGVERSION.
72064         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72065         and BUGURL.
72066         ($(objpfx)memusage): Likewise.
72067         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72068         (do_version): Use PKGVERSION.
72069         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72070         (print_version): Use PKGVERSION.
72071         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72072         ($PKGVERSION): New variable.
72073         ($REPORT_BUGS_TO): Likewise.
72074         (usage): Use $REPORT_BUGS_TO.
72075         (top level): Use $PKGVERSION.
72076         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72077         ($(objpfx)pkgvers.texi): New rule.
72078         ($(objpfx)stamp-pkgvers): Likewise.
72079         * manual/install.texi: Include pkgvers.texi.
72080         (--with-pkgversion): Document new configure option.
72081         (--with-bugurl): Likewise.
72082         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72083         than necessarily for this particular distribution.  Use
72084         REPORT_BUGS_TO for where to report bugs.
72085         * INSTALL: Regenerated.
72086         * manual/libc.texinfo: Include pkgvers.texi.
72087         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72088         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72089         (print_version): Use PKGVERSION.
72090         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72091         (print_version): Use PKGVERSION.
72092         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72093         (print_version): Use PKGVERSION.
72094         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72095         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72096         macro.
72097         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72098         (print_version): Use PKGVERSION.
72099         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72100         (print_version): Use PKGVERSION.
72101         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72102         and PKGVERSION.
72104         * timezone/checktab.awk: Update from tzcode 2012i.
72105         * timezone/ialloc.c: Likewise.
72106         * timezone/private.h: Likewise.
72107         * timezone/scheck.c: Likewise.
72108         * timezone/tzfile.h: Likewise.
72109         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72110         (TZVERSION): Hardcode tzcode version number.
72111         * timezone/zdump.c: Update from tzcode 2012i.
72112         * timezone/zic.c: Likewise.
72113         * timezone/version.h: New file.
72114         * timezone/README: Describe version.h.  Update upstream location.
72116         [BZ #14824]
72117         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72118         (mktemp): Enable declaration.
72119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72123         Likewise.
72124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72125         Likewise.
72126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72127         Likewise.
72128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72129         Likewise.
72130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72131         Likewise.
72132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72133         Likewise.
72135         [BZ #14821]
72136         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72137         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72138         for copies of such integer values.
72139         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72140         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72142 2012-11-09  Andreas Jaeger  <aj@suse.de>
72144         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72145         definitions and declarations that are provided by
72146         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72148 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72150         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72151         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72152         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72153         definition.
72155 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72157         * elf/elf.h: Update comment before AArch64 relocations.
72159 2012-11-07  David S. Miller  <davem@davemloft.net>
72161         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72162         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72163         (__start_context): Declare.
72164         (__makecontext_ret): Delete.
72165         (__makecontext): Hook up __start_context instead of
72166         __makecontext_ret.
72167         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72168         (sysdep_routines): Add __start_context when in stdlib.
72170 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72172         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72173         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72174         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72175         hardcoded "nm".
72176         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72177         (READELF): New variable.  Use it instead of hardcoded "readelf".
72179 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72181         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72182         * sysdeps/x86/Makefile: Here.
72183         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72184         * sysdeps/x86/tst-xmmymm.sh: This.
72186 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72188         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72189         expectations.
72190         [UNIX98] (pthread_barrier_t): Do not expect.
72191         [UNIX98] (pthread_barrierattr_t): Likewise.
72192         [UNIX98] (pthread_spinlock_t): Likewise.
72193         [UNIX98] (pthread_barrier_destroy): Likewise.
72194         [UNIX98] (pthread_barrier_init): Likewise.
72195         [UNIX98] (pthread_barrier_wait): Likewise.
72196         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72197         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72198         [UNIX98] (pthread_barrierattr_init): Likewise.
72199         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72200         [UNIX98] (pthread_getcpuclockid): Likewise.
72201         [UNIX98] (pthread_mutex_timedlock): Likewise.
72202         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72203         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72204         [UNIX98] (pthread_sigmask): Likewise.
72205         [UNIX98] (pthread_spin_destroy): Likewise.
72206         [UNIX98] (pthread_spin_init): Likewise.
72207         [UNIX98] (pthread_spin_lock): Likewise.
72208         [UNIX98] (pthread_spin_trylock): Likewise.
72209         [UNIX98] (pthread_spin_unlock): Likewise.
72210         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72211         Do not expect.
72212         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72213         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72214         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72215         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72216         [XPG3 || XPG4] (pthread_key_t): Likewise.
72217         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72218         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72219         [XPG3 || XPG4] (pthread_once_t): Likewise.
72220         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72221         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72222         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72223         [XPG3 || XPG4] (pthread_t): Likewise.
72225         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72226         not expect.
72227         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72229         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72230         Change function return type to int.
72232         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72233         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72234         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72235         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72236         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72237         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72238         [!POSIX] (posix_madvise): Likewise.
72239         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72240         && !UNIX98].
72241         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72242         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72243         (mode_t): Likewise.
72244         (posix_mem_offset): Likewise.
72245         (posix_typed_mem_get_info): Likewise.
72246         (posix_typed_mem_open): Likewise.
72248         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72249         Change condition to [XOPEN2K8].
72251         * conform/conformtest.pl: Preprocess allow-header data with -x c
72252         instead of from stdin.
72253         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72254         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72255         [C99-based standards] (cerfc): Likewise.
72256         [C99-based standards] (cexp2): Likewise.
72257         [C99-based standards] (cexpm1): Likewise.
72258         [C99-based standards] (clog10): Likewise.
72259         [C99-based standards] (clog1p): Likewise.
72260         [C99-based standards] (clog2): Likewise.
72261         [C99-based standards] (clgamma): Likewise.
72262         [C99-based standards] (ctgamma): Likewise.
72263         [C99-based standards] (cerff): Likewise.
72264         [C99-based standards] (cerfcf): Likewise.
72265         [C99-based standards] (cexp2f): Likewise.
72266         [C99-based standards] (cexpm1f): Likewise.
72267         [C99-based standards] (clog10f): Likewise.
72268         [C99-based standards] (clog1pf): Likewise.
72269         [C99-based standards] (clog2f): Likewise.
72270         [C99-based standards] (clgammaf): Likewise.
72271         [C99-based standards] (ctgammaf): Likewise.
72272         [C99-based standards] (cerfl): Likewise.
72273         [C99-based standards] (cerfcl): Likewise.
72274         [C99-based standards] (cexp2l): Likewise.
72275         [C99-based standards] (cexpm1l): Likewise.
72276         [C99-based standards] (clog10l): Likewise.
72277         [C99-based standards] (clog1pl): Likewise.
72278         [C99-based standards] (clog2l): Likewise.
72279         [C99-based standards] (clgammal): Likewise.
72280         [C99-based standards] (ctgammal): Likewise.
72281         * conform/data/inttypes.h-data [C99-based standards]: Include
72282         stdint.h-data.  Remove all expectations for stdint.h contents.
72283         [C99-based standards] (PRI*): Do not allow.
72284         [C99-based standards] (SCN*): Likewise.
72285         [C99-based standards] (*_t): Likewise.
72286         [C99-based-standards] (PRId8): Expect macro.
72287         [C99-based-standards] (PRIi8): Likewise.
72288         [C99-based-standards] (PRIo8): Likewise.
72289         [C99-based-standards] (PRIu8): Likewise.
72290         [C99-based-standards] (PRIx8): Likewise.
72291         [C99-based-standards] (PRIX8): Likewise.
72292         [C99-based-standards] (SCNd8): Likewise.
72293         [C99-based-standards] (SCNi8): Likewise.
72294         [C99-based-standards] (SCNo8): Likewise.
72295         [C99-based-standards] (SCNu8): Likewise.
72296         [C99-based-standards] (SCNx8): Likewise.
72297         [C99-based-standards] (PRIdLEAST8): Likewise.
72298         [C99-based-standards] (PRIiLEAST8): Likewise.
72299         [C99-based-standards] (PRIoLEAST8): Likewise.
72300         [C99-based-standards] (PRIuLEAST8): Likewise.
72301         [C99-based-standards] (PRIxLEAST8): Likewise.
72302         [C99-based-standards] (PRIXLEAST8): Likewise.
72303         [C99-based-standards] (SCNdLEAST8): Likewise.
72304         [C99-based-standards] (SCNiLEAST8): Likewise.
72305         [C99-based-standards] (SCNoLEAST8): Likewise.
72306         [C99-based-standards] (SCNuLEAST8): Likewise.
72307         [C99-based-standards] (SCNxLEAST8): Likewise.
72308         [C99-based-standards] (PRIdFAST8): Likewise.
72309         [C99-based-standards] (PRIiFAST8): Likewise.
72310         [C99-based-standards] (PRIoFAST8): Likewise.
72311         [C99-based-standards] (PRIuFAST8): Likewise.
72312         [C99-based-standards] (PRIxFAST8): Likewise.
72313         [C99-based-standards] (PRIXFAST8): Likewise.
72314         [C99-based-standards] (SCNdFAST8): Likewise.
72315         [C99-based-standards] (SCNiFAST8): Likewise.
72316         [C99-based-standards] (SCNoFAST8): Likewise.
72317         [C99-based-standards] (SCNuFAST8): Likewise.
72318         [C99-based-standards] (SCNxFAST8): Likewise.
72319         [C99-based-standards] (PRId16): Likewise.
72320         [C99-based-standards] (PRIi16): Likewise.
72321         [C99-based-standards] (PRIo16): Likewise.
72322         [C99-based-standards] (PRIu16): Likewise.
72323         [C99-based-standards] (PRIx16): Likewise.
72324         [C99-based-standards] (PRIX16): Likewise.
72325         [C99-based-standards] (SCNd16): Likewise.
72326         [C99-based-standards] (SCNi16): Likewise.
72327         [C99-based-standards] (SCNo16): Likewise.
72328         [C99-based-standards] (SCNu16): Likewise.
72329         [C99-based-standards] (SCNx16): Likewise.
72330         [C99-based-standards] (PRIdLEAST16): Likewise.
72331         [C99-based-standards] (PRIiLEAST16): Likewise.
72332         [C99-based-standards] (PRIoLEAST16): Likewise.
72333         [C99-based-standards] (PRIuLEAST16): Likewise.
72334         [C99-based-standards] (PRIxLEAST16): Likewise.
72335         [C99-based-standards] (PRIXLEAST16): Likewise.
72336         [C99-based-standards] (SCNdLEAST16): Likewise.
72337         [C99-based-standards] (SCNiLEAST16): Likewise.
72338         [C99-based-standards] (SCNoLEAST16): Likewise.
72339         [C99-based-standards] (SCNuLEAST16): Likewise.
72340         [C99-based-standards] (SCNxLEAST16): Likewise.
72341         [C99-based-standards] (PRIdFAST16): Likewise.
72342         [C99-based-standards] (PRIiFAST16): Likewise.
72343         [C99-based-standards] (PRIoFAST16): Likewise.
72344         [C99-based-standards] (PRIuFAST16): Likewise.
72345         [C99-based-standards] (PRIxFAST16): Likewise.
72346         [C99-based-standards] (PRIXFAST16): Likewise.
72347         [C99-based-standards] (SCNdFAST16): Likewise.
72348         [C99-based-standards] (SCNiFAST16): Likewise.
72349         [C99-based-standards] (SCNoFAST16): Likewise.
72350         [C99-based-standards] (SCNuFAST16): Likewise.
72351         [C99-based-standards] (SCNxFAST16): Likewise.
72352         [C99-based-standards] (PRId32): Likewise.
72353         [C99-based-standards] (PRIi32): Likewise.
72354         [C99-based-standards] (PRIo32): Likewise.
72355         [C99-based-standards] (PRIu32): Likewise.
72356         [C99-based-standards] (PRIx32): Likewise.
72357         [C99-based-standards] (PRIX32): Likewise.
72358         [C99-based-standards] (SCNd32): Likewise.
72359         [C99-based-standards] (SCNi32): Likewise.
72360         [C99-based-standards] (SCNo32): Likewise.
72361         [C99-based-standards] (SCNu32): Likewise.
72362         [C99-based-standards] (SCNx32): Likewise.
72363         [C99-based-standards] (PRIdLEAST32): Likewise.
72364         [C99-based-standards] (PRIiLEAST32): Likewise.
72365         [C99-based-standards] (PRIoLEAST32): Likewise.
72366         [C99-based-standards] (PRIuLEAST32): Likewise.
72367         [C99-based-standards] (PRIxLEAST32): Likewise.
72368         [C99-based-standards] (PRIXLEAST32): Likewise.
72369         [C99-based-standards] (SCNdLEAST32): Likewise.
72370         [C99-based-standards] (SCNiLEAST32): Likewise.
72371         [C99-based-standards] (SCNoLEAST32): Likewise.
72372         [C99-based-standards] (SCNuLEAST32): Likewise.
72373         [C99-based-standards] (SCNxLEAST32): Likewise.
72374         [C99-based-standards] (PRIdFAST32): Likewise.
72375         [C99-based-standards] (PRIiFAST32): Likewise.
72376         [C99-based-standards] (PRIoFAST32): Likewise.
72377         [C99-based-standards] (PRIuFAST32): Likewise.
72378         [C99-based-standards] (PRIxFAST32): Likewise.
72379         [C99-based-standards] (PRIXFAST32): Likewise.
72380         [C99-based-standards] (SCNdFAST32): Likewise.
72381         [C99-based-standards] (SCNiFAST32): Likewise.
72382         [C99-based-standards] (SCNoFAST32): Likewise.
72383         [C99-based-standards] (SCNuFAST32): Likewise.
72384         [C99-based-standards] (SCNxFAST32): Likewise.
72385         [C99-based-standards] (PRId64): Likewise.
72386         [C99-based-standards] (PRIi64): Likewise.
72387         [C99-based-standards] (PRIo64): Likewise.
72388         [C99-based-standards] (PRIu64): Likewise.
72389         [C99-based-standards] (PRIx64): Likewise.
72390         [C99-based-standards] (PRIX64): Likewise.
72391         [C99-based-standards] (SCNd64): Likewise.
72392         [C99-based-standards] (SCNi64): Likewise.
72393         [C99-based-standards] (SCNo64): Likewise.
72394         [C99-based-standards] (SCNu64): Likewise.
72395         [C99-based-standards] (SCNx64): Likewise.
72396         [C99-based-standards] (PRIdLEAST64): Likewise.
72397         [C99-based-standards] (PRIiLEAST64): Likewise.
72398         [C99-based-standards] (PRIoLEAST64): Likewise.
72399         [C99-based-standards] (PRIuLEAST64): Likewise.
72400         [C99-based-standards] (PRIxLEAST64): Likewise.
72401         [C99-based-standards] (PRIXLEAST64): Likewise.
72402         [C99-based-standards] (SCNdLEAST64): Likewise.
72403         [C99-based-standards] (SCNiLEAST64): Likewise.
72404         [C99-based-standards] (SCNoLEAST64): Likewise.
72405         [C99-based-standards] (SCNuLEAST64): Likewise.
72406         [C99-based-standards] (SCNxLEAST64): Likewise.
72407         [C99-based-standards] (PRIdFAST64): Likewise.
72408         [C99-based-standards] (PRIiFAST64): Likewise.
72409         [C99-based-standards] (PRIoFAST64): Likewise.
72410         [C99-based-standards] (PRIuFAST64): Likewise.
72411         [C99-based-standards] (PRIxFAST64): Likewise.
72412         [C99-based-standards] (PRIXFAST64): Likewise.
72413         [C99-based-standards] (SCNdFAST64): Likewise.
72414         [C99-based-standards] (SCNiFAST64): Likewise.
72415         [C99-based-standards] (SCNoFAST64): Likewise.
72416         [C99-based-standards] (SCNuFAST64): Likewise.
72417         [C99-based-standards] (SCNxFAST64): Likewise.
72418         [C99-based-standards] (PRIdMAX): Likewise.
72419         [C99-based-standards] (PRIiMAX): Likewise.
72420         [C99-based-standards] (PRIoMAX): Likewise.
72421         [C99-based-standards] (PRIuMAX): Likewise.
72422         [C99-based-standards] (PRIxMAX): Likewise.
72423         [C99-based-standards] (PRIXMAX): Likewise.
72424         [C99-based-standards] (SCNdMAX): Likewise.
72425         [C99-based-standards] (SCNiMAX): Likewise.
72426         [C99-based-standards] (SCNoMAX): Likewise.
72427         [C99-based-standards] (SCNuMAX): Likewise.
72428         [C99-based-standards] (SCNxMAX): Likewise.
72429         [C99-based-standards] (PRIdPTR): Likewise.
72430         [C99-based-standards] (PRIiPTR): Likewise.
72431         [C99-based-standards] (PRIoPTR): Likewise.
72432         [C99-based-standards] (PRIuPTR): Likewise.
72433         [C99-based-standards] (PRIxPTR): Likewise.
72434         [C99-based-standards] (PRIXPTR): Likewise.
72435         [C99-based-standards] (SCNdPTR): Likewise.
72436         [C99-based-standards] (SCNiPTR): Likewise.
72437         [C99-based-standards] (SCNoPTR): Likewise.
72438         [C99-based-standards] (SCNuPTR): Likewise.
72439         [C99-based-standards] (SCNxPTR): Likewise.
72440         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
72441         allow.
72442         * conform/data/stdint.h-data: Update comments to clarify
72443         requirements.
72444         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
72445         type.
72446         [C99-based standards] (INT8_MAX): Likewise.
72447         [C99-based standards] (INT16_MIN): Likewise.
72448         [C99-based standards] (INT16_MAX): Likewise.
72449         [C99-based standards] (INT32_MIN): Likewise.
72450         [C99-based standards] (INT32_MAX): Likewise.
72451         [C99-based standards] (INT64_MIN): Likewise.
72452         [C99-based standards] (INT64_MAX): Likewise.
72453         [C99-based standards] (UINT8_MAX): Likewise.
72454         [C99-based standards] (UINT16_MAX): Likewise.
72455         [C99-based standards] (UINT32_MAX): Likewise.
72456         [C99-based standards] (UINT64_MAX): Likewise.
72457         [C99-based standards] (INT_LEAST8_MIN): Likewise.
72458         [C99-based standards] (INT_LEAST8_MAX): Likewise.
72459         [C99-based standards] (INT_LEAST16_MIN): Likewise.
72460         [C99-based standards] (INT_LEAST16_MAX): Likewise.
72461         [C99-based standards] (INT_LEAST32_MIN): Likewise.
72462         [C99-based standards] (INT_LEAST32_MAX): Likewise.
72463         [C99-based standards] (INT_LEAST64_MIN): Likewise.
72464         [C99-based standards] (INT_LEAST64_MAX): Likewise.
72465         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
72466         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
72467         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
72468         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
72469         [C99-based standards] (INT_FAST8_MIN): Likewise.
72470         [C99-based standards] (INT_FAST8_MAX): Likewise.
72471         [C99-based standards] (INT_FAST16_MIN): Likewise.
72472         [C99-based standards] (INT_FAST16_MAX): Likewise.
72473         [C99-based standards] (INT_FAST32_MIN): Likewise.
72474         [C99-based standards] (INT_FAST32_MAX): Likewise.
72475         [C99-based standards] (INT_FAST64_MIN): Likewise.
72476         [C99-based standards] (INT_FAST64_MAX): Likewise.
72477         [C99-based standards] (UINT_FAST8_MAX): Likewise.
72478         [C99-based standards] (UINT_FAST16_MAX): Likewise.
72479         [C99-based standards] (UINT_FAST32_MAX): Likewise.
72480         [C99-based standards] (UINT_FAST64_MAX): Likewise.
72481         [C99-based standards] (INTPTR_MIN): Likewise.
72482         [C99-based standards] (INTPTR_MAX): Likewise.
72483         [C99-based standards] (UINTPTR_MAX): Likewise.
72484         [C99-based standards] (INTMAX_MIN): Likewise.
72485         [C99-based standards] (INTMAX_MAX): Likewise.
72486         [C99-based standards] (UINTMAX_MAX): Likewise.
72487         [C99-based standards] (PTRDIFF_MIN): Likewise.
72488         [C99-based standards] (PTRDIFF_MAX): Likewise.
72489         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
72490         [C99-based standards] (SIZE_MAX): Likewise.
72491         [C99-based standards] (WCHAR_MAX): Likewise.
72492         [C99-based standards] (WINT_MAX): Likewise.
72493         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
72494         constraint on value.
72495         [C99-based standards] (WCHAR_MIN): Likewise.
72496         [C99-based standards] (WINT_MIN): Likewise.
72497         [C99-based standards] (*_t): Allow.
72498         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
72499         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
72500         Include math.h-data and complex.h-data.  Remove all expectations
72501         of math.h and complex.h contents.
72502         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
72503         at end of line.
72504         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
72505         (struct tm): Expect tag.
72506         [C99-based-standards] (wcstof): Expect function.
72507         [C99-based-standards] (wcstold): Likewise.
72508         [C99-based-standards] (wcstoll): Likewise.
72509         [C99-based-standards] (wcstoull): Likewise.
72510         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
72511         macro-int-constant.  Specify type.
72512         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
72513         constraint on value.
72514         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72515         Specify type.
72516         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
72517         Specify value.
72518         [ISO C standards]: Do not allow headers.
72519         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
72520         wcs[abcdefghijklmnopqrstuvwxyz]*.
72521         [ISO C standards] (*_t): Do not allow.
72522         * conform/data/wctype.h-data [C99-based standards] (iswblank):
72523         Expect function.
72524         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
72525         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
72526         Specify type.
72527         [ISO C standards]: Do not allow headers.
72528         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
72529         is[abcdefghijklmnopqrstuvwxyz]*.
72530         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
72531         to[abcdefghijklmnopqrstuvwxyz]*.
72532         [ISO C standards] (*_t): Do not allow.
72533         * conform/data/stdalign.h-data: New file.
72534         * conform/data/stdbool.h-data: Likewise.
72535         * conform/data/stdnoreturn.h-data: Likewise.
72537 2012-11-07  Roland McGrath  <roland@hack.frob.com>
72539         [BZ #14815]
72540         * manual/filesys.texi (Directory Entries): Typo fix.
72541         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
72543 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72545         * elf/elf.h (EM_AARCH64): New macro.
72546         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
72547         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
72548         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
72549         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
72550         (R_AARCH64_TLSDESC): Likewise.
72551         (NT_ARM_TLS): Likewise.
72552         (NT_ARM_HW_BREAK): Likewise.
72553         (NT_ARM_HW_WATCH): Likewise.
72555 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72557         [BZ #14811]
72558         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
72559         (__ieee754_powl): Saturate nonzero exponents with absolute value
72560         below 0x1p-79 to +/- 0x1p-79.
72561         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
72562         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
72563         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
72564         nonzero exponents with absolute value below 0x1p-32 to +/-
72565         0x1p-32.
72566         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
72567         (__ieee754_powl): Saturate nonzero exponents with absolute value
72568         below 0x1p-79 to +/- 0x1p-79.
72569         * math/libm-test.inc (pow_test): Add more tests.
72571 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72573         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
72574         _dl_s390_cap_flags with kernel. Increase string length.
72575         (_dl_s390_platforms): Add z196 and zEC12.
72577 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72579         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
72580         Change XOPEN21K to XOPEN2K.
72582 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
72584         * string/memmove.c: Use memcpy when possible.
72586 2012-11-06  Andreas Jaeger  <aj@suse.de>
72588         * po/eo.po: Update from translation team.
72590 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
72592         [BZ #14793]
72593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
72594         exponent and small x and y exponents, scale x or y up.  Increase
72595         by 2 the exponent used in scaling up.
72596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72598         * math/libm-test.inc (fma_test): Add more tests.
72599         (fma_test_towardzero): Likewise.
72600         (fma_test_downward): Likewise.
72601         (fma_test_upward): Likewise.
72603 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
72605         [BZ #14805]
72606         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
72607         fenv_t *.
72609         [BZ #14801]
72610         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
72611         namespace for names of struct fields.
72612         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
72613         fenv_t fields.
72614         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
72615         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
72617 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72619         [BZ #3665]
72620         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
72622 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72624         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
72625         PTR_DEMANGLE.
72627         [BZ #5246]
72628         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
72629         PTR_DEMANGLE.
72631 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
72633         [BZ #14797]
72634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
72635         definitely overflow as x * y not x * y + z.
72636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72638         * math/libm-test.inc (fma_test): Add more tests.
72639         (fma_test_towardzero): Likewise.
72640         (fma_test_downward): Likewise.
72641         (fma_test_upward): Likewise.
72643 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
72645         [BZ #157]
72647         * include/stub-tag.h: Remove file.
72648         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
72649         '#include' of it.
72650         * manual/maint.texi (Porting): Don't reference it.
72651         * Makerules ($(objpfx)stubs): Likewise.
72652         * dirent/closedir.c: Don't include <stub-tag.h>.
72653         * dirent/dirfd.c: Likewise.
72654         * dirent/fdopendir.c: Likewise.
72655         * dirent/getdents.c: Likewise.
72656         * dirent/getdents64.c: Likewise.
72657         * dirent/opendir.c: Likewise.
72658         * dirent/readdir.c: Likewise.
72659         * dirent/readdir64.c: Likewise.
72660         * dirent/readdir64_r.c: Likewise.
72661         * dirent/readdir_r.c: Likewise.
72662         * dirent/rewinddir.c: Likewise.
72663         * dirent/seekdir.c: Likewise.
72664         * dirent/telldir.c: Likewise.
72665         * gmon/profil.c: Likewise.
72666         * grp/setgroups.c: Likewise.
72667         * inet/if_index.c: Likewise.
72668         * io/access.c: Likewise.
72669         * io/chdir.c: Likewise.
72670         * io/chmod.c: Likewise.
72671         * io/chown.c: Likewise.
72672         * io/close.c: Likewise.
72673         * io/dup.c: Likewise.
72674         * io/dup2.c: Likewise.
72675         * io/dup3.c: Likewise.
72676         * io/euidaccess.c: Likewise.
72677         * io/faccessat.c: Likewise.
72678         * io/fchdir.c: Likewise.
72679         * io/fchmod.c: Likewise.
72680         * io/fchmodat.c: Likewise.
72681         * io/fchown.c: Likewise.
72682         * io/fchownat.c: Likewise.
72683         * io/fcntl.c: Likewise.
72684         * io/flock.c: Likewise.
72685         * io/fstatfs.c: Likewise.
72686         * io/fstatfs64.c: Likewise.
72687         * io/fstatvfs.c: Likewise.
72688         * io/fstatvfs64.c: Likewise.
72689         * io/futimens.c: Likewise.
72690         * io/fxstat.c: Likewise.
72691         * io/fxstat64.c: Likewise.
72692         * io/fxstatat.c: Likewise.
72693         * io/fxstatat64.c: Likewise.
72694         * io/getcwd.c: Likewise.
72695         * io/isatty.c: Likewise.
72696         * io/lchmod.c: Likewise.
72697         * io/lchown.c: Likewise.
72698         * io/link.c: Likewise.
72699         * io/linkat.c: Likewise.
72700         * io/lseek.c: Likewise.
72701         * io/lseek64.c: Likewise.
72702         * io/lxstat64.c: Likewise.
72703         * io/mkdir.c: Likewise.
72704         * io/mkdirat.c: Likewise.
72705         * io/mkfifo.c: Likewise.
72706         * io/mkfifoat.c: Likewise.
72707         * io/open.c: Likewise.
72708         * io/open64.c: Likewise.
72709         * io/openat.c: Likewise.
72710         * io/openat64.c: Likewise.
72711         * io/pipe.c: Likewise.
72712         * io/pipe2.c: Likewise.
72713         * io/poll.c: Likewise.
72714         * io/posix_fadvise.c: Likewise.
72715         * io/posix_fadvise64.c: Likewise.
72716         * io/posix_fallocate.c: Likewise.
72717         * io/posix_fallocate64.c: Likewise.
72718         * io/read.c: Likewise.
72719         * io/readlink.c: Likewise.
72720         * io/readlinkat.c: Likewise.
72721         * io/rmdir.c: Likewise.
72722         * io/sendfile.c: Likewise.
72723         * io/sendfile64.c: Likewise.
72724         * io/statfs.c: Likewise.
72725         * io/statfs64.c: Likewise.
72726         * io/statvfs.c: Likewise.
72727         * io/statvfs64.c: Likewise.
72728         * io/symlink.c: Likewise.
72729         * io/symlinkat.c: Likewise.
72730         * io/ttyname.c: Likewise.
72731         * io/ttyname_r.c: Likewise.
72732         * io/umask.c: Likewise.
72733         * io/unlink.c: Likewise.
72734         * io/unlinkat.c: Likewise.
72735         * io/utime.c: Likewise.
72736         * io/utimensat.c: Likewise.
72737         * io/write.c: Likewise.
72738         * io/xmknod.c: Likewise.
72739         * io/xmknodat.c: Likewise.
72740         * io/xstat.c: Likewise.
72741         * io/xstat64.c: Likewise.
72742         * login/getpt.c: Likewise.
72743         * login/grantpt.c: Likewise.
72744         * login/unlockpt.c: Likewise.
72745         * math/e_acoshl.c: Likewise.
72746         * math/e_acosl.c: Likewise.
72747         * math/e_asinl.c: Likewise.
72748         * math/e_atan2l.c: Likewise.
72749         * math/e_atanhl.c: Likewise.
72750         * math/e_coshl.c: Likewise.
72751         * math/e_expl.c: Likewise.
72752         * math/e_fmodl.c: Likewise.
72753         * math/e_gammal_r.c: Likewise.
72754         * math/e_hypotl.c: Likewise.
72755         * math/e_j0l.c: Likewise.
72756         * math/e_j1l.c: Likewise.
72757         * math/e_jnl.c: Likewise.
72758         * math/e_lgammal_r.c: Likewise.
72759         * math/e_log10l.c: Likewise.
72760         * math/e_log2l.c: Likewise.
72761         * math/e_logl.c: Likewise.
72762         * math/e_powl.c: Likewise.
72763         * math/e_rem_pio2l.c: Likewise.
72764         * math/e_sinhl.c: Likewise.
72765         * math/e_sqrtl.c: Likewise.
72766         * math/fclrexcpt.c: Likewise.
72767         * math/fedisblxcpt.c: Likewise.
72768         * math/feenablxcpt.c: Likewise.
72769         * math/fegetenv.c: Likewise.
72770         * math/fegetexcept.c: Likewise.
72771         * math/fegetround.c: Likewise.
72772         * math/feholdexcpt.c: Likewise.
72773         * math/fesetenv.c: Likewise.
72774         * math/fesetround.c: Likewise.
72775         * math/feupdateenv.c: Likewise.
72776         * math/fgetexcptflg.c: Likewise.
72777         * math/fraiseexcpt.c: Likewise.
72778         * math/fsetexcptflg.c: Likewise.
72779         * math/ftestexcept.c: Likewise.
72780         * math/k_cosl.c: Likewise.
72781         * math/k_rem_pio2l.c: Likewise.
72782         * math/k_sinl.c: Likewise.
72783         * math/k_tanl.c: Likewise.
72784         * math/s_asinhl.c: Likewise.
72785         * math/s_atanl.c: Likewise.
72786         * math/s_cbrtl.c: Likewise.
72787         * math/s_erfl.c: Likewise.
72788         * math/s_expm1l.c: Likewise.
72789         * math/s_log1pl.c: Likewise.
72790         * math/s_tanhl.c: Likewise.
72791         * misc/acct.c: Likewise.
72792         * misc/brk.c: Likewise.
72793         * misc/chflags.c: Likewise.
72794         * misc/chroot.c: Likewise.
72795         * misc/fchflags.c: Likewise.
72796         * misc/fgetxattr.c: Likewise.
72797         * misc/flistxattr.c: Likewise.
72798         * misc/fremovexattr.c: Likewise.
72799         * misc/fsetxattr.c: Likewise.
72800         * misc/fsync.c: Likewise.
72801         * misc/ftruncate.c: Likewise.
72802         * misc/futimes.c: Likewise.
72803         * misc/futimesat.c: Likewise.
72804         * misc/getdomain.c: Likewise.
72805         * misc/getdtsz.c: Likewise.
72806         * misc/gethostid.c: Likewise.
72807         * misc/gethostname.c: Likewise.
72808         * misc/getloadavg.c: Likewise.
72809         * misc/getpagesize.c: Likewise.
72810         * misc/getsysstats.c: Likewise.
72811         * misc/getxattr.c: Likewise.
72812         * misc/gtty.c: Likewise.
72813         * misc/ioctl.c: Likewise.
72814         * misc/lgetxattr.c: Likewise.
72815         * misc/listxattr.c: Likewise.
72816         * misc/llistxattr.c: Likewise.
72817         * misc/lremovexattr.c: Likewise.
72818         * misc/lsetxattr.c: Likewise.
72819         * misc/lutimes.c: Likewise.
72820         * misc/madvise.c: Likewise.
72821         * misc/mincore.c: Likewise.
72822         * misc/mlock.c: Likewise.
72823         * misc/mlockall.c: Likewise.
72824         * misc/mmap.c: Likewise.
72825         * misc/mprotect.c: Likewise.
72826         * misc/msync.c: Likewise.
72827         * misc/munlock.c: Likewise.
72828         * misc/munlockall.c: Likewise.
72829         * misc/munmap.c: Likewise.
72830         * misc/preadv.c: Likewise.
72831         * misc/preadv64.c: Likewise.
72832         * misc/ptrace.c: Likewise.
72833         * misc/pwritev.c: Likewise.
72834         * misc/pwritev64.c: Likewise.
72835         * misc/readv.c: Likewise.
72836         * misc/reboot.c: Likewise.
72837         * misc/remap_file_pages.c: Likewise.
72838         * misc/removexattr.c: Likewise.
72839         * misc/revoke.c: Likewise.
72840         * misc/select.c: Likewise.
72841         * misc/setdomain.c: Likewise.
72842         * misc/setegid.c: Likewise.
72843         * misc/seteuid.c: Likewise.
72844         * misc/sethostid.c: Likewise.
72845         * misc/sethostname.c: Likewise.
72846         * misc/setregid.c: Likewise.
72847         * misc/setreuid.c: Likewise.
72848         * misc/setxattr.c: Likewise.
72849         * misc/sstk.c: Likewise.
72850         * misc/stty.c: Likewise.
72851         * misc/swapoff.c: Likewise.
72852         * misc/swapon.c: Likewise.
72853         * misc/sync.c: Likewise.
72854         * misc/syncfs.c: Likewise.
72855         * misc/syscall.c: Likewise.
72856         * misc/truncate.c: Likewise.
72857         * misc/ualarm.c: Likewise.
72858         * misc/usleep.c: Likewise.
72859         * misc/ustat.c: Likewise.
72860         * misc/utimes.c: Likewise.
72861         * misc/vhangup.c: Likewise.
72862         * misc/writev.c: Likewise.
72863         * posix/_exit.c: Likewise.
72864         * posix/alarm.c: Likewise.
72865         * posix/execve.c: Likewise.
72866         * posix/fexecve.c: Likewise.
72867         * posix/fork.c: Likewise.
72868         * posix/fpathconf.c: Likewise.
72869         * posix/getaddrinfo.c: Likewise.
72870         * posix/getegid.c: Likewise.
72871         * posix/geteuid.c: Likewise.
72872         * posix/getgid.c: Likewise.
72873         * posix/getgroups.c: Likewise.
72874         * posix/getlogin.c: Likewise.
72875         * posix/getlogin_r.c: Likewise.
72876         * posix/getpgid.c: Likewise.
72877         * posix/getpid.c: Likewise.
72878         * posix/getppid.c: Likewise.
72879         * posix/getresgid.c: Likewise.
72880         * posix/getresuid.c: Likewise.
72881         * posix/getsid.c: Likewise.
72882         * posix/getuid.c: Likewise.
72883         * posix/glob64.c: Likewise.
72884         * posix/nanosleep.c: Likewise.
72885         * posix/pathconf.c: Likewise.
72886         * posix/pause.c: Likewise.
72887         * posix/posix_madvise.c: Likewise.
72888         * posix/pread.c: Likewise.
72889         * posix/pread64.c: Likewise.
72890         * posix/pwrite.c: Likewise.
72891         * posix/pwrite64.c: Likewise.
72892         * posix/sched_getaffinity.c: Likewise.
72893         * posix/sched_getp.c: Likewise.
72894         * posix/sched_gets.c: Likewise.
72895         * posix/sched_primax.c: Likewise.
72896         * posix/sched_primin.c: Likewise.
72897         * posix/sched_rr_gi.c: Likewise.
72898         * posix/sched_setaffinity.c: Likewise.
72899         * posix/sched_setp.c: Likewise.
72900         * posix/sched_sets.c: Likewise.
72901         * posix/sched_yield.c: Likewise.
72902         * posix/setgid.c: Likewise.
72903         * posix/setlogin.c: Likewise.
72904         * posix/setpgid.c: Likewise.
72905         * posix/setresgid.c: Likewise.
72906         * posix/setresuid.c: Likewise.
72907         * posix/setsid.c: Likewise.
72908         * posix/setuid.c: Likewise.
72909         * posix/sleep.c: Likewise.
72910         * posix/spawni.c: Likewise.
72911         * posix/sysconf.c: Likewise.
72912         * posix/times.c: Likewise.
72913         * posix/wait.c: Likewise.
72914         * posix/wait3.c: Likewise.
72915         * posix/wait4.c: Likewise.
72916         * posix/waitpid.c: Likewise.
72917         * resolv/gai_sigqueue.c: Likewise.
72918         * resource/getpriority.c: Likewise.
72919         * resource/getrlimit.c: Likewise.
72920         * resource/getrusage.c: Likewise.
72921         * resource/nice.c: Likewise.
72922         * resource/setpriority.c: Likewise.
72923         * resource/setrlimit.c: Likewise.
72924         * resource/ulimit.c: Likewise.
72925         * rt/aio_cancel.c: Likewise.
72926         * rt/aio_fsync.c: Likewise.
72927         * rt/aio_read.c: Likewise.
72928         * rt/aio_sigqueue.c: Likewise.
72929         * rt/aio_suspend.c: Likewise.
72930         * rt/aio_write.c: Likewise.
72931         * rt/clock_getres.c: Likewise.
72932         * rt/clock_gettime.c: Likewise.
72933         * rt/clock_nanosleep.c: Likewise.
72934         * rt/clock_settime.c: Likewise.
72935         * rt/lio_listio.c: Likewise.
72936         * rt/mq_close.c: Likewise.
72937         * rt/mq_getattr.c: Likewise.
72938         * rt/mq_notify.c: Likewise.
72939         * rt/mq_open.c: Likewise.
72940         * rt/mq_receive.c: Likewise.
72941         * rt/mq_send.c: Likewise.
72942         * rt/mq_setattr.c: Likewise.
72943         * rt/mq_timedreceive.c: Likewise.
72944         * rt/mq_timedsend.c: Likewise.
72945         * rt/mq_unlink.c: Likewise.
72946         * rt/shm_open.c: Likewise.
72947         * rt/shm_unlink.c: Likewise.
72948         * rt/timer_create.c: Likewise.
72949         * rt/timer_delete.c: Likewise.
72950         * rt/timer_getoverr.c: Likewise.
72951         * rt/timer_gettime.c: Likewise.
72952         * rt/timer_settime.c: Likewise.
72953         * setjmp/__longjmp.c: Likewise.
72954         * setjmp/setjmp.c: Likewise.
72955         * signal/kill.c: Likewise.
72956         * signal/killpg.c: Likewise.
72957         * signal/raise.c: Likewise.
72958         * signal/sigaction.c: Likewise.
72959         * signal/sigaltstack.c: Likewise.
72960         * signal/sigblock.c: Likewise.
72961         * signal/sigignore.c: Likewise.
72962         * signal/sigintr.c: Likewise.
72963         * signal/signal.c: Likewise.
72964         * signal/sigpause.c: Likewise.
72965         * signal/sigpending.c: Likewise.
72966         * signal/sigqueue.c: Likewise.
72967         * signal/sigreturn.c: Likewise.
72968         * signal/sigset.c: Likewise.
72969         * signal/sigsetmask.c: Likewise.
72970         * signal/sigstack.c: Likewise.
72971         * signal/sigsuspend.c: Likewise.
72972         * signal/sigtimedwait.c: Likewise.
72973         * signal/sigvec.c: Likewise.
72974         * signal/sigwait.c: Likewise.
72975         * signal/sigwaitinfo.c: Likewise.
72976         * signal/sysv_signal.c: Likewise.
72977         * socket/accept.c: Likewise.
72978         * socket/accept4.c: Likewise.
72979         * socket/bind.c: Likewise.
72980         * socket/connect.c: Likewise.
72981         * socket/getpeername.c: Likewise.
72982         * socket/getsockname.c: Likewise.
72983         * socket/getsockopt.c: Likewise.
72984         * socket/isfdtype.c: Likewise.
72985         * socket/listen.c: Likewise.
72986         * socket/recv.c: Likewise.
72987         * socket/recvfrom.c: Likewise.
72988         * socket/recvmsg.c: Likewise.
72989         * socket/send.c: Likewise.
72990         * socket/sendmsg.c: Likewise.
72991         * socket/sendto.c: Likewise.
72992         * socket/setsockopt.c: Likewise.
72993         * socket/shutdown.c: Likewise.
72994         * socket/sockatmark.c: Likewise.
72995         * socket/socket.c: Likewise.
72996         * socket/socketpair.c: Likewise.
72997         * stdio-common/ctermid.c: Likewise.
72998         * stdio-common/cuserid.c: Likewise.
72999         * stdio-common/remove.c: Likewise.
73000         * stdio-common/rename.c: Likewise.
73001         * stdio-common/renameat.c: Likewise.
73002         * stdio-common/tempname.c: Likewise.
73003         * stdlib/getcontext.c: Likewise.
73004         * stdlib/makecontext.c: Likewise.
73005         * stdlib/setcontext.c: Likewise.
73006         * stdlib/swapcontext.c: Likewise.
73007         * stdlib/system.c: Likewise.
73008         * streams/fattach.c: Likewise.
73009         * streams/fdetach.c: Likewise.
73010         * streams/getmsg.c: Likewise.
73011         * streams/getpmsg.c: Likewise.
73012         * streams/putmsg.c: Likewise.
73013         * streams/putpmsg.c: Likewise.
73014         * sysdeps/unix/bsd/getpt.c: Likewise.
73015         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73016         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73017         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73019         Likewise.
73020         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73021         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73022         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73023         * sysvipc/msgctl.c: Likewise.
73024         * sysvipc/msgget.c: Likewise.
73025         * sysvipc/msgrcv.c: Likewise.
73026         * sysvipc/msgsnd.c: Likewise.
73027         * sysvipc/semctl.c: Likewise.
73028         * sysvipc/semget.c: Likewise.
73029         * sysvipc/semop.c: Likewise.
73030         * sysvipc/semtimedop.c: Likewise.
73031         * sysvipc/shmat.c: Likewise.
73032         * sysvipc/shmctl.c: Likewise.
73033         * sysvipc/shmdt.c: Likewise.
73034         * sysvipc/shmget.c: Likewise.
73035         * termios/tcdrain.c: Likewise.
73036         * termios/tcflow.c: Likewise.
73037         * termios/tcflush.c: Likewise.
73038         * termios/tcgetattr.c: Likewise.
73039         * termios/tcgetpgrp.c: Likewise.
73040         * termios/tcsendbrk.c: Likewise.
73041         * termios/tcsetattr.c: Likewise.
73042         * termios/tcsetpgrp.c: Likewise.
73043         * time/adjtime.c: Likewise.
73044         * time/clock.c: Likewise.
73045         * time/getitimer.c: Likewise.
73046         * time/gettimeofday.c: Likewise.
73047         * time/setitimer.c: Likewise.
73048         * time/settimeofday.c: Likewise.
73049         * time/stime.c: Likewise.
73050         * time/time.c: Likewise.
73052 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73054         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73055         /usr/old/bin.
73057         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73058         instead of spaces.
73059         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73061 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73063         [BZ #14796]
73064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73065         FE_TONEAREST before applying Dekker multiplication and Knuth
73066         addition.  Clear inexact exceptions and check for exact zero
73067         results afterwards.
73068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73069         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73070         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73071         * math/libm-test.inc (fma_test): Add more tests.
73072         (fma_test_towardzero): Likewise.
73073         (fma_test_downward): Likewise.
73074         (fma_test_upward): Likewise.
73075         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73076         function.
73077         (libc_fesetround): New macro.
73078         (libc_fesetroundf): Likewise.
73079         (libc_fesetroundl): Likewise.
73080         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73081         function.
73082         (libc_fesetround_387): Likewise.
73083         (libc_fesetroundf): New macro.
73084         (libc_fesetround): Likewise.
73085         (libc_fesetroundl): Likewise.
73086         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73087         function.
73088         (libc_fesetroundf): New macro.
73089         (libc_fesetround): Likewise.
73090         (libc_fesetroundl): Likewise.
73091         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73092         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73093         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73094         libm_hidden_ver.
73095         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73096         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73097         libm_hidden_def.
73098         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73099         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73100         libm_hidden_ver.
73101         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73102         libm_hidden_def.
73104         [BZ #3439]
73105         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73106         integer constant usable in #if and use that to give value to enum
73107         constant.
73108         (FE_DIVBYZERO): Likewise.
73109         (FE_UNDERFLOW): Likewise.
73110         (FE_OVERFLOW): Likewise.
73111         (FE_INVALID): Likewise.
73112         (FE_INVALID_SNAN): Likewise.
73113         (FE_INVALID_ISI): Likewise.
73114         (FE_INVALID_IDI): Likewise.
73115         (FE_INVALID_ZDZ): Likewise.
73116         (FE_INVALID_IMZ): Likewise.
73117         (FE_INVALID_COMPARE): Likewise.
73118         (FE_INVALID_SOFTWARE): Likewise.
73119         (FE_INVALID_SQRT): Likewise.
73120         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73121         (FE_TONEAREST): Likewise.
73122         (FE_TOWARDZERO): Likewise.
73123         (FE_UPWARD): Likewise.
73124         (FE_DOWNWARD): Likewise.
73125         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73126         (FE_DIVBYZERO): Likewise.
73127         (FE_OVERFLOW): Likewise.
73128         (FE_UNDERFLOW): Likewise.
73129         (FE_INEXACT): Likewise.
73130         (FE_TONEAREST): Likewise.
73131         (FE_DOWNWARD): Likewise.
73132         (FE_UPWARD): Likewise.
73133         (FE_TOWARDZERO): Likewise.
73134         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73135         (FE_UNDERFLOW): Likewise.
73136         (FE_OVERFLOW): Likewise.
73137         (FE_DIVBYZERO): Likewise.
73138         (FE_INVALID): Likewise.
73139         (FE_TONEAREST): Likewise.
73140         (FE_TOWARDZERO): Likewise.
73141         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73142         (FE_OVERFLOW): Likewise.
73143         (FE_UNDERFLOW): Likewise.
73144         (FE_DIVBYZERO): Likewise.
73145         (FE_INEXACT): Likewise.
73146         (FE_TONEAREST): Likewise.
73147         (FE_TOWARDZERO): Likewise.
73148         (FE_UPWARD): Likewise.
73149         (FE_DOWNWARD): Likewise.
73150         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73151         (FE_DIVBYZERO): Likewise.
73152         (FE_OVERFLOW): Likewise.
73153         (FE_UNDERFLOW): Likewise.
73154         (FE_INEXACT): Likewise.
73155         (FE_TONEAREST): Likewise.
73156         (FE_DOWNWARD): Likewise.
73157         (FE_UPWARD): Likewise.
73158         (FE_TOWARDZERO): Likewise.
73160 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73162         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73164 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73166         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73167         commands.  Quote $PWD.
73168         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73169         -x" by "export".
73170         (remove_newlines): Remove.
73172 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73174         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73175         * stdlib/stdlib.h (atof): Moved to ...
73176         * include/bits/stdlib-float.h: Here.  New file.
73177         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73178         * stdlib/bits/stdlib-float.h: New file.
73179         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73180         -mno-sse -mno-mmx.
73181         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73182         <xmmintrin.h>.
73184 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73186         * conform/conformtest.pl (@headers): Add fenv.h.
73187         * conform/data/fenv.h-data: New file.
73188         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73189         include of <math/fenv.h>.
73191         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73192         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73193         && !UNIX98].  Enables tests for XOPEN2K8.
73194         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73195         POSIX2008]: Likewise.
73197         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73198         (struct rusage): Do not expect type or its members.
73200         [BZ #3439]
73201         * math/math.h (FP_NAN): Define macro to integer constant usable in
73202         #if and use that to give value to enum constant.
73203         (FP_INFINITE): Likewise.
73204         (FP_ZERO): Likewise.
73205         (FP_SUBNORMAL): Likewise.
73206         (FP_NORMAL): Likewise.
73208 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73210         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73211         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73212         arguments.
73214 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73216         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73217         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73218         autoconf-time if not.
73219         * configure.in: Remove AC_PREREQ.
73221 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73223         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73224         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73225         of the internal implementation.
73227 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73229         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73230         except include of <misc/sys/syslog.h>.
73232 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73235         function returns with a NULL context exit with zero.
73237 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73239         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73241 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73243         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73244         (run_program_cmd): This.
73245         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73246         (tst_langinfo): New variable.  Use it.
73248 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73250         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73251         floating point opcodes.
73253 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73255         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73256         variable.
73258         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73260         * sysdeps/mach/hurd/powerpc: Remove directory.
73261         * sysdeps/mach/powerpc: Likewise.
73263 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73265         * scripts/check-local-headers.sh: Ignore c++ headers.
73267 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73269         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73270         __libc_cleanup_region_start argument.
73272 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73274         [BZ #14784]
73275         [BZ #14785]
73276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73277         x * y using scaling, not as x * y + z.
73278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73279         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73280         * math/libm-test.inc (fma_test): Add more tests.
73281         (fma_test_towardzero): Likewise.
73282         (fma_test_downward): Likewise.
73283         (fma_test_upward): Likewise.
73285 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73287         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73289 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73291         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73292         New variable.
73294 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73296         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73298 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73301         Fix sort order.
73302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73303         Likewise.
73305 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73308         Fix the order of the list for glibc 2.17.
73309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73310         Likewise.
73312 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73316 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73318         [BZ #14610]
73319         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73320         for low part of x being zero before using __atanl (y).
73321         * math/libm-test.inc (atan2_test): Add another test.
73323         * manual/install.texi (Configuring and compiling): Document
73324         general use of test-wrapper and test-wrapper-env.
73325         * INSTALL: Regenerated.
73327         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
73328         (__fma): Do not extract and scale down low bits on after-rounding
73329         systems when result rounded to normal precision would have normal
73330         exponent.
73331         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
73332         (__fmal): Do not extract and scale down low bits on after-rounding
73333         systems when result rounded to normal precision would have normal
73334         exponent.
73335         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
73336         (__fmal): Do not extract and scale down low bits on after-rounding
73337         systems when result rounded to normal precision would have normal
73338         exponent.
73339         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
73340         macro.
73341         (fma_test): Add more tests.
73342         (fma_test_towardzero): Likewise.
73343         (fma_test_downward): Likewise.
73344         (fma_test_upward): Likewise.
73346 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
73348         * sysdeps/i386/tininess.h: Renamed to ...
73349         * sysdeps/x86/tininess.h: This.
73350         * sysdeps/x86_64/tininess.h: Removed.
73352 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73354         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
73355         input.  Use $(build-program-cmd).
73356         ($(objpfx)tst-array1-static.out): Likewise.
73357         ($(objpfx)tst-array2.out): Likewise.
73358         ($(objpfx)tst-array3.out): Likewise.
73359         ($(objpfx)tst-array4.out): Likewise.
73360         ($(objpfx)tst-array5.out): Likewise.
73361         ($(objpfx)tst-array5-static.out): Likewise.
73363 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
73365         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
73366         if defined.
73368         * nss/nsswitch.h (nss_interface_function): Provide new
73369         macro for use with NSS functions.
73370         * grp/initgroups.c: Use new macro.
73371         * nss/getXXbyYY.c: Likewise.
73372         * nss/getXXbyYY_r.c: Likewise.
73373         * nss/getXXent.c: Likewise.
73374         * nss/getXXent_r.c: Likewise.
73375         * sysdeps/posix/getaddrinfo.c: Likewise.
73377 2012-10-30  Andreas Jaeger  <aj@suse.de>
73379         * po/ru.po: Update Russion translation from translation project.
73381 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
73383         [BZ #14152]
73384         [BZ #14783]
73385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
73386         result and shift together with sticky bit instead of replicating
73387         round-to-nearest rounding.
73388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73390         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
73391         missing underflow exceptions.
73392         (fma_test_towardzero): Add more tests.
73393         (fma_test_downward): Likewise.
73394         (fma_test_upward): Likewise.
73396         [BZ #14047]
73397         * sysdeps/generic/tininess.h: New file.
73398         * sysdeps/i386/tininess.h: Likewise.
73399         * sysdeps/sh/tininess.h: Likewise.
73400         * sysdeps/x86_64/tininess.h: Likewise.
73401         * stdlib/tst-strtod-underflow.c: Likewise.
73402         * stdlib/tst-tininess.c: Likewise.
73403         * stdlib/strtod_l.c: Include <tininess.h>.
73404         (round_and_return): Do not set errno for exact underflow cases.
73405         Force an underflow exception when setting errno for underflow.
73406         Determine underflow based on rounding to normal precision if
73407         TININESS_AFTER_ROUNDING.
73408         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
73409         ERANGE for exact underflow cases.
73410         * stdlib/Makefile (tests): Add tst-tininess and
73411         tst-strtod-underflow.
73412         ($(objpfx)tst-tininess): Use $(link-libm).
73413         ($(objpfx)tst-strtod-underflow): Likewise.
73415 2012-10-30  Andreas Jaeger  <aj@suse.de>
73417         [BZ #14767]
73418         * elf/Makefile (tests): Remove conditional for have-initfini-array
73419         since this is now always required and the variable does not exist
73420         anymore.
73421         (tests-static): Likewise.
73422         (modules-names): Likewise.
73424         * po/eo.po: Add Esperanto translation from translation project.
73426         * elf/tst-array1.c (fini_array): Make writeable so that it can be
73427         merged with constructor/destructor.
73428         (init_array): Likewise.
73429         * elf/tst-array2dep.c (fini_array): Likewise.
73430         (init_array): Likewise.
73432 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
73434         * manual/message.texi: Delete @cartouche tags.
73436 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
73438         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
73439         EOPNOTSUPP.
73440         * sysdeps/mach/hurd/fsync.c: Likewise.
73442         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
73443         [_POSIX_REALTIME_SIGNALS]: Change condition to
73444         [_POSIX_REALTIME_SIGNALS > 0].
73446 2012-10-27  Andreas Jaeger  <aj@suse.de>
73448         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
73449         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
73450         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
73451         [__WORDSIZE != 64]: Likewise.
73453 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
73455         *  iconvdata/tst-table.sh: Remove ${SHELL}.
73456         *  iconvdata/tst-tables.sh: Likewise.
73458 2012-10-25  David S. Miller  <davem@davemloft.net>
73460         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73461         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
73462         of strtoull.
73464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
73465         ifunc-impl-list.c
73466         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73467         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
73468         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
73469         file.
73471 2012-10-25  Roland McGrath  <roland@hack.frob.com>
73473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73474         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
73475         __getdirentries.
73477 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73478             Jim Blandy  <jimb@codesourcery.com>
73480         * scripts/cross-test-ssh.sh: New file.
73481         * manual/install.texi (Configuring and compiling): Document use of
73482         cross-test-ssh.sh.
73483         * INSTALL: Regenerated.
73485 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
73487         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
73488         EOPNOTSUPP.
73490 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
73492         * Makeconfig (run-program-prefix): Fix comment.
73494 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73495             Jim Blandy  <jimb@codesourcery.com>
73497         * Makeconfig (test-wrapper): New variable,
73498         (test-wrapper-env): Likewise.
73499         [$(cross-compiling) = yes && $(test-wrapper) != ""]
73500         (run-built-tests): Define to yes.
73501         (run-program-prefix): Use $(test-wrapper).
73502         (built-program-cmd): Likewise.
73503         * Rules (make-test-out): Use $(test-wrapper-env) and
73504         $(host-built-program-cmd).
73505         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
73506         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
73507         tst-pathopt.sh.
73508         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
73509         $(test-wrapper-env) to tst-rtld-load-self.sh.
73510         ($(objpfx)order2.out): Use $(test-wrapper).
73511         ($(objpfx)tst-initorder.out): Likewise.
73512         ($(objpfx)tst-initorder2.out): Likewise.
73513         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
73514         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
73515         (test_wrapper_env): New variable.  Use it to run ld.so.
73516         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
73517         Use it to run ld.so.
73518         (test_wrapper_env): Likewise.
73519         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
73520         $(test-wrapper) to run-iconv-test.sh.
73521         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
73522         (ICONV): Use $test_wrapper.
73523         * posix/Makefile ($(objpfx)globtest.out): Pass
73524         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
73525         globtest.sh, not $(run-program-prefix).
73526         * posix/globtest.sh (run_via_rtld_prefix): New variable.
73527         (test_wrapper): Likewise.
73528         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
73529         set together with run_via_rtld_prefix.
73530         (run_program_prefix): Define in terms of test_wrapper and
73531         run_via_rtld_prefix.
73533 2012-10-24  Roland McGrath  <roland@hack.frob.com>
73535         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
73536         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
73537         Targets removed.
73539         [BZ #14743]
73540         * include/time.h: Remove librt_hidden_proto (clock_gettime).
73541         Declare __clock_getres, __clock_gettime, __clock_settime,
73542         __clock_nanosleep, and __clock_getcpuclockid.
73543         * rt/clock_gettime.c: Define __clock_gettime as an alias.
73544         Remove librt_hidden_def (clock_gettime).
73545         * sysdeps/unix/clock_gettime.c: Likewise.
73546         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
73547         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
73548         * rt/clock_getres.c: Define __clock_getres as an alias.
73549         * sysdeps/posix/clock_getres.c: Likewise.
73550         * rt/clock_settime.c: Define __clock_settime as an alias.
73551         * sysdeps/unix/clock_settime.c: Likewise.
73552         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
73553         * sysdeps/unix/clock_nanosleep.c: Likewise.
73554         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
73555         * rt/clock-compat.c: New file.
73556         * rt/Makefile (librt-routines): Add clock-compat and move
73557         $(clock-routines) to ...
73558         (routines): ... here, new variable.
73559         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
73560         Don't add get_clockfreq here.
73561         * rt/Versions (libc: GLIBC_2.17): New version set.
73562         Add clock_* symbols here.
73563         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
73564         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
73565         (GLIBC_2.17): Add clock_* symbols.
73566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73568         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73570         Likewise.
73571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73572         Likewise.
73573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73577         * NEWS: Mention the move.
73579         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
73580         Use __open, __read, __close rather than their public counterparts.
73581         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73582         (__get_clockfreq_via_cpuinfo): Likewise.
73583         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
73584         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
73586         * config.h.in (HAVE_IFUNC): New #undef.
73587         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
73588         was successful.
73589         * configure: Regenerated.
73591 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73593         * configure.in: Move READELF check to start of file.
73594         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
73595         libc_cv_asm_gnu_indirect_function in the process.
73596         * configure: Regenerated.
73598 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
73600         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
73601         send the output to /dev/null.
73602         (libc_cv_cc_with_libunwind): Likewise.
73603         (libc_cv_as_noexecstack): Likewise.
73604         * configure: Regenerate.
73606 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
73608         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
73610         * posix/globtest.sh (TMPDIR): Do not set.
73611         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
73612         (testout): Likewise.
73614 2012-10-24  Andreas Jaeger  <aj@suse.de>
73616         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
73617         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
73618         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
73619         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
73620         posix_fadvise64, posix_fallocate64.
73622         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
73623         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
73624         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
73625         Likewise.
73626         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
73627         Likewise.
73628         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
73630         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
73631         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
73632         <bits/fcntl-linux.h>.
73633         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
73635         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
73636         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
73637         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
73638         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
73639         [__WORDSIZE != 64]: Likewise.
73641 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73643         * Makeconfig (run-built-tests): New variable.
73644         * Rules [$(cross-compiling) = yes]: Change condition to
73645         [$(run-built-tests) = no].
73646         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
73647         to [$(run-built-tests) = yes].
73648         * elf/Makefile [$(cross-compiling) = no]: Likewise.
73649         * grp/Makefile [$(cross-compiling) = no]: Likewise.
73650         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
73651         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
73652         * intl/Makefile [$(cross-compiling) = no]: Likewise.
73653         * io/Makefile [$(cross-compiling) = no]: Likewise.
73654         * libio/Makefile [$(cross-compiling) = no]: Likewise.
73655         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
73656         * misc/Makefile [$(cross-compiling) = no]: Likewise.
73657         * posix/Makefile [$(cross-compiling) = no]: Likewise.
73658         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
73659         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
73660         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
73661         * string/Makefile [$(cross-compiling) = no]: Likewise.
73663         * posix/Makefile ($(objpfx)globtest.out): Pass
73664         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
73665         $(rtld-installed-name).
73666         * posix/globtest.sh (elf_objpfx): Remove variable.
73667         (rtld_installed_name): Likewise.
73668         (library_path): Likewise.
73669         (run_program_prefix): New variable.  Use for running globtest
73670         binary.
73672 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
73673             Joseph Myers  <joseph@codesourcery.com>
73675         * Makeconfig (host-built-program-cmd): New variable.
73676         * elf/Makefile (tst-stackguard1-ARGS): Use
73677         $(host-built-program-cmd).
73678         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
73679         (tst-spawn-ARGS): Likewise.
73680         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
73682 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
73683             Jim Blandy  <jimb@codesourcery.com>
73685         * Makeconfig (run-via-rtld-prefix): New variable.
73686         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
73687         (built-program-cmd): Likewise.
73689 2012-10-22  Andreas Jaeger  <aj@suse.de>
73691         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
73692         __O_RSYNC if it exists, otherwise to O_SYNC.
73694 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
73695             Joseph Myers  <joseph@codesourcery.com>
73697         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
73698         /dev/null.
73699         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
73700         from /dev/null
73701         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
73702         /dev/null.
73704 2012-10-22  Andreas Jaeger  <aj@suse.de>
73706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
73707         Define always.
73708         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
73710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73711         bits/fcntl-linux.h.
73713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
73714         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
73716         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
73717         to __O_LARGEFILE.
73718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
73719         to __O_LARGEFILE.
73721 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
73722             Joseph Myers  <joseph@codesourcery.com>
73724         * config.make.in (NM): New variable.
73726 2012-10-21  Andreas Jaeger  <aj@suse.de>
73728         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
73729         definitions and declarations that are provided by
73730         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73732 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73734         [BZ #14683]
73735         * elf/Makefile (tests-static): Add tst-leaks1-static.
73736         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
73737         ($(objpfx)tst-leaks1-static): New rule.
73738         ($(objpfx)tst-leaks1-static-mem): Likewise.
73739         (tst-leaks1-static-ENV): New macro.
73740         * elf/dl-open.c (dl_open_worker): Check the main application
73741         only if SHARED is defined.
73742         * elf/tst-leaks1-static.c: New file.
73744 2012-10-20  Andreas Jaeger  <aj@suse.de>
73746         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
73747         generic values for Linux.
73748         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
73749         and declarations that are provided by <bits/fcntl-linux.h> and
73750         include <bits/fcntl-linux.h>.
73751         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73752         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73754 2012-10-20  Roland McGrath  <roland@hack.frob.com>
73756         * io/fcntl.h: Move include of <bits/types.h> to the top and
73757         include it unconditionally.
73759 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
73761         * wcsmbs/Makefile (tests-ifunc): New variable.
73762         (tests): Add $(tests-ifunc).
73763         * wcsmbs/test-wcschr-ifunc.c: New file.
73764         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
73765         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
73766         * wcsmbs/test-wcslen-ifunc.c: Likewise.
73767         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
73768         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
73770         * string/Makefile (tests-ifunc): New variable.
73771         (tests): Add $(tests-ifunc).
73772         * string/test-memccpy.c (TEST_NAME): New macro.
73773         * string/test-memchr.c (TEST_NAME): Likewise.
73774         * string/test-memcmp.c (TEST_NAME): Likewise.
73775         * string/test-memcpy.c (TEST_NAME): Likewise.
73776         * string/test-memmem.c (TEST_NAME): Likewise.
73777         * string/test-memmove.c (TEST_NAME): Likewise.
73778         * string/test-memset.c (TEST_NAME): Likewise.
73779         * string/test-rawmemchr.c (TEST_NAME): Likewise.
73780         * string/test-stpcpy.c (TEST_NAME): Likewise.
73781         * string/test-stpncpy.c (TEST_NAME): Likewise.
73782         * string/test-strcasecmp.c (TEST_NAME): Likewise.
73783         * string/test-strcasestr.c (TEST_NAME): Likewise.
73784         * string/test-strcat.c (TEST_NAME): Likewise.
73785         * string/test-strchr.c (TEST_NAME): Likewise.
73786         * string/test-strcmp.c(TEST_NAME): Likewise.
73787         * string/test-strcpy.c (TEST_NAME): Likewise.
73788         * string/test-strcspn.c (TEST_NAME): Likewise.
73789         * string/test-strlen.c (TEST_NAME): Likewise.
73790         * string/test-strncasecmp.c (TEST_NAME): Likewise.
73791         * string/test-strncmp.c (TEST_NAME): Likewise.
73792         * string/test-strncpy.c (TEST_NAME): Likewise.
73793         * string/test-strnlen.c (TEST_NAME): Likewise.
73794         * string/test-strpbrk.c (TEST_NAME): Likewise.
73795         * string/test-strrchr.c (TEST_NAME): Likewise.
73796         * string/test-strspn.c (TEST_NAME): Likewise.
73797         * string/test-strstr.c (TEST_NAME): Likewise.
73798         * string/test-bcopy-ifunc.c: New file.
73799         * string/test-bzero-ifunc.c: Likewise.
73800         * string/test-memccpy-ifunc.c: Likewise.
73801         * string/test-memchr-ifunc.c: Likewise.
73802         * string/test-memcmp-ifunc.c: Likewise.
73803         * string/test-memcpy-ifunc.c: Likewise.
73804         * string/test-memmem-ifunc.c: Likewise.
73805         * string/test-memmove-ifunc.c: Likewise.
73806         * string/test-mempcpy-ifunc.c: Likewise.
73807         * string/test-memset-ifunc.c: Likewise.
73808         * string/test-rawmemchr-ifunc.c: Likewise.
73809         * string/test-stpcpy-ifunc.c: Likewise.
73810         * string/test-stpncpy-ifunc.c: Likewise.
73811         * string/test-strcasecmp-ifunc.c: Likewise.
73812         * string/test-strcasestr-ifunc.c: Likewise.
73813         * string/test-strcat-ifunc.c: Likewise.
73814         * string/test-strchr-ifunc.c: Likewise.
73815         * string/test-strchrnul-ifunc.c: Likewise.
73816         * string/test-strcmp-ifunc.c: Likewise.
73817         * string/test-strcpy-ifunc.c: Likewise.
73818         * string/test-strcspn-ifunc.c: Likewise.
73819         * string/test-strlen-ifunc.c: Likewise.
73820         * string/test-strncasecmp-ifunc.c: Likewise.
73821         * string/test-strncat-ifunc.c: Likewise.
73822         * string/test-strncmp-ifunc.c: Likewise.
73823         * string/test-strncpy-ifunc.c: Likewise.
73824         * string/test-strnlen-ifunc.c: Likewise.
73825         * string/test-strpbrk-ifunc.c: Likewise.
73826         * string/test-strrchr-ifunc.c: Likewise.
73827         * string/test-strspn-ifunc.c: Likewise.
73828         * string/test-strstr-ifunc.c: Likewise.
73830         * debug/Makefile (tests-ifunc): New variable.
73831         (tests): Add $(tests-ifunc).
73832         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73833         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73834         * debug/test-stpcpy_chk-ifunc.c: New file.
73835         * debug/test-strcpy_chk-ifunc.c: Likewise.
73837 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73839         [BZ #13601]
73840         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73841         header is not read in.
73843 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73845         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73846         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73847         directly.  Pass built executable to script as
73848         $(built-program-cmd).
73849         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73850         $testprogram without using LD_LIBRARY_PATH and $ldso.
73852         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73853         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73854         $(rtld-installed-name).
73855         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73856         (rtld_installed_name): Likewise.
73857         (library_path): Likewise.
73858         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73859         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73860         $(run-program-prefix) to tst-tables.sh.
73861         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73862         it to run tst-table-from and tst-table-to.
73863         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73864         Pass it to tst-table.sh.
73865         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73866         $(run-program-prefix) to tst-gettext.sh.
73867         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73868         tst-translit.sh.
73869         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73870         tst-gettext2.sh.
73871         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73872         to run tst-gettext.
73873         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73874         to run tst-gettext2.
73875         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73876         to run tst-translit.
73877         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73878         $(run-program-prefix) to tst-mtrace.sh.
73879         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73880         to run tst-mtrace.
73881         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73882         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73883         $(rtld-installed-name).
73884         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73885         (rtld_installed_name): Likewise.
73886         (run_program_prefix): New variable.  Use it to run wordexp-test.
73888         * Makeconfig (ARCH): Remove all definitions.
73889         (machine): Likewise.
73890         [ARCH]: Remove conditional code.
73891         [!objdir]: Give error.
73892         [!objdir] (objpfx): Remove.
73893         [!objdir] (common-objpfx): Likewise.
73894         [!objdir] (common-objdir): Likewise.
73895         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73896         AC_CONFIG_FILES call.
73897         * configure: Regenerated.
73899         [BZ #13888]
73900         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73901         or TMPDIR.
73902         (testout): Likewise.
73904         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73905         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73906         $(rtld-installed-name).
73907         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73908         (rtld_installed_name): Likewise.
73909         (runit): Remove function.
73910         (run_getconf): New variable,  Use it for running getconf binary.
73912 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73914         [BZ #14716]
73915         * string/test-memmem.c (check_result): New function.
73916         (do_one_test): Use it.
73917         (check1): New function.
73918         (test_main): Use it.
73920 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73922         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73924 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73926         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73927         (_G_LSEEK64): Likewise.
73928         (_G_MMAP64): Likewise.
73929         (_G_FSTAT64): Likewise.
73930         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73931         (_G_LSEEK64): Likewise.
73932         (_G_MMAP64): Likewise.
73933         (_G_FSTAT64): Likewise.
73934         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73935         unconditional.  Call __mmap64 directly.
73936         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73937         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73938         __lseek64 directly.
73939         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73940         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73941         __mmap64 directly.
73942         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73943         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73944         __lseek64 directly.
73945         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73946         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73947         __lseek64 directly.
73948         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73949         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73950         __lseek64 directly.
73951         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73952         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73953         __fxstat64 directly.
73954         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73955         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73956         unconditional.
73957         (freopen64) [!_G_OPEN64]: Remove conditional code.
73958         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73959         unconditional.
73960         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73961         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73962         unconditional.
73963         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73964         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73965         unconditional.
73966         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73967         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73968         unconditional.
73969         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73970         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73971         unconditional.
73972         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73973         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73974         unconditional.
73975         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73976         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73977         unconditional.
73978         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73980 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
73982         [BZ #12140]
73983         * manual/memory.texi (Malloc Tunable Parameters): Add note
73984         about free list pointers overwriting some perturb bytes.
73985         Wording suggested by Roland McGrath.
73987 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
73989         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73990         (lgamma_test): Likewise.
73991         (tgamma_test): Likewise.
73993 2012-10-16  Florian Weimer  <fweimer@redhat.com>
73995         [BZ #14700]
73996         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73997         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73999 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74001         * NEWS: Mention BZ #14716.
74002         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74003         when removing AVAILABLE1_USES_J macro.
74005 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74007         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74008         (__bswap_64): __uint64_t for unsigned 64-bit int.
74010 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74012         * include/string.h (memmem): Declare libc hidden alias.
74013         * string/memmem.c (memmem): Define libc hidden alias.
74014         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74015         __read, __close instead of open, read, close.
74017 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74020         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74021         global and hidden.
74022         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74023         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74024         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74025         Likewise.
74026         (__rawmemchr_sse2): Likewise.
74027         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74028         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74029         (__strchr_sse2): Likewise.
74030         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74031         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74032         (__strcasecmp_sse2): Likewise.
74033         (__strncasecmp_sse2): Likewise.
74034         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74035         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74036         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74037         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74038         (__strrchr_sse2): Likewise.
74039         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74040         ifunc-impl-list.c.
74041         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74042         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74043         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74044         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74045         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74046         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74047         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74049         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74050         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74051         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74052         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74053         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74054         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74055         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74056         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74057         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74058         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74059         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74060         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74061         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74062         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74063         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74064         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74065         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74066         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74067         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74068         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74069         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74070         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74072         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74073         global and hidden.
74074         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74075         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74076         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74077         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74078         Likewise.
74079         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74080         Likewise.
74081         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74082         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74083         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74084         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74085         ifunc-impl-list.c.
74086         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74087         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74088         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74089         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74090         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74091         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74092         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74093         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74094         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74095         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74096         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74097         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74098         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74099         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74100         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74101         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74102         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74103         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74104         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74105         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74106         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74107         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74108         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74109         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74110         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74111         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74112         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74113         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74114         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74115         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74116         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74117         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74118         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74119         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74120         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74121         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74122         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74123         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74124         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74125         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74126         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74128         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74129         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74130         * include/ifunc-impl-list.h: New file.
74131         * misc/ifunc-impl-list.c: Likewise.
74132         * misc/Makefile (routines): Add ifunc-impl-list.
74133         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74134         * string/test-string.h: Include <ifunc-impl-list.h>.
74135         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74136         TEST_NAME]: New variables.
74137         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74138         are defined.
74139         (test_init): Call __libc_ifunc_impl_list to initialize
74140         func_list if TEST_IFUNC and TEST_NAME are defined.
74142         * string/Makefile (strop-tests): Add bcopy and bzero.
74143         * string/test-bcopy.c: New file.
74144         * string/test-bzero.c: Likewise.
74145         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74146         defined.
74147         * string/test-memset.c: Support bzero test if TEST_BZERO is
74148         defined.
74149         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74150         __libc_memmove.
74151         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74152         __libc_memset.
74153         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74154         of memset.
74156 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74158         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74159         * configure: Regenerated.
74161         * Makeconfig (+link-static-before-libc): Don't include
74162         $(link-static-libc).
74164         * libio/libio.h (_IO_pos_t): Remove.
74166 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74168         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74169         McGrath.
74171 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74173         * crypt/crypt-entry.c: Include fips-private.h.
74174         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74175         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74176         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74177         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74179 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74181         * crypt/crypt-private.h: Include stdbool.h.
74182         (_ufc_setup_salt_r): Return bool.
74183         * crypt/crypt-entry.c: Include errno.h.
74184         (__crypt_r): Return NULL with EINVAL for bad salt.
74185         * crypt/crypt_util.c (bad_for_salt): New.
74186         (_ufc_setup_salt_r): Check that salt is long enough and within
74187         the specified alphabet.
74188         * crypt/badsalttest.c: New file.
74189         * crypt/Makefile (tests): Add it.
74190         ($(objpfx)badsalttest): New.
74192 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74194         * NEWS: Add entry for BZ #14602.
74196 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74198         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74199         type-generic.
74200         * math/libm-test.inc: Update comment listing what functions and
74201         macros are tested.
74202         (isgreater_test): New function.
74203         (isgreaterequal_test): Likewise.
74204         (isless_test): Likewise.
74205         (islessequal_test): Likewise.
74206         (islessgreater_test): Likewise.
74207         (isunordered_test): Likewise.
74208         (main): Call the new functions.
74210 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74212         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74213         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74214         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74215         * sysdeps/i386/configure: Regenerated.
74216         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74217         * sysdeps/mach/configure: Regenerated.
74218         * sysdeps/mach/hurd/configure: Regenerated.
74219         * sysdeps/powerpc/configure: Regenerated.
74220         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74221         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74222         * sysdeps/s390/s390-32/configure: Regenerated.
74223         * sysdeps/s390/s390-64/configure: Regenerated.
74224         * sysdeps/sh/configure: Regenerated.
74225         * sysdeps/sparc/configure: Regenerated.
74226         * sysdeps/unix/sysv/linux/configure: Regenerated.
74227         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74228         * sysdeps/x86_64/configure: Regenerated.
74230         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74231         defined.  Don't check if MAP is NULL.
74233 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74235         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74236         (_G_stat64): Likewise.
74237         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74238         (_G_stat64): Likewise.
74239         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74240         instead of struct _G_stat64.
74241         * libio/fileops.c (mmap_remap_check): Likewise.
74242         (decide_maybe_mmap): Likewise.
74243         (_IO_new_file_seekoff): Likewise.
74244         (_IO_file_stat): Likewise.
74245         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74246         _G_off64_t.
74247         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74248         instead of struct _G_stat64.
74249         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74251 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74253         [BZ #14602]
74254         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74255         Replace with ...
74256         (CHECK_EOL): New macro.
74257         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74258         CHECK_EOL.
74259         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74260         Replace with CHECK_EOL.
74261         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74262         Replace with CHECK_EOL.
74264 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74266         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74267         type-generic.
74268         * math/libm-test.inc: Update comment listing what functions and
74269         macros are tested.
74270         (finite_test): New function.
74271         (isinf_test): Likewise.
74272         (isnan_test): Likewise.
74273         (fpclassify_test): Test subnormal input.
74274         (isfinite_test): Likewise.
74275         (isnormal_test): Likewise.
74276         (main): Call the new functions.
74278 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74280         [BZ #14660]
74281         * Makerules (%.dynsym): Force C locale when running
74282         $(OBJDUMP) --dynamic-syms.
74284 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74286         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74287         <stdint.h>.
74289 2012-10-06  David S. Miller  <davem@davemloft.net>
74291         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74292         upper 32-bits of the length value in %o2 since we use branch-on-register
74293         tests which consider the entire 64-bit register.
74295 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74297         * string/test-strstr.c (check2): Add a test for page boundary.
74299 2012-10-05  David S. Miller  <davem@davemloft.net>
74301         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74302         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74303         file.
74304         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74305         sysdep_routines.
74306         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74307         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74308         and bzero when HWCAP_SPARC_CRYPTO is present.
74310 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74312         [BZ #14602]
74313         * string/test-strstr.c (check2): New function.
74314         (test_main): Call check2.
74316         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74317         and bug-strchr1.
74318         * string/bug-strcasestr1.c (do_test): Moved to ...
74319         * string/test-strcasestr.c (check1): Here.  New function.
74320         (do_one_test): Break out result checking code into ...
74321         (check_result): This.  New function.
74322         (do_one_test): Call check_result.
74323         (test_main): Call check1.
74324         * string/bug-strchr1.c (do_test): Moved to ...
74325         * string/test-strchr.c (check1): Here.  New function.
74326         (do_one_test): Break out result checking code into ...
74327         (check_result): This.  New function.
74328         (do_one_test): Call check_result.
74329         (test_main): Call check1.
74330         * string/bug-strstr1.c (main): Moved to ...
74331         * string/test-strstr.c (check1): Here.  New function.
74332         (do_one_test): Break out result checking code into ...
74333         (check_result): This.  New function.
74334         (do_one_test): Call check_result.
74335         (test_main): Call check1.
74336         * string/bug-strcasestr1.c: Removed.
74337         * string/bug-strchr1.c: Likewise.
74338         * string/bug-strstr1.c: Likewise.
74340         * elf/Makefile (dl-routines): Add hwcaps.
74341         * elf/dl-support.c (_dl_important_hwcaps): Removed.
74342         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
74343         (_dl_important_hwcaps): Moved to ...
74344         * elf/dl-hwcaps.c: Here.  New file.
74345         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
74347         [BZ #14557]
74348         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
74349         if IS_IN_rtld isn't defined.
74351         * elf/dl-support.c (_dl_sysinfo_map): New.
74352         Include "get-dynamic-info.h" and "setup-vdso.h".
74353         (_dl_non_dynamic_init): Call setup_vdso.
74354         * elf/dynamic-link.h: Don't include <assert.h>.
74355         (elf_get_dynamic_info): Moved to ...
74356         * elf/get-dynamic-info.h: Here.  New file.
74357         * elf/dynamic-link.h: Include "get-dynamic-info.h".
74358         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
74359         * elf/setup-vdso.h: Here.  New file.
74360         * elf/rtld.c: Include "setup-vdso.h".
74361         (dl_main): Call setup_vdso.
74363 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
74365         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
74366         creal in comment listing functions tested.  List finite, isinf,
74367         isnan, isless, islessequal, isgreater, isgreaterequal,
74368         islessgreater, isunordered, lgamma_r and pow10 as functions and
74369         macros not tested.  Mention which functions not tested are aliases
74370         for other functions.  Fix typo.  Note that signs of NaNs are not
74371         tested.
74373         * scripts/config.guess: Update from config.git.
74374         * scripts/config.sub: Likewise.
74376 2012-10-04  Roland McGrath  <roland@hack.frob.com>
74378         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
74379         * misc/madvise.c (madvise): Renamed to __madvise.
74380         Make madvise a weak alias.
74381         * include/sys/mman.h: Declare __madvise.
74382         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
74383         * sysdeps/unix/syscalls.list
74384         (madvise): Make __madvise the strong name, and madvise a weak alias.
74385         * sysdeps/unix/sysv/linux/syscalls.list
74386         (madvise, mmap): Remove redundant entries.
74387         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
74388         * malloc/malloc.c (mtrim): Likewise.
74389         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
74391 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74393         * sysdeps/mach/hurd/dl-cache.c: File removed.
74394         * config.h.in (USE_LDCONFIG): New #undef.
74395         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
74396         * configure: Regenerated.
74397         * elf/Makefile (dl-routines): Add dl-cache only under
74398         [$(use-ldconfig) = yes].
74399         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
74400         cache on [USE_LDCONFIG].
74401         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
74402         [USE_LDCONFIG].
74403         * elf/rtld.c (dl_main): Likewise.
74405 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
74407         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
74408         _SC_LEVEL4_CACHE_LINESIZE.
74410 2012-10-03  Roland McGrath  <roland@hack.frob.com>
74412         * sysdeps/unix/bsd/confstr.h: File removed.
74414 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
74416         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
74417         sys/sdt-config.h.
74419 2012-10-02  Roland McGrath  <roland@hack.frob.com>
74421         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
74422         Make 'mapoff' field ElfW(Off) rather than off_t.
74424 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
74426         * nscd/Makefile: Remove nscd-cflags and all its users.
74427         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
74428         (CFLAGS-nonlib): Add compiler flags for nscd modules.
74430         [BZ #10631]
74431         * malloc.c (malloc_printerr): Clarify error message.
74433 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
74435         [BZ #14648]
74436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74437         Set bit_FMA_Usable if FMA is supported.
74438         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
74439         macro.
74440         (bit_FMA4_Usable): Updated.
74441         (index_FMA_Usable): New macro.
74442         (CPUID_FMA): Likewise.
74443         (HAS_FMA): Defined with bit_FMA_Usable.
74445 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74447         * bits/types.h (__swblk_t): Type removed.
74448         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
74449         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
74450         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74451         (__SWBLK_T_TYPE): Likewise.
74452         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
74453         (__SWBLK_T_TYPE): Likewise.
74454         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74455         (__SWBLK_T_TYPE): Likewise.
74456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74457         (__SWBLK_T_TYPE): Likewise.
74459 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
74460             Honza Horak <hhorak@redhat.com>
74462         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
74463         (xdr_mapname): Use YPMAXMAP as maxsize.
74464         (xdr_peername): Use YPMAXPEER as maxsize.
74465         (xdr_keydat): Use YPAXRECORD as maxsize.
74466         (xdr_valdat): Use YPMAXRECORD as maxsize.
74468 2012-10-01  Roland McGrath  <roland@hack.frob.com>
74470         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
74472         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
74473         * csu/init-first.c: ... here.
74474         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
74475         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
74476         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
74477         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
74478         * sysdeps/i386/init-first.c: File removed.
74479         * sysdeps/sh/init-first.c: File removed.
74481 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
74483         [BZ #14645]
74484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
74485         if x * y might underflow to zero and z is zero.
74486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74488         * math/libm-test.inc (min_subnorm_value): New variable.
74489         (fma_test): Add more tests.
74490         (fma_test_towardzero): Likewise.
74491         (fma_test_downward): Likewise.
74492         (fma_test_upward): Likewise.
74493         (initialize): Set min_subnorm_value.
74495 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
74497         [BZ #14638]
74498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
74499         0 + 0.
74500         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
74501         mode for addition resulting in exact zero.
74502         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
74503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
74504         exact 0 + 0.
74505         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74506         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74507         * math/libm-test.inc (fma_test): Add more tests.
74508         (fma_test_towardzero): New function.
74509         (fma_test_downward): Likewise.
74510         (fma_test_upward): Likewise.
74511         (main): Call the new functions.
74513 2012-09-28  David S. Miller  <davem@davemloft.net>
74515         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
74517 2012-09-28  Roland McGrath  <roland@hack.frob.com>
74519         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
74520         instead of SIGALRM.
74522         * sysdeps/gnu/_G_config.h: Moved to ...
74523         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
74524         * sysdeps/mach/hurd/_G_config.h: Moved to ...
74525         * sysdeps/generic/_G_config.h: ... here.
74527         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
74529         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
74531         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
74532         Conditionalize target on [libnss_test1.so-version].
74534         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
74536         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
74537         (elfobjdir): Move out of conditionals.
74539         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
74540         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
74541         (__nss_lookup_function): Conditionalize label remove_from_tree on
74542         [!DO_STATIC_NSS || SHARED], matching its only use.
74544 2012-09-28  David S. Miller  <davem@davemloft.net>
74546         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
74547         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
74548         file.
74549         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74550         sysdep_routines.
74551         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74552         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
74553         when HWCAP_SPARC_CRYPTO is present.
74555 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74557         * io/tst-mknodat.c: Create a FIFO instead of a socket.
74559 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
74561         [BZ #6530]
74562         * stdio-common/vfprintf.c (process_string_arg): Revert
74563         2000-07-22 change.
74565 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
74567         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
74568         for testcase.
74569         * stdio-common/tst-sprintf.c: Include <locale.h>
74570         (main): Test sprintf's handling of incomplete multibyte
74571         characters.
74573 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
74575         * elf/dl-runtime.c (VERSYMIDX): Removed.
74576         * elf/dl-version.c (VERSYMIDX): Likewise.
74577         * elf/do-rel.h (VERSYMIDX): Likewise.
74578         (VALIDX): Likewise.
74579         * elf/dynamic-link.h (VERSYMIDX): Likewise.
74580         * elf/rtld.c (VALIDX): Likewise.
74581         (ADDRIDX): Likewise.
74582         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
74583         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
74584         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
74585         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
74586         (VALIDX): Likewise.
74587         (ADDRIDX): Likewise.
74589 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74591         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
74593 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
74595         [BZ #11438]
74596         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
74597         to global scope.
74598         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
74599         addresses are in the same scope as 192.0.2/24.
74600         * posix/gai.conf: Document new scope table defaults.
74602 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74604         [BZ #5298]
74605         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
74606         for ftell.  Compute offsets from write pointers instead.
74607         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74609 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74611         [BZ #14543]
74612         * libio/Makefile (tests): New test case tst-fseek.
74613         * libio/tst-fseek.c: New test case to verify that fseek/ftell
74614         combination works in wide mode.
74615         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
74616         state when the external buffer state changes.
74618 2012-09-27  David S. Miller  <davem@davemloft.net>
74620         [BZ #14376]
74621         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
74622         pass reloc->r_addend in as the 'high' argument to
74623         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
74625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74627 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
74629         * rt/tst-aio2.c: Include <pthread.h>.
74630         * rt/tst-aio3.c: Likewise.
74632 2012-09-27  Steve Ellcey  <sellcey@mips.com>
74634         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
74636 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
74638         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
74639         contents on [SHARED].
74641 2012-09-26  Marek Polacek  <polacek@redhat.com>
74643         [BZ #14530]
74644         [BZ #13741]
74645         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
74646         for C++ and GCC <4.3 as well as for non GCC compilers.
74648 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
74650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74652 2012-09-25  Roland McGrath  <roland@hack.frob.com>
74654         * Makefile.in (all, install): Declare with .PHONY.
74655         Reported by Michael Hope <michael.hope@linaro.org>.
74657 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74659         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
74660         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
74661         system header.
74662         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
74663         Likewise.
74664         (sydep_routines): Add the new and the internal functions.
74665         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
74666         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
74667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
74668         (GLIBC_2.17): Add the new function.
74669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74670         (GLIBC_2.17): Likewise.
74671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
74672         (GLIBC_2.17): Likewise.
74673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
74674         (GLIBC_2.17): Likewise.
74675         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
74677 2012-09-25  Alan Modra  <amodra@gmail.com>
74679         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
74680         Add release barrier before setting once_control to say
74681         initialisation is done.  Add hints on lwarx.  Use macro in
74682         place of isync.
74683         (clear_once_control): Add release barrier.
74685 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74687         [BZ #13629]
74688         * math/s_clog.c (__clog): Handle more values close to |z| = 1
74689         specially.
74690         * math/s_clog10.c (__clog10): Likewise.
74691         * math/s_clog10f.c (__clog10f): Likewise.
74692         * math/s_clog10l.c (__clog10l): Likewise.
74693         * math/s_clogf.c (__clogf): Likewise.
74694         * math/s_clogl.c (__clogl): Likewise.
74695         * math/Makefile (libm-calls): Add x2y2m1.
74696         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
74697         (__x2y2m1): Likewise.
74698         (__x2y2m1l): Likewise.
74699         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
74700         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
74701         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
74702         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
74703         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
74704         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
74705         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
74706         * sysdeps/i386/fpu/libm-test-ulps: Update.
74707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74709         [BZ #14621]
74710         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
74711         int as type of variable DEPTH.
74712         (glob): Use size_t instead of int as type of variables NEWCOUNT
74713         and OLD_PATHC.
74715 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74717         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74718         Add s_sincosf-sse2.
74719         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
74720         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
74721         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
74722         macros for using routine as __sincosf_ia32.
74723         Use macro for function declaration and weak_alias.
74724         * sysdeps/i386/fpu/libm-test-ulps: Update.
74726         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
74727         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74729         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
74730         subnormal argument.
74731         * math/s_cexpf.c (__cexpf): Likewise.
74732         * math/s_csinf.c (__csinf): Likewise.
74733         * math/s_csinhf.c (__csinhf): Likewise.
74734         * math/s_ctanf.c (__ctanf): Likewise.
74735         * math/s_ctanhf.c (__ctanhf): Likewise.
74736         * math/s_ccosh.c (__ccoshf): Likewise.
74737         * math/s_cexp.c (__cexpl): Likewise.
74738         * math/s_csin.c (__csin): Likewise.
74739         * math/s_csinh.c (__csinh): Likewise.
74740         * math/s_ctan.c (__ctan): Likewise.
74741         * math/s_ctanh.c (ctanh): Likewise.
74742         * math/s_ccoshl.c (__ccoshl): Likewise.
74743         * math/s_cexpl.c (__cexpl): Likewise.
74744         * math/s_csinl.c (__csinl): Likewise.
74745         * math/s_csinhl.c (__csinhl): Likewise.
74746         * math/s_ctanl.c (__ctanl): Likewise.
74747         * math/s_ctanhl.c (__ctanhl): Likewise.
74749 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
74751         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
74752         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
74753         (_IO_off_t): Define to __off_t, not _G_off_t.
74754         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
74755         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
74756         (_IO_wint_t): Define to wint_t, not _G_wint_t.
74757         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
74758         type of __dummy and __dummy2 fields.
74759         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
74760         (_G_ssize_t): Likewise.
74761         (_G_off_t): Likewise.
74762         (_G_pid_t): Likewise.
74763         (_G_uid_t): Likewise.
74764         (_G_wchar_t): Likewise.
74765         (_G_wint_t): Likewise.
74766         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
74767         (_G_ssize_t): Likewise.
74768         (_G_off_t): Likewise.
74769         (_G_pid_t): Likewise.
74770         (_G_uid_t): Likewise.
74771         (_G_wchar_t): Likewise.
74772         (_G_wint_t): Likewise.
74773         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
74774         (_G_ssize_t): Likewise.
74775         (_G_off_t): Likewise.
74776         (_G_pid_t): Likewise.
74777         (_G_uid_t): Likewise.
74778         (_G_wchar_t): Likewise.
74779         (_G_wint_t): Likewise.
74781 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74783         * malloc/arena.c: Include malloc-sysdep.h.
74784         (shrink_heap): Use check_may_shrink_heap to decide if madvise
74785         is sufficient to shrink the heap or an unmap is needed.
74786         * sysdeps/generic/malloc-sysdep.h: New file.  Define
74787         new function check_may_shrink_heap.
74788         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
74789         new function check_may_shrink_heap.
74791 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74793         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
74794         comments.
74796 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74798         * catgets/test-gencat.sh: Add "set -e".
74799         * elf/tst-pathopt.sh: Likewise.
74800         * grp/tst_fgetgrent.sh: Likewise.
74801         * iconvdata/run-iconv-test.sh: Likewise.
74802         * intl/tst-gettext.sh: Likewise.
74803         * intl/tst-gettext2.sh: Likewise.
74804         * intl/tst-gettext4.sh: Likewise.
74805         * intl/tst-gettext6.sh: Likewise.
74806         * intl/tst-translit.sh: Likewise.
74807         * io/ftwtest-sh: Likewise.
74808         * libio/test-freopen.sh: Likewise.
74809         * malloc/tst-mtrace.sh: Likewise.
74810         * posix/globtest.sh: Likewise.
74811         * posix/tst-getconf.sh: Likewise.
74812         * posix/wordexp-tst.sh: Likewise.
74813         * stdio-common/tst-printf.sh: Likewise.
74814         * stdio-common/tst-unbputc.sh: Likewise.
74815         * stdlib/tst-fmtmsg.sh: Likewise.
74816         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74817         * catgets/Makefile: Do not specify -e option when running
74818         testsuite shell scripts.
74819         * elf/Makefile: Likewise.
74820         * grp/Makefile: Likewise.
74821         * iconvdata/Makefile: Likewise.
74822         * intl/Makefile: Likewise.
74823         * io/Makefile: Likewise.
74824         * libio/Makefile: Likewise.
74825         * malloc/Makefile: Likewise.
74826         * posix/Makefile: Likewise.
74827         * stdio-common/Makefile: Likewise.
74828         * stdlib/Makefile: Likewise.
74829         * sysdeps/x86_64/Makefile: Likewise.
74831         * io/ftwtest-sh: Add copyright header.
74832         * posix/globtest.sh: Likewise.
74833         * posix/tst-getconf.sh: Likewise.
74834         * posix/wordexp-tst.sh: Likewise.
74835         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74837 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74839         [BZ #13679]
74840         * Makeconfig (+link): Defined as $(+link-static) if
74841         $(build-shared) isn't yes.
74842         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74843         isn't yes.
74844         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74846         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74848         [BZ #14562]
74849         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74850         new chunk size with MALLOC_ALIGN_MASK.
74852 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74854         [BZ #5044]
74855         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74856         <rounding-mode.h>.
74857         (__printf_fphex): Determine rounding using get_rounding_mode and
74858         round_away.
74859         * stdio-common/tst-printf-round.c (struct hex_test): New
74860         structure.
74861         (hex_tests): New variable.
74862         (test_hex_in_one_mode): New function.
74863         (do_test): Also run tests for hex float output.
74865 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74867         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74868         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74869         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74870         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74871         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74872         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74873         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74874         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74876 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74878         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74879         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74880         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74881         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74883 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74885         [BZ #14579]
74886         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74887         mode only.
74888         * elf/tst-rtld-load-self.sh: New test.
74889         * elf/Makefile: Run it.
74891 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74893         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74894         (tst-writev-ENV): Remove.
74895         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74897 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74899         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74901 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74903         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74904         unconditional.
74905         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74906         Likewise.
74907         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74908         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74909         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74910         Likewise.
74912 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74914         [BZ #14587]
74915         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74916         * config.make.in (have-cpp-asm-debuginfo): Removed.
74917         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74918         * configure: Regenerated.
74920 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74922         [BZ #5044]
74923         * stdio-common/printf_fp.c: Include <stdbool.h> and
74924         <rounding-mode.h>.
74925         (___printf_fp): Determine rounding using get_rounding_mode and
74926         round_away.
74927         * stdio-common/tst-printf-round.c: New file.
74928         * stdio-common/Makefile (tests): Add tst-printf-round.
74929         (link-libm): New variable.
74930         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74932 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74934         [BZ #14576]
74935         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74936         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74937         Likewise.
74938         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74939         Likewise.
74941 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74943         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74944         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74945         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74946         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74948 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74950         [BZ #14518]
74951         * include/rounding-mode.h: New file.
74952         * sysdeps/generic/get-rounding-mode.h: Likewise.
74953         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74954         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74955         (MAX_VALUE): New macro.
74956         (MIN_VALUE): Likewise.
74957         (overflow_value): New function.
74958         (underflow_value): Likewise.
74959         (round_and_return): Use overflow_value and underflow_value to
74960         determine return values in overflow and underflow cases.  Use
74961         round_away to determine rounding depending on rounding mode.
74962         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74963         determine return values in overflow and underflow cases.
74964         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74965         (struct test_results): New structure.
74966         (struct test): Use struct test_results to store expected results
74967         for all rounding modes.
74968         (TEST): Include expected results for all rounding modes.
74969         (test_in_one_mode): New function.
74970         (do_test): Use test_in_one_mode to compute and check results.
74971         Check results for all rounding modes.
74972         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74973         $(link-libm).
74975 2012-12-09  Allan McRae  <allan@archlinux.org>
74977         * sysdeps/i386/fpu/libm-test-ulps: Update
74979 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
74981         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74982         (_G_int32_t): Likewise.
74983         (_G_uint16_t): Likewise.
74984         (_G_uint32_t): Likewise.
74985         (_G_HAVE_BOOL): Likewise.
74986         (_G_HAVE_ATEXIT): Likewise.
74987         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74988         (_G_HAVE_IO_FILE_OPEN): Likewise.
74989         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74990         (_G_int32_t): Likewise.
74991         (_G_uint16_t): Likewise.
74992         (_G_uint32_t): Likewise.
74993         (_G_HAVE_BOOL): Likewise.
74994         (_G_HAVE_ATEXIT): Likewise.
74995         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74996         (_G_HAVE_IO_FILE_OPEN): Likewise.
74997         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74998         (_G_int32_t): Likewise.
74999         (_G_uint16_t): Likewise.
75000         (_G_uint32_t): Likewise.
75001         (_G_HAVE_BOOL): Likewise.
75002         (_G_HAVE_ATEXIT): Likewise.
75003         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75004         (_G_HAVE_IO_FILE_OPEN): Likewise.
75006 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75008         * csu/libc-tls.c: Update copyright years.
75010 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75012         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75013         [!_G_USING_THUNKS]: Remove conditional code.
75014         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75015         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75017         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75018         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75019         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75020         (_G_VTABLE_LABEL_PREFIX): Likewise.
75021         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75022         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75023         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75024         (_G_VTABLE_LABEL_PREFIX): Likewise.
75025         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75026         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75027         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75028         (_G_VTABLE_LABEL_PREFIX): Likewise.
75029         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75031 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75033         * libio/Makefile: Include ../Makeconfig before tests.
75034         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75035         only if $(build-shared) is yes.
75037         * iconv/gconv_db.c: Update copyright years.
75039 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75041         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75042         unwind info if defined PIC. Fix special cases description.
75043         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75045         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75046         DP_HI_MASK entry.
75047         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75049 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75051         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75053         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75054         is NULL.
75056         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75057         (LDLIBS-tst-chk4): This.
75058         (LDFLAGS-tst-chk5): Renamed to ...
75059         (LDLIBS-tst-chk5): This.
75060         (LDFLAGS-tst-chk6): Renamed to ...
75061         (LDLIBS-tst-chk6): This.
75062         (LDFLAGS-tst-lfschk4): Renamed to ...
75063         (LDLIBS-tst-lfschk4): This.
75064         (LDFLAGS-tst-lfschk5): Renamed to ...
75065         (LDLIBS-tst-lfschk5): This.
75066         (LDFLAGS-tst-lfschk6): Renamed to ...
75067         (LDLIBS-tst-lfschk6): This.
75069         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75070         on $(common-objpfx)soversions.mk.
75072 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75074         [BZ #10014]
75075         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75076         example host name.
75078 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75080         * malloc/arena.c (arena_get_retry): New function that gets
75081         another arena for the caller to try its request on.
75082         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75083         current arena cannot fulfill the request.
75084         (__libc_memalign): Likewise.
75085         (__libc_memalign): Likewise.
75086         (__libc_pvalloc): Likewise.
75087         (__libc_calloc): Likewise.
75089 2012-09-05  John Tobey  <john.tobey@gmail.com>
75091         [BZ #13542]
75092         * manual/arith.texi (Operations on Complex): Fix description
75093         of carg branch cut.
75095 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75097         [BZ #10014]
75098         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75099         host name.
75101         [BZ #10038]
75102         * manual/memory.texi (Memory): Make order of menu items match
75103         order of sections.
75105 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75107         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75108         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75109         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75111 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75113         * csu/libc-tls.c (static_dtv): Renamed to ...
75114         (_dl_static_dtv): This.  Make it global.
75115         (_dl_initial_dtv): Removed.
75116         (__libc_setup_tls): Updated.
75117         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75118         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75119         DL_INITIAL_DTV.
75121 2012-09-06  Petr Machata  <pmachata@redhat.com>
75123         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75124         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75125         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75126         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75128 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75130         [BZ #14545]
75131         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75132         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75133         freeing dtv[-1].
75135 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75137         [BZ #14544]
75138         * Makeconfig (link-static-before-libc): Replace $(+prector)
75139         with $(+prectorT).
75140         (link-static-after-libc): Replace $(+postctor) with
75141         $(+postctorT).
75142         (link-bounded): Replace $(+prector)/$(+postctor) with
75143         $(+prectorT)/$(+postctorT).
75144         (+prectorT): New macro.
75145         (+postctorT): Likewise.
75147 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75149         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75150         (round_str): Handle values above the maximum for IBM long double
75151         as inexact.
75152         * stdlib/tst-strtod-round.c (tests): Regenerated.
75154 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75156         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75157         assembler flag.
75158         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75159         zarch_nohighgprs around the zarch optimized routines.
75160         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75161         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75162         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75163         for zarch.
75165 2012-09-05  David S. Miller  <davem@davemloft.net>
75167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75169         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75170         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75171         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75172         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75173         entries.
75175 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75177         * malloc/arena.c: Fold copyright years.
75178         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75180 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75182         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75184 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75186         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75188 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75190         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75191         change internal state upon failure.
75193 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75195         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75196         * malloc/memusage.c (mmap): Likewise.
75197         (mmap64, mremap): Likewise.  Adjust name in comment.
75199 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75201         * libio/fileops.c: Fix typos in comments.
75202         * libio/oldfileops.c: Likewise.
75203         * libio/wfileops.c: Likewise.
75205 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75207         [BZ #1349]
75208         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75209         (tst-malloc-usable-ENV): Set environment for test case.
75210         * malloc/hooks.c (malloc_check_get_size): New function to get
75211         requested size.
75212         * malloc/malloc.c (musable): Use malloc_check_get_size.
75213         * malloc/tst-malloc-usable.c: New test case.
75215 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75217         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75219 2012-09-05  Allan McRae  <allan@archlinux.org>
75221         [BZ #13966]
75222         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75223         determine header location.
75224         * configure: Regenerated.
75226 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75228         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75229         float format.
75230         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75231         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75232         format.
75233         (test): Regenerate.
75235 2012-09-04  David S. Miller  <davem@davemloft.net>
75237         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75238         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75239         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75241 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75243         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75244         failures.
75246         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75248 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75250         [BZ #9914]
75251         * libio/iogetdelim.c: Include <limits.h>.
75252         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75253         + len + 1 would overflow.
75255 2012-09-03  Andreas Jaeger  <aj@suse.de>
75257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75258         * sysdeps/i386/fpu/libm-test-ulps: Update.
75260 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75262         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75263         Add s_sinf-sse2, s_conf-sse2.
75265         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75266         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75267         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75268         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75270         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75271         for using routine as __sinf_ia32.
75272         Use macro for function declaration and weak_alias.
75273         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75274         for using routine as __cosf_ia32.
75275         Use macro for function declaration and weak_alias.
75277         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75278         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75280         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75281         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75284         * math/libm-test.inc (cos_test): Add more test cases.
75285         (sin_test): Likewise.
75286         (sincos_test): Likewise.
75288 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75290         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75291         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75292         hidden.
75293         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75295 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75297         [BZ #14538]
75298         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75299         first element of the GOT.
75300         (elf_machine_load_address): Return the difference between
75301         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75303 2012-09-01  Allan McRae  <allan@archlinux.org>
75305         [BZ #13412]
75306         * configure.in (AWK): Require gawk version 3.0 or later.
75307         * configure: Regenerated.
75309 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75311         * sysdeps/unix/sysv/linux/kernel-features.h
75312         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75313         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75314         [__NR_clock_getres]: Make code unconditional.
75315         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75316         (clock_getcpuclockid): Remove code left unreachable by removal of
75317         conditionals.
75318         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75319         code unconditional.
75320         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75321         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75322         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75323         Make code unconditional.
75324         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75325         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75326         * sysdeps/unix/sysv/linux/clock_settime.c
75327         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
75328         conditional code.
75329         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
75330         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75332 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
75334         [BZ #14476]
75335         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
75336         scripts/test-installation.pl.
75338         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
75339         and $ld_so_version if it is set.
75341 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
75343         [BZ #14516]
75344         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
75345         failure if reading from procfs failed.
75346         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
75348 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75350         * sysdeps/unix/sysv/linux/kernel-features.h
75351         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
75352         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75353         Remove conditional code.
75354         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75355         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
75356         Remove conditional code.
75357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75358         * sysdeps/unix/sysv/linux/i386/fxstat.c
75359         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75360         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75361         * sysdeps/unix/sysv/linux/i386/fxstatat.c
75362         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75364         * sysdeps/unix/sysv/linux/i386/lxstat.c
75365         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
75366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75367         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
75368         Remove conditional code.
75369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75370         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
75371         Remove conditional code.
75372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75373         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
75374         <kernel-features.h>.
75375         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
75376         Remove.
75377         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
75378         Remove conditional code.
75379         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
75380         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
75381         Remove conditional.
75383 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
75385         [BZ #5400]
75386         * NEWS: Add fixed bug number.
75388 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
75390         [BZ #14519]
75391         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
75392         underflowing exponent in case of negative sign.
75393         * stdlib/tst-strtod-round-data: Add more tests.
75394         * stdlib/tst-strtod-round.c (tests): Regenerated.
75396         [BZ #3479]
75397         * stdlib/strtod_l.c (NDIG): Remove.
75398         (HEXNDIG): Likewise.
75399         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
75400         smallest representable value.
75401         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
75402         lie within an exact representation of 1/2 ulp of the result.
75403         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
75404         unconditionally.
75405         (TENS_P9_IDX): Define unconditionally.
75406         (TENS_P9_SIZE): Likewise.
75407         (TENS_P10_IDX): Likewise.
75408         (TENS_P10_SIZE): Likewise.
75409         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
75410         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
75411         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
75412         entries for 10^2^13 and 10^2^14.
75413         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
75414         (TENS_P13_IDX): Define.
75415         (TENS_P13_SIZE): Likewise.
75416         (TENS_P14_IDX): Likewise.
75417         (TENS_P14_SIZE): Likewise.
75418         (_fpioconst_pow10): Change array size to
75419         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
75420         unconditional.
75421         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
75422         1024]: Add entries for 10^2^13 and 10^2^14.
75423         [LAST_POW10 > _LAST_POW10]: Remove #error.
75424         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
75425         (_fpioconst_pow10): Change array size to
75426         FPIOCONST_POW10_ARRAY_SIZE.
75427         * stdlib/gen-fpioconst.c: New file.
75428         * stdlib/gen-tst-strtod-round.c: Likewise.
75429         * stdlib/tst-strtod-round-data: Likewise.
75430         * stdlib/tst-strtod-round.c: Likewise.
75431         * stdlib/Makefile (tests): Add tst-strtod-round.
75433         [BZ #14459]
75434         * stdlib/strtod_l.c: Include <stdint.h>.
75435         (NDEBUG): Do not define.
75436         (round_and_return): Change EXPONENT parameter to type intmax_t.
75437         Rearrange calculations to avoid internal overflow possibilities.
75438         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
75439         Rearrange calculations to avoid internal overflow possibilities.
75440         Assert that number fits inside MPNSIZE limbs.
75441         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
75442         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
75443         calculations and add assertions to avoid internal overflow
75444         possibilities.  Add casts to avoid signed/unsigned operations.
75445         * stdlib/tst-strtod-overflow.c: New file.
75446         * stdlib/Makefile (tests): Add tst-strtod-overflow.
75448 2012-08-25  Marek Polacek  <polacek@redhat.com>
75450         * time/time.h: Fix some typos in comments.
75452 2012-08-23  Roland McGrath  <roland@hack.frob.com>
75454         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
75455         * posix/tst-rfc3484-2.c: Likewise.
75456         * posix/tst-rfc3484-3.c: Likewise.
75458 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
75460         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
75461         (EF_ARM_ABI_FLOAT_HARD): Likewise.
75463 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
75465         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
75466         #include of fxstatat64.c.
75468 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75470         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
75471         * shadow/getspent_r.c: Likewise.
75472         * shadow/getspnam.c: Likewise.
75473         * shadow/getspnam_r.c: Likewise.
75474         * gshadow/getsgent.c: Likewise.
75475         * gshadow/getsgent_r.c: Likewise.
75476         * gshadow/getsgnam.c: Likewise.
75477         * gshadow/getsgnam_r.c: Likewise.
75478         * inet/getnetbyad.c: Likewise.
75479         * inet/getnetbyad_r.c: Likewise.
75480         * inet/getnetbynm.c: Likewise.
75481         * inet/getnetbynm_r.c: Likewise.
75482         * inet/getnetent.c: Likewise.
75483         * inet/getnetent_r.c: Likewise.
75484         * inet/getproto.c: Likewise.
75485         * inet/getproto_r.c: Likewise.
75486         * inet/getprtent.c: Likewise.
75487         * inet/getprtent_r.c: Likewise.
75488         * inet/getprtname.c: Likewise.
75489         * inet/getprtname_r.c: Likewise.
75490         * inet/getrpcbyname.c: Likewise.
75491         * inet/getrpcbyname_r.c: Likewise.
75492         * inet/getrpcbynumber.c: Likewise.
75493         * inet/getrpcbynumber_r.c: Likewise.
75494         * inet/getrpcent.c: Likewise.
75495         * inet/getrpcent_r.c: Likewise.
75496         * inet/getaliasent.c: Likewise.
75497         * inet/getaliasent_r.c: Likewise.
75498         * inet/getaliasname.c: Likewise.
75499         * inet/getaliasname_r.c: Likewise.
75500         * nscd/getgrgid_r.c: Likewise.
75501         * nscd/getgrnam_r.c: Likewise.
75502         * nscd/gethstbyad_r.c: Likewise.
75503         * nscd/gethstbynm3_r.c: Likewise.
75504         * nscd/getpwnam_r.c: Likewise.
75505         * nscd/getpwuid_r.c: Likewise.
75506         * nscd/getsrvbynm_r.c: Likewise.
75507         * nscd/getsrvbypt_r.c: Likewise.
75508         * nscd/gai.c: Likewise.
75510         * configure.in (build_nscd): New substituted variable, set
75511         by --disable-build-nscd and defaults to $use_nscd.
75512         * configure: Regenerated.
75513         * config.make.in (build-nscd): New substituted variable.
75514         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
75515         Change conditional to require [$(build-nscd) = yes] as well.
75516         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
75518         [BZ #13696]
75519         * configure.in (use_nscd): New substituted variable, set by
75520         --disable-nscd.  If enabled, define USE_NSCD.
75521         * configure: Regenerated.
75522         * config.h.in: Add USE_NSCD.
75523         * config.make.in (use-nscd): New substituted variable.
75524         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
75525         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
75526         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
75527         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
75528         (CFLAGS-getgrnam_r.c): Likewise.
75529         (CFLAGS-initgroups.c): Likewise.
75530         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
75531         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
75532         Variables removed.
75533         * inet/getnetgrent_r.c
75534         (nscd_setnetgrent): New function, broken out of ...
75535         (setnetgrent): ... here.  Call it.
75536         (innetgr): Conditionalize nscd bits on [USE_NSCD].
75537         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
75538         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
75539         * nscd/Makefile (routines, aux): Move definitions after include of
75540         Makeconfig.  Conditionalize on [$(use-nscd) != no].
75541         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
75542         Conditionalize on [USE_NSCD].
75543         (is_nscd, nscd_init_cb): Likewise.
75544         (nss_load_library): Conditionalize init callback on [USE_NSCD].
75545         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
75546         * nss/nss_db/db-init.c: Likewise.
75547         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
75548         [USE_NSCD].
75549         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
75550         (make_request): Use it.
75551         (cache_valid_p): New function.
75552         (__check_pf): Use it.
75553         * NEWS: Add item for --disable-nscd.
75555 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
75557         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
75558         to support sed >= 4.2.1-20-ga9bf076.
75559         * configure: Regenerated.
75561 2012-08-22  Roland McGrath  <roland@hack.frob.com>
75563         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
75564         Conditionalize whole body on [IREL].
75566 2012-08-22  Jeff Law <law@redhat.com>
75568         [BZ #14505]
75569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
75570         if the family is PF_UNSPEC.
75572 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
75574         * Makerules (lib-version): Rename from V.
75575         (install-lib-nosubdir): Change V to lib-version.
75577 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
75579         [BZ #14252]
75580         * powerpc32/power6/wcschr.c: New file.
75581         * powerpc32/power6/wcscpy.c: New file.
75582         * powerpc32/power6/wcsrchr.c: New file.
75583         * powerpc64/power6/wcschr.c: New file.
75584         * powerpc64/power6/wcscpy.c: New file.
75585         * powerpc64/power6/wcsrchr.c: New file.
75587 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75589         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
75590         (two_way_short_needle): Use it.
75591         * string/strstr.c (AVAILABLE1_USES_J): Define.
75592         * string/strcasestr.c: Likewise.
75594         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
75595         array references.
75596         * string/strcasestr.c (TOLOWER): Make side-effect safe.
75598         [BZ #11607]
75599         * NEWS: Add an entry.
75600         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
75601         define their defaults.
75602         (two_way_short_needle): Detect end-of-string on-the-fly.
75603         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
75604         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
75605         * string/bug-strcasestr1.c: New test.
75606         * string/Makefile: Run it.
75608 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
75610         [BZ #11607]
75611         * string/str-two-way.h (two_way_short_needle): Optimize matching of
75612         the first character.
75614 2012-08-21  Roland McGrath  <roland@hack.frob.com>
75616         * csu/elf-init.c (__libc_csu_irel): Function removed.
75617         * csu/libc-start.c (apply_irel): New function.
75618         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
75620 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
75622         * sysdeps/unix/sysv/linux/kernel-features.h
75623         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
75624         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
75625         <kernel-features.h>.
75626         [__NR_fadvise64_64]: Make code unconditional.
75627         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
75628         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75629         !__NR_fadvise64_64)]: Likewise.
75630         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
75631         !__NR_fadvise64_64))]: Likewise.
75632         [__NR_fadvise64]: Make code unconditional.
75633         [!__NR_fadvise64]: Remove conditional code.
75634         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
75635         <kernel-features.h>.
75636         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75637         unconditional.
75638         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75639         conditional code.
75640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
75641         not include <kernel-features.h>.
75642         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75643         unconditional.
75644         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75645         conditional code.
75646         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
75647         include <kernel-features.h>.
75648         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
75649         unconditional.
75650         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
75651         conditional code.
75653 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75655         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
75656         slight instruction rearrangements per scrollpipe analysis.
75657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
75659 2012-08-20  Roland McGrath  <roland@hack.frob.com>
75661         * manual/syslog.texi (syslog; vsyslog, closelog):
75662         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
75663         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
75665         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
75666         DSOCAPS to match condition on defining it.
75668 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
75670         * sysdeps/unix/sysv/linux/kernel-features.h
75671         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
75672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
75673         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75674         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
75676         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75677         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
75679         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
75680         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
75682         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
75683         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
75685         * sysdeps/unix/sysv/linux/kernel-features.h
75686         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
75687         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
75688         unconditional.
75689         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75690         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
75691         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75692         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75693         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
75694         Make code unconditional.
75695         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75696         (__mmap64) [!__NR_mmap2]: Likewise.
75697         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
75698         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
75699         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75700         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
75701         [__NR_mmap2]: Make code unconditional.
75702         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
75703         (__mmap64) [!__NR_mmap2]: Likewise.
75705 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75707         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
75709 2012-08-18  Andreas Jaeger  <aj@suse.de>
75711         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
75713 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75715         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
75716         * include/unistd.h (__have_sock_cloexec): Likewise.
75717         (__have_pipe2): Likewise.
75718         (__have_dup3): Likewise.
75720 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
75722         [BZ #9685]
75723         * include/unistd.h (__have_pipe2): Change define into an extern int.
75724         (__have_dup3): Likewise.
75725         * socket/have_sock_cloexec.c: Include fcntl.h.
75726         (__have_pipe2): New variable.
75727         (__have_dup3): Likewise.
75729 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
75731         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
75733 2012-08-17  Marek Polacek  <polacek@redhat.com>
75735         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
75736         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
75738 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75740         * configure.in: Add AC_SUBST for sysheaders.
75741         * configure: Regenerated.
75742         * config.make.in (sysheaders): New substituted variable.
75744         * sysdeps/unix/mkfifo.c: Moved ...
75745         * sysdeps/posix/mkfifo.c: ... here.
75746         * sysdeps/unix/mkfifoat.c: Moved ...
75747         * sysdeps/posix/mkfifoat.c: ... here.
75749         * sysdeps/unix/utime.c: Moved ...
75750         * sysdeps/posix/utime.c: ... here.
75752         * sysdeps/unix/time.c: Moved ...
75753         * sysdeps/posix/time.c: ... here.
75754         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
75755         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
75757         * sysdeps/unix/nice.c: Moved ...
75758         * sysdeps/posix/nice.c: ... here.
75760         * sysdeps/unix/alarm.c: Moved ...
75761         * sysdeps/posix/alarm.c: ... here.
75763         * intl/Makefile ($(codeset_mo)): Depend on the input file.
75765 2012-08-17  Jeff Law <law@redhat.com>
75767         * intl/Makefile (codeset_mo): New variable.
75768         ($(codeset_mo)): New target.
75769         (tst-codeset.out): Depend on that.  Remove explicit rule.
75770         (tst-gettext3.out, tst-gettext5.out): Likewise.
75771         (LOCPATH-ENV, tst-codeset-ENV): New variables.
75772         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
75773         * intl/tst-codeset.sh: Remove.
75774         * intl/tst-gettext3.sh: Likewise.
75775         * intl/tst-gettext5.sh: Likewise.
75777 2012-08-17  Roland McGrath  <roland@hack.frob.com>
75779         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
75780         * sysdeps/unix/syscalls.list: ... here.
75782         * sysdeps/posix/getaddrinfo.c
75783         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
75784         (gaiconf_init, gaiconf_reload): Use them.
75785         [!_STATBUF_ST_NSEC]
75786         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
75787         Define using time_t rather than struct timespec.
75789         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
75790         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
75791         Macros removed.
75792         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
75793         [!NO_THREADS].
75794         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75795         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75796         Likewise.
75798         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75799         __libc_cleanup_push argument.
75801         * bits/param.h: New file.
75802         * misc/sys/param.h: New file.
75803         * include/sys/param.h: New file.
75804         * misc/Makefile (headers): Add bits/param.h.
75805         * sysdeps/generic/sys/param.h: File removed.
75806         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75807         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75808         * sysdeps/mach/hurd/bits/param.h: New file.
75809         * sysdeps/mach/hurd/sys/param.h: File removed.
75811         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75812         last change.
75814         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75815         [_IO_MTSAFE_IO].
75816         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75817         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75818         New macros.
75820         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75821         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75822         rather than -D_IO_MTSAFE_IO conditionally.
75823         * stdio-common/Makefile (CPPFLAGS): Likewise.
75824         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75825         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75826         Use $(libio-mtsafe).
75827         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75828         of -D_IO_MTSAFE_IO.
75829         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75830         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75831         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75832         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75833         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75834         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75835         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75836         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75837         (CFLAGS-fread_u_chk.c): Likewise.
75838         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75839         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75840         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75841         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75842         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75843         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75844         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75845         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75846         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75848         * libio/Makefile: Test [$(libc-reentrant) = yes]
75849         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75851         * Makeconfig
75852         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75853         * sysdeps/pthread/configure: File removed.
75854         * sysdeps/pthread/Makeconfig: New file.
75855         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75856         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75858 2012-08-16  Gary Benson  <gbenson@redhat.com>
75860         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75861         unmapping the first object in a namespace.
75863 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75865         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75866         (__internal_setnetgrent): ... this.  Add internal_function to
75867         definition.  Add libc_hidden_def.
75868         (setnetgrent): Update caller.
75869         (internal_endnetgrent): Renamed to ...
75870         (__internal_endnetgrent): ... this.  Add internal_function to
75871         definition.  Add libc_hidden_def.
75872         (endnetgrent): Update caller.
75873         (internal_getnetgrent_r): Renamed to ...
75874         (__internal_getnetgrent_r): ... this.  Add internal_function to
75875         definition.  Add libc_hidden_def.
75876         (__getnetgrent_r): Update caller.
75877         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75879 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75881         * stdlib/longlong.h: Update from GCC.
75883 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75885         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75886         on _QL, which is set by umul_ppmm but never used.
75887         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75888         variables, which are set by GMP macros but never used.
75889         * stdio-common/_itowa.c (_itowa): Likewise.
75890         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75891         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75893 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75895         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75896         struct La_sh_regs is not constant.
75897         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75898         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75899         and struct La_sparc64_regs are not constant.
75901 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75903         * sysdeps/unix/sysv/linux/kernel-features.h
75904         (__ASSUME_POSIX_TIMERS): Remove.
75905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75906         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75907         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75908         Make code unconditional.
75909         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75910         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75911         Make code unconditional.
75912         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75913         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75914         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75915         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75916         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75917         Make code unconditional.
75918         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75919         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75920         (__libc_missing_posix_timers): Remove.
75922 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75924         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75925         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75927         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75929         * elf/dl-sym.c: Include <stdlib.h>.
75931         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75932         constants, which avoids warnings in 32-bit builds.
75934         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75935         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75937         * misc/lseek.c: File moved to ...
75938         * io/lseek.c: ... here.
75940         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75942         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75943         shifting LEN more than 31 bits at once.
75945 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75947         [BZ #14195]
75948         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75949         segmentation fault for a case of two empty input strings.
75950         * string/test-strncasecmp.c (check1): Renamed to...
75951         (bz12205): ...this.
75952         (bz14195): Add new testcase for two empty input strings and N > 0.
75953         (test_main): Call new testcase, adapt for renamed function.
75955 2012-08-15  Andreas Jaeger  <aj@suse.de>
75957         [BZ #14090]
75958         * crypt/md5test2.c: New test, based on test supplied by Serge
75959         Belyshev <belyshev@depni.sinp.msu.ru>.
75960         * crypt/Makefile (xtests): Add md5test-giant..
75961         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75963 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75965         [BZ #14090]
75966         * crypt/md5.c (md5_process_block): Don't assume the buffer
75967         length is less than 2**32.
75968         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75969         length is less than 2**64.
75971 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75973         * string/str-two-way.h: Include <sys/param.h>.
75974         (MAX): Macro removed.
75976         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75977         Move #define and #undef of memmove to just before and after
75978         including <string.h>.
75980         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75981         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75982         and after including <string.h>.  Move declarations of
75983         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75984         to before #include "string/memmove.c".
75986         * include/dirent.h: Declare __getdirentries.
75988         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75989         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75991 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
75993         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75994         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75995         * sysdeps/i386/configure: Regenerated.
75996         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75997         STABS_CURRENT_FILE, and STABS_FUN.
75998         (END): Remove call to STABS_FUN_END.
75999         (STABS_CURRENT_FILE1): Delete.
76000         (STABS_CURRENT_FILE): Likewise.
76001         (STABS_FUN): Likewise.
76002         (STABS_FUN_END): Likewise.
76003         (STABS_FUN2): Likewise.
76004         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76005         * sysdeps/x86_64/configure: Regenerated.
76007 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76009         * elf/dl-open.c: Include <atomic.h>.
76010         * elf/dl-lookup.c: Likewise.
76012 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76014         * sysdeps/unix/sysv/linux/kernel-features.h
76015         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76016         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76017         unconditionally.
76018         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76019         unconditionally.
76020         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76021         condition on __ASSUME_CLONE_THREAD_FLAGS.
76023 2012-08-14  Andreas Jaeger  <aj@suse.de>
76025         * sysdeps/i386/fpu/libm-test-ulps: Update.
76027 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76029         * include/atomic.h (atomic_exchange_and_add): Split into ...
76030         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76031         New atomic macros.
76033 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76037 2012-08-13  Jeff Law <law@redhat.com>
76039         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76040         null byte in the output string.
76042 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76044         * sysdeps/unix/sysv/linux/kernel-features.h
76045         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76046         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76047         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76048         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76049         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76050         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76051         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76053 2012-08-09  Jeff Law <law@redhat.com>
76055         [BZ #13939]
76056         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76057         When avoid_arena is set, don't retry in the that arena.  Pick the
76058         next one, whatever it might be.
76059         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76060         (arena_lock): Pass in new parameter to arena_get2.
76061         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76062         arena_get2.
76063         (__libc_malloc): Unify retrying after main arena failure with
76064         __libc_memalign version.
76065         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76067 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76069         [BZ #14166]
76070         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76071         to __redirect_strstr.
76072         (__strstr_sse42): Use typeof __redirect_strstr.
76073         (__strstr_ia32): Likewise.
76074         (__libc_strstr): New prototype.
76075         (strstr): Renamed to ...
76076         (__libc_strstr): This.
76077         (strstr): New strong alias of __libc_strstr.
76078         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76079         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76080         __redirect_time.
76081         Include <time.h>.
76082         (__libc_time): New prototype.
76083         (time_ifunc): Replace time with __libc_time.
76084         (time): New strong alias and hidden definition of __libc_time.
76085         (__GI_time): Remove strong alias.
76086         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76087         Include <stddef.h>.
76088         (memmove): Redefined to __redirect_memmove.
76089         (__memmove_sse2): Use typeof __redirect_memmove.
76090         (__memmove_ssse3): Likewise.
76091         (__memmove_ssse3_back): Likewise.
76092         (__libc_memmove): New prototype.
76093         (memmove): Renamed to ...
76094         (__libc_memmove): This.
76095         (memmove): New strong alias of __libc_memmove.
76097 2012-08-08  Mark Salter  <msalter@redhat.com>
76099         * elf/elf.h
76100         (R_MN10300_TLS_GD): Define.
76101         (R_MN10300_TLS_LD): Likewise.
76102         (R_MN10300_TLS_LDO): Likewise.
76103         (R_MN10300_TLS_GOTIE): Likewise.
76104         (R_MN10300_TLS_IE): Likewise.
76105         (R_MN10300_TLS_LE): Likewise.
76106         (R_MN10300_TLS_DTPMOD): Likewise.
76107         (R_MN10300_TLS_DTPOFF): Likewise.
76108         (R_MN10300_TLS_TPOFF): Likewise.
76109         (R_MN10300_SYM_DIFF): Likewise.
76110         (R_MN10300_ALIGN): Likewise.
76111         (R_MN10300_NUM): Update.
76113 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76115         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76116         Remove.
76118 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76120         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76122         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76123         sysdeps/unix -> sysdeps/posix move.
76124         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76126 2012-08-07      Allan McRae     <allan@archlinux.org>
76128         [BZ #14303]
76129         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76130         (SUNOS_CPP): Likewise.
76131         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76132         not found.
76133         (open_input): Call CPP using execvp.
76135 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76137         * sysdeps/unix/sysv/linux/kernel-features.h
76138         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76139         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76140         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76141         (__ASSUME_WAITID_SYSCALL): Likewise.
76142         * sysdeps/unix/sysv/linux/dl-execstack.c
76143         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76144         code unconditional.
76145         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76146         conditional code.
76147         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76148         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76149         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76150         code.
76151         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76152         unconditional.
76153         [__ASSUME_WAITID_SYSCALL]: Likewise.
76154         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76156 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76158         * sysdeps/unix/closedir.c: Renamed to ...
76159         * sysdeps/posix/closedir.c: ... here.
76160         * sysdeps/unix/dirfd.c: Renamed to ...
76161         * sysdeps/posix/dirfd.c: ... here.
76162         * sysdeps/unix/dirstream.h: Renamed to ...
76163         * sysdeps/posix/dirstream.h: ... here.
76164         * sysdeps/unix/fdopendir.c: Renamed to ...
76165         * sysdeps/posix/fdopendir.c: ... here.
76166         * sysdeps/unix/opendir.c: Renamed to ...
76167         * sysdeps/posix/opendir.c: ... here.
76168         * sysdeps/unix/readdir.c: Renamed to ...
76169         * sysdeps/posix/readdir.c: ... here.
76170         * sysdeps/unix/readdir_r.c: Renamed to ...
76171         * sysdeps/posix/readdir_r.c: ... here.
76172         * sysdeps/unix/rewinddir.c: Renamed to ...
76173         * sysdeps/posix/rewinddir.c: ... here.
76174         * sysdeps/unix/seekdir.c: Renamed to ...
76175         * sysdeps/posix/seekdir.c: ... here.
76176         * sysdeps/unix/telldir.c: Renamed to ...
76177         * sysdeps/posix/telldir.c: ... here.
76178         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76179         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76180         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76181         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76183         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76184         * bits/fcntl.h: ... here.
76186         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76187         not 0.
76188         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76189         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76190         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76191         (struct flock): Move l_start, l_len to the beginning.
76192         Use __pid_t for l_pid.
76193         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76194         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76195         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76196         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76197         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76198         [__USE_LARGEFILE64] (struct flock64): New type.
76199         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76201         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76202         * bits/dirent.h: ... here.
76204         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76205         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76207 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76209         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76210         Change from 2.6.0 to 2.6.16.
76211         * sysdeps/unix/sysv/linux/configure: Regenerated.
76212         * sysdeps/unix/sysv/linux/kernel-features.h
76213         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76214         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76215         version.
76216         (__ASSUME_UTIMES): Likewise.
76217         (__ASSUME_CLONE_STOPPED): Remove.
76218         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76219         architectures, not kernel version.
76220         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76221         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76222         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76223         (__ASSUME_WAITID_SYSCALL): Likewise.
76224         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76225         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76226         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76227         refer to older versions.
76229 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76231         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76232         Define alphasort64 as an alias.
76233         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76234         Define versionsort64 as an alias.
76235         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76236         Define scandir64 as an alias.
76237         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76238         Define scandirat64 as an alias.
76239         * dirent/alphasort64.c (alphasort64):
76240         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76241         * dirent/versionsort64.c: Likewise.
76242         * dirent/scandir64.c: Likewise.
76243         * dirent/scandirat64.c: Likewise.
76244         * sysdeps/wordsize-64/alphasort.c: File removed.
76245         * sysdeps/wordsize-64/alphasort64.c: File removed.
76246         * sysdeps/wordsize-64/scandir.c: File removed.
76247         * sysdeps/wordsize-64/scandir64.c: File removed.
76248         * sysdeps/wordsize-64/scandirat.c: File removed.
76249         * sysdeps/wordsize-64/scandirat64.c: File removed.
76250         * sysdeps/wordsize-64/versionsort.c: File removed.
76251         * sysdeps/wordsize-64/versionsort64.c: File removed.
76252         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76253         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76254         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76255         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76256         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76257         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76258         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76259         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76261         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76262         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76263         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76264         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76265         [defined __arch64__ || defined __sparcv9]
76266         (__INO_T_MATCHES_INO64_T): New macro.
76267         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76268         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76269         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76270         * sysdeps/unix/sysv/linux/bits/dirent.h
76271         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76272         (_DIRENT_MATCHES_DIRENT64): New macro.
76274         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76275         Define lockf64 as an alias.
76276         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76277         Define fseeko64 as an alias.
76278         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76279         Define ftello64 as an alias.
76280         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76281         Define _IO_fgetpos64 and fgetpos64 as aliases.
76282         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76283         Define _IO_fsetpos64 and fsetpos64 as aliases.
76284         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76285         Conditionalize body on this.
76286         * libio/fseeko64.c: Likewise.
76287         * libio/ftello64.c: Likewise.
76288         * libio/iofgetpos64.c: Likewise.
76289         * libio/iofsetpos64.c: Likewise.
76290         * sysdeps/wordsize-64/lockf.c: File removed.
76291         * sysdeps/wordsize-64/lockf64.c: File removed.
76292         * sysdeps/wordsize-64/fseeko.c: File removed.
76293         * sysdeps/wordsize-64/fseeko64.c: File removed.
76294         * sysdeps/wordsize-64/ftello.c: File removed.
76295         * sysdeps/wordsize-64/ftello64.c: File removed.
76296         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76297         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76298         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76299         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76300         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76301         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76302         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76303         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76304         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76305         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76306         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76307         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76308         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76309         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76311         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76312         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76313         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76314         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76315         [defined __arch64__ || defined __sparcv9]
76316         (__OFF_T_MATCHES_OFF64_T): New macro.
76317         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76318         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76320         (__OFF_T_MATCHES_OFF64_T): New macro.
76322 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76324         * stdlib/secure-getenv.c (__secure_getenv): Replace
76325         GLIBC_2_16 with GLIBC_2_17.
76327 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76329         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
76330         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76332 2012-08-03  David S. Miller  <davem@davemloft.net>
76334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76336 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76338         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
76339         Remove.
76340         (__ASSUME_CORRECT_SI_PID): Likewise.
76341         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
76342         (__ASSUME_TMPFS_NAME): Likewise.
76343         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
76344         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
76345         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
76346         (HAVE_AUX_SECURE): Make definition unconditional.
76347         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
76348         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
76350 2012-08-03  Roland McGrath  <roland@hack.frob.com>
76352         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
76353         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
76354         * sysdeps/mach/hurd/eloop-threshold.h: New file.
76355         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76356         __eloop_threshold instead of SYMLOOP_MAX.
76358         * sysdeps/generic/eloop-threshold.h: New file.
76359         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
76360         of MAXSYMLINKS.
76361         * elf/chroot_canon.c (chroot_canon): Likewise.
76363 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
76365         [BZ #13717]
76366         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76367         Change to 2.6.0 everywhere.
76368         * sysdeps/unix/sysv/linux/configure: Regenerated.
76369         * sysdeps/unix/sysv/linux/kernel-features.h
76370         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
76371         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
76372         kernel versions.
76373         (__ASSUME_POSIX_TIMERS): Define unconditionally.
76374         (__ASSUME_FUTEX_REQUEUE): Remove.
76375         (__ASSUME_STATFS64): Define unconditionally.
76376         (__ASSUME_AT_SECURE): Likewise.
76377         (__ASSUME_CORRECT_SI_PID): Likewise.
76378         (__ASSUME_TGKILL): Define without depending on kernel version for
76379         i386.
76380         (__ASSUME_UTIMES): Likewise.
76381         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
76382         kernel version.
76383         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
76384         (__ASSUME_TMPFS_NAME): Likewise.
76385         * README: Update reference to Linux kernel versions.
76387 2012-08-02  Marek Polacek  <polacek@redhat.com>
76389         [BZ #14150]
76390         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
76391         libc_cv_asm_type_prefix with %.
76392         * configure: Regenerated.
76393         * include/libc-symbols.h: Remove comment about
76394         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76395         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
76396         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
76397         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
76398         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
76399         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
76400         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
76401         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76402         * elf/tst-unique2mod1.c: Likewise.
76403         * elf/tst-unique1mod2.c: Likewise.
76404         * elf/tst-unique1mod1.c: Likewise.
76405         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
76406         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
76407         Replace ASM_TYPE_DIRECTIVE with .type.
76408         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76409         * sysdeps/i386/sysdep.h: Likewise.
76410         * sysdeps/x86_64/sysdep.h: Likewise.
76411         * sysdeps/sh/sysdep.h: Likewise.
76412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76413         Do not define ASM_TYPE_DIRECTIVE.
76414         * sysdeps/powerpc/sysdep.h: Likewise.
76415         * sysdeps/powerpc/powerpc32/sysdep.h:
76416         Replace ASM_TYPE_DIRECTIVE with .type.
76417         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76418         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76419         * sysdeps/i386/fpu/e_powf.S: Likewise.
76420         * sysdeps/i386/fpu/e_expl.S: Likewise.
76421         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76422         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76423         * sysdeps/i386/fpu/e_pow.S: Likewise.
76424         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
76425         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76426         * sysdeps/i386/fpu/s_expm1.S: Likewise.
76427         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
76428         * sysdeps/i386/fpu/e_log2.S: Likewise.
76429         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76430         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76431         * sysdeps/i386/fpu/e_powl.S: Likewise.
76432         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76433         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
76434         * sysdeps/i386/fpu/e_logl.S: Likewise.
76435         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
76436         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
76437         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76438         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76439         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76440         * sysdeps/i386/fpu/e_log.S: Likewise.
76441         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76442         * sysdeps/i386/fpu/e_logf.S: Likewise.
76443         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76444         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76445         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
76446         * sysdeps/i386/fpu/e_log10.S: Likewise.
76447         * sysdeps/i386/fpu/s_frexp.S: Likewise.
76448         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76449         * sysdeps/i386/fpu/s_asinh.S: Likewise.
76450         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
76451         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76452         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
76453         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
76454         * sysdeps/i386/i686/strtok.S: Likewise.
76455         * sysdeps/i386/i386-mcount.S: Likewise.
76456         * sysdeps/i386/strtok.S: Likewise.
76457         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
76458         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76459         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76460         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76461         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76462         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76463         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76464         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
76465         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76466         * sysdeps/x86_64/_mcount.S: Likewise.
76467         * sysdeps/x86_64/strtok.S: Likewise.
76468         * sysdeps/sh/_mcount.S: Likewise.
76470 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76472         * libio/iofopen.c: Include <fcntl.h>.
76473         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
76474         (_IO_fopen64, fopen64): Define as aliases.
76475         * libio/iofopen64.c: Include <fcntl.h>.
76476         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
76477         Conditionalize body on this.
76478         * sysdeps/wordsize-64/iofopen.c: File removed.
76479         * sysdeps/wordsize-64/iofopen64.c: File removed.
76481 2012-08-01  Marek Polacek  <polacek@redhat.com>
76483         * libc/Makeconfig: Use elf in place of binfmt-subdir.
76484         Use dlfcn directly instead of a variable.
76485         (binfmt-subdir): Do not define.
76486         (dlfcn): Likewise.
76488 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
76490         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
76491         Remove all definitions.
76492         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
76493         <kernel-features.h>.
76494         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76495         (miss_F_GETOWN_EX): Remove all definitions.
76496         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
76497         macro definition.
76498         [!__ASSUME_FCNTL64]: Remove conditional code.
76499         [__ASSUME_FCNTL64]: Make code unconditional.
76500         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
76501         <kernel-features.h>.
76502         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
76503         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
76504         (lockf64) [__NR_fcntl64]: Make code unconditional.
76505         (lockf64) [__ASSUME_FCNTL64]: Likewise.
76507         * sysdeps/unix/sysv/linux/kernel-features.h
76508         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
76509         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
76510         Make code unconditional.
76511         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76512         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
76514         [__NR_vfork]: Make code unconditional.
76515         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76516         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
76518         [__NR_vfork]: Make code unconditional.
76519         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
76520         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
76522 2012-08-01  Roland McGrath  <roland@hack.frob.com>
76524         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
76525         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
76527         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76528         Define mkstemp64 as an alias.
76529         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76530         Define mkstemps64 as an alias.
76531         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76532         Define mkostemp64 as an alias.
76533         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
76534         Define mkostemps64 as an alias.
76535         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
76536         Conditionalize body on this.
76537         * misc/mkostemp64.c: Likewise.
76538         * misc/mkostemps64.c: Likewise.
76539         * misc/mkstemps64.c: Likewise.
76540         * sysdeps/wordsize-64/mkstemp64.c: File removed.
76541         * sysdeps/wordsize-64/mkostemp64.c: File removed.
76542         * sysdeps/wordsize-64/mkostemp.c: File removed.
76543         * sysdeps/wordsize-64/mkstemp.c: File removed.
76544         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76545         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
76546         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
76547         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
76549         [BZ #14138]
76550         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
76551         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
76552         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
76553         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
76555         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
76556         compat_symbol macros from <shlib-compat.h> rather than the underlying
76557         default_symbol_version and symbol_version macros, so that DEFAULT
76558         lines in shlib-versions are respected.
76559         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
76561 2012-08-01  Florian Weimer  <fweimer@redhat.com>
76563         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
76564         Declare with warn_unused_result.
76565         (setgid, setregid, setegid, setresgid): Likewise.
76566         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
76567         Likewise.
76568         * WUR-REPORT: Remove set*id functions.
76570 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
76572         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
76574 2012-07-31  Roland McGrath  <roland@hack.frob.com>
76576         [BZ #10191]
76577         * include/sys/socket.h (__libc_accept, __libc_accept4):
76578         Add attribute_hidden.
76579         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
76581         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
76582         use of PTR_MANGLE.
76583         * inet/getnetgrent_r.c (setup): Likewise.
76585         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
76587 2012-07-31  David S. Miller  <davem@davemloft.net>
76589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76591 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
76593         [BZ #13629]
76594         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
76595         value between 1.0 and 2.0 and smaller part has absolute value less
76596         than 1.0.
76597         * math/s_clog10.c (__clog10): Likewise.
76598         * math/s_clog10f.c (__clog10f): Likewise.
76599         * math/s_clog10l.c (__clog10l): Likewise.
76600         * math/s_clogf.c (__clogf): Likewise.
76601         * math/s_clogl.c (__clogl): Likewise.
76602         * math/libm-test.inc (clog_test): Add more tests.
76603         (clog10_test): Likewise.
76604         * sysdeps/i386/fpu/libm-test-ulps: Update.
76605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76607 2012-07-31  Florian Weimer  <fweimer@redhat.com>
76609         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
76610         Exit with zero in case no suitable GID is found, and write a
76611         message to standard error.
76613 2012-07-30  Roland McGrath  <roland@hack.frob.com>
76615         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
76616         rather than to 1.
76617         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
76618         (MAXPATHLEN): Removed.
76619         (NOGROUP, NODEV): New macros.
76620         (setbit, clrbit, isset, isclr): New macros.
76621         (howmany, roundup, powerof2): New macros.
76622         (DEV_BSIZE): New macro.
76624         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
76625         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
76627         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
76628         definition on [!__NO_LONG_DOUBLE_MATH].
76630         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
76631         PTR_MANGLE and PTR_DEMANGLE.
76633         * socket/accept4.c (accept4): Rename to __libc_accept4.
76634         Define accept4 as a weak alias.
76636         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
76637         on [_DIRENT_HAVE_D_TYPE].
76638         * io/ftw.c (ftw_dir): Likewise.
76640         * io/xmknod.c (__xmknod): Don't check PATH for being null.
76642         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
76644         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
76645         Use the BSD numbers rather than the arbitrary ones we had.
76646         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
76647         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
76648         (SIGXCPU, SIGXFSZ): New macros.
76649         (_NSIG): Now 32.
76651         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
76652         initializer on [_LIBC_REENTRANT].
76654         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
76655         definitions inside [_POSIX_MAPPED_FILES].
76657         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
76659         * dirent/opendir.c: Include <fcntl.h>.
76661         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
76662         (__libc_getspecific): Likewise.
76663         (__libc_key_create): Likewise.
76665         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
76666         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
76667         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
76668         (tmpfile64): Define as alias.
76669         * sysdeps/wordsize-64/tmpfile.c: File removed.
76670         * sysdeps/wordsize-64/tmpfile64.c: File removed.
76671         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
76672         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
76674         * stdio-common/vfscanf.c: Include <stdbool.h>.
76675         * nss/makedb.c: Likewise.
76676         * stdio-common/_i18n_number.h: Likewise.
76677         * argp/argp-help.c: Likewise.
76678         * posix/wordexp.c: Likewise.
76679         * sysdeps/posix/spawni.c: Likewise.
76680         * nss/nss_files/files-initgroups.c: Likewise.
76681         * stdio-common/reg-modifier.c: Include <stdlib.h>.
76682         * nss/nss_files/files-initgroups.c: Likewise.
76683         * nss/nss_db/db-netgrp.c: Likewise.
76684         * nss/nss_db/db-initgroups.c: Likewise.
76685         * io/fchmodat.c: Include <sys/stat.h>.
76687         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
76688         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
76690         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
76691         [HAVE_MMAP].
76693         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
76694         Add multiple inclusion protection.
76696 2012-07-27  David S. Miller  <davem@davemloft.net>
76698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76700 2012-07-27  Gary Benson  <gbenson@redhat.com>
76702         [BZ #14298]
76703         * elf/rtld.c: Include <stap-probe.h>.
76704         (dl_main): Added static probes "init_start" and "init_complete".
76705         * elf/dl-load.c: Include <stap-probe.h>.
76706         (lose): Take new parameter "nsid".
76707         Added static probe "map_failed".
76708         (_dl_map_object_from_fd): Pass namespace id to lose.
76709         Added static probe "map_start".
76710         (open_verify): Pass namespace id to lose.
76711         * elf/dl-open.c: Include <stap-probe.h>.
76712         (dl_open_worker) Added static probes "map_complete", "reloc_start"
76713         and "reloc_complete".
76714         * elf/dl-close.c: Include <stap-probe.h>.
76715         (_dl_close_worker): Added static probes "unmap_start" and
76716         "unmap_complete".
76717         * elf/rtld-debugger-interface.txt: New file documenting the above.
76719 2012-07-26  Roland McGrath  <roland@hack.frob.com>
76721         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
76722         rather than a string variable.
76723         * sunrpc/rpc_main.c (h_output): Likewise.
76724         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
76726 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
76728         * inet/check_native.c: New file.
76730 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
76732         [BZ #13629]
76733         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
76734         if larger part has absolute value 1.0.
76735         * math/s_clog10.c (__clog10): Likewise.
76736         * math/s_clog10f.c (__clog10f): Likewise.
76737         * math/s_clog10l.c (__clog10l): Likewise.
76738         * math/s_clogf.c (__clogf): Likewise.
76739         * math/s_clogl.c (__clogl): Likewise.
76740         * math/libm-test.inc (clog_test): Add more tests.
76741         (clog10_test): Likewise.
76742         * sysdeps/i386/fpu/libm-test-ulps: Update.
76743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76745         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
76746         (pltexit): Likewise.
76747         (La_regs): Likewise.
76748         (La_retval): Likewise.
76749         (int_retval): Likewise.
76750         Update #error for removed macros to refer only to definitions in
76751         tst-audit.h.
76752         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
76753         macro.
76754         (pltexit): Likewise.
76755         (La_regs): Likewise.
76756         (La_retval): Likewise.
76757         (int_retval): Likewise.
76758         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
76759         macro.
76760         (pltexit): Likewise.
76761         (La_regs): Likewise.
76762         (La_retval): Likewise.
76763         (int_retval): Likewise.
76764         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
76765         macro.
76766         (pltexit): Likewise.
76767         (La_regs): Likewise.
76768         (La_retval): Likewise.
76769         (int_retval): Likewise.
76770         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
76771         macro.
76772         (pltexit): Likewise.
76773         (La_regs): Likewise.
76774         (La_retval): Likewise.
76775         (int_retval): Likewise.
76776         * elf/tst-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
76783         macro.
76784         (pltexit): Likewise.
76785         (La_regs): Likewise.
76786         (La_retval): Likewise.
76787         (int_retval): Likewise.
76788         * sysdeps/generic/tst-audit.h: Update comment to refer only to
76789         macro definitions in tst-audit.h.
76790         * sysdeps/i386/tst-audit.h: New file.
76791         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
76792         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
76793         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
76794         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76795         * sysdeps/sh/tst-audit.h: Likewise.
76796         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76797         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76798         * sysdeps/x86_64/tst-audit.h: Likewise.
76800 2012-07-26  Andreas Jaeger  <aj@suse.de>
76802         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76803         ptrace.
76805         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76806         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76807         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76808         PTRACE_O_MASK.
76809         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76810         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76811         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76813         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76814         value.
76816         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76817         _sigsys.
76818         (si_call_addr, si_syscall, si_arch): Define new macro.
76819         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76820         _sigsys.
76821         (si_call_addr, si_syscall, si_arch): Define new marcro.
76822         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76823         _sigsys.
76824         (si_call_addr, si_syscall, si_arch): Define new macro.
76825         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76826         _sigsys.
76827         (si_call_addr, si_syscall, si_arch): Define new macro.
76829 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76831         [BZ #13717]
76832         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76833         Change to 2.4.21 where previously 2.4.1.
76834         * sysdeps/unix/sysv/linux/configure: Regenerated.
76835         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76836         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76837         Linux kernel version.
76838         (__ASSUME_STD_AUXV): Remove.
76839         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76840         kernel version.
76841         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76842         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76843         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76844         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76845         (__ASSUME_NETLINK_SUPPORT): Likewise.
76846         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76847         (__no_netlink_support): Remove conditional definition.
76848         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76849         Remove.
76850         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76851         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76852         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76853         (if_nameindex_ioctl): Remove.
76854         (if_nameindex_netlink): Do not handle __no_netlink_support.
76855         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76856         code.
76857         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76858         Remove conditional code.
76859         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76860         code.
76861         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76862         unconditional.
76863         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76864         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76865         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76866         Remove.
76867         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76868         [!__ASSUME_STD_AUXV]: Remove conditional code.
76869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76870         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76871         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76873         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76874         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76875         code.
76876         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76878         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76879         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76880         conditional code.
76881         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76883         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76884         code.
76885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76886         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76887         conditional code.
76888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76889         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76890         code unconditional.
76891         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76892         conditional code.
76893         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76894         unconditional.
76895         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76896         conditional code.
76897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76898         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76899         unconditional.
76900         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76901         conditional code.
76902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76903         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76904         code unconditional.
76905         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76906         conditional code.
76907         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76908         unconditional.
76909         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76910         conditional code.
76911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76912         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76913         code unconditional.
76914         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76915         conditional code.
76916         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76917         unconditional.
76918         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76919         conditional code.
76921 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76923         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76924         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76925         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76926         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76927         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76928         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76929         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76930         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76931         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76932         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76933         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76934         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76935         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76936         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76937         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76938         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76939         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76940         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76941         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76943         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76944         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76945         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76947 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76949         * Versions.def: Add GLIBC_2.17.
76950         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76951         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76952         Introduce __libc_secure_getenv.
76953         * stdlib/Versions (2.17): Add secure_getenv
76954         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76955         * stdlib/secure-getenv.c: Rename __secure_getenv to
76956         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76957         symbol __secure_getenv for GLIBC_2.0.
76958         * stdlib/tst-secure-getenv.c: New.
76959         * stdlib/Makefile (tests): Add testcase.
76960         * manual/startup.texi (Environment Access): Document
76961         secure_getenv.
76962         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76963         __libc_secure_getenv.
76964         * inet/ruserpass.c (ruserpass): Likewise.
76965         * malloc/mtrace.c (mtrace): Likewise.
76966         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76967         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76968         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76969         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76970         HAVE_SECURE_GETENV.
76971         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76972         __secure_getenv to __libc_secure_getenv.
76973         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76975         Likewise.
76976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76977         Likewise.
76978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76980         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76986 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76988         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76989         (struct La_i86_retval): Likewise.
76990         (struct La_x86_64_regs): Likewise.
76991         (struct La_x86_64_retval): Likewise.
76992         (struct La_x32_regs): Likewise.
76993         (struct La_x32_retval): Likewise.
76994         (struct La_ppc32_regs): Likewise.
76995         (struct La_ppc32_retval): Likewise.
76996         (struct La_ppc64_regs): Likewise.
76997         (struct La_ppc64_retval): Likewise.
76998         (struct La_sh_regs): Likewise.
76999         (struct La_sh_retval): Likewise.
77000         (struct La_s390_32_regs): Likewise.
77001         (struct La_s390_32_retval): Likewise.
77002         (struct La_s390_64_regs): Likewise.
77003         (struct La_s390_64_retval): Likewise.
77004         (struct La_sparc32_regs): Likewise.
77005         (struct La_sparc32_retval): Likewise.
77006         (struct La_sparc64_regs): Likewise.
77007         (struct La_sparc64_retval): Likewise.
77008         (struct audit_ifaces): Remove architecture-specific pltenter and
77009         pltexit members.
77010         * sysdeps/i386/ldsodefs.h: New file.
77011         * sysdeps/powerpc/ldsodefs.h: Likewise.
77012         * sysdeps/s390/ldsodefs.h: Likewise.
77013         * sysdeps/sh/ldsodefs.h: Likewise.
77014         * sysdeps/sparc/ldsodefs.h: Likewise.
77015         * sysdeps/x86_64/ldsodefs.h: Likewise.
77017 2012-07-25  Marek Polacek  <polacek@redhat.com>
77019         [BZ #6808]
77020         * math/libm-test.inc (yn_test): Add another test.
77021         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77022         to ERANGE when the result is +-Inf.
77023         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77024         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77025         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77026         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77028 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77030         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77031         equal to 0.
77032         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77033         clock_t.
77034         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77036 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77038         * configure.in <sysdeps resolving>: Correct printing
77039         Implies_before.
77040         * configure: Regenerate.
77042 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77044         * math/w_ilogb.c: Include <limits.h>.
77045         * math/w_ilogbl.c: Likewise.
77047 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77049         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77050         va_copy.  Document allowing for unavailable va_copy only as
77051         pre-C99 compatibility.
77052         * manual/string.texi (Copying and Concatenation): Use va_copy
77053         instead of __va_copy in concat example.
77055 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77057         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77058         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77059         it if not null.
77061         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77062         with O_NOLINK passed to __file_name_lookup.
77064         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77065         with O_NOLINK passed to __file_name_lookup.
77067         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77068         negative N or less than NGIDS.
77070         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77071         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77072         enough.  Use memcpy instead of strncpy.
77074 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77076         * elf/Makefile (check-data): Remove.
77077         (localplt.data): New vpath directive.
77078         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77079         instead of $(check-data).
77080         * scripts/data/localplt-generic.data: Move to ...
77081         * sysdeps/generic/localplt.data: ... here.
77082         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77083         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77084         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77086         ... here.
77087         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77089         ... here.
77090         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77092         ... here.
77093         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77095         ... here.
77096         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77098         ... here.
77099         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77101         ... here.
77103 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77105         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77106         PPC32 and PPC64 files.
77107         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77108         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77110 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77112         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77113         __makecontext_ret to ...
77114         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77115         ... here and call exit if uc_link is NULL.  New file.
77116         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77117         __makecontext_ret.S.
77118         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77119         __makecontext_ret to ...
77120         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77121         ... here and call exit if uc_link is NULL.  New file.
77122         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77123         __makecontext_ret.S.
77125 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77127         * elf/elf.h (R_390_IRELATIVE): New definition.
77128         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77129         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77130         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77131         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77132         (elf_machine_lazy_rel): Likewise.
77133         * sysdeps/s390/dl-irel.h: New file.
77134         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77135         * sysdeps/s390/s390-64/memset.S: New asm code.
77136         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77137         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77138         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77139         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77140         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77141         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77142         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77143         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77144         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77145         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77146         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77147         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77148         * sysdeps/s390/s390-32/memset.S: New asm code.
77149         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77151 2012-07-17  Marek Polacek  <polacek@redhat.com>
77153         [BZ #14349]
77154         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77155         * sysdeps/s390/s390-64/configure.in: Likewise.
77156         * sysdeps/sparc/configure.in: Likewise.
77157         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77158         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77159         * sysdeps/i386/configure.in: Likewise.
77160         * sysdeps/x86_64/configure.in: Likewise.
77161         * sysdeps/sh/configure.in: Likewise.
77162         * sysdeps/s390/s390-32/configure: Regenerated.
77163         * sysdeps/s390/s390-64/configure: Likewise.
77164         * sysdeps/x86_64/configure: Likewise.
77165         * sysdeps/sh/configure: Likewise.
77166         * sysdeps/powerpc/powerpc64/configure: Likewise.
77167         * sysdeps/powerpc/powerpc32/configure: Likewise.
77168         * sysdeps/sparc/configure: Likewise.
77169         * sysdeps/i386/configure: Likewise.
77171         * elf/dl-open.c: Comment fixes.
77173 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77175         * Makefile [CXX] (check-data): Remove.
77176         [CXX] (c++-types.data): New vpath directive.
77177         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77178         vpath.  Do not allow for C++ type data being missing.
77179         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77180         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77181         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77182         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77183         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77184         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77185         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77187         ... here.
77188         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77190         ... here.
77191         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77193         ... here.
77194         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77196         ... here.
77197         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77199         ... here.
77200         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77202         ... here.
77203         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77205         ... here.
77206         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77209         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77210         definitions to architecture-specific files.
77211         (TLS_IE): Likewise.
77212         (TLS_LD): Likewise.
77213         (TLS_GD): Likewise.
77214         * sysdeps/i386/tls-macros.h: New file.
77215         * sysdeps/powerpc/tls-macros.h: Likewise.
77216         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77217         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77218         * sysdeps/sh/tls-macros.h: Likewise.
77219         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77220         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77221         * sysdeps/x86_64/tls-macros.h: Likewise.
77223 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77225         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77226         zero value for regular exit case.
77228         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77229         (__start_context): Preserve zero value for regular exit case.
77231 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77232             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77234         * manual/setjmp.texi (setcontext): Clarify normal process
77235         termination when uc_link is the null pointer.
77236         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77237         exit call.
77239 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77241         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77242         preprocessor.  Test for each exception mask separately.
77244 2012-07-16  Andreas Jaeger  <aj@suse.de>
77246         * po/ru.po: Update from translation team.
77248 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77250         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77251         equal to 0.
77252         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77253         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77254         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77255         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77256         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77258 2012-07-13  Andreas Jaeger  <aj@suse.de>
77260         * po/fr.po: Update from translation team.
77262 2012-07-12  Marek Polacek  <polacek@redhat.com>
77264         [BZ #14173]
77265         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77266         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77267         loop condition.
77269 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77271         [BZ #13717]
77272         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77273         Change to 2.4.1 where previously 2.4.0.
77274         * sysdeps/unix/sysv/linux/configure: Regenerated.
77275         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77276         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77277         version.
77278         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77279         (__ASSUME_AT_CLKTCK): Remove.
77280         (__ASSUME_AT_PAGESIZE): Likewise.
77281         (__ASSUME_AT_XID): Likewise.
77282         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77283         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77284         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77285         unconditionally.
77286         (HAVE_AUX_PAGESIZE): Likewise.
77287         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77288         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77289         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77291 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77293         [BZ #14307]
77294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77295         the temporary buffer used to invoke __gethostbyname2_r,
77296         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77297         host_data / struct gaih_addrtuple.
77298         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77299         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77300         header file nss/nsswitch.h.
77301         * nss/nsswitch.h (global scope): Add definition of implementation
77302         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77303         resolv/nss_dns/dns-host.c).
77305 2012-07-11  Andreas Jaeger  <aj@suse.de>
77307         * po/fr.po: Update from translation team.
77309         * po/sv.po: Update from translation team
77310         * po/fr.po: Another update from translation team.
77312 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77314         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77315         for subnormals or multiply small sinh result by itself.
77316         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77319 2012-07-11  David S. Miller  <davem@davemloft.net>
77321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77323 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77325         [BZ #14347]
77326         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77327         (INTERNAL_MARK): Shift it here.
77329 2012-07-10  Marek Polacek  <polacek@redhat.com>
77331         [BZ #14151]
77332         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
77333         libc_cv_asm_global_directive with .globl.
77334         * configure: Regenerated.
77335         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
77336         with .globl.
77337         * sysdeps/i386/configure: Regenerated.
77338         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
77339         with .globl.
77340         * sysdeps/x86_64/configure: Regenerated.
77341         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
77342         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
77343         * elf/tst-unique2mod2.c: Likewise.
77344         * elf/tst-unique2mod1.c: Likewise.
77345         * elf/tst-unique1mod2.c: Likewise.
77346         * elf/tst-unique1mod1.c: Likewise.
77347         * sysdeps/s390/s390-32/sysdep.h: Likewise.
77348         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77349         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77350         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77351         * sysdeps/mach/sysdep.h: Likewise.
77352         * sysdeps/i386/sysdep.h: Likewise.
77353         * sysdeps/i386/i386-mcount.S: Likewise.
77354         * sysdeps/x86_64/_mcount.S: Likewise.
77355         * sysdeps/x86_64/sysdep.h: Likewise.
77356         * sysdeps/sh/_mcount.S: Likewise.
77357         * sysdeps/sh/sysdep.h: Likewise.
77358         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
77359         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
77360         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
77361         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77362         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
77363         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
77364         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
77365         * locale/localeinfo.h: Likewise.
77366         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
77367         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
77369 2012-07-09  Roland McGrath  <roland@hack.frob.com>
77371         [BZ #14336]
77372         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
77373         system".
77374         * manual/message.texi (The Uniforum approach): Likewise.
77375         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
77376         (glibc iconv Implementation): Likewise.
77378 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
77380         [BZ #14337]
77381         * math/s_clog.c (__clog): Avoid scaling a value down where that
77382         could result in underflow.
77383         * math/s_clog10.c (__clog10): Likewise.
77384         * math/s_clog10f.c (__clog10f): Likewise.
77385         * math/s_clog10l.c (__clog10l): Likewise.
77386         * math/s_clogf.c (__clogf): Likewise.
77387         * math/s_clogl.c (__clogl): Likewise.
77388         * math/libm-test.inc (clog_test): Add more tests.
77389         (clog10_test): Likewise.
77390         * sysdeps/i386/fpu/libm-test-ulps: Update.
77391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77393 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
77395         [BZ #14283]
77396         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
77397         by 7 not 8 to examine high bit of fractional part.
77399         [BZ #14042]
77400         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
77401         for call to __mcount_internal.
77402         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
77403         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
77404         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
77406 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
77408         [BZ #14154]
77409         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
77410         approximation for values within 0x1p-13f of an odd multiple of
77411         pi/4.
77412         * math/libm-test.inc (tan_test): Do not allow spurious underflow
77413         exception.  Add more tests.
77414         * sysdeps/i386/fpu/libm-test-ulps: Update.
77416         [BZ #6778]
77417         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
77418         inputs and return -1 for them.  Do not check for +Inf in case not
77419         reachable for +Inf.
77420         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
77421         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
77422         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77423         and return -1 for them.  Do not check for +Inf in case not
77424         reachable for +Inf.
77425         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
77426         define.
77427         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
77428         and return -1 for them.  Do not check for +Inf in case not
77429         reachable for +Inf.
77430         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
77431         spurious underflow.
77432         * sysdeps/i386/fpu/libm-test-ulps: Update.
77433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77435 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
77437         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
77439 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
77441         [BZ #14157]
77442         [BZ #14331]
77443         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
77444         could result in spurious underflow.  Scale down values above
77445         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
77446         * math/s_csqrtf.c (__csqrtf): Likewise.
77447         * math/s_csqrtl.c (__csqrtl): Likewise.
77448         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
77449         spurious underflow.
77450         * sysdeps/i386/fpu/libm-test-ulps: Update.
77451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77453 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
77455         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
77456         xopen-msg.sed.
77457         * catgets/xopen-msg.awk: New file.
77458         * catgets/xopen-msg.sed: Removed.
77460         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
77461         po2text.sed.
77462         * intl/po2test.awk: New file.
77463         * intl/po2test.sed: Removed.
77465 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
77467         [BZ #14328]
77468         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
77469         or multiply small sinh result by itself.
77470         * math/s_ctanf.c (__ctanf): Likewise.
77471         * math/s_ctanh.c (__ctanh): Likewise.
77472         * math/s_ctanhf.c (__ctanhf): Likewise.
77473         * math/s_ctanhl.c (__ctanhl): Likewise.
77474         * math/s_ctanl.c (__ctanl): Likewise.
77475         * math/libm-test.inc (ctan_test_tonearest): New function.
77476         (ctan_test_towardzero): Likewise.
77477         (ctan_test_downward): Likewise.
77478         (ctan_test_upward): Likewise.
77479         (ctanh_test_tonearest): Likewise.
77480         (ctanh_test_towardzero): Likewise.
77481         (ctanh_test_downward): Likewise.
77482         (ctanh_test_upward): Likewise.
77483         (main): Call these new functions.
77484         * sysdeps/i386/fpu/libm-test-ulps: Update.
77485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77487 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
77489         * .gitignore: Delete /ports entry.
77491 2012-07-03  Andreas Jaeger  <aj@suse.de>
77493         * po/bg.po: Update from translation team.
77494         * po/cs.po: Likewise.
77495         * po/de.po: Likewise.
77496         * po/hr.po: Likewise.
77497         * po/nl.pl: Likewise.
77498         * po/pl.po: Likewise.
77499         * po/vi.po: Likewise.
77501 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
77503         * Makeconfig [!+link] (+link-before-libc): New variable.
77504         [!+link] (+link-after-libc): Likewise.
77505         [!+link] (+link-tests): Likewise.
77506         [!+link] (+link): Define in terms of $(+link-before-libc) and
77507         $(+link-after-libc).
77508         [!+link-static] (+link-static-before-libc): New variable.
77509         [!+link-static] (+link-static-after-libc): Likewise.
77510         [!+link-static] (+link-static-tests): Likewise.
77511         [!+link-static] (+link-static): Define in terms of
77512         $(+link-static-before-libc) and $(+link-static-after-libc).
77513         [build-shared] (link-libc-before-gnulib): New variable.
77514         [build-shared] (link-libc-tests): Likewise.
77515         [build-shared] (link-libc): Define in terms of
77516         $(link-libc-before-gnulib).
77517         [!build-shared] (link-libc-tests): New variable.
77518         (link-libc-static-tests): New variable.
77519         [!gnulib] (gnulib-arch): New variable.
77520         [!gnulib] (gnulib-tests): Likewise.
77521         [!gnulib] (static-gnulib-arch): Likewise.
77522         [!gnulib] (static-gnulib-tests): Likewise.
77523         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
77524         Define with "=" instead of ":=".
77525         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
77526         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
77527         * Rules (binaries-all-notests): New variable.
77528         (binaries-all-tests): Likewise.
77529         (binaries-static-notests): Likewise.
77530         (binaries-static-tests): Likewise.
77531         (binaries-all): Define using $(binaries-all-notests) and
77532         $(binaries-all-tests).
77533         (binaries-static): Define using $(binaries-static-notests) and
77534         $(binaries-static-tests).
77535         (binaries-shared-tests): New variable.
77536         (binaries-shared-notests): Likewise.
77537         (binaries-shared): Remove variable.
77538         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
77539         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
77540         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
77541         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
77542         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
77543         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
77544         * elf/Makefile (sln-modules): New variable.
77545         (extra-objs): Add $(sln-modules:=.o).
77546         (ldconfig-modules): Add static-stubs.
77547         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
77548         * elf/static-stubs.c: New file.
77550         [BZ #14283]
77551         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
77552         by 7 not 8 to examine high bit of fractional part.  Use volatile
77553         variables when splitting into final array of floats if
77554         __FLT_EVAL_METHOD__ != 0.
77555         * math/libm-test.inc (cos_test): Add another test.
77556         (sin_test): Likewise.
77557         * sysdeps/i386/fpu/libm-test-ulps: Update.
77559         [BZ #14273]
77560         * math/libm-test.inc (cosh_test): Add more tests.
77562         * version.h (RELEASE): Set to "development".
77563         (VERSION): Set to "2.16.90".
77565 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
77567         * NEWS: Update copyright. Remove last-updated date.
77568         Mention math library bug fixes and timezone data changes.
77569         * README: Mention GNU/Hurd, x32, and HPPA support status.
77571 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
77573         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
77575 2012-06-27  Andreas Jaeger  <aj@suse.de>
77577         * manual/contrib.texi (Contributors): Add Samuel Thibault.
77579 2012-06-25  Andreas Jaeger  <aj@suse.de>
77581         * sysdeps/s390/fpu/libm-test-ulps: Update.
77583 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
77584             Thomas Schwinge  <thomas@codesourcery.com>
77586         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
77587         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
77588         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
77589         fanotify_mark.
77591 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
77593         * sysdeps/mach/start.c: Remove file.
77594         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
77595         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
77596         * sysdeps/sh/init-first.c: Likewise.
77598         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
77599         registers for frame unwinding purposes, add CFI directives.
77600         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77601         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
77602         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
77603         Likewise.
77605         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
77606         __fortify_fail returning.
77607         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
77609         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
77610         sysdeps/sh/____longjmp_chk.S.
77611         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
77612         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
77613         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
77614         (gen-as-const-headers): Append sigaltstack-offsets.sym.
77616         * sysdeps/sh/abort-instr.h: New file.
77617         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
77618         process in case exit returns.
77620         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
77621         initialize the GOT register before use.
77623         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
77624         calculation of ARGC > 4.
77626         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
77627         meaningful names to some local labels.
77629 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77630             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77632         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
77633         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
77634         (__arch_compare_and_exchange_val_16_acq): Likewise.
77635         (__arch_compare_and_exchange_val_32_acq): Likewise.
77636         (atomic_exchange_and_add): Fix gUSA sequence.
77637         (atomic_add): Likewise.
77638         (atomic_add_negative): Likewise.
77639         (atomic_add_zero): Likewise.
77640         (atomic_bit_test_set): Likewise.
77642 2012-06-22  Andreas Schwab  <schwab@redhat.com>
77644         [BZ #13579]
77645         * include/link.h (struct link_map): Add l_free_initfini.
77646         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
77647         l_initfini.
77648         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
77649         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
77650         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
77651         set.
77653 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
77655         * configure.in: Use AC_LANG_SOURCE.
77656         * configure: Regenerate.
77658 2012-06-22  Roland McGrath  <roland@hack.frob.com>
77660         * configure.in (libc_cv_localstatedir): New substituted variable.
77661         * configure: Regenerated.
77662         * config.make.in (localstatedir): New variable, substituted from
77663         libc_cv_localstatedir.
77664         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
77665         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
77666         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
77667         * sysdeps/gnu/configure: Regenerated.
77669 2012-06-21  Jeff Law  <law@redhat.com>
77671         [BZ #14277]
77672         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
77673         free.  Simplify list management for _LIBC case.
77675 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
77677         [BZ #14273]
77678         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
77679         Clear sign bit of 64-bit integer value before comparing against
77680         overflow value.
77682         * sysdeps/mach/configure: Regenerated.
77684 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
77686         [BZ #14278]
77687         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
77689 2012-06-21  Jeff Law  <law@redhat.com>
77691         [BZ #13882]
77692         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
77693         uint16_t for elements in the "seen" array to avoid char overflows.
77694         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77695         * elf/dl-open.c (dl_open_worker): Likewise.
77697 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
77699         * scripts/list-sources.sh: Scan PORTS for translations.
77700         * po/libc.pot: Regenerated.
77702 2012-06-21  Andreas Jaeger  <aj@suse.de>
77704         [BZ #12194]
77705         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
77706         warning.
77707         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
77708         * bits/byteswap-16.h (__bswap_16): Likewise.
77709         * bits/byteswap.h (__bswap_constant_16): Likewise.
77711 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
77713         [BZ #14117]
77714         * sysdeps/i386/fpu_control.h: Removed.
77715         * sysdeps/x86_64/fpu_control.h: Moved to ...
77716         * sysdeps/x86/fpu_control.h: Here.
77718         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
77719         (_FPU_SETCW): Likewise.
77721 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
77723         [BZ #14117]
77724         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
77725         * sysdeps/x86/fpu/bits/mathinline.h: This.
77726         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
77728         [BZ #14050]
77729         [BZ #14117]
77730         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
77731         functions if __x86_64__ is defined.
77733 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
77735         * string/endian.h: Add !__ASSEMBLER__ condition for including
77736         conversion interfaces.
77738 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
77740         [BZ #14241]
77741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
77742         of ABS(x) in calculating zero to negative powers other than odd
77743         integers.
77744         * math/libm-test.inc (pow_test): Add more tests.
77746 2012-06-15  Andreas Jaeger  <aj@suse.de>
77748         * manual/contrib.texi (Contributors): Update entry of Liubov
77749         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
77750         Machado Filho.
77752 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
77754         * string/string.h: Add __wur to GNU version of strerror_r.
77756 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
77758         [BZ #14229]
77759         * string/Makefile (tests): Add tst-strtok_r.
77760         * string/tst-strtok_r.c: New file.
77761         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
77762         RAX_LP/RDX_LP on SAVE_PTR.
77764 2012-06-14  Roland McGrath  <roland@hack.frob.com>
77766         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
77768 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
77770         * libm_test.inc (csqrt_test): Allow more spurious underflow
77771         exceptions.
77772         (j0_test): Likewise.
77773         (j1_test): Likewise.
77774         (y0_test): Likewise.
77775         (y1_test): Likewise.
77777 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
77779         * po/Makefile (libc.pot): Use UTF-8 charset.
77781 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
77783         [BZ #14210]
77784         Suppress sign-conversion warning from FD_SET.
77785         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
77786         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
77787         not unsigned long int.
77788         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
77790 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
77792         [BZ #14050]
77793         [BZ #14117]
77794         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77795         __extern_always_inline instead of __extern_inline.
77796         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77797         (__signbit): Likewise.
77798         (__signbitl): Support C++ namespace.
77799         (lrintf): New inline function.
77800         (lrint): Likewise.
77801         (llrintf): Likewise.
77802         (llrint): Likewise.
77803         (fmaxf): Likewise.
77804         (fmax): Likewise.
77805         (fminf): Likewise.
77806         (fmin): Likewise.
77807         (rint): Likewise.
77808         (rintf): Likewise.
77809         (ceil): Likewise.
77810         (ceilf): Likewise.
77811         (floor): Likewise.
77812         (floorf): Likewise.
77813         (nearbyint): Likewise.
77814         (nearbyintf): Likewise.
77816 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77818         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77819         non-default versions.
77821 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77823         [BZ #14218]
77824         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77826 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77828         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77829         (FE_UPWARD, FE_DOWNWARD): Don't define.
77830         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77831         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77833         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77834         reading it.
77835         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77836         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77838 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77840         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77841         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77842         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77843         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77845 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77847         [BZ #14117]
77848         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77849         * sysdeps/i386/fpu/Implies: New file.
77850         * sysdeps/x86_64/fpu/Implies: Likewise.
77851         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77852         * sysdeps/x86/fpu/bits/fenv.h: This.
77854         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77855         __SSE_MATH__.
77857 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77859         [BZ #14134]
77860         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77861         character 0xffff that matches the last element of the
77862         conversion table.
77864 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77866         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77867         fmodl commit.
77869 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77872         values higher than 25.6283.
77874 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77876         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77877         subnormal exponent extraction and add some __builtin_expect.
77878         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77879         Fix for subnormal mantissa calculation.
77881 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77883         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77884         cpu2 is -1 and errno is not ENOSYS.
77886 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77888         [BZ #14117]
77889         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77890         * sysdeps/x86/bits/string.h: This.
77891         * sysdeps/x86_64/bits/string.h: Removed.
77893         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77894         if not compiling for x86-64, but compiling for >= i486.
77896         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77897         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77899         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77900         New macro from Linux kernel 3.4.0.
77901         (FP_XSTATE_MAGIC2): Likewise.
77902         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77903         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77904         (struct _fpx_sw_bytes): New struct.
77905         (struct _xsave_hdr): Likewise.
77906         (struct _ymmh_state): Likewise.
77907         (struct _xstate): Likewise.
77909         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77910         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77911         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77912         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77913         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77914         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77916         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77917         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77918         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77919         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77920         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77921         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77923 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77925         [BZ #13743]
77926         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77927         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77928         (sysdep_headers): Include sys/platform/ppc.h.
77929         * sysdeps/powerpc/test-gettimebase.c: Test for
77930         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77931         * manual/Makefile (appendices): Include platform.texi.
77932         * manual/contrib.texi (Contributors): Update @node pointers.
77933         * manual/maint.texi (Maintenance): Likewise.
77934         (Platform): New node.
77935         * manual/platform.texi: New file.  Document the new features.
77937 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77938             Jakub Jelinek  <jakub@redhat.com>
77940         [BZ #14188]
77941         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77942         where __builtin_expect is unavailable.
77944 2012-06-03  David S. Miller  <davem@davemloft.net>
77946         * stdlib/longlong.h: Updated from GCC.
77948 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77950         [BZ #14042]
77951         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77952         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77953         __mcount_internal.
77954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77955         (GLIBC_2.16): Likewise.
77957 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77959         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77961 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77964         (default-abi): New variable.
77965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77966         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77967         variable.
77968         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77969         Likewise.
77970         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77971         Likewise.
77972         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77973         Likewise.
77975         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77976         definition.  Document in comment.
77978 2012-06-01  David S. Miller  <davem@davemloft.net>
77980         * stdlib/longlong.h: Updated from GCC.
77982 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77984         [BZ #14117]
77985         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77986         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77987         sys/debugreg.h sys/io.h here.
77988         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77989         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77990         sys/io.h.
77991         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77992         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77993         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77994         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77995         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77996         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77998         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77999         Define only if __x86_64__ is defined.
78001 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78003         [BZ #14048]
78004         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78005         Use int64_t for variable i.
78006         * math/libm-test.inc (fmod_test): Add more tests.
78008         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78009         z computation is not scheduled after fetestexcept.
78010         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78011         Use math_force_eval instead of asm to ensure calculation scheduled
78012         before exception test.
78013         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78014         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78016 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78018         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78019         computation is not scheduled after fetestexcept.
78021 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78023         [BZ #14117]
78024         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78025         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78027 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78029         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78030         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78032 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78034         [BZ #14117]
78035         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78036         <bits/wordsize.h>.
78037         (__WCHAR_MIN): Support __WORDSIZE == 64.
78038         (__WCHAR_MAX): Likewise.
78040         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78041         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78043         [BZ #14183]
78044         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78045         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78047         [BZ #14117]
78048         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78049         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78051         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78052         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78054         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78055         Defined to 1 if __x86_64__ isn't defined.
78056         (_STAT_VER_LINUX_OLD): New.
78057         (st_atime): Remove duplicate.
78058         (st_mtime): Likewise.
78059         (st_ctime): Likewise.
78061 2012-05-31  David S. Miller  <davem@davemloft.net>
78063         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78064         entries.
78066 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78068         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78069         gen-libm-test.pl.
78071         [BZ #14132]
78072         * elf/dl-reloc.c: Include <_itoa.h>.
78073         (_dl_reloc_bad_type): Remove use of INTUSE.
78074         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78075         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78076         * stdio-common/psiginfo.c (psiginfo): Likewise.
78077         * stdio-common/psignal.c (psignal): Likewise.
78078         * string/strsignal.c (strsignal): Likewise.
78079         * include/signal.h (_sys_siglist): Declare hidden proto.
78080         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78081         INTVARDEF with libc_hidden_data_def.
78082         * stdio-common/itoa-udigits.c: Likewise.
78083         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78084         (_itoa_lower_digits_internal): Remove declaration.
78085         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78086         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78087         (_sys_sigabbrev_internal): Remove aliases.
78088         (_sys_siglist): Define hidden alias.
78090 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78093         bits/sysctl.h.
78095 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78097         [BZ #14117]
78098         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78099         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78101         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78102         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78103         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78104         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78105         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78106         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78108         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78109         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78110         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78112         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78113         with __addr.
78114         (insw): Likewise.
78115         (insl): Likewise.
78116         (outsb): Likewise.
78117         (outsw): Likewise.
78118         (outsl): Likewise.
78120         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78121         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78122         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78124         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78125         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78126         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78127         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78128         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78129         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78131         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78132         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78134         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78135         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78137         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78138         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78139         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78141         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78142         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78143         to ...
78144         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78146         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78147         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78148         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78150         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78151         for x86-64.
78152         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78154 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78156         * math/math.h (M_El): Use two more decimal places.
78157         (M_LOG2El): Likewise.
78158         (M_LOG10El): Likewise.
78159         (M_LN2l): Likewise.
78160         (M_LN10l): Likewise.
78161         (M_PIl): Likewise.
78162         (M_PI_2l): Likewise.
78163         (M_PI_4l): Likewise.
78164         (M_1_PIl): Likewise.
78165         (M_2_PIl): Likewise.
78166         (M_2_SQRTPIl): Likewise.
78167         (M_SQRT2l): Likewise.
78168         (M_SQRT1_2l): Likewise.
78170 2012-05-31  David S. Miller  <davem@davemloft.net>
78172         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78173         values between float registers.
78174         * sysdeps/sparc/sparc64/memset.S: Likewise.
78175         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78177 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78179         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78180         -D_FORTIFY_SOURCE=1.
78181         (CPPFLAGS-tst-longjmp_chk.c): Define.
78182         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78183         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78184         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78185         CFLAGS-tst-wchar-h.c.
78187 2012-05-31  Marek Polacek  <polacek@redhat.com>
78189         [BZ #14132]
78190         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78191         __endmntent_internal): Remove declaration.
78192         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78193         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78194         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78196 2012-05-30  David S. Miller  <davem@davemloft.net>
78198         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78199         (___Q_simulate_exceptions): Use real FP ops rather than writing
78200         into the %fsr.
78201         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78202         Likewise.
78204 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78206         [BZ #14117]
78207         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78208         * sysdeps/x86/bits/xtitypes.h: This.
78210         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78211         * sysdeps/x86/bits/wordsize.h: This.
78213         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78214         * sysdeps/x86/bits/huge_vall.h: This.
78216         * sysdeps/i386/bits/select.h: Removed.
78217         * sysdeps/x86_64/bits/select.h: Renamed to ...
78218         * sysdeps/x86/bits/select.h: This.
78220         * sysdeps/i386/bits/setjmp.h: Removed.
78221         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78222         * sysdeps/x86/bits/setjmp.h: This.
78224         * sysdeps/i386/bits/mathdef.h: Removed.
78225         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78226         * sysdeps/x86/bits/mathdef.h: This.
78228 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78230         [BZ #14132]
78231         * include/sys/socket.h (__connect_internal)
78232         (__libc_sa_len_internal): Remove declaration.
78233         (__connect, __libc_sa_len): Declare hidden_proto.
78234         (SA_LEN): Remove use of INTUSE.
78235         * socket/connect.c: Add libc_hidden_def.
78236         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78237         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78238         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78239         alias.
78240         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78241         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78242         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78243         of adding _internal alias.
78245 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78247         [BZ #14117]
78248         * sysdeps/i386/bits/link.h: Removed.
78249         * sysdeps/i386/bits/linkmap.h: Likewise.
78250         * sysdeps/x86_64/bits/link.h: Renamed to ...
78251         * sysdeps/x86/bits/link.h: This.
78252         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78253         * sysdeps/x86/bits/linkmap.h: This.
78255         * sysdeps/i386/bits/endian.h: Removed.
78256         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78257         * sysdeps/x86/bits/endian.h: This.
78259         * sysdeps/i386/bits/byteswap.h: Removed.
78260         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78261         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78262         * sysdeps/x86/bits/byteswap.h: This.
78263         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78264         * sysdeps/x86/bits/byteswap-16.h: This.
78265         * sysdeps/i386/Implies: Add x86.
78266         * sysdeps/x86_64/Implies: Likewise.
78268 2012-05-30  David S. Miller  <davem@davemloft.net>
78270         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78271         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78272         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78273         (FP_TRAPPING_EXCEPTIONS): Define.
78274         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78275         (FP_TRAPPING_EXCEPTIONS): Define.
78276         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78277         subnormals only when inexact has been signalled or underflow
78278         exceptions are enabled.
78279         (_FP_PACK_CANONICAL): Likewise.
78281 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78283         [BZ #14183]
78284         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78285         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78287 2012-05-30  Richard Henderson  <rth@twiddle.net>
78289         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78290         with #ifndef NOT_IN_libc.
78292         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78293         marked to avoid plt entry.
78295 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78297         [BZ #14112]
78298         * Makeconfig (default-abi): New macro.
78299         (abi-includes): Likewise.
78300         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78301         $(abi-$(default-abi)-lib-soname) for soname if defined.
78302         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78303         abi-variants.
78304         * Makefile (installed-stubs): Likewise.
78305         * include/stubs-biarch.h: Removed.
78306         * scripts/lib-names.awk: Only handle one library at a time.
78307         * scripts/soversions.awk: Remove WORDSIZE support.
78308         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78309         entries.
78310         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78311         Removed.
78312         (syscall-list-default-condition): Likewise.
78313         (syscall-list-default-condition): Likewise.
78314         (syscall-list-includes): Likewise.
78315         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78316         syscall-list-* with abi-*.  Handle undefined abi-variants.
78317         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78318         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78319         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78320         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78321         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78322         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78323         Removed.
78324         (syscall-list-32-options): Likewise.
78325         (syscall-list-32-condition): Likewise.
78326         (syscall-list-64-options): Likewise.
78327         (syscall-list-64-condition): Likewise.
78328         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78329         macro.
78330         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
78331         Renamed to ...
78332         (abi-*): This.
78333         (abi-64-ld-soname): New macro.
78334         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
78335         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
78336         Renamed to ...
78337         (abi-*): This.
78338         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
78339         * sysdeps/x86_64/x32/shlib-versions: Likewise.
78341 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
78343         * sysdeps/unix/sysv/linux/kernel-features.h
78344         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
78345         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
78346         include <kernel-features.h>.
78347         [!__NR_ftruncate64]: Remove conditional code.
78348         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78349         [__NR_ftruncate64]: Make code unconditional.
78350         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78351         * sysdeps/unix/sysv/linux/truncate64.c: Do not
78352         include <kernel-features.h>.
78353         [!__NR_ftruncate64]: Remove conditional code.
78354         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78355         [__NR_ftruncate64]: Make code unconditional.
78356         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
78358         include <kernel-features.h>.
78359         [!__NR_ftruncate64]: Remove conditional code.
78360         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78361         [__NR_ftruncate64]: Make code unconditional.
78362         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
78364         include <kernel-features.h>.
78365         [!__NR_ftruncate64]: Remove conditional code.
78366         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78367         [__NR_ftruncate64]: Make code unconditional.
78368         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
78370         * configure.in (libc_cv_fpie): Weaken to a compile test using
78371         LIBC_TRY_CC_OPTION.
78372         * configure: Regenerated.
78374 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
78377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
78378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
78379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78380         Refreshed.
78381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
78382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
78383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
78384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
78385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
78386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78387         Refreshed.
78389 2012-05-27  David S. Miller  <davem@davemloft.net>
78391         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
78392         (___Q_zero): New.
78393         (__Q_simulate_exceptions): Return void.  Change to simulate
78394         exceptions by writing into the %fsr.
78395         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
78396         (__Qp_handle_exceptions): Likewise.
78397         (numbers): Delete.
78398         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
78399         __Qp_handle_exceptions.
78400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
78401         __Qp_handle_exceptions.
78402         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78403         as unused and give dummy FP_RND_NEAREST initializer.
78404         (FP_INHIBIT_RESULTS): Define.
78405         (___Q_simulate_exceptions): Update declaration.
78406         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
78407         formatting.
78408         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
78409         as unused and give dummy FP_RND_NEAREST initializer.
78410         (__Qp_handle_exceptions): Update declaration.
78411         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
78412         formatting.
78414 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
78416         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
78417         the temporary FPU control word.
78418         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
78419         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
78420         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
78421         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78422         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
78423         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
78424         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
78425         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78426         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
78427         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
78428         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78430 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78432         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
78433         fields.
78435 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
78437         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
78438         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
78439         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
78440         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
78441         Likewise.
78442         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
78443         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
78444         Likewise.
78446 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
78448         * po/h.po: Update from translation team.
78450 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
78452         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
78454         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
78455         handling of denormals.
78456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
78457         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
78458         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
78459         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
78460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
78461         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
78462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
78463         Likewise.
78465 2012-05-26  Marek Polacek  <polacek@redhat.com>
78467         [BZ #14152]
78468         * math/libm-test.inc (fma_test): Don't always expect underflow
78469         exception.
78471 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78473         [BZ #12416]
78474         * elf/tst-execstack.c: Include stackinfo.h.
78475         (do_test): Adjust test case to ensure that pthread_getattr_np
78476         behaviour remains the same after marking stack executable.
78478 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78480         * sysdeps/unix/sysv/linux/kernel-features.h
78481         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
78482         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
78483         kernel-features.h.
78484         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78485         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78486         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
78487         kernel-features.h.
78488         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
78489         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
78491 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
78493         * configure.in: Define the default includes to being none.
78494         * configure: Regenerated.
78496 2012-05-25  Roland McGrath  <roland@hack.frob.com>
78498         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
78499         * sysdeps/x86_64/setjmp.S: Likewise.
78500         * sysdeps/i386/bsd-setjmp.S: Likewise.
78501         * sysdeps/i386/bsd-_setjmp.S: Likewise.
78502         * sysdeps/i386/setjmp.S: Likewise.
78503         * sysdeps/i386/__longjmp.S: Likewise.
78504         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78505         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
78507         * include/stap-probe.h: New file.
78508         * configure.in: Handle --enable-systemtap.
78509         * configure: Regenerated.
78510         * config.h.in (USE_STAP_PROBE): New #undef.
78511         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
78512         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
78513         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
78515 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
78517         [BZ #13717]
78518         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
78519         to 2.4.0 where earlier.
78520         * sysdeps/unix/sysv/linux/configure: Regenerated.
78521         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
78522         <kernel-features.h>.
78523         [__ASSUME_32BITUIDS]: Make code unconditional.
78524         [!__ASSUME_32BITUIDS]: Remove conditional code.
78525         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
78526         <kernel-features.h>.
78527         [__ASSUME_32BITUIDS]: Make code unconditional.
78528         [!__ASSUME_32BITUIDS]: Remove conditional code.
78529         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
78530         [__ASSUME_32BITUIDS]: Make code unconditional.
78531         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
78532         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
78533         <kernel-features.h>.
78534         [__ASSUME_32BITUIDS]: Make code unconditional.
78535         [!__ASSUME_32BITUIDS]: Remove conditional code.
78536         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
78537         <kernel-features.h>.
78538         [__ASSUME_32BITUIDS]: Make code unconditional.
78539         [!__ASSUME_32BITUIDS]: Remove conditional code.
78540         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
78541         <kernel-features.h>.
78542         [__ASSUME_32BITUIDS]: Make code unconditional.
78543         [!__ASSUME_32BITUIDS]: Remove conditional code.
78544         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
78545         <kernel-features.h>.
78546         [__ASSUME_32BITUIDS]: Make code unconditional.
78547         [!__ASSUME_32BITUIDS]: Remove conditional code.
78548         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
78549         <kernel-features.h>.
78550         [__ASSUME_32BITUIDS]: Make code unconditional.
78551         [!__ASSUME_32BITUIDS]: Remove conditional code.
78552         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
78553         <kernel-features.h>.
78554         [__ASSUME_32BITUIDS]: Make code unconditional.
78555         [!__ASSUME_32BITUIDS]: Remove conditional code.
78556         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
78573         <kernel-features.h>.
78574         [__NR_setresgid] (__setresgid): Do not declare.
78575         [__ASSUME_32BITUIDS]: Make code unconditional.
78576         [!__ASSUME_32BITUIDS]: Remove conditional code.
78577         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
78578         <kernel-features.h>.
78579         [__NR_setresuid] (__setresuid): Do not declare.
78580         [__ASSUME_32BITUIDS]: Make code unconditional.
78581         [!__ASSUME_32BITUIDS]: Remove conditional code.
78582         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
78583         <kernel-features.h>.
78584         [__ASSUME_32BITUIDS]: Make code unconditional.
78585         [!__ASSUME_32BITUIDS]: Remove conditional code.
78586         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
78587         <kernel-features.h>.
78588         [__ASSUME_32BITUIDS]: Make code unconditional.
78589         [!__ASSUME_32BITUIDS]: Remove conditional code.
78590         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
78591         <kernel-features.h>.
78592         [__ASSUME_32BITUIDS]: Make code unconditional.
78593         [!__ASSUME_32BITUIDS]: Remove conditional code.
78594         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
78595         <kernel-features.h>.
78596         [__ASSUME_32BITUIDS]: Make code unconditional.
78597         [!__ASSUME_32BITUIDS]: Remove conditional code.
78598         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
78599         <kernel-features.h>.
78600         [__ASSUME_32BITUIDS]: Make code unconditional.
78601         [!__ASSUME_32BITUIDS]: Remove conditional code.
78602         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
78603         <kernel-features.h>.
78604         [__ASSUME_32BITUIDS]: Make code unconditional.
78605         [!__ASSUME_32BITUIDS]: Remove conditional code.
78606         * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
78623         (__ASSUME_SETRESUID_SYSCALL): Remove.
78624         (__ASSUME_SETRESGID_SYSCALL): Likewise.
78625         (__ASSUME_32BITUIDS): Likewise.
78626         (__ASSUME_LDT_WORKS): Likewise.
78627         (__ASSUME_O_DIRECTORY): Likewise.
78628         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
78629         architecture but not kernel version.
78630         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
78631         (__ASSUME_MMAP2_SYSCALL): Likewise.
78632         (__ASSUME_STAT64_SYSCALL): Likewise.
78633         (__ASSUME_IPC64): Likewise.
78634         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
78635         <kernel-features.h>.
78636         [__ASSUME_32BITUIDS]: Make code unconditional.
78637         [!__ASSUME_32BITUIDS]: Remove conditional code.
78638         * sysdeps/unix/sysv/linux/opendir.c: Do not include
78639         <kernel-features.h>.
78640         [__ASSUME_O_DIRECTORY]: Make code unconditional.
78641         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
78642         132096]: Remove conditional code.
78643         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
78644         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
78645         <kernel-features.h>.
78646         [__ASSUME_32BITUIDS]: Make code unconditional.
78647         [!__ASSUME_32BITUIDS]: Remove conditional code.
78648         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
78649         <kernel-features.h>.
78650         [__ASSUME_32BITUIDS]: Make code unconditional.
78651         [!__ASSUME_32BITUIDS]: Remove conditional code.
78652         * sysdeps/unix/sysv/linux/setegid.c: Do not include
78653         <kernel-features.h>.
78654         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
78655         unconditional.
78656         (__setresgid): Do not declare.
78657         [__ASSUME_32BITUIDS]: Make code unconditional.
78658         [!__ASSUME_32BITUIDS]: Remove conditional code.
78659         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
78660         <kernel-features.h>.
78661         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
78662         unconditional.
78663         (__setresuid): Do not declare.
78664         [__ASSUME_32BITUIDS]: Make code unconditional.
78665         [!__ASSUME_32BITUIDS]: Remove conditional code.
78666         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
78667         <kernel-features.h>.
78668         [__ASSUME_32BITUIDS]: Make code unconditional.
78669         [!__ASSUME_32BITUIDS]: Remove conditional code.
78670         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
78671         <kernel-features.h>.
78672         [__ASSUME_32BITUIDS]: Make code unconditional.
78673         [!__ASSUME_32BITUIDS]: Remove conditional code.
78675 2012-05-25  Richard Henderson  <rth@twiddle.net>
78677         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
78678         dl_hwcap to ifunc resolver.
78679         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
78680         elf_ifunc_invoke.
78681         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
78682         dl_hwcap to ifunc resolver.
78683         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
78685 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78687         [BZ #14153]
78688         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
78689         for |x| <= 2**-26, not 2**-57.
78690         * math/libm-test.inc (acos_test): Do not allow spurious underflow
78691         exception.
78693 2012-05-24  Jeff Law  <law@redhat.com>
78695         * stdio-common/Makefile (tests): Add bug25.
78696         * stdio-common/bug25.c: New test.
78698 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78700         [BZ #13576]
78701         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
78702         multiple of MALLOC_ALIGNMENT in size.
78703         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
78705 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78707         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
78708         Require >= 256.
78709         (FILENAME_MAX): Use macro-int-constant.
78710         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
78711         (_IOFBF): Use macro-int-constant.
78712         (_IOLBF): Likewise.
78713         (_IONBF): Likewise.
78714         (SEEK_CUR): Likewise.
78715         (SEEK_END): Likewise.
78716         (SEEK_SET): Likewise.
78717         (TMP_MAX): Likewise.
78718         (EOF): Use macro-int-constant.  Require < 0.
78719         (NULL): Use macro-constant.  Require == 0.
78720         (stdin): Require type to be FILE *.
78721         (stdout): Likewise.
78722         (stderr): Likewise.
78723         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
78724         macro-int-constant.
78725         (EXIT_SUCCESS): Likewise.
78726         (NULL): Use macro-constant.  Require == 0.
78727         (RAND_MAX): Use macro-int-constant.
78728         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
78729         [C99-based standards] (strtof): Require function.
78730         [C99-based standards] (strtold): Likewise.
78731         [C99-based standards] (strtoll): Likewise.
78732         [C99-based standards] (strtoull): Likewise.
78733         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78734         [ISO || ISO99 || ISO11] (limits.h): Likewise.
78735         [ISO || ISO99 || ISO11] (math.h): Likewise.
78736         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
78737         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78740 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
78742         [BZ #14132]
78743         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
78744         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
78745         * intl/dgettext.c (DCGETTEXT): Likewise.
78746         * intl/gettext.c (DCGETTEXT): Likewise.
78747         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
78748         * posix/regex_internal.h (gettext): Likewise.
78749         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
78750         Remove declaration.
78751         * include/argz.h (__argz_count_internal)
78752         (__argz_stringify_internal): Remove declaration.
78753         (__argz_count, __argz_stringify): Declare hidden proto.
78754         * intl/dcgettext.c: Remove use of INTDEF.
78755         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
78756         * string/argz-stringify.c: Likewise.
78757         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78758         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78759         Declare hidden proto.
78760         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
78761         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
78762         Declare hidden proto.
78763         * include/stdio.h (__asprintf_internal): Don't declare.
78764         (__asprintf): Don't define as macro.  Declare hidden proto.
78765         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
78766         (__fsetlocking): Declare hidden proto.
78767         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
78768         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
78769         hidden proto.
78770         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
78771         (_IO_setlinebuf): Remove use of INTUSE.
78772         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
78773         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
78774         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
78775         Remove declaration.
78776         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
78777         (_IO_do_flush): Remove use of INTUSE.
78778         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
78779         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
78780         (_IO_adjust_column, _IO_least_wmarker)
78781         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
78782         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
78783         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
78784         (_IO_default_doallocate, _IO_wdefault_doallocate)
78785         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
78786         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
78787         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
78788         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
78789         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
78790         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
78791         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
78792         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
78793         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
78794         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78795         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78796         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78797         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78798         proto.
78799         (_IO_flush_all_internal, _IO_adjust_column_internal)
78800         (_IO_default_uflow_internal, _IO_default_finish_internal)
78801         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78802         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78803         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78804         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78805         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78806         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78807         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78808         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78809         (_IO_file_close_internal, _IO_file_close_it_internal)
78810         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78811         (_IO_file_init_internal, _IO_file_attach_internal)
78812         (_IO_file_fopen_internal, _IO_file_read_internal)
78813         (_IO_file_sync_internal, _IO_file_seek_internal)
78814         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78815         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78816         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78817         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78818         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78819         (_IO_list_all_internal, _IO_link_in_internal)
78820         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78821         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78822         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78823         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78824         (_IO_do_write_internal, _IO_padn_internal)
78825         (_IO_getline_info_internal, _IO_getline_internal)
78826         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78827         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78828         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78829         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78830         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78831         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78832         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78833         with libc_hidden_ver, remove use of INTUSE.
78834         * libio/genops.c: Likewise.
78835         * libio/freopen.c: Likewise.
78836         * libio/freopen64.c: Likewise.
78837         * libio/iofclose.c: Likewise.
78838         * libio/iofdopen.c: Likewise.
78839         * libio/iofflush.c: Likewise.
78840         * libio/iofflush_u.c: Likewise.
78841         * libio/iofgets.c: Likewise.
78842         * libio/iofgets_u.c: Likewise.
78843         * libio/iofopen.c: Likewise.
78844         * libio/iofopncook.c: Likewise.
78845         * libio/iofread.c: Likewise.
78846         * libio/iofread_u.c: Likewise.
78847         * libio/ioftell.c: Likewise.
78848         * libio/iofwrite.c: Likewise.
78849         * libio/iogetline.c: Likewise.
78850         * libio/iogets.c: Likewise.
78851         * libio/iogetwline.c: Likewise.
78852         * libio/iopadn.c: Likewise.
78853         * libio/iopopen.c: Likewise.
78854         * libio/ioseekoff.c: Likewise.
78855         * libio/ioseekpos.c: Likewise.
78856         * libio/iosetbuffer.c: Likewise.
78857         * libio/iosetvbuf.c: Likewise.
78858         * libio/ioungetc.c: Likewise.
78859         * libio/ioungetwc.c: Likewise.
78860         * libio/iovdprintf.c: Likewise.
78861         * libio/iovsprintf.c: Likewise.
78862         * libio/iovsscanf.c: Likewise.
78863         * libio/memstream.c: Likewise.
78864         * libio/obprintf.c: Likewise.
78865         * libio/oldfileops.c: Likewise.
78866         * libio/oldiofclose.c: Likewise.
78867         * libio/oldiofdopen.c: Likewise.
78868         * libio/oldiofopen.c: Likewise.
78869         * libio/oldiopopen.c: Likewise.
78870         * libio/oldstdfiles.c: Likewise.
78871         * libio/putc.c: Likewise.
78872         * libio/setbuf.c: Likewise.
78873         * libio/setlinebuf.c: Likewise.
78874         * libio/stdfiles.c: Likewise.
78875         * libio/strops.c: Likewise.
78876         * libio/vasprintf.c: Likewise.
78877         * libio/vscanf.c: Likewise.
78878         * libio/vsnprintf.c: Likewise.
78879         * libio/vswprintf.c: Likewise.
78880         * libio/wfiledoalloc.c: Likewise.
78881         * libio/wfileops.c: Likewise.
78882         * libio/wgenops.c: Likewise.
78883         * libio/wmemstream.c: Likewise.
78884         * libio/wstrops.c: Likewise.
78885         * libio/__fpurge.c: Likewise.
78886         * libio/__fsetlocking.c: Likewise.
78887         * assert/assert.c: Likewise.
78888         * debug/fgets_chk.c: Likewise.
78889         * debug/fgets_u_chk.c: Likewise.
78890         * debug/fread_chk.c: Likewise.
78891         * debug/fread_u_chk.c: Likewise.
78892         * debug/gets_chk.c: Likewise.
78893         * debug/obprintf_chk.c: Likewise.
78894         * debug/vasprintf_chk.c: Likewise.
78895         * debug/vdprintf_chk.c: Likewise.
78896         * debug/vsnprintf_chk.c: Likewise.
78897         * debug/vsprintf_chk.c: Likewise.
78898         * malloc/mtrace.c: Likewise.
78899         * misc/error.c: Likewise.
78900         * misc/syslog.c: Likewise.
78901         * stdio-common/asprintf.c: Likewise.
78902         * stdio-common/fxprintf.c: Likewise.
78903         * stdio-common/getw.c: Likewise.
78904         * stdio-common/isoc99_fscanf.c: Likewise.
78905         * stdio-common/isoc99_scanf.c: Likewise.
78906         * stdio-common/isoc99_vfscanf.c: Likewise.
78907         * stdio-common/isoc99_vscanf.c: Likewise.
78908         * stdio-common/isoc99_vsscanf.c: Likewise.
78909         * stdio-common/printf-prs.c: Likewise.
78910         * stdio-common/printf_fp.c: Likewise.
78911         * stdio-common/printf_fphex.c: Likewise.
78912         * stdio-common/printf_size.c: Likewise.
78913         * stdio-common/putw.c: Likewise.
78914         * stdio-common/scanf.c: Likewise.
78915         * stdio-common/sprintf.c: Likewise.
78916         * stdio-common/tmpfile.c: Likewise.
78917         * stdio-common/vfprintf.c: Likewise.
78918         * stdio-common/vfscanf.c: Likewise.
78919         * stdlib/strfmon_l.c: Likewise.
78920         * sunrpc/openchild.c: Likewise.
78921         * sunrpc/xdr_stdio.c: Likewise.
78922         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78923         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78925 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78927         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78929         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78930         in the third column, to generate for the shared library an IFUNC
78931         that uses _dl_vdso_vsym.
78932         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78933         * Makeconfig (object-suffixes-noshared): New variable.
78935         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78936         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78937         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78938         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78940         [BZ #14132]
78941         * include/sys/time.h (__gettimeofday): Remove macro.
78942         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78943         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78944         Remove INTDEF.
78945         (__gettimeofday): Add libc_hidden_def.
78946         (gettimeofday): Add libc_hidden_weak.
78947         * sysdeps/mach/gettimeofday.c: Likewise.
78948         * sysdeps/posix/gettimeofday.c: Likewise.
78949         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78950         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78951         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78952         (__gettimeofday_internal): Remove strong_alias.
78953         (__gettimeofday): Add libc_hidden_def.
78954         (gettimeofday): Add libc_hidden_weak.
78955         * sysdeps/unix/syscalls.list (gettimeofday):
78956         Remove __gettimeofday_internal alias.
78958 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78959             H.J. Lu  <hongjiu.lu@intel.com>
78961         [BZ #12495]
78962         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78963         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78964         (largebin_index_32_big): New.
78965         (largebin_index): Use it for 16-byte alignment.
78966         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78967         correction with front_misalign.
78969 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78973         Likewise.
78974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78975         Likewise.
78976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78977         Likewise.
78978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78979         Likewise.
78980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78981         Likewise.
78982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78983         Likewise.
78984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78985         Likewise.
78986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78987         Likewise.
78988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78989         Likewise.
78990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78991         Likewise.
78992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78993         Likewise.
78994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78995         Likewise.
78997         * scripts/data/c++-types-x32-linux-gnu.data: New file.
78998         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79000 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79002         [BZ #10846]
79003         [BZ #14036]
79004         * math/libm-test.inc (exp_test): Add test from bug 14036.
79005         (pow_test): Add test from bug 10846.
79007         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79008         and other flags.
79009         (special_function): Do not include flags in test name.
79010         (parse_args): Likewise.
79011         * sysdeps/i386/fpu/libm-test-ulps: Update.
79012         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79013         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79014         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79017         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79018         exceptions.
79019         * math/libm-test.inc ("Philosophy"): Update comment about
79020         exception testing.
79021         (UNDERFLOW_EXCEPTION): New macro.
79022         (UNDERFLOW_EXCEPTION_OK): Likewise.
79023         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79024         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79025         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79026         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79027         (INVALID_EXCEPTION_OK): Update value.
79028         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79029         (OVERFLOW_EXCEPTION_OK): Likewise.
79030         (IGNORE_ZERO_INF_SIGN): Likewise.
79031         (test_exceptions): Handle underflow exceptions.
79032         (acos_test): Update for underflow exception expectations.
79033         (cexp_test): Likewise.
79034         (clog_test): Likewise.
79035         (clog10_test): Likewise.
79036         (csqrt_test): Likewise.
79037         (ctan_test): Likewise.
79038         (ctanh_test): Likewise.
79039         (exp_test): Likewise.
79040         (exp10_test): Likewise.
79041         (exp2_test): Likewise.
79042         (expm1_test): Likewise.
79043         (fma_test): Likewise.
79044         (j0_test): Likewise.
79045         (jn_test): Likewise.
79046         (nexttoward_test): Likewise.
79047         (pow_test): Likewise.
79048         (scalbn_test): Likewise.
79049         (scalbln_test): Likewise.
79050         (tan_test): Likewise.
79051         (y1_test): Likewise.
79052         * sysdeps/i386/fpu/libm-test-ulps: Update.
79053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79055 2012-05-23  David S. Miller  <davem@davemloft.net>
79057         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79058         (__libc_sigaction): Remove unused local variables.
79060 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79062         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79064 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79066         mktime: avoid signed integer overflow
79067         * time/mktime.c (__mktime_internal): Do not mishandle the case
79068         where diff == INT_MIN.
79070         mktime: simplify computation of average
79071         * time/mktime.c (ranged_convert): Use new time_t_avg function
79072         instead of rolling our own (probably-slower) code.
79074         mktime: do not assume signed right shift propagates sign bit
79075         * time/mktime.c (isdst_differ): New static function.
79076         (__mktime_internal): No need to normalize tm_isdst now.
79077         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79078         tm_isdst values.
79080         mktime: merge another wrapv change from gnulib
79081         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79082         from some compilers.
79084         mktime: remove incorrect attempt at unusual arithmetics
79085         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79086         The code didn't really work on such machines anyway.
79087         (TYPE_MINIMUM): Assume two's complement.
79088         (twos_complement_arithmetic): Verify that long_int and time_t
79089         are two's complement (or unsigned, in the latter case).
79091         mktime: check signed shifts on long_int and time_t, too
79092         * time/mktime.c (SHR): Check that shifts work as desired
79093         on the types long_int and time_t too, as SHR is used on
79094         such types.
79096         mktime: do not assume 'long' is wide enough
79097         * time/mktime.c (verify): Move decl up.
79098         (long_int): New type.
79099         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79100         to remove assumption in the code that 'long' is wide enough to
79101         store year values.  This assumption is not true on x32 and on
79102         some non-glibc platforms.
79104         mktime: merge wrapv change from gnulib
79105         * time/mktime.c (WRAPV): New macro.
79106         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79107         (guess_time_tm, __mktime_internal): Do not assume that signed
79108         integer overflow wraps around; modern compilers generate code
79109         where this assumption is no longer valid.
79111 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79113         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79114         Replace "jmp L(pseudo_end)" with "ret".
79115         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79116         Likewise.
79118 2012-05-23  Andreas Jaeger  <aj@suse.de>
79120         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79121         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79123 2012-05-23  Andreas Jaeger  <aj@suse.de>
79124             Maximilian Attems  <max@stro.at>
79126         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79127         New macros.
79129 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79131         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79132         code so that pseudo_end is just ret and the stack pointer is
79133         correct also for static library in error case.
79135 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79137         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79138         move to syscalls.list.
79139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79144         * manual/install.texi (Running make install): Do not mention Linux
79145         kernel version for which pt_chown is not needed.
79146         (Linux): Do not mention problems with nscd with 2.0 kernels.
79147         * INSTALL: Regenerated.
79149 2012-05-23  Andreas Jaeger  <aj@suse.de>
79151         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79152         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79153         macro.
79154         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79155         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79156         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79157         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79158         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79159         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79160         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79161         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79162         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79163         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79164         * sysdeps/unix/sysv/linux/bits/in.h
79165         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79167 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79169         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79170         (PREPARE_VERSION): Just use assert instead, it will be elided
79171         under [NDEBUG] anyway.
79173 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79175         * sysdeps/unix/sysv/linux/Makefile: Include
79176         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79177         (sysdep_routines): Remove sysctl.
79178         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79179         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79180         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79181         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79182         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79184 2012-05-22  Andreas Jaeger  <aj@suse.de>
79186         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79187         that pseudo_end is just ret and the stack pointer is correct also
79188         for static library in error case.
79190 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79192         [BZ #14122]
79193         * nss/nsswitch.c (defconfig_entries): New variable.
79194         (__nss_database_lookup): Don't leak defconfig entries.
79195         (nss_parse_service_list): Don't leak on error paths.
79196         (free_database_entries): New function.
79197         (free_defconfig): New function.
79198         (free_mem): Move common code to free_database_entries.
79200 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79202         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79203         Add arch_prctl.
79204         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79206         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79207         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79209         New macro.
79210         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79211         (INTERNAL_SYSCALL_TYPES): Likewise.
79212         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79213         (LOAD_REGS_TYPES_[1-6]): Likewise.
79214         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79215         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79217 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79219         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79220         copysignl for GLIBC_2_0.
79221         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79222         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79224         logbl for GLIBC_2_0.
79225         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79226         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79228 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79230         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79231         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79233         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79234         Use "neg %eax".
79236         * time/mktime.c: Update copyright years.
79238 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79240         mktime: merge comment-quoting-style change from gnulib
79241         * time/mktime.c: Quote 'like this' in comments.
79242         The GNU coding standards suggest that we no longer quote `like this',
79243         as "`" and "'" are typically rendered asymmetrically nowadays.
79244         The typical gnulib style is to quote 'like this' when quoting
79245         code, and "like this" when quoting English.
79247         * time/mktime.c (compile-command): Add "-I.".
79249         mktime: merge mktime-internal.h change from gnulib
79250         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79252         mktime: merge time_r change from gnulib
79253         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79255         mktime: merge DEBUG change from gnulib
79256         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79257         case system <time.h> has a #define.
79259         mktime: merge <sys/types.h> change from gnulib
79260         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79261         since <time.t> is now guaranteed to define time_t.
79263         mktime: merge HAVE_CONFIG_H change from gnulib
79264         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79266 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79268         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79269         Use "neg %eax".
79271         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79272         __rlim_t cast.
79273         (struct rusage): Use anonymous union to pad each field to
79274         __syscall_slong_t.
79276 2012-05-21  David S. Miller  <davem@davemloft.net>
79278         * Makefules (o-iterator): Remove .s cases.
79279         (compile-command.s): Delete.
79280         (COMPILE.s): Delete.
79281         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79283 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79285         * configure.in (libc_cv_predef_stack_protector): Only consider
79286         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79287         * configure: Regenerated.
79289 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79292         New macro.  Use R*LP on int and pointer.
79293         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79294         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79295         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79296         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79298         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79299         [__WORDSIZE_TIME64_COMPAT32] instead of
79300         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79301         (struct utmp): Likewise.
79302         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79303         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79304         Renamed to ...
79305         (__WORDSIZE_TIME64_COMPAT32): This.
79306         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79307         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79308         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79309         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79310         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79311         (__WORDSIZE_TIME64_COMPAT32): New macro.
79313 2012-05-21  Andreas Jaeger  <aj@suse.de>
79315         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79316         only if [SHARED]. Add prototype for __wcschr_ia32.
79318 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79320         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79321         of %rbp unmolested in the jmp_buf while mangling the low bits.
79322         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79323         unmolested high bits of %rbp while demangling the low bits.
79324         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79326 2012-05-21  Andreas Jaeger  <aj@suse.de>
79328         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
79329         * sunrpc/svc_simple.c: Use it for registerrpc.
79330         * sunrpc/xcrypt.c: Use it for passwd2des.
79332         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
79334 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79336         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
79337         Don't define if [__SYSCALL_WORDSIZE != 32].
79338         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
79339         New macro.
79341 2012-05-21  Bruno Haible  <bruno@clisp.org>
79342             Andreas Jaeger  <aj@suse.de>
79344         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
79345         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
79346         inptr and inend for must_buffer_ch.
79347         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
79348         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
79349         * stdio-common/Makefile (tests): Remove bug15.
79350         (bug15-ENV): Remove macro.
79351         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
79352         anymore.
79354 2012-05-19  Andreas Jaeger  <aj@suse.de>
79355             Roland McGrath  <roland@hack.frob.com>
79357         * manual/contrib.texi: Completely rewritten. It contains now an
79358         alphabetical list of contributors and their contributions.
79360 2012-05-21  Richard Henderson  <rth@twiddle.net>
79362         * misc/getauxval.c (__getauxval): Use unsigned long int.
79363         * misc/sys/auxv.h: Include <sys/cdefs.h>.
79364         (getauxval): Use unsigned long int.
79366 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79368         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79370 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79372         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
79373         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
79374         __alignof__ (long double).
79376 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79380 2012-05-20  Richard Henderson  <rth@twiddle.net>
79382         * misc/getauxval.c: New file.
79383         * misc/sys/auxv.h: New file.
79384         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
79385         (routines): Add getauxval.
79386         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
79387         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
79388         * elf/dl-sysdep.c (_dl_auxv): Remove.
79389         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
79390         * elf/dl-support.c (_dl_auxv): New variable.
79391         (_dl_aux_init): Initialize it.
79392         * manual/startup.texi (Auxiliary Vector): New node.
79393         * sysdeps/generic/bits/hwcap.h: New file.
79394         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
79395         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
79396         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
79397         * sysdeps/sparc/sysdep.h: ... here.  Include it.
79398         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
79399         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
79400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79401         Update.
79402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
79403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
79404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
79405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
79406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
79408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
79409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
79411 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79415 2012-05-19  David S. Miller  <davem@davemloft.net>
79417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79419 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79421         [BZ #14123]
79422         * math/s_ccosh.c: Include <float.h>
79423         (__ccosh): Avoid internal overflow calculating sinh and cosh
79424         values before multiplying by sin and cos values.
79425         * math/s_ccoshf.c: Likewise.
79426         * math/s_ccoshl.c: Likewise.
79427         * math/s_csin.c: Likewise.
79428         * math/s_csinf.c: Likewise.
79429         * math/s_csinl.c: Likewise.
79430         * math/s_csinh.c: Likewise.
79431         * math/s_csinhf.c: Likewise.
79432         * math/s_csinhl.c: Likewise.
79433         * math/libm-test.inc (ccos_test): Add more tests.
79434         (ccosh_test): Likewise.
79435         (csin_test): Likewise.
79436         (csinh_test): Likewise.
79437         * sysdeps/i386/fpu/libm-test-ulps: Update.
79438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79440 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
79442         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
79443         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
79445         * sysdeps/x86_64/x32/_itoa.h: Add comment.
79447 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
79449         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
79450         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
79451         * sysdeps/powerpc/soft-fp/Versions: Likewise.
79452         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
79453         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
79454         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
79455         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
79456         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
79457         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
79458         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
79459         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
79460         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
79461         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
79462         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
79463         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
79464         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
79465         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
79466         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
79467         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
79468         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
79469         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
79470         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
79471         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
79472         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
79473         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
79474         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
79475         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
79476         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
79477         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
79478         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
79479         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
79481 2012-05-18  Andreas Jaeger  <aj@suse.de>
79483         * csu/.gitignore: Delete.
79485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79487         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
79488         (timex): Use __syscall_slong_t.
79490 2012-05-18  Andreas Jaeger  <aj@suse.de>
79491             Carlos O'Donell  <carlos_odonell@mentor.com>
79493         * manual/install.texi (Configuring and compiling): Update
79494         description about files modified in the source directory.
79495         * INSTALL: Regenerated.
79497 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79499         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
79500         value.  Use "or" to set return value to -1.
79501         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
79502         negate return value.
79504 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79506         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
79507         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
79508         failure if the compiler has Graphite support disabled.
79509         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
79510         Likewise.
79511         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
79512         (CFLAGS-memmove.c): Likewise.
79513         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
79514         Likewise.
79516 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
79518         * sysdeps/x86_64/x32/_itoa.h: New file.
79520         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
79521         getdents system call only if kernel and user dirents have the
79522         same d_ino and d_off.
79524         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79525         LLONG_MAX != LONG_MAX.
79526         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79527         (_fitoa_word): Likewise.
79529         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
79530         years.
79531         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
79532         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
79533         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
79535         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
79536         include <bits/wordsize.h>.  Check __x86_64__ instead of
79537         __WORDSIZE.
79538         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
79539         if __x86_64__ is defined.  Use anonymous union on fpstate.
79541         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
79542         anonymous union.
79544 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
79546         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
79547         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
79548         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
79549         Refer to _rtld_local_ro instead of _rtld_global_ro.
79550         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
79551         Likewise.
79552         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
79553         Likewise.
79554         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
79555         Likewise.
79556         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
79557         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
79558         of _rtld_global, and rtld_progname instead of _dl_argv[0].
79560         [BZ #10882]
79561         * sysdeps/powerpc/powerpc32/dl-machine.c
79562         (__elf_machine_runtime_setup) [PROF]: Don't reference
79563         _dl_prof_resolve.
79565 2012-05-18  Andreas Jaeger  <aj@suse.de>
79567         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
79568         function only available for GCCs before 3.4 since GCC 3.4
79569         introduced a builtin.
79570         (lrint): Likewise.
79571         (llrintf): Likewise.
79572         (llrint): Likewise.
79573         (fmaxf): Likewise.
79574         (fmax): Likewise.
79575         (fminf): Likewise.
79576         (fmin): Likewise.
79577         (rint): Likewise.
79578         (rintf): Likewise.
79579         (nearbyint): Likewise.
79580         (nearbyintf): Likewise.
79581         (ceil): Likewise.
79582         (ceilf): Likewise.
79583         (floor): Likewise.
79584         (floorf): Likewise.
79586 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79588         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
79589         on both fields and cast pointer to __syscall_ulong_t.
79591         * bits/types.h (__fsword_t): New type.
79592         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
79593         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
79594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79595         (__FSWORD_T_TYPE): Likewise.
79596         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79597         (__FSWORD_T_TYPE): Likewise.
79598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79599         (__FSWORD_T_TYPE): Likewise.
79600         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
79601         (__FSWORD_T_TYPE): Likewise.
79602         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
79603         __SWORD_TYPE with __fsword_t.
79604         (statfs64): Likewise.
79606 2012-05-17  David S. Miller  <davem@davemloft.net>
79608         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
79610 2012-05-17  Andreas Jaeger  <aj@suse.de>
79612         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
79613         warning.
79615 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79617         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
79619 2012-05-17  Andreas Jaeger  <aj@suse.de>
79621         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
79622         when it is used.
79624 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79626         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
79628 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79630         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
79631         * sysdeps/x86_64/tst-mallocalign1.c: New file.
79633 2012-05-17  Andreas Jaeger  <aj@suse.de>
79634             Carlos O'Donell  <carlos_odonell@mentor.com>
79636         [BZ #14059]
79637         * sysdeps/x86_64/multiarch/init-arch.h
79638         (bit_YMM_Usable): Rename to...
79639         (bit_AVX_Usable): ... this.
79640         (bit_FMA4_Usable): New macro.
79641         (bit_XMM_state): New macro.
79642         (bit_YMM_state): New macro.
79643         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
79644         [__ASSEMBLER__] (index_AVX_Usable): ... this.
79645         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
79646         (CPUID_OSXSAVE): New macro.
79647         (CPUID_AVX): New macro.
79648         (CPUID_FMA4): New macro.
79649         (index_YMM_Usable): Rename to...
79650         (index_AVX_Usable): ... this.
79651         (HAS_AVX): Use HAS_ARCH_FEATURE.
79652         (HAS_FMA4): Likewise.
79653         (HAS_YMM_USABLE): Remove.
79654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79655         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
79656         are present.
79657         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
79658         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
79659         * sysdeps/x86_64/multiarch/Makefile: Likewise.
79660         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
79661         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
79663 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
79665         * math/libm-test.c: Support platforms without multiple rounding modes.
79666         * math/bug-nextafter.c: Support platforms without FP exceptions.
79667         * math/bug-nexttoward.c: Likewise.
79668         * math/test-fenv.c: Likewise.
79669         * math/test-misc.c: Likewise.
79670         * stdlib/bug-getcontext.c: Likewise.
79672 2012-05-17  Andreas Jaeger  <aj@suse.de>
79674         * manual/examples/search.c (critter_cmp): Change signature to
79675         avoid warnings.
79676         * manual/string.texi (Collation Functions): Likewise.
79678 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79680         * bits/types.h: Fold copyright years.
79681         * bits/typesizes.h: Likewise.
79682         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
79683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
79684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
79685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
79686         * time/time.h: Likewise.
79688 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
79690         [BZ #208]
79691         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
79692         in instead of returning them.  Return void.
79693         (__libc_mallinfo): Accumulate over all arenas.
79694         (__malloc_stats): Adjust for change in int_mallinfo interface.
79696 2012-05-16  Roland McGrath  <roland@hack.frob.com>
79698         [BZ #10375]
79699         * configure.in (NM): Add AC_CHECK_TOOL for it.
79700         (libc_extra_cflags): New substituted variable.
79701         Check for -fstack-protector being used implicitly.
79702         * configure: Regenerated.
79703         * config.make.in (config-extra-cflags): New variable,
79704         gets @libc_extra_cflags@.
79705         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
79707         [BZ #10375]
79708         * configure.in: Check for _FORTIFY_SOURCE being predefined.
79709         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
79710         * configure: Regenerated.
79711         * config.make.in (CPPUNDEFS): New substituted variable.
79712         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
79713         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
79714         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
79716 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79718         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
79719         (mq_attr): Use __syscall_slong_t.
79721 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79723         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
79724         Check __x86_64__ instead of __WORDSIZE.
79725         (_STAT_VER_LINUX): Likewise.
79726         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
79727         __syscall_ulong_t and __syscall_slong_t.
79728         (stat64): Likewise.
79730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79732         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
79734 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79736         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
79738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79740         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
79741         __syscall_ulong_t.
79743         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
79744         include <bits/wordsize.h>.  Check __x86_64__ instead of
79745         __WORDSIZE.
79746         (greg_t): Use "__extension__ long long int" if __x86_64__ is
79747         defined.
79748         (mcontext_t): Replace "unsigned long" with "unsigned long long".
79750         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
79751         include <bits/wordsize.h>.  Check __x86_64__ instead of
79752         __WORDSIZE.
79753         (user_regs_struct): Use "__extension__ unsigned long long"
79754         instead of "unsigned long" if __x86_64__ is defined.
79755         (user): Likewise.  Pad after pointer field if __ILP32__ is
79756         defined.
79758 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
79760         * configure.in (makeinfo): Require version 4.5 or later.  Allow
79761         versions 5 to 9.
79762         * configure: Regenerated.
79763         * manual/install.texi (texinfo): Increase version requirement to
79764         4.5 or later.
79765         * INSTALL: Regenerated.
79767         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
79769 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79771         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
79773         * sysdeps/x86_64/x32/ffs.c: New file.
79775         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
79776         __syscall_ulong_t.
79777         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
79778         defined.  Use __syscall_ulong_t.
79779         (shminfo): Use __syscall_ulong_t.
79780         (shm_info): Likewise.
79782         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
79783         __syscall_ulong_t.
79785         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
79786         <bits/wordsize.h>.
79787         (msgqnum_t): Use __syscall_ulong_t.
79788         (msglen_t): Likewise.
79789         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
79790         __syscall_ulong_t.
79792         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
79793         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79795         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79797         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79798         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79800         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79801         __syscall_slong_t.
79803         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79804         include <bits/wordsize.h>.  Check __x86_64__ instead of
79805         __WORDSIZE.
79807         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79808         "unsigned long long int" if __x86_64__ is defined.
79809         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79811         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79812         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79813         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79815         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79816         <stdint.h>.
79817         (GET_PC): Cast to uintptr_t first.
79818         (GET_FRAME): Likewise.
79819         (GET_STACK): Likewise.
79821         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79822         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79823         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79824         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79825         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79826         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79827         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79828         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79829         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79830         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79831         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79832         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79833         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79834         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79835         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79836         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79837         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79838         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79839         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79840         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79841         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79842         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79843         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79844         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79845         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79846         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79847         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79848         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79849         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79851 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79853         * Makerules (+depfiles): Also collect depfiles from .oS in
79854         $(extra-objs).
79855         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79856         .oS, $(libnldbl-routines)).
79858         * Makerules (native-compile-mkdep-flags): Define.
79859         * sunrpc/Makefile (extra-objs): Add $(addprefix
79860         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79861         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79862         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79863         calling $(make-target-directory).
79865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79867         * bits/types.h (__snseconds_t): Removed.
79868         * time/time.h (struct timespec): Replace __snseconds_t with
79869         __syscall_slong_t.
79870         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79871         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79872         Likewise.
79873         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79874         (__SNSECONDS_T_TYPE): Likewise.
79875         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79876         (__SNSECONDS_T_TYPE): Likewise.
79877         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79878         (__SNSECONDS_T_TYPE): Likewise.
79880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79882         * sysdeps/mach/hurd/bits/typesizes.h
79883         (__SYSCALL_SLONG_TYPE): New macro.
79884         (__SYSCALL_ULONG_TYPE): Likewise.
79886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79888         * bits/types.h (__syscall_slong_t): New type.
79889         (__syscall_ulong_t): Likewise.
79891         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79892         (__SYSCALL_ULONG_TYPE): Likewise.
79893         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79894         (__SYSCALL_SLONG_TYPE): Likewise.
79895         (__SYSCALL_ULONG_TYPE): Likewise.
79896         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79897         (__SYSCALL_SLONG_TYPE): Likewise.
79898         (__SYSCALL_ULONG_TYPE): Likewise.
79899         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79900         (__SYSCALL_SLONG_TYPE): Likewise.
79901         (__SYSCALL_ULONG_TYPE): Likewise.
79903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79905         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79906         Add sigaltstack-offsets.sym.
79907         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79908         <sigaltstack-offsets.h>.
79909         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79910         longjmp_msg pointer.
79911         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79912         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79913         signal stack.
79914         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79916 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79918         * elf/stackguard-macros.h: Remove file.
79919         * sysdeps/generic/stackguard-macros.h: New file.
79920         * sysdeps/i386/stackguard-macros.h: Likewise.
79921         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79922         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79923         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79924         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79925         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79926         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79927         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79928         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79929         <elf/stackguard-macros.h>.
79931         [BZ #14109]
79932         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79933         __aligned__ in attribute.
79934         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79935         (gregset_t): Likewise.
79937 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79939         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79940         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79941         * sysdeps/x86_64/x32/Implies-after: New file.
79943 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79945         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79946         and access return value for _dl_profile_fixup.  Use R10_LP to
79947         load frame size.
79949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79951         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79955         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79956         * sysdeps/x86_64/x32/sysdep.h: New file.
79958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79960         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79961         * sysdeps/x86_64/setjmp.S: Likewise.
79963 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79965         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79966         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79967         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79968         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79969         remove unused global constant.
79971 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79973         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79974         include of <not-cancel.h>.
79976 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79978         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79980 2012-05-15  Jeff Law  <law@redhat.com>
79981             Andreas Jaeger  <aj@suse.de>
79983         [BZ #13594]
79984         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79985         out from...
79986         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79987         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79988         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79989         code changing __hst_map_handle.map.
79991 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79993         * configure.in (sysnames): Look for Implies-before and Implies-after
79994         files.
79995         * configure: Regenerated.
79997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79999         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80000         8-byte data alignment with LP_SIZE alignment.
80002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80004         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80005         into R10_LP.
80007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80009         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80013         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80014         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80015         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80016         Likewise.
80017         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80021         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80022         (stackinfo_sub_sp): Likewise.
80024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80026         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80027         RAX_LP.
80029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80031         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80032         into R*_LP.
80034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80036         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80037         sizes into R*_LP.
80039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80041         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80045         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80046         into R11_LP and load __x86_64_shared_cache_size_half into
80047         R8_LP.
80049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80051         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80052         R8_LP.
80054 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80057         logb for POWER7.
80058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80059         logbf for POWER7.
80060         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80061         logbl for POWER7.
80062         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80063         powerpc32/power7/fpu/s_logb.c via #include.
80064         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80065         powerpc32/power7/fpu/s_logbf.c via #include.
80066         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80067         powerpc32/power7/fpu/s_logbl.c via #include.
80069 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80071         * README.libm: Remove file.
80073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80075         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80076         count for x32.  Use R*_LP and omit operand-size suffix.
80078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80080         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80081         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80082         * sysdeps/x86_64/x32/shlib-versions: New file.
80084 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80086         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80087         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80088         Use _dl_fatal_printf instead.
80090 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80092         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80093         set if not set by the user.  Do not allow for being unset.
80094         * sysdeps/unix/sysv/linux/configure: Regenerated.
80096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80098         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80099         the `q' suffix from lea and replace .quad with ASM_ADDR.
80101 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80104         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80105         instead of $17.
80106         (PTR_DEMANGLE): Likewise.
80108 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80110         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80111         (LP_OP): Likewise.
80112         (ASM_ADDR): Likewise.
80113         (RAX_LP): Likewise.
80114         (RBP_LP): Likewise.
80115         (RBX_LP): Likewise.
80116         (RCX_LP): Likewise.
80117         (RDI_LP): Likewise.
80118         (RSI_LP): Likewise.
80119         (RSP_LP): Likewise.
80120         (R8_LP): Likewise.
80121         (R9_LP): Likewise.
80122         (R10_LP): Likewise.
80123         (R10_LP): Likewise.
80124         (R11_LP): Likewise.
80125         (R12_LP): Likewise.
80126         (R13_LP): Likewise.
80127         (R14_LP): Likewise.
80128         (R15_LP): Likewise.
80130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80132         * sysdeps/x86_64/x32/dl-machine.h: New file.
80134 2012-05-14  Andreas Jaeger  <aj@suse.de>
80136         * manual/Makefile (subdir): Remove export of subdir.
80137         (all): Remove target.
80138         (.PHONY): Remove all from list.
80139         (mkinstalldirs): Remove.
80140         (.PHONY): Remove installdirs from list.
80141         ($(inst_infodir)/libc.info): Use make-target-directory.
80142         (installdirs): Remove.
80143         (subdir_%): Remove.
80144         (glibc-targets): Remove.
80145         (lib): Remove.
80146         (stubs): Remove.
80147         ($(objpfx)stubs ../po/manual.pot): Remove.
80148         ($(objpfx)stamp%): Remove.
80149         (make-target-directory): Remove.
80150         (subdir_install): Remove.
80151         (routines): Remove.
80152         (aux): Remove.
80153         (sources): Remove.
80154         (objects): Remove.
80155         (headers): Remove.
80157         [BZ #13750]
80158         * manual/.gitignore: Remove, it's not needed anymore.
80159         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80160         all files in it.
80161         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80162         directory.
80163         (texis): Renamed to $(objpfx)texis.
80164         (texis-path): New, contains path to generated files.
80165         (chapters.%): Use texis-path for complete path, add extra argument
80166         libc-texinfo.sh.
80167         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80168         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80169         (summary,texi, stamp-summary): Use complete path of
80170         files. Generate files in build dir.
80171         (dir-add.texi): Build in build dir.
80172         (libm-err.texi,stamp-libm-err): Likewise.
80173         (version.texi, stamp-version): Likewise.
80174         (.%c.texi): Likewise.
80175         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80176         (mostlyclean): Remove target.
80177         (realclean): Remove target.
80178         (generated): Add new variable with contents from mostlyclean and
80179         realclean, remove entries duplicated in common-mostlyclean, add
80180         stamp-libm-err and stamp-version.
80181         (generated-dirs): Add libc directory.
80182         ($(inst_infodir)/libc.info): Install files from build dir.
80184         * manual/install.texi (Configuring and compiling): Adjust since
80185         the info files are not part of the tar ball anymore.
80187 2012-05-14  Andreas Jaeger  <aj@suse.de>
80189         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80190         variable.
80192 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80194         [BZ #13717]
80195         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80196         to 2.2.0 where earlier.
80197         * sysdeps/unix/sysv/linux/configure: Regenerated.
80198         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80199         Remove conditional code.
80200         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80201         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80202         Remove conditional code.
80203         [!__NR_lchown]: Likewise.
80204         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80205         [__NR_lchown]: Likewise.
80206         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80207         comment referencing __ASSUME_LCHOWN_SYSCALL.
80208         * sysdeps/unix/sysv/linux/i386/sigaction.c
80209         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80210         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80211         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80212         Remove conditional code.
80213         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80214         (__protocol_available): Remove #if 0 code.
80215         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80216         conditional code.
80217         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80218         * sysdeps/unix/sysv/linux/kernel-features.h
80219         (__ASSUME_GETCWD_SYSCALL): Don't define.
80220         (__ASSUME_REALTIME_SIGNALS): Likewise.
80221         (__ASSUME_PREAD_SYSCALL): Likewise.
80222         (__ASSUME_PWRITE_SYSCALL): Likewise.
80223         (__ASSUME_POLL_SYSCALL): Likewise.
80224         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80225         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80226         non-SPARC.
80227         (__ASSUME_SIOCGIFNAME): Don't define.
80228         (__ASSUME_MSG_NOSIGNAL): Likewise.
80229         (__ASSUME_SENDFILE): Define unconditionally.
80230         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80231         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80232         conditional code.
80233         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80234         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80235         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80236         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80237         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80238         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80239         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80241         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80244         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80247         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80250         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80253         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80254         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80256         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80259         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80260         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80262         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80264         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80265         Remove conditional code.
80266         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80267         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80268         Remove conditional code.
80269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80270         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80271         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80272         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80273         Remove conditional code.
80274         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80275         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80276         Remove conditional code.
80277         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80278         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80279         Remove conditional code.
80280         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80281         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80282         Remove conditional code.
80283         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80284         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80285         Remove conditional code.
80286         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80287         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80288         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80289         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80290         * sysdeps/unix/sysv/linux/sigaction.c
80291         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80292         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80293         * sysdeps/unix/sysv/linux/sigpending.c
80294         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80295         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80296         * sysdeps/unix/sysv/linux/sigprocmask.c
80297         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80298         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80299         * sysdeps/unix/sysv/linux/sigsuspend.c
80300         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80301         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80302         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80303         (__libc_missing_rt_sigs): Remove.
80304         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80305         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80306         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80307         Remove conditional code.
80308         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80309         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80310         return 1.
80311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80312         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80313         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80314         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80316 2012-05-14  Andreas Jaeger  <aj@suse.de>
80318         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80319         it's not used in glibc.
80320         (__coshm1): Likewise.
80321         (__acosh1p): Likewise.
80322         (__sgn): Likewise.
80324         * manual/string.texi (Copying and Concatenation): Add missing
80325         variable in concat example.
80326         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
80328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80330         [BZ #14103]
80331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
80332         __builtin_clzl with __builtin_clzll.
80334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80336         [BZ #14104]
80337         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
80338         libc_freeres_ptr.
80340 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80342         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
80343         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
80344         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
80345         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
80347 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
80349         * NEWS: Update ia64 info.
80351 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
80353         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
80354         used as bcopy.
80356 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
80358         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
80359         * sysdeps/unix/syscalls.list (dup3): Likewise.
80360         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
80361         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
80363 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80365         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
80366         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
80368 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
80370         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
80371         thread pointer.
80372         (TLS_IE): Use mov/add instead of movq/addq to load thread
80373         pointer.
80374         (TLS_GD_PREFIX): New.
80375         (TLS_GD): Use it.
80377 2012-05-11  David S. Miller  <davem@davemloft.net>
80379         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
80380         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
80381         (_FPU_SETCW): Likewise.
80383 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80385         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
80386         is 32-byte aligned.
80388 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
80390         [BZ #11837]
80391         * iconvdata/gb18030.c: Update tables.
80392         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
80393         characters specially.
80394         (BODY for TO_LOOP): Add encoding of missing ranges.
80396 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
80398         [BZ #13673]
80399         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
80400         * sysdeps/mach/hurd/dup3.c: Likewise.
80401         * sysdeps/mach/hurd/readlinkat.c: Likewise.
80402         * sysdeps/powerpc/memmove.c:: Likewise.
80404 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80406         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
80407         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
80409 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80411         * elf/elf.h (R_X86_64_RELATIVE64): New.
80412         (R_X86_64_NUM): Updated.
80413         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
80414         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
80415         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
80416         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
80417         tst-quad1pie tst-quad2pie
80418         (modules-names): Add tst-quadmod1 tst-quadmod2.
80419         ($(objpfx)tst-quad1): New dependency.
80420         ($(objpfx)tst-quad2): Likewise.
80421         ($(objpfx)tst-quad1pie): Likewise.
80422         ($(objpfx)tst-quad2pie): Likewise.
80423         * sysdeps/x86_64/tst-quad1.c: New file.
80424         * sysdeps/x86_64/tst-quad1pie.c: New file.
80425         * sysdeps/x86_64/tst-quad2.c: Likewise.
80426         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
80427         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
80428         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
80429         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
80430         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
80432 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80434         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
80435         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
80436         * streams/stropts.h (t_scalar_t): Define type.
80438         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
80439         (_PATH_PRESERVE): Set to "/var/lib".
80440         (_PATH_RWHODIR): Set to "/var/spool/rwho".
80442         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
80443         instead of int.
80445         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
80446         if __dir_mkfile succeeded.
80448         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
80449         checking for _hurd_dtablesize.  Unlock it right after having
80450         finished _hurd_dtable allocation.
80452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80454         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
80455         * sysdeps/mach/hurd/configure: Regenerated.
80456         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
80457         special-casing to...
80458         * sysdeps/gnu/configure.in: ... this new file.
80459         * sysdeps/unix/sysv/linux/configure: Regenerated.
80460         * sysdeps/gnu/configure: New generated file.
80462         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
80463         for Linux: use nsec instead of usec, as well as:
80464         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
80465         members of type struct timespec.
80466         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
80467         New macros.
80468         (struct stat64): Likewise.
80469         (_STATBUF_ST_NSEC): New macro.
80470         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
80472         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
80473         __strtoul_internal rather than strtoul.
80475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80477         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
80478         and reject them.
80480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80482         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
80483         which preserves existing values.
80484         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
80486 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80488         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
80489         TIMEOUT values.  Return EINVAL for NFDS values either negative or
80490         greater than FD_SETSIZE.
80492 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80494         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
80495         allocated, call __vm_protect to finish enabling the existing space, and
80496         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
80497         allocate the remainder.
80499 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80501         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
80502         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
80504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80506         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
80507         sysdeps/mach/hurd/readlink.c.
80509         * posix/tst-sysconf.c (posix_options): Only use
80510         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
80511         _POSIX_SYNCHRONIZED_IO when they are defined
80512         * sysdeps/mach/hurd/bits/posix_opt.h:
80513         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
80514         (_XOPEN_REALTIME): Undefine macro.
80515         (_XOPEN_REALTIME_THREADS): Undefine macro.
80516         (_XOPEN_SHM): Undefine macro.
80517         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
80518         macro to -1.
80519         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
80520         macro to -1.
80521         (_POSIX_ASYNC_IO): Undefine macro.
80522         (_POSIX_PRIORITIZED_IO): Undefine macro.
80523         (_POSIX_SPIN_LOCKS): Define macro to -1.
80525         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
80526         SA_NODEFER, SA_RESETHAND.
80527         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
80528         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
80529         F_DUPFD_CLOEXEC.
80531 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80533         * elf/Makefile (pldd-modules): Define unconditionally.
80535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80537         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
80539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80541         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
80542         Return ENOENT when name is empty.
80543         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
80545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80547         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
80549         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
80551 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80553         Fix mlock in all cases except non-readable pages.
80554         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
80555         instead of VM_PROT_ALL as parameter to __vm_wire function.
80557         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
80558         (__mkdir): When path is `/', just fail with EEXIST.
80559         * sysdeps/mach/hurd/mkdirat.c: Likewise.
80561 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80563         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
80564         <sys/uio.h> (for writev).
80565         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
80566         and <sys/param.h> (for MIN).
80568 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
80570         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
80571         REQUESTED_TIME.  Properly set the remaining time and return EINTR
80572         if interrupted.
80574 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80576         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
80577         Depend on against $(link-rpcuserlibs).
80579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80581         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
80582         (__libc_stack_end): Do not use attribute_relro.
80583         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
80584         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
80585         to libthread-provided value.
80586         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
80587         attribute_relro.
80589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80591         [BZ #3748]
80592         * bits/libc-lock.h (__libc_once_get): New macro.
80593         * sysdeps/mach/bits/libc-lock.h: Likewise.
80594         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
80595         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
80596         instead of using implementation details.
80598         * libio/fileops.c: Unconditionally include <kernel-features.h>.
80599         * libio/freopen.c: Likewise.
80600         * libio/freopen64.c: Likewise.
80601         * misc/syslog.c: Likewise.
80602         * nscd/connections.c: Likewise.
80603         * nscd/netgroupcache.c: Likewise.
80604         * sysdeps/posix/getcwd.c: Likewise.
80606 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80608         * math/w_ilogbf.c: Add #include <limits.h>.
80610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80612         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
80613         path instead of returning without unlocking.
80615         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
80616         immediate-write ioctls.
80617         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
80619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80621         * sysdeps/mach/hurd/i386/init-first.c (init): Use
80622         __builtin_frame_address instead of making assumptions about the
80623         location of the return address relative to DATA.  Force early load of
80624         the return address.
80625         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
80626         __builtin_frame_address.
80628         dup3 for GNU Hurd.
80629         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
80630         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
80631         implement dup3 and do some further code clean-ups.
80632         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
80633         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
80635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80637         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
80639         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
80640         HURD_CRITICAL_END around holding _hurd_dtable_lock.
80641         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
80642         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
80643         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
80644         d->port.lock.
80646         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
80647         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
80648         when handler == SIG_ERR, not when handler != SIG_ERR.
80650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80652         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
80653         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
80654         definitions.
80656         accept4 for GNU Hurd.
80657         * include/sys/socket.h (__libc_accept4): New prototype.
80658         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
80659         to implement __libc_accept4.
80660         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
80661         __libc_accept4.
80662         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
80664         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
80665         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
80666         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
80667         signal-defines.sym.
80669 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80671         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
80673 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
80675         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
80676         assertion on O_CLOEXEC flag.
80677         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
80678         * hurd/intern-fd.c: Likewise.
80679         * hurd/port2fd.c: Likewise.
80681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80683         [BZ #3906]
80684         * bits/in.h (IPV6_PKTINFO): Define new macro.
80685         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
80687 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80689         [BZ #13954]
80690         [BZ #13955]
80691         [BZ #13956]
80692         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
80693         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80694         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
80695         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80697         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80698         * math/libm-test.inc (logb_test) : Additional logb tests.
80700 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
80701             Andreas Jaeger  <aj@suse.de>
80703         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
80704         * configure: Regenerated.
80705         * config.h.in (LINK_OBSOLETE_RPC): New macro.
80706         * config.make.in (link-obsolete-rpc): New substituted variable.
80707         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
80708         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
80709         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80710         (shared-only-routines): Don't set it under [link-obsolete-rpc],
80711         so that libc.a contains the symbols.
80712         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
80713         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
80714         * sunrpc/auth_none.c: Likewise.
80715         * sunrpc/auth_unix.c: Likewise.
80716         * sunrpc/authdes_prot.c: Likewise.
80717         * sunrpc/authuxprot.c: Likewise.
80718         * sunrpc/clnt_gen.c: Likewise.
80719         * sunrpc/clnt_perr.c: Likewise.
80720         * sunrpc/clnt_raw.c: Likewise.
80721         * sunrpc/clnt_simp.c: Likewise.
80722         * sunrpc/clnt_tcp.c: Likewise.
80723         * sunrpc/clnt_udp.c: Likewise.
80724         * sunrpc/clnt_unix.c: Likewise.
80725         * sunrpc/des_crypt.c: Likewise.
80726         * sunrpc/des_soft.c: Likewise.
80727         * sunrpc/get_myaddr.c: Likewise.
80728         * sunrpc/key_call.c: Likewise.
80729         * sunrpc/key_prot.c: Likewise.
80730         * sunrpc/netname.c: Likewise.
80731         * sunrpc/pm_getmaps.c: Likewise.
80732         * sunrpc/pm_getport.c: Likewise.
80733         * sunrpc/pmap_clnt.c: Likewise.
80734         * sunrpc/pmap_prot.c: Likewise.
80735         * sunrpc/pmap_prot2.c: Likewise.
80736         * sunrpc/pmap_rmt.c: Likewise.
80737         * sunrpc/publickey.c: Likewise.
80738         * sunrpc/rpc_cmsg.c: Likewise.
80739         * sunrpc/rpc_common.c: Likewise.
80740         * sunrpc/rpc_dtable.c: Likewise.
80741         * sunrpc/rpc_prot.c: Likewise.
80742         * sunrpc/rpc_thread.c: Likewise.
80743         * sunrpc/rtime.c: Likewise.
80744         * sunrpc/svc.c: Likewise.
80745         * sunrpc/svc_auth.c: Likewise.
80746         * sunrpc/svc_raw.c: Likewise.
80747         * sunrpc/svc_run.c: Likewise.
80748         * sunrpc/svc_tcp.c: Likewise.
80749         * sunrpc/svc_udp.c: Likewise.
80750         * sunrpc/svc_unix.c: Likewise.
80751         * sunrpc/svcauth_des.c: Likewise.
80752         * sunrpc/xcrypt.c: Likewise.
80753         * sunrpc/xdr.c: Likewise.
80754         * sunrpc/xdr_array.c: Likewise.
80755         * sunrpc/xdr_float.c: Likewise.
80756         * sunrpc/xdr_intXX_t.c: Likewise.
80757         * sunrpc/xdr_mem.c: Likewise.
80758         * sunrpc/xdr_rec.c: Likewise.
80759         * sunrpc/xdr_ref.c: Likewise.
80760         * sunrpc/xdr_sizeof.c: Likewise.
80761         * sunrpc/xdr_stdio.c: Likewise.
80763 2012-05-10  Roland McGrath  <roland@hack.frob.com>
80765         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
80766         change.  Update copyright years.
80768 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80770         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
80772 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
80773             Joseph Myers  <joseph@codesourcery.com>
80774             Paul Pluzhnikov  <ppluzhnikov@google.com>
80776         [BZ #14012]
80777         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
80778         requiring rpcgen.
80779         [cross-compiling] (extra-libs): Likewise.
80780         [cross-compiling] (extra-libs-others): Likewise.
80781         [cross-compiling] (librpcsvc-routines): Likewise.
80782         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
80783         [cross-compiling] (omit-deps): Likewise.
80784         (sunrpc-CPPFLAGS): New variable.
80785         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
80786         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
80787         (cross-rpcgen-objs): New variable.
80788         (extra-objs): Append $(cross-rpcgen-objs).
80789         ($(cross-rpcgen-objs)): New rule.
80790         ($(objpfx)cross-rpcgen): Likewise.
80791         (rpcgen-cmd): Define to use $(built-program-file).  Expand
80792         comment.
80793         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
80794         ($(objpfx)x%.stmp): Likewise.
80795         * sunrpc/proto.h [IS_IN_build] (_): Define.
80796         [IS_IN_build] (_libc_intl_domainname): Likewise.
80798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80801         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80802         and R_X86_64_TPOFF64.
80804 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80806         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80807         sysdeps/unix/sysv/syscalls.list.
80808         (stime): Likewise.
80809         (utime): Likewise.
80810         * sysdeps/unix/sysv/syscalls.list: Remove file.
80812 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80814         [BZ #3440]
80815         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80816         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80817         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80818         (__LC_IDENTIFICATION): Make these macros useful in #if
80819         expressions, as required by C99.
80821 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80823         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80824         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80825         after this.
80827 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80829         * stdlib/longlong.h: Updated from GCC.
80831 2012-05-09  Andreas Jaeger  <aj@suse.de>
80833         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80834         default is first entry.
80835         (run_mode): Set type.
80836         (main): Remove informal message about syslog.
80837         (options): Fix typo.
80839         [BZ #14053]
80840         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80841         to asm.
80842         (lrint): Likewise.
80843         (llrintf): Likewise.
80844         (llrint): Likewise.
80845         (rint): Likewise.
80846         (rintf): Likewise.
80847         (nearbyint): Likewise.
80848         (nearbyintf): Likewise.
80850 2012-05-09  Andreas Jaeger  <aj@suse.de>
80851             Pedro Alves  <palves@redhat.com>
80853         * nscd/nscd.c (run_mode): Use enum.
80854         (main): Cleanup coding style issue.
80856 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80857             Andreas Jaeger  <aj@suse.de>
80859         * nscd/nscd.c (go_background): Replaced with...
80860         (run_mode): ... this.
80861         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80862         (options): Add -F --foreground.
80863         (main): Implement it.
80864         (parse_opt): Parse it.
80866 2012-05-09  Andreas Jaeger  <aj@suse.de>
80868         [BZ #14083]
80869         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80870         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80871         -Wconversion warning.
80872         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80873         Likewise.
80875 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80877         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80878         == 0.
80879         (LC_ALL): Use macro-int-constant.
80880         (LC_COLLATE): Likewise.
80881         (LC_CTYPE): Likewise.
80882         (LC_MESSAGES): Likewise.
80883         (LC_MONETARY): Likewise.
80884         (LC_NUMERIC): Likewise.
80885         (LC_TIME): Likewise.
80886         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80887         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80888         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80889         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80890         Specify type.
80891         [C99-based standards] (float_t): Expect type.
80892         [C99-based standards] (double_t): Expect type.
80893         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80894         type.
80895         [C99-based standards] (HUGE_VALL): Likewise.
80896         [C99-based standards] (INFINITY): Likewise.
80897         [C99-based standards] (NAN): Likewise.
80898         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80899         [C99-based standards] (FP_NAN): Likewise.
80900         [C99-based standards] (FP_NORMAL): Likewise.
80901         [C99-based standards] (FP_SUBNORMAL): Likewise.
80902         [C99-based standards] (FP_ZERO): Likewise.
80903         [C99-based standards] (FP_FAST_FMA): Use
80904         optional-macro-int-constant.  Specify type.  Require == 1.
80905         [C99-based standards] (FP_FAST_FMAF): Likewise.
80906         [C99-based standards] (FP_FAST_FMAL): Likewise.
80907         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80908         [C99-based standards] (FP_ILOGBNAN): Likewise.
80909         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80910         Specify type.
80911         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80912         [C99-based standards] (math_errhandling): Specify type.
80913         [ISO99 || ISO11] (signgam): Do not allow.
80914         [non-C99-based standards] (copysignf): Do not allow.
80915         [non-C99-based standards] (exp2f): Likewise.
80916         [non-C99-based standards] (log2f): Likewise.
80917         [non-C99-based standards] (modff): Allow.
80918         [non-C99-based standards] (erff): Do not allow.
80919         [non-C99-based standards] (erfcf): Likewise.
80920         [non-C99-based standards] (gammaf): Likewise.
80921         [non-C99-based standards] (hypotf): Likewise.
80922         [non-C99-based standards] (j0f): Likewise.
80923         [non-C99-based standards] (j1f): Likewise.
80924         [non-C99-based standards] (jnf): Likewise.
80925         [non-C99-based standards] (lgammaf): Likewise.
80926         [non-C99-based standards] (tgammaf): Likewise.
80927         [non-C99-based standards] (y0f): Likewise.
80928         [non-C99-based standards] (y1f): Likewise.
80929         [non-C99-based standards] (ynf): Likewise.
80930         [non-C99-based standards] (isnanf): Likewise.
80931         [non-C99-based standards] (acoshf): Likewise.
80932         [non-C99-based standards] (asinhf): Likewise.
80933         [non-C99-based standards] (atanhf): Likewise.
80934         [non-C99-based standards] (cbrtf): Likewise.
80935         [non-C99-based standards] (expm1f): Likewise.
80936         [non-C99-based standards] (ilogbf): Likewise.
80937         [non-C99-based standards] (log1pf): Likewise.
80938         [non-C99-based standards] (logbf): Likewise.
80939         [non-C99-based standards] (nextafterf): Likewise.
80940         [non-C99-based standards] (remainderf): Likewise.
80941         [non-C99-based standards] (rintf): Likewise.
80942         [non-C99-based standards] (scalbf): Likewise.
80943         [non-C99-based standards] (copysignl): Likewise.
80944         [non-C99-based standards] (exp2l): Likewise.
80945         [non-C99-based standards] (log2l): Likewise.
80946         [non-C99-based standards] (modfl): Allow.
80947         [non-C99-based standards] (erfl): Do not allow.
80948         [non-C99-based standards] (erfcl): Likewise.
80949         [non-C99-based standards] (gammal): Likewise.
80950         [non-C99-based standards] (hypotl): Likewise.
80951         [non-C99-based standards] (j0l): Likewise.
80952         [non-C99-based standards] (j1l): Likewise.
80953         [non-C99-based standards] (jnl): Likewise.
80954         [non-C99-based standards] (lgammal): Likewise.
80955         [non-C99-based standards] (tgammal): Likewise.
80956         [non-C99-based standards] (y0l): Likewise.
80957         [non-C99-based standards] (y1l): Likewise.
80958         [non-C99-based standards] (ynl): Likewise.
80959         [non-C99-based standards] (isnanl): Likewise.
80960         [non-C99-based standards] (acoshl): Likewise.
80961         [non-C99-based standards] (asinhl): Likewise.
80962         [non-C99-based standards] (atanhl): Likewise.
80963         [non-C99-based standards] (cbrtl): Likewise.
80964         [non-C99-based standards] (expm1l): Likewise.
80965         [non-C99-based standards] (ilogbl): Likewise.
80966         [non-C99-based standards] (log1pl): Likewise.
80967         [non-C99-based standards] (logbl): Likewise.
80968         [non-C99-based standards] (nextafterl): Likewise.
80969         [non-C99-based standards] (remainderl): Likewise.
80970         [non-C99-based standards] (rintl): Likewise.
80971         [non-C99-based standards] (scalbl): Likewise.
80972         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80973         [non-C99-based standards] (FP_*): Do not allow.
80974         [C99-based standards] (FP_*): Change to
80975         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80976         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80977         allow.
80978         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80979         (SIG_ERR): Likewise.
80980         [X/Open-based standards] (SIG_HOLD): Likewise.
80981         (SIG_IGN): Likewise.
80982         (SIGABRT): Use macro-int-constant.  Specify type.  Require
80983         positive value.
80984         (SIGFPE): Likewise.
80985         (SIGILL): Likewise.
80986         (SIGINT): Likewise.
80987         (SIGSEGV): Likewise.
80988         (SIGTER): Likewise.
80989         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80990         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80991         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80992         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80993         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80994         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80995         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80996         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80997         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80998         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80999         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81000         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81001         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81002         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81003         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81004         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81005         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81006         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81007         [X/Open-based standards] (SIGTRAP): Likewise.
81008         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81009         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81010         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81011         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81012         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81013         allow.
81015 2012-05-08  Ian Wienand  <ianw@vmware.com>
81017         [BZ #14080]
81018         * time/tzset.c (__tzset_parse_tz): Update default rules for
81019         daylight time changes in the Energy Policy Act of 2005.
81021 2012-05-09  Andreas Jaeger  <aj@suse.de>
81023         [BZ #13983]
81024         * elf/ldconfig.c (parse_conf): Change string to make clear that
81025         ldconfig only issued a warning if ld.so.conf does not exist.
81027 2012-05-08  David S. Miller  <davem@davemloft.net>
81029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81030         movxtod instead of popping the value on the stack.
81032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81034 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81036         * config.h.in: Add HAVE_ARM_PCS_VFP.
81038 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81040         [BZ #13979]
81041         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81042         checking but the checks are disabled for any reason.
81044 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81046         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81047         and ELF64_R_TYPE with ELFW(R_TYPE).
81049 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81051         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81052         (ulimit): Likewise.
81054         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81055         (settimeofday): Likewise.
81057 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81059         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81060         a struct th_u2 inside the union, and move tu_block/tu_code into
81061         a new th_u3 union of tu_block/tu_code inside of that.  Move
81062         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81063         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81064         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81065         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81066         (th_stuff): Change to th_u1.tu_stuff.
81067         (th_data): Define.
81068         (th_msg): Change to th_u1.th_u2.tu_data.
81070 2012-05-07  David S. Miller  <davem@davemloft.net>
81072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81074         [BZ #14074]
81075         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81076         (SETUP_PIC_REG): Use it.
81077         (SETUP_PIC_REG_LEAF): Use it.
81079 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81081         [BZ #13885]
81082         [BZ #13923]
81083         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81084         USE_AS_EXPM1L.
81085         (EXPL_FINITE): Likewise.
81086         (FLDLOG): Likewise.
81087         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81088         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81089         e_expl.S.
81090         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81091         USE_AS_EXPM1L.
81092         (EXPL_FINITE): Likewise.
81093         (FLDLOG): Likewise.
81094         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81095         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81096         e_expl.S.
81097         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81098         test of -max_value argument for long double.
81099         * sysdeps/i386/fpu/libm-test-ulps: Update.
81100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81102 2012-05-06  David S. Miller  <davem@davemloft.net>
81104         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81105         quad soft-float symbols whose references which are compiler
81106         generated.
81107         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81109 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81111         [BZ #13884]
81112         [BZ #13914]
81113         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81114         USE_AS_EXP10L.
81115         (EXPL_FINITE): Likewise.
81116         (FLDLOG): Likewise.
81117         (c0): Likewise.
81118         (c1): Likewise.
81119         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81120         Adjust comments for base varying.
81121         (__expl_finite): Change alias to EXPL_FINITE.
81122         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81123         e_expl.S.
81124         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81125         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81127         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81128         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81129         USE_AS_EXP10L.
81130         (EXPL_FINITE): Likewise.
81131         (FLDLOG): Likewise.
81132         (c0): Likewise.
81133         (c1): Likewise.
81134         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81135         Adjust comments for base varying.
81136         (__expl_finite): Change alias to EXPL_FINITE.
81137         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81138         tests for bugs.
81139         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81141         [BZ #14064]
81142         * math/libm-test.inc (check_float_internal): Correct ulp
81143         calculation for subnormal expected results.
81145 2012-05-06  Andreas Jaeger  <aj@suse.de>
81147         * Makeconfig (+math-flags): New, set to -frounding-math.
81148         (+cflags): Add +math-flags so that all of glibc gets compiled with
81149         it.
81151         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81153 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81155         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81156         Disable one test.
81158         [BZ #13787]
81159         [BZ #13922]
81160         [BZ #14036]
81161         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81162         (__ieee754_expl): Allow for and saturate large arguments.
81163         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81164         (u_threshold): Likewise.
81165         (__exp): Call __ieee754_exp before checking for overflow and
81166         underflow.
81167         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81168         (u_threshold): Likewise.
81169         (__expf): Call __ieee754_expf before checking for overflow and
81170         underflow.
81171         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81172         (u_threshold): Likewise.
81173         (__expl): Call __ieee754_expl before checking for overflow and
81174         underflow.
81175         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81176         (__ieee754_expl): Allow for and saturate large arguments.
81177         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81178         missing overflow exception on overflow.
81179         (expm1_test): Do not allow missing overflow exception on overflow.
81181         * sysdeps/i386/fpu/e_expl.c: Move to ...
81182         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81183         rather than using inline asm.
81184         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81185         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81186         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81188         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81189         (nice): Likewise.
81190         (poll): Likewise.
81191         (signal): Likewise.
81192         (time): Likewise.
81193         (times): Likewise.
81195 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81197         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81198         sysdeps/unix/common/syscalls.list.
81199         (fchmod): Likewise.
81200         (fchown): Likewise.
81201         (ftruncate): Likewise.
81202         (getrusage): Likewise.
81203         (gettimeofday): Likewise.
81204         (setpgid): Likewise.
81205         (setregid): Likewise.
81206         (setreuid): Likewise.
81207         (sigaction): Likewise.
81208         (truncate): Likewise.
81209         (vhangup): Likewise.
81210         * sysdeps/unix/common/syscalls.list: Remove file.
81211         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81212         * sysdeps/unix/sysv/linux/Implies: Likewise.
81214 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81216         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81218         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81219         Moved to ...
81220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81221         Here.
81222         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81223         to ...
81224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81225         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81226         to ...
81227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81228         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81229         to ...
81230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81231         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81232         to ...
81233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81234         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81235         to ...
81236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81237         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81238         to ...
81239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81240         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81241         to ...
81242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81243         Here.
81244         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81245         to ...
81246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81247         Here.
81248         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81249         to ...
81250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81251         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81252         Moved to ...
81253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81254         Here.
81255         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81256         to ...
81257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81259 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81261         * sysdeps/unix/common/bits/dirent.h: Remove file.
81262         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81264         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81265         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81266         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81267         * sysdeps/unix/bsd/isatty.c: Likewise.
81268         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81269         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81270         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81272 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81274         [BZ #13563]
81275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81276         long double comparison inaccuracies.
81277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81280 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81282         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81283         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81285 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81287         [BZ #14049]
81288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81289         nonzero digits before rounding a hex value.
81290         * stdlib/tst-strtod.c (tests): Add another test.
81292 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81294         * sysdeps/s390/fpu/libm-test-ulps: Update.
81296 2012-05-03  Andreas Jaeger  <aj@suse.de>
81298         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81299         does not get optimized out.
81300         (malloc_opt_barrier): New.
81302 2012-05-03  Andreas Jaeger  <aj@suse.de>
81303             Roland McGrath  <roland@hack.frob.com>
81305         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81306         intermediate file deletion.
81307         (generated): Add .symlist files.
81309 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81311         [BZ #13775]
81312         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81313         Redirect under this condition.
81314         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81315         [__USE_GNU] (__dprintf_chk): Not under this condition.
81316         [__USE_GNU] (__vdprintf_chk): Likewise.
81317         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81318         under this condition.
81319         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81320         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81321         [__USE_XOPEN2K8] (vdprintf): Likewise.
81322         [__USE_GNU] (__dprintf_chk): Not under this condition.
81323         [__USE_GNU] (__vdprintf_chk): Likewise.
81324         [__USE_GNU] (dprintf): Likewise.
81325         [__USE_GNU] (vdprintf): Likewise.
81327 2012-05-03  Roland McGrath  <roland@hack.frob.com>
81329         * elf/Makefile (common-generated): Set this instead of generated for
81330         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
81331         $(all-built-dso)-derived lists.
81333 2012-05-03  Andreas Jaeger  <aj@suse.de>
81335         * sysdeps/i386/fpu/libm-test-ulps: Update.
81337         * FAQ: Removed.
81338         * FAQ.in: Likewise.
81339         * scripts/gen-FAQ.pl: Likewise.
81340         * manual/install.texi (Installation): Point to online location of
81341         FAQ.
81342         * Makefile (files-for-dist): Remove FAQ.
81343         (FAQ): Remove.
81345 2012-05-02  Allan McRae  <allan@archlinux.org>
81347         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
81348         (LDFLAGS-reldepmod5.so): Likewise.
81349         (LDFLAGS-reldep6mod1.so): Likewise.
81350         (LDFLAGS-reldep6mod4.so): Likewise.
81351         (LDFLAGS-reldep8mod3.so): Likewise.
81352         (LDFLAGS-unload4mod1.so): Likewise.
81353         (LDFLAGS-unload4mod2.so): Likewise.
81354         (LDFLAGS-tst-initorder): Likewise.
81355         (LDFLAGS-tst-initordera2.so): Likewise.
81356         (LDFLAGS-tst-initordera3.so): Likewise.
81357         (LDFLAGS-tst-initordera4.so): Likewise.
81358         (LDFLAGS-tst-initorderb2.so): Likewise.
81359         (LDFLAGS-noload): Likewise.
81360         (LDFLAGS-next): Likewise.
81361         (LDFLAGS-order2mod1.so): Likewise.
81362         (LDFLAGS-order2mod2.so): Likewise.
81363         (LDFLAGS-tst-initorder2): Likewise.
81364         (LDFLAGS-tst-initorder2a.so): Likewise.
81365         (LDFLAGS-tst-initorder2b.so): Likewise.
81366         (LDFLAGS-tst-initorder2c.so): Likewise.
81367         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
81369 2012-05-02  David S. Miller  <davem@davemloft.net>
81371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81373 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
81375         [BZ #14055]
81376         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
81378 2012-05-02  Andreas Jaeger  <aj@suse.de>
81380         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
81381         since we manipulate rounding mode.
81382         (CPPFLAGS-test-idouble.c): Likewise.
81383         (CPPFLAGS-test-ifloat.c): Likewise.
81384         (CFLAGS-test-ldouble.c): Likewise.
81385         (CFLAGS-test-double.c): Likewise.
81386         (CFLAGS-test-float.c): Likewise.
81387         (CFLAGS-test-misc.c): Likewise.
81388         (CFLAGS-test-test-fenv.c): Likewise.
81390 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81392         [BZ #2550]
81393         [BZ #2570]
81394         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
81395         comparisons to determine direction to adjust input.
81397 2012-05-01  Roland McGrath  <roland@hack.frob.com>
81399         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
81400         output to the target.
81402         * scripts/localplt.awk: New file.
81403         * elf/Makefile ($(objpfx)check-localplt): Target removed.
81404         (check-localplt-CFLAGS): Variable removed.
81405         ($(all-built-dso:=.jmprel)): New static pattern rule.
81406         (generated): Add those targets.
81407         (localplt-built-dso): New variable.
81408         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
81410         * elf/check-localplt.c: File removed.
81412         * scripts/check-execstack.awk: New file.
81413         * elf/Makefile ($(objpfx)check-execstack): Target removed.
81414         (check-execstack-CFLAGS): Variable removed.
81415         ($(objpfx)check-execstack.h): Target removed.
81416         ($(objpfx)execstack-default): New target.
81417         (generated): Add that instead of check-execstack.h.
81418         ($(all-built-dso:=.phdr)): New static pattern rule.
81419         (generated): Add those targets.
81420         * elf/check-execstack.c: File removed.
81422         * scripts/check-textrel.awk: New file.
81423         * elf/Makefile ($(objpfx)check-textrel): Target removed.
81424         (check-textrel-CFLAGS): Variable removed.
81425         (all-built-dso): Use := to define.o
81426         ($(all-built-dso:=.dyn)): New static pattern rule.
81427         (generated): Add those targets.
81428         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
81429         * config.make.in (READELF): New substituted variable.
81430         * elf/check-textrel.c: File removed.
81432 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81434         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81435         allow.
81436         * conform/data/ctype.h-data [C99-based standards] (isblank):
81437         Expect function.
81438         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
81439         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
81440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81441         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
81442         Specify type.  Require positive value.
81443         (EILSEQ): Likewise.
81444         (ERANGE): Likewise.
81445         [ISO || POSIX] (EILSEQ): Do not expect.
81446         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
81447         Specify type.  Require positive value.
81448         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
81449         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
81450         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
81451         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
81452         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
81453         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
81454         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
81455         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
81456         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
81457         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
81458         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
81459         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
81460         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
81461         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
81462         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
81463         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
81464         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
81465         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
81466         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
81467         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
81468         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
81469         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
81470         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
81471         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
81472         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
81473         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
81474         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
81475         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
81476         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
81477         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
81478         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
81479         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
81480         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
81481         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
81482         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
81483         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
81484         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
81485         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
81486         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
81487         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
81488         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
81489         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
81490         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
81491         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
81492         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
81493         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
81494         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
81495         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
81496         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
81497         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
81498         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
81499         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
81500         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
81501         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
81502         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
81503         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
81504         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
81505         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
81506         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
81507         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
81508         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
81509         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
81510         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
81511         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
81512         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
81513         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
81514         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
81515         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
81516         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
81517         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
81518         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
81519         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
81520         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
81521         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
81522         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
81523         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
81524         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
81525         Require >= 2.
81526         (FLT_ROUNDS): Expect as macro, not constant.
81527         (FLT_MANT_DIG): Use macro-int-constant.
81528         (DBL_MANT_DIG): Likewise.
81529         (LDBL_MANT_DIG): Likewise.
81530         (FLT_DIG): Likewise.
81531         (DBL_DIG): Likewise.
81532         (LDBL_DIG): Likewise.
81533         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
81534         (DBL_MIN_EXP): Likewise.
81535         (LDBL_MIN_EXP): Likewise.
81536         (FLT_MAX_EXP): Use macro-int-constant.
81537         (DBL_MAX_EXP): Likewise.
81538         (LDBL_MAX_EXP): Likewise.
81539         (FLT_MAX_10_EXP): Likewise.
81540         (DBL_MAX_10_EXP): Likewise.
81541         (LDBL_MAX_10_EXP): Likewise.
81542         (FLT_MAX): Use macro-constant.
81543         (DBL_MAX): Likewise.
81544         (LDBL_MAX): Likewise.
81545         (FLT_EPSILON): Use macro-constant.  Give upper bound.
81546         (DBL_EPSILON): Likewise.
81547         (LDBL_EPSILON): Likewise.
81548         (FLT_MIN): Likewise.
81549         (DBL_MIN): Likewise.
81550         (LDBL_MIN): Likewise.
81551         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
81552         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
81553         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
81554         [ISO11] (FLT_HAS_SUBNORM): Likewise.
81555         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
81556         [ISO11] (DBL_DECIMAL_DIG): Likewise.
81557         [ISO11] (FLT_DECIMAL_DIG): Likewise.
81558         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
81559         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
81560         [ISO11] (FLT_TRUE_MIN): Likewise.
81561         [ISO11] (LDBL_TRUE_MIN): Likewise.
81562         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81563         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
81564         (SCHAR_MIN): Use macro-int-constant.  Specify type.
81565         (SCHAR_MAX): Likewise.
81566         (UCHAR_MAX): Likewise.
81567         (CHAR_MIN): Likewise.
81568         (CHAR_MAX): Likewise.
81569         (MB_LEN_MAX): Use macro-int-constant.
81570         (SHRT_MIN): Use macro-int-constant.  Specify type.
81571         (SHRT_MAX): Likewise.
81572         (USHRT_MAX): Likewise.
81573         (INT_MAX): Likewise.
81574         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
81575         bound negative.
81576         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81577         bound with "U".
81578         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81579         bound with "L".
81580         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
81581         bound negative.  Suffix upper bound with "L".
81582         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
81583         bound with "UL".
81584         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
81585         Specify type.
81586         [C99-based standards] (LLONG_MAX): Likewise.
81587         [C99-based standards] (ULLONG_MAX): Likewise.
81588         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
81589         == 0.
81590         [ISO11] (max_align_t): Require type.
81591         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81593         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
81594         from $CFLAGS, without defining away __attribute__ calls.
81595         (checknamespace): Use $CFLAGS_namespace.
81597         * conform/conformtest.pl (@keywords): Only include C99 keywords
81598         for standards based on C99 or C11.
81600         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
81601         Disable tests.
81602         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
81603         UNIX98]: Likewise.
81605         * conform/conformtest.pl: Handle "macro-int-constant" and test for
81606         usability of symbols in #if.
81608         * conform/conformtest.pl: If macro or constant types start
81609         "promoted:", expect the symbol to be of the following type
81610         promoted by the integer promotions.
81612         * conform/conformtest.pl: Parse all "constant" and "macro" lines
81613         in one place.  Also handle "macro-constant".
81615         * conform/conformtest.pl: Only accept expected macro values with
81616         "==".  Parse all "macro" lines in one place.
81617         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
81619         * conform/conformtest.pl: Handle braced types on "constant" lines
81620         instead of handling "typed-constant".
81621         * conform/data/signal.h-data: Use "constant" instead of
81622         "typed-constant".
81624         * conform/conformtest.pl: Handle "optional-" at start of lines in
81625         one place rather than duplicating several cases.  Handle each
81626         format of "macro" line with initial "optional-".
81628         * conform/conformtest.pl: Only accept expected constant or
81629         optional-constant values with "==".  Parse all "constant" lines in
81630         one place.  Parse all "optional-constant" lines in one place.
81631         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
81632         * conform/data/fmtmsg.h-data: Likewise.
81633         * conform/data/netinet/in.h-data: Likewise.
81634         * conform/data/tar.h-data: Likewise.
81635         * conform/data/limits.h-data: Use "==" form on "constant" and
81636         "optional-constant" lines.
81638         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
81639         Use -std=c99 for XOPEN2K.
81640         (@knownproblems): Remove.
81641         (newtoken): Don't check %isknown.
81643         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
81644         Do not expect macro.
81645         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
81646         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
81647         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
81648         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
81649         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
81650         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
81651         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
81652         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
81653         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
81654         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
81655         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
81656         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
81657         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
81658         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
81659         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
81660         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
81661         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
81662         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
81663         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
81664         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
81665         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
81666         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
81667         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
81668         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
81669         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
81670         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
81671         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
81672         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
81673         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
81674         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
81675         [XPG3] (acosh): Likewise.
81676         [XPG3] (asinh): Likewise.
81677         [XPG3] (atanh): Likewise.
81678         [XPG3] (cbrt): Likewise.
81679         [XPG3] (expm1): Likewise.
81680         [XPG3] (ilogb): Likewise.
81681         [XPG3] (log1p): Likewise.
81682         [XPG3] (logb): Likewise.
81683         [XPG3] (nextafter): Likewise.
81684         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
81685         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
81686         [XPG3] (remainder): Likewise.
81687         [XPG3] (rint): Likewise.
81688         [XPG3 || XPG4 || UNIX98] (round): Likewise.
81689         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
81690         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
81691         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
81692         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
81693         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
81694         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
81695         [UNIX98 || XOPEN2K] (scalb): Expect.
81696         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
81697         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
81698         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
81699         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
81700         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
81701         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
81702         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
81703         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
81704         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
81705         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
81706         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
81707         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
81708         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
81709         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
81710         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
81711         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
81712         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
81713         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
81714         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
81715         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
81716         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
81717         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
81718         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
81719         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
81720         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
81721         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
81722         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
81723         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
81724         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
81725         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
81726         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
81727         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
81728         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
81729         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
81730         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
81731         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
81732         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
81733         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
81734         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
81735         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
81736         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
81737         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
81738         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
81739         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
81740         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
81741         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
81742         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
81743         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
81744         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
81745         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
81746         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
81747         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
81748         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
81749         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
81750         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
81751         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
81752         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
81753         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
81754         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
81755         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
81756         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
81757         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
81758         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
81759         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
81760         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
81761         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
81762         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
81763         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
81764         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
81765         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
81766         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
81767         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
81768         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
81769         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
81770         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
81771         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
81772         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
81773         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
81774         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
81775         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
81776         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
81777         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
81778         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
81779         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
81780         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
81781         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
81782         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
81783         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
81784         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
81785         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
81786         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
81787         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
81788         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
81789         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
81790         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
81791         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
81792         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
81793         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
81794         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81795         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81796         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81797         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81798         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81799         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81800         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81801         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81802         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81803         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81804         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81805         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81806         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81807         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81808         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81809         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81810         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81811         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81812         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81813         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81814         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81815         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81816         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81817         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81818         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81819         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81820         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81821         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81822         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81823         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81824         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81825         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81826         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81827         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81828         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81829         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81830         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81831         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81832         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81834         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81835         _XOPEN_SOURCE_EXTENDED for XPG4.
81837         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81839         * Makeconfig (localtime): Remove variable.
81840         (inst_localtime-file): Likewise.
81842 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81845         Update.
81846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81847         Update.
81848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81849         Update.
81850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81851         Update.
81852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81853         Update.
81854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81855         Update.
81856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81857         Update.
81858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81859         Update.
81860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81861         Update.
81863 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81865         [BZ #2550]
81866         [BZ #2570]
81867         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81868         comparisons to determine direction to adjust input.
81869         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81870         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81871         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81872         Likewise.
81873         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81874         Likewise.
81875         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81876         Likewise.
81877         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81878         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81879         Likewise.
81880         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81881         Likewise.
81882         * math/libm-test.inc (nexttoward_test): Add more tests.
81884 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81886         [BZ #14040]
81887         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81888         in version GLIBC_2.1, not GLIBC_2.0.
81889         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81890         Likewise.
81892 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81894         [BZ #13942]
81895         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81896         (1 - x) * (1 + x).
81897         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81898         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81899         * math/libm-test.inc (acos_test): Add more tests.
81900         (asin_test): Likewise.
81901         * sysdeps/i386/fpu/libm-test-ulps: Update.
81902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81904         [BZ #14034]
81905         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81906         of square root.
81907         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81908         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81909         * math/libm-test.inc (acos_test_tonearest): New function.
81910         (acos_test_towardzero): Likewise.
81911         (acos_test_downward): Likewise.
81912         (acos_test_upward): Likewise.
81913         (asin_test_tonearest): Likewise.
81914         (asin_test_towardzero): Likewise.
81915         (asin_test_downward): Likewise.
81916         (asin_test_upward): Likewise.
81917         (main): Call the new functions.
81918         * sysdeps/i386/fpu/libm-test-ulps: Update.
81919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81921         [BZ #13884]
81922         [BZ #13924]
81923         * math/e_exp10.c: Include <float.h>.
81924         (__ieee754_exp10): Handle underflow here rather than multiplying
81925         large negative argument by M_LN10.
81926         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81927         of __ieee754_expf.
81928         * math/e_exp10l.c: Include <float.h>.
81929         (__ieee754_exp10l): Handle underflow here rather than multiplying
81930         large negative argument by M_LN10l.
81931         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81932         spurious overflow exception on underflow.
81934 2012-04-29  Marek Polacek  <polacek@redhat.com>
81936         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81937         (__fortify_function): New macro.
81938         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81939         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81940         __extern_always_inline.
81941         * libio/bits/stdio2.h: Likewise.
81942         * libio/bits/stdio.h: Likewise.
81943         * string/string.h: Likewise.
81944         * string/bits/string3.h: Likewise.
81945         * include/stdio.h: Likewise.
81946         * stdlib/bits/stdlib.h: Likewise.
81947         * stdlib/stdlib.h: Likewise.
81948         * rt/bits/mqueue2.h: Likewise.
81949         * rt/mqueue.h: Likewise.
81950         * posix/bits/unistd.h: Likewise.
81951         * posix/unistd.h: Likewise.
81952         * io/bits/poll2.h: Likewise.
81953         * io/bits/fcntl2.h: Likewise.
81954         * io/fcntl.h: Likewise.
81955         * io/sys/poll.h: Likewise.
81956         * misc/bits/syslog.h: Likewise.
81957         * misc/bits/syslog-ldbl.h: Likewise.
81958         * misc/sys/syslog.h: Likewise.
81959         * socket/bits/socket2.h: Likewise.
81960         * socket/sys/socket.h: Likewise.
81961         * debug/tst-chk1.c: Likewise.
81962         * wcsmbs/bits/wchar2.h: Likewise.
81963         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81964         * wcsmbs/wchar.h: Likewise.
81966 2012-04-29  Andreas Jaeger  <aj@suse.de>
81968         * Makerules (tests): Remove enable-check-abi protection.
81969         (check-abi-warn): Remove.
81970         (check-abi-%): Remove check-abi-warn usage.
81972         * configure.in: Remove check-abi configure option.
81973         * configure: Regenerated.
81974         * config.make.in (enable-check-abi): Remove.
81976 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
81978         [BZ #14033]
81979         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81980         double functions to double *_finite functions.
81982         [BZ #13941]
81983         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81984         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81985         LDBL_MIN_EXP.
81986         * stdio-common/Makefile (tests): Add tst-sprintf3.
81987         * stdio-common/tst-sprintf3.c: New file.
81989         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81990         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81992 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81994         * conform/conformtest.pl: Remove duplicate typed-constant
81995         handling.
81997 2012-04-28  David S. Miller  <davem@davemloft.net>
81999         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82000         (check-abi-%): Remove AWK script prerequisite and explicit
82001         abilist directory.
82002         (check-abi): Rewrite to just diff the symlist with the abilist.
82003         (config-tls, config-abi-config): Delete, no longer used.
82004         (update-abi-%): Remove AWK script and explicit abilist directory.
82005         (update-abi): Rewrite to simply compare and conditionally copy the
82006         symlist and the sysdep abilist file.  Remove update-abi-config
82007         checks.
82008         * abilist/ld.abilist: Remove.
82009         * abilist/libBrokenLocale.abilist: Remove.
82010         * abilist/libanl.abilist: Remove.
82011         * abilist/libcrypt.abilist: Remove.
82012         * abilist/libdl.abilist: Remove.
82013         * abilist/librt.abilist: Remove.
82014         * abilist/libthread_db.abilist: Remove.
82015         * abilist/libutil.abilist: Remove.
82016         * scripts/extract-abilist.awk: Remove.
82017         * scripts/merge-abilist.awk: Remove.
82018         * sysdeps/generic/libcidn.abilist: New file.
82019         * sysdeps/generic/libnss_compat.abilist: New file.
82020         * sysdeps/generic/libnss_db.abilist: New file.
82021         * sysdeps/generic/libnss_dns.abilist: New file.
82022         * sysdeps/generic/libnss_files.abilist: New file.
82023         * sysdeps/generic/libnss_hesiod.abilist: New file.
82024         * sysdeps/generic/libnss_nis.abilist: New file.
82025         * sysdeps/generic/libnss_nisplus.abilist: New file.
82026         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82027         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82028         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82029         file.
82030         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82031         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82032         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82033         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82034         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82035         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82036         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82037         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82038         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82039         file.
82040         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82041         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82042         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82043         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82044         file.
82045         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82046         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82047         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82048         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82049         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82050         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82051         file.
82052         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82053         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82054         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82055         file.
82056         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82057         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82058         New file.
82059         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82060         New file.
82061         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82062         New file.
82063         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82064         New file.
82065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82066         New file.
82067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82068         New file.
82069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82070         New file.
82071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82072         New file.
82073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82074         New file.
82075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82076         New file.
82077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82078         New file.
82079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82080         New file.
82081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82082         New file.
82083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82084         file.
82085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82086         New file.
82087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82088         New file.
82089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82090         file.
82091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82092         New file.
82093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82094         New file.
82095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82096         file.
82097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82098         New file.
82099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82100         New file.
82101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82102         New file.
82103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82104         New file.
82105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82106         New file.
82107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82108         New file.
82109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82111         file.
82112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82113         New file.
82114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82115         file.
82116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82117         file.
82118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82119         file.
82120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82121         file.
82122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82123         file.
82124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82125         New file.
82126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82127         file.
82128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82129         file.
82130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82131         New file.
82132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82133         file.
82134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82136         file.
82137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82138         New file.
82139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82140         file.
82141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82142         file.
82143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82144         file.
82145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82146         file.
82147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82148         file.
82149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82150         New file.
82151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82152         file.
82153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82154         file.
82155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82156         New file.
82157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82158         file.
82159         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82160         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82161         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82162         file.
82163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82164         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82165         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82166         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82167         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82168         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82169         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82170         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82171         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82172         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82175         file.
82176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82177         New file.
82178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82179         file.
82180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82181         file.
82182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82183         file.
82184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82185         file.
82186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82187         file.
82188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82189         New file.
82190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82191         New file.
82192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82193         file.
82194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82195         New file.
82196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82197         file.
82198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82200         file.
82201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82202         New file.
82203         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82204         file.
82205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82206         file.
82207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82208         file.
82209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82210         file.
82211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82212         file.
82213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82214         New file.
82215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82216         New file.
82217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82218         file.
82219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82220         New file.
82221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82222         file.
82224 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82226         * conform/conformtest.pl: Fix typo in handling typed-constant from
82227         allow-header.
82229 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82231         * README: Cut down references to pre-2.6 Linux kernels and
82232         Linuxthreads.  Update lists of configurations in libc and ports
82233         and sort alphabetically.  Say "or newer" with Linux kernel version
82234         requirements.
82236         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82238 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82240         [BZ #887]
82241         * math/libm-test.inc (logb_test_downward): New test to expose
82242         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82243         rounding mode.
82245 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82247         [BZ #14027]
82248         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82249         to be done.
82250         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82251         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82253 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82255         * sysdeps/unix/i386/brk.S: Remove file.
82256         * sysdeps/unix/i386/dl-brk.S: Likewise.
82257         * sysdeps/unix/i386/pipe.S: Likewise.
82258         * sysdeps/unix/i386/sigreturn.S: Likewise.
82259         * sysdeps/unix/i386/syscall.S: Likewise.
82260         * sysdeps/unix/i386/vfork.S: Likewise.
82261         * sysdeps/unix/i386/wait.S: Likewise.
82263         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82264         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82266         * configure.in (arm*-none*): Do not allow without
82267         --enable-hacker-mode.
82268         (netbsd*): Remove case setting base_os.
82269         (386bsd*): Likewise.
82270         (freebsd*): Likewise.
82271         (bsdi*): Likewise.
82272         (osf*): Likewise.
82273         (sunos*): Likewise.
82274         (ultrix*): Likewise.
82275         (newsos*): Likewise.
82276         (dynix*): Likewise.
82277         (*bsd*): Likewise.
82278         (sysv*): Likewise.
82279         (isc*): Likewise.
82280         (esix*): Likewise.
82281         (sco*): Likewise.
82282         (minix*): Likewise.
82283         (irix4*): Likewise.
82284         (irix6*): Likewise.
82285         (solaris[2-9]*): Likewise.
82286         (none): Likewise.
82287         * configure: Regenerated.
82289 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82291         [BZ #11521]
82292         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82293         overflow or cancellation in calculating denominator.
82294         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82296         down expression to avoid unexpected rounding in newer GCCs.
82297         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82299 2012-04-26  David S. Miller  <davem@davemloft.net>
82301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82302         long-double compat symbols.
82303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82317 2012-04-25  David S. Miller  <davem@davemloft.net>
82319         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82320         HWCAP_* values only after the memory barriers have been defined.
82321         (atomic_full_barrier): Define.
82322         (atomic_read_barrier): Define.
82323         (atomic_write_barrier): Define.
82325 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82327         * shlib-versions: Add libgcc_s version information.
82328         * sysdeps/generic/libgcc_s.h: Remove.
82329         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
82330         libgcc_s.h.
82331         * sysdeps/gnu/unwind-resume.c: Likewise.
82332         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
82334 2012-04-25  David S. Miller  <davem@davemloft.net>
82336         * sysdeps/unix/sparc/brk.S: Delete.
82337         * sysdeps/unix/sparc/dl-brk.S: Delete.
82338         * sysdeps/unix/sparc/pipe.S: Delete.
82339         * sysdeps/unix/sparc/sysdep.S: Delete.
82340         * sysdeps/unix/sparc/sysdep.h: Delete.
82341         * sysdeps/unix/sparc/vfork.S: Delete.
82342         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
82343         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
82344         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
82345         (ret_ERRVAL, r0, r1, MOVE): Define.
82346         (JUMPTARGET): Remove.
82347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
82348         sysdeps/unix/sparc/sysdep.h
82349         (ENTRY, END): Remove.
82350         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82352 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
82354         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
82355         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
82356         -DIS_IN_build.
82358         * timezone/README: Update upstream location and email address for
82359         tzcode and tzdata.
82360         * timezone/zdump.c: Update from tzcode 2012b.
82361         * timezone/zic.c: Likewise.
82363         * configure.in (libc_cv_as_needed): Remove test.
82364         * configure: Regenerated.
82365         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
82366         conditional definition.
82367         [$(have-as-needed) != yes] (no-as-needed): Likewise.
82368         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
82369         * config.make.in (have-as-needed): Remove variable.
82371 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
82372             Paul Pluzhnikov  <ppluzhnikov@google.com>
82374         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
82375         strings correctly.
82377 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
82379         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
82380         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
82381         * sysdeps/sh/strlen.S: Likewise.
82383 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82385         * sysdeps/unix/fork.S: Remove file.
82386         * sysdeps/unix/i386/fork.S: Likewise.
82387         * sysdeps/unix/sparc/fork.S: Likewise.
82389         * sysdeps/unix/system.c: Remove file.
82390         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
82392         * sysdeps/unix/getegid.S: Remove file.
82393         * sysdeps/unix/geteuid.S: Likewise.
82395 2012-04-24  Roland McGrath  <roland@hack.frob.com>
82397         * scripts/check-localplt.awk: New file.
82398         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
82399         of diff.
82400         * scripts/data/localplt-generic.data: Add a comment.
82402         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
82403         NODE when __dir_mkfile failed.
82404         * sysdeps/mach/hurd/symlinkat.c: Likewise.
82405         Reported by Ludovic Courtès <ludo@gnu.org>.
82407 2012-04-24  Andreas Jaeger  <aj@suse.de>
82409         * Makerules (common-clean): Also remove gen-as-const-headers
82410         files.
82412 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82414         * Makerules (native-compile): Do not change working directory for
82415         build.  Use $(OUTPUT_OPTION) in command.
82416         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
82418 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82420         [BZ #13886]
82421         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
82422         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
82423         * math/libm-test.inc (floor_test): Add more tests.
82424         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
82426 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
82428         * sysdeps/unix/getdents.c: Remove file.
82429         * sysdeps/unix/sysv/getdents.c: Likewise.
82430         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
82432         * sysdeps/unix/syscalls.list (madvise): Add syscall from
82433         sysdeps/unix/mman/syscalls.list.
82434         (mmap): Likewise.
82435         (mprotect): Likewise.
82436         (msync): Likewise.
82437         (munmap): Likewise.
82438         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
82439         * sysdeps/unix/mman/syscalls.list: Remove.
82440         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
82442         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
82443         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
82444         * configure: Regenerated.
82445         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
82446         $(libgcc_s_suffix).
82447         * config.make.in (libgcc_s_suffix): Remove variable.
82449 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
82451         * sysdeps/unix/sysv/gethostname.c: Move to ...
82452         * sysdeps/posix/gethostname.c: ... here.
82454         * sysdeps/unix/execve.S: Remove file.
82456         * sysdeps/unix/_exit.S: Remove file.
82458 2012-04-23  Andreas Jaeger  <aj@suse.de>
82460         [BZ #13739]
82461         * manual/Makefile: Remove make dist support, there's no
82462         need for a stand-alone documentation tar ball.
82463         (TEXI2DVI): Define always, it's not in Makeconfig.
82464         (dist): Removed.
82465         (tar-it): Removed.
82466         (edition): Removed.
82467         (glibc-doc-$(edition).tar): Removed
82468         (%.Z): Removed.
82469         (%.gz): Removed.
82470         (%.uu): Removed.
82471         (ETAGS): Remove, it's in Makeconfig.
82472         (move-if-change): Remove, it's in Makeconfig.
82474 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
82476         [BZ #13970]
82477         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
82478         (strtod, strtof, strtold, strtol, strtoul, strtoq)
82479         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
82480         (strtod_l, strtof_l, strtold_l): Remove __wur.
82481         It is not necessarily an error to ignore strtol's return value.
82482         One can reliably look at the stored endptr to decide whether
82483         the number had valid syntax.
82485 2012-04-21  Andreas Jaeger  <aj@suse.de>
82487         [BZ #13739]
82488         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
82490 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
82492         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
82493         * sysdeps/unix/sysv/Versions: Remove file.
82495 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
82497         [BZ #13927]
82498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82500 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
82502         [BZ #7064]
82503         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
82504         version from __vm86.
82506 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
82508         * sysdeps/unix/common/lxstat.c: Remove file.
82509         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
82511         * sysdeps/unix/sysv/Makefile: Remove file.
82513         * sysdeps/unix/sysv/direct.h: Remove file.
82515         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
82516         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
82517         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
82518         * sysdeps/unix/sysv/bits/signum.h: Likewise.
82519         * sysdeps/unix/sysv/bits/stat.h: Likewise.
82520         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
82521         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
82523         * sysdeps/unix/sysv/setrlimit.c: Remove file.
82525         * sysdeps/unix/xmknod.c: Remove file.
82526         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
82528         * sysdeps/unix/sysv/settimeofday.c: Remove file.
82530         * sysdeps/unix/sysv/i386/time.S: Remove file.
82532         * sysdeps/unix/fxstat.c: Remove file.
82533         * sysdeps/unix/xstat.c: Likewise.
82534         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
82536         * sysdeps/unix/sysv/sigaction.c: Remove file.
82538         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
82539         (sysdep_headers): Remove variable.
82540         [termio.h not in sysdep_headers] (generated): Likewise.
82541         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
82542         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
82543         * sysdeps/unix/sysv/tcdrain.c: Likewise.
82544         * sysdeps/unix/sysv/tcflow.c: Likewise.
82545         * sysdeps/unix/sysv/tcflush.c: Likewise.
82546         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
82547         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
82548         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
82549         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
82550         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
82552         * sysdeps/unix/siglist.c: Remove file.
82554         * sysdeps/unix/getppid.S: Remove file.
82556         * sysdeps/unix/mkdir.c: Remove file.
82557         * sysdeps/unix/rmdir.c: Likewise.
82559 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
82561         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
82562         ERR_MAX value.
82563         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
82564         errlist-compat value.
82566 2012-04-18  David S. Miller  <davem@davemloft.net>
82568         * sysdeps/generic/memcopy.h (reg_char): Delete.
82569         * debug/strcat_chk.c: Use char, not reg_char.
82570         * debug/strcpy_chk.c: Likewise.
82571         * debug/strncat_chk.c: Likewise.
82572         * debug/strncpy_chk.c: Likewise.
82573         * string/memchr.c: Likewise.
82574         * string/memrchr.c: Likewise.
82575         * string/rawmemchr.c: Likewise.
82576         * string/strcat.c: Likewise.
82577         * string/strchr.c: Likewise.
82578         * string/strchrnul.c: Likewise.
82579         * string/strcmp.c: Likewise.
82580         * string/strcpy.c: Likewise.
82581         * string/strncat.c: Likewise.
82582         * string/strncmp.c: Likewise.
82583         * string/strncpy.c: Likewise.
82585 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82587         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
82588         __builtin_memcopy is called when src and dest ranges are known to not
82589         overlap.
82591 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82593         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
82594         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
82595         fwd_align_merge macro call.
82596         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
82597         bwd_align_merge macro call.
82598         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82600 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
82602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
82603         bwd_align_merge macros.
82604         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
82605         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
82606         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
82608 2012-04-18  David S. Miller  <davem@davemloft.net>
82610         * sysdeps/sparc/sparc64/memcopy.h: Delete.
82612 2012-04-18  Andreas Jaeger  <aj@suse.de>
82614         [BZ #6794]
82615         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
82616         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
82617         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82619         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
82620         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
82621         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82623         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
82624         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
82625         Adjust for changed ldbl-128 files.
82627         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
82628         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
82629         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
82631 2012-04-17  David S. Miller  <davem@davemloft.net>
82633         * sysdeps/sparc/sparc32/memcopy.h: Delete.
82635 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
82637         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
82638         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
82639         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82640         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
82641         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
82642         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
82644 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82646         [BZ #6794]
82647         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
82648         * math/libm-test.inc: Add ilogb errno and exception tests.
82649         * math/w_ilogb.c: New file: ilogb wrapper.
82650         * math/w_ilogbf.c: New file: ilogbf wrapper.
82651         * math/w_ilogbl.c: New file: ilogbl wrapper.
82652         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
82653         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
82654         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
82655         exception being thrown with 0.0 as argument.
82656         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
82657         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
82658         exception being thrown with 0.0 as argument.
82659         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
82660         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82661         exception being thrown with 0.0 as argument.
82662         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
82663         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
82664         exception being thrown with 0.0 as argument.
82665         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
82666         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
82667         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
82668         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
82669         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
82670         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
82671         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
82672         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
82673         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
82675 2012-04-17  Petr Baudis  <pasky@ucw.cz>
82677         * include/sys/uio.h: Change __vector to __iovec to avoid clash
82678         with altivec.
82680 2012-04-16  Marek Polacek  <polacek@redhat.com>
82682         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
82684 2012-04-16  Marek Polacek  <polacek@redhat.com>
82686         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
82687         operands of fdivp instruction.
82689 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82691         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
82692         * elf/tst-auditmod3b.c: Likewise.
82693         * elf/tst-auditmod4b.c: Likewise.
82694         * elf/tst-auditmod5b.c: Likewise.
82695         * elf/tst-auditmod6b.c: Likewise.
82696         * elf/tst-auditmod6c.c: Likewise.
82697         * elf/tst-auditmod7b.c: Likewise.
82698         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
82699         * sysdeps/x86_64/preconfigure.in: Likewise.
82700         * sysdeps/x86_64/preconfigure: Regenerated.
82702 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
82704         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
82705         __ILP32__.
82707 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
82709         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
82710         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
82712 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
82714         [BZ #13973]
82715         * locale/iso-639.def: Fix gl language name. Spotted by
82716         Yaron Shahrabani.
82718 2012-04-12  Roland McGrath  <roland@hack.frob.com>
82720         [BZ #2074]
82721         * libio/libio.h (__io_write_fn): Update comment.
82723 2012-04-12  Petr Baudis  <pasky@ucw.cz>
82725         [BZ #2074]
82726         * stdio.texi (Hook Functions): The user provided writer function
82727         is not allowed to return -1.
82729 2012-04-11  David S. Miller  <davem@davemloft.net>
82731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82733 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
82735         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
82736         Add a leading slash to rtkaio.
82738 2012-04-11  Jim Meyering  <meyering@redhat.com>
82740         [BZ #11959]
82741         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
82742         It is not necessarily an error to ignore fwrite's return
82743         value.  One can reliably use ferror to test for errors after
82744         the fact.
82746 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82748         * bits/types.h (__snseconds_t): New type.
82749         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
82751         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
82752         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82753         (__SNSECONDS_T_TYPE): Likewise.
82754         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82755         (__SNSECONDS_T_TYPE): Likewise.
82756         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82757         (__SNSECONDS_T_TYPE): Likewise.
82759 2012-04-10  Andreas Jaeger  <aj@suse.de>
82761         [BZ #2636]
82762         * manual/time.texi (Processor Time): Return type of times is
82763         elapsed real time since an arbitrary point in the past.
82764         (CPU Time): Move CLK_TCK from here...
82765         (Processor Time): ...to here.  Correct description.
82766         * manual/conf.texi (Constants for Sysconf): Correct description of
82767         _SC_CLK_TCK.
82769 2012-04-10  David S. Miller  <davem@davemloft.net>
82771         [BZ #13967]
82772         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
82773         where the is a gap between DT_REL(A) and DT_JMPREL.
82775 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
82777         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
82778         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82779         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82781 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
82783         * elf/dl-support.c (_dl_inhibit_cache): New variable.
82784         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
82785         (dl_main): Handle --inhibit-cache.
82786         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
82787         _dl_inhibit_cache.
82788         * elf/dl-load.c (_dl_map_object): Use it.
82789         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
82791 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82793         [BZ #13872]
82794         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82795         (__ieee754_powl): Saturate large exponents rather than testing for
82796         overflow of y*log2(x).
82797         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82798         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82799         exceptions.
82801         [BZ #11521]
82802         * math/s_ctan.c: Include <float.h>.
82803         (__ctan): Avoid internal overflow or cancellation in calculating
82804         denominator.
82805         * math/s_ctanf.c: Likewise.
82806         * math/s_ctanl.c: Likewise.
82807         * math/s_ctanh.c: Likewise.
82808         * math/s_ctanhf.c: Likewise.
82809         * math/s_ctanhl.c: Likewise.
82810         * math/libm-test.inc (ctan_test): Add more tests.
82811         (ctanh_test): Likewise.
82812         * sysdeps/i386/fpu/libm-test-ulps: Update.
82813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82815 2012-04-09  Andreas Jaeger  <aj@suse.de>
82817         [BZ #6894]
82818         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82819         is an optional BSD extension.
82821         [BZ #10254]
82822         * manual/stdio.texi (Opening Streams): Document additional fopen
82823         parameters.
82825 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82827         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82828         %eax without telling the compiler.
82830 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82832         [BZ # 13963]
82833         * manual/install.texi: Use sourceware.org.
82835 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82837         [BZ #13873]
82838         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82839         (__ieee754_pow): Generate overflow and underflow using huge*huge
82840         and tiny*tiny rather than just returning constant infinity or zero
82841         for large exponents.
82842         * math/libm-test.inc (pow_test): Require overflow exceptions for
82843         applicable cases of large exponents.
82845         [BZ #706]
82846         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82847         (__ieee754_pow): Use iterative multiplication algorithm only for
82848         integer exponents with absolute value below 1024.  Check for odd
82849         integer exponents when using algorithm for real exponents.
82850         * math/libm-test.inc (pow_test): Add more tests.
82851         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82853 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82855         [BZ #13705]
82856         * math/libm-test.inc (exp_test): Do not allow overflow exception
82857         on underflow test.
82859 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82861         [BZ #13705]
82862         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82863         instead of __kernel_standard_f.
82865 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82867         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82868         * sysdeps/x86_64/memset_chk.S: Likewise.
82870 2012-04-08  Andreas Jaeger  <aj@suse.de>
82872         [BZ #10153]
82873         * manual/startup.texi (Environment Access): Describe return value
82874         for putenv and setenv.
82876         [BZ #6895]
82877         * manual/filesys.texi (Directory Entries): Add description for
82878         DT_LNK.
82880         [BZ #6890]
82881         * manual/filesys.texi (Directory Entries): Clarify that it's file
82882         system not operating system in the description of DT_UNKNOWN.
82884         [BZ #6578]
82885         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82887 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82889         [BZ #6649]
82890         * manual/llio.texi (Opening and Closing Files): Add cross
82891         reference to explain mode argument.
82893 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82895         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82896         * sysdeps/x86_64/memset_chk.S: Likewise.
82898 2012-04-07  David S. Miller  <davem@davemloft.net>
82900         * elf/elf.h (R_SPARC_WDISP10): Define.
82901         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82902         R_SPARC_SIZE32.
82903         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82904         R_SPARC_SIZE64 and R_SPARC_H34.
82906 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82909         conditions and remove no longer applicable assertion.
82911 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82913         * bits/byteswap.h: Include <features.h>.
82914         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82915         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82917 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82919         * bits/byteswap.h (__bswap_16): Removed.
82920         Include <bits/byteswap-16.h> to get __bswap_16.
82921         * sysdeps/i386/bits/byteswap.h: Likewise.
82922         * sysdeps/s390/bits/byteswap.h: Likewise.
82923         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82924         * bits/byteswap-16.h: New file.
82925         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82926         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82927         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82928         * string/Makefile (headers): Add bits/byteswap-16.h.
82930 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82932         [BZ #13895]
82933         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82934         extra indirection.
82935         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82936         * nss/tst-nss-static.c: New.
82938 2012-04-06  Robert Millan  <rmh@gnu.org>
82940         [BZ #6486]
82941         * manual/llio.texi (File Position Primitive): lseek
82942         refers to WHENCE when it really means OFFSET.
82944 2012-04-06  Andreas Jaeger  <aj@suse.de>
82946         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82947         strncmp declarations.
82949         * abilist/libc.abilist: Add __poll and __ppoll.
82951 2012-04-05  David S. Miller  <davem@davemloft.net>
82953         * scripts/check-local-headers.sh: Accept a host triplet in the
82954         path matched by the exclude regexp.
82956         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82957         definition.
82958         * sysdeps/powerpc/powerpc32/dl-machine.h
82959         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82960         * sysdeps/s390/s390-32/dl-machine.h
82961         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82962         * sysdeps/sparc/sparc32/dl-machine.h
82963         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82964         * sysdeps/sparc/sparc64/dl-machine.h
82965         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82967         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82968         lazy binding.
82969         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82970         undefined symbol errors.
82972         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82973         DT_NEEDED entries.
82975 2012-04-05  Michael Matz  <matz@suse.de>
82977         [BZ #13592]
82978         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82980 2012-04-05  Andreas Jaeger  <aj@suse.de>
82982         [BZ #13908]
82983         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82984         comment.
82986 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82988         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82989         which ROUND is no valid rounding mode.
82991 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82993         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82994         read again.
82995         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82997 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82999         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83000         an exception using FPU order intentionally.
83002 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83004         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83005         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83006         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83007         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83009 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83011         [BZ #12340]
83012         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83013         EINVAL when BUFLEN is too smal.
83015 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83017         [BZ #13553]
83018         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83019         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83021 2012-04-03  Andreas Jaeger  <aj@suse.de>
83023         [BZ #13938]
83024         * manual/setjmp.texi (System V contexts): Fix sentence.
83026         [BZ #13926]
83027         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83028         New macro for this case.
83029         [!__GNUC__] (__bswap_64): New inline function for this case.
83030         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83031         * bits/byteswap.h: Likewise.
83032         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83033         ull, guard with __GLIBC_HAVE_LONG_LONG.
83035         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83036         __GLIBC_HAVE_LONG_LONG.
83038         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83039         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83041 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83043         [BZ #13691]
83044         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83045         inptr and inend, rather than using last_ch.
83047 2012-04-02  David S. Miller  <davem@davemloft.net>
83049         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83050         * stdio-common/printf-parse.h (read_int): Change return type to
83051         'int', return -1 on INT_MAX overflow.
83052         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83053         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83054         overflows INT_MAX.  Check for overflow of in-format-string precision
83055         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83056         SIZE_MAX not INT_MAX for integer overflow test.
83057         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83058         skip the construct in the format string but do not record anything.
83059         * stdio-common/bug22.c: Adjust to test both width/prevision
83060         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83061         explicitly for proper errno values.
83063 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83065         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83066         CHAR_MAX.
83067         * string/test-strcmp.c [! WIDE]: Likewise.
83068         * time/tst-mktime2.c: Likewise for INT_MAX.
83069         * string/test-string.h: #include <sys/param.h> for MIN.
83071         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83072         * sysdeps/i386/init-first.c (init): Likewise.
83073         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83074         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83075         * sysdeps/sh/init-first.c (init): Likewise.
83077 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83079         * po/ru.po: Update from translation team.
83080         * po/vi.po: Likewise.
83082 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83084         * resolv/nss_dns/dns-host.c: Merge copyright years.
83086 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83088         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83089         Optimize memcpy with prefetch if
83090         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83091         src, dst pointers have unequal 16 byte alignments.
83093 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83095         [BZ #13928]
83096         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83097         from a CNAME entry and return the minimum ttl for the query.
83098         (gaih_getanswer_slice): Likewise.
83100 2012-03-30  Jeff Law  <law@redhat.com>
83102         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83103         due to long keys.
83104         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83105         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83107         * resolv/nss_dns/dns-host.c: Update copyright year.
83109 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83111         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83112         requests to save a system call.  Fix check that all bytes are sent.
83114         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83115         comments for sendmmsg.
83117 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83119         [BZ #13691]
83120         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83121         with only 1 character between 0x0041 and 0x01b0.
83122         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83123         * wcsmbs/tst-mbsnrtowcs.c: New file.
83125 2012-03-29  David S. Miller  <davem@davemloft.net>
83127         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83128         small copies by hand.
83130 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83132         [BZ #13761]
83133         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83134         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83135         group memberships.
83137 2012-03-28  David S. Miller  <davem@davemloft.net>
83139         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83140         that branches into memcpy.
83141         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83144         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83146         bits.
83147         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83148         implementation too.
83149         * sysdeps/sparc/mempcpy.S: New file.
83151         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83152         the IFUNC routine in the libc case.
83153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83155         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83156         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83157         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83158         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83159         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83160         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83161         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83162         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83164         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83165         loop to 256 bytes instead of 64 bytes and fix test signedness.
83167         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83168         * sysdeps/sparc/sparc32/Makefile: rather than here...
83169         * sysdeps/sparc/sparc64/Makefile: and here.
83171 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83173         * malloc/mallocbug.c: Avoid warnings about unused variables.
83175 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83177         [BZ #13760]
83178         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83179         in the right place. Discard and retry query if response is
83180         larger than input buffer size.
83182 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83184         [BZ #369]
83185         [BZ #2678]
83186         [BZ #3866]
83187         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83188         x for large integer exponent.
83189         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83190         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83191         sign of result as needed afterwards.
83192         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83193         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83194         result for underflowing pow the same as for overflow.
83195         (__kernel_standard_l): Handle powl overflow and underflow here
83196         rather than calling __kernel_standard.
83197         * math/libm-test.inc (pow_test): Add more tests.
83199         [BZ #3868]
83200         [BZ #13879]
83201         [BZ #13910]
83202         [BZ #13911]
83203         [BZ #13912]
83204         [BZ #13913]
83205         [BZ #13915]
83206         [BZ #13916]
83207         [BZ #13917]
83208         [BZ #13918]
83209         [BZ #13919]
83210         [BZ #13920]
83211         [BZ #13921]
83212         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83213         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83214         (__kernel_standard_l): New function.
83215         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83216         __kernel_standard.
83217         * math/w_acosl.c (__acosl): Likewise.
83218         * math/w_asinl.c (__asinl): Likewise.
83219         * math/w_atan2l.c (__atan2l): Likewise.
83220         * math/w_atanhl.c (__atanhl): Likewise.
83221         * math/w_coshl.c (__coshl): Likewise.
83222         * math/w_exp10l.c (__exp10l): Likewise.
83223         * math/w_exp2l.c (__exp2l): Likewise.
83224         * math/w_fmodl.c (__fmodl): Likewise.
83225         * math/w_hypotl.c (__hypotl): Likewise.
83226         * math/w_j0l.c (__j0l, __y0l): Likewise.
83227         * math/w_j1l.c (__j1l, __y1l): Likewise.
83228         * math/w_jnl.c (__jnl, __ynl): Likewise.
83229         * math/w_lgammal.c (__lgammal): Likewise.
83230         * math/w_log10l.c (__log10l): Likewise.
83231         * math/w_log2l.c (__log2l): Likewise.
83232         * math/w_logl.c (__logl): Likewise.
83233         * math/w_powl.c (__powl): Likewise.
83234         * math/w_remainderl.c (__remainderl): Likewise.
83235         * math/w_scalbl.c (sysv_scalbl): Likewise.
83236         * math/w_sinhl.c (__sinhl): Likewise.
83237         * math/w_sqrtl.c (__sqrtl): Likewise.
83238         * math/w_tgammal.c (__tgammal): Likewise.
83239         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83240         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83241         * math/libm-test.inc (acos_test): Add more tests.
83242         (acosh_test): Likewise.
83243         (asin_test): Likewise.
83244         (atanh_test): Likewise.
83245         (exp_test): Likewise.
83246         (exp10_test): Likewise.
83247         (exp2_test): Likewise.
83248         (expm1_test): Likewise.
83249         (lgamma_test): Likewise.
83250         (log_test): Likewise.
83251         (log10_test): Likewise.
83252         (log1p_test): Likewise.
83253         (log2_test): Likewise.
83254         (pow_test): Do not allow some spurious overflow exceptions.
83255         (sqrt_test): Add more tests.
83256         (tgamma_test): Likewise.
83257         (y0_test): Likewise.
83258         (y1_test): Likewise.
83259         (yn_test): Likewise.
83261 2012-03-27  Anton Blanchard  <anton@samba.org>
83263         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83264         MAP_HUGETLB.
83265         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83266         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83269 2012-03-27  David S. Miller  <davem@davemloft.net>
83271         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83273         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83274         have-as-vis3 check.
83276 2012-03-27  Andreas Jaeger  <aj@suse.de>
83278         * sysdeps/x86_64/elf/configure.in: Moved to ...
83279         * sysdeps/x86_64/configure.in: ... here.
83280         * sysdeps/x86_64/elf/start.S: Moved to ...
83281         * sysdeps/x86_64/start.S: ... here.
83282         * sysdeps/x86_64/elf/configure: Delete.
83284         * sysdeps/x86_64/configure.in: Merge contents from
83285         sysdeps/i386/configure.in (without i686 check).
83287         * sysdeps/i386/elf/Versions: Merge into ...
83288         * sysdeps/i386/Versions: ... this.
83289         * sysdeps/i386/elf/Versions: Delete file.
83290         * sysdeps/i386/elf/start.S: Moved to ...
83291         * sysdeps/i386/start.S: ...here.
83292         * sysdeps/i386/elf/configure.in: Merge into...
83293         * sysdeps/i386/configure.in: ...here.
83294         * sysdeps/i386/elf/configure.in: Delete file.
83295         * sysdeps/i386/elf/configure: Delete file.
83297         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83298         * debug/backtracesyms.c: ... here.
83299         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83300         * debug/backtracesymsfd.c: ... here.
83301         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83302         * sysdeps/generic/ifunc-sel.h: ... here.
83304         * sysdeps/unix/i386/start.c: Delete file.
83305         * sysdeps/unix/sparc/start.c: Delete file.
83306         * sysdeps/unix/start.c: Delete file.
83308         * sysdeps/sh/elf/configure.in: Moved to ...
83309         * sysdeps/sh/configure.in: ... here.
83310         * sysdeps/sh/elf/start.S: Moved to ...
83311         * sysdeps/sh/start.S: ... here.
83312         * sysdeps/sh/elf/configure: Delete file.
83314         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83315         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83316         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83317         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83318         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83319         * sysdeps/powerpc/powerpc64/start.S: here.
83320         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83321         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83322         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83323         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83324         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83326         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83327         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
83328         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
83329         * sysdeps/powerpc/powerpc32/start.S: ... here.
83330         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
83331         * sysdeps/powerpc/powerpc32/configure.in: ... this.
83332         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
83334         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
83335         * sysdeps/powerpc/ifunc-sel.h: ... here.
83336         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
83337         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
83339         * sysdeps/sparc/elf/configure.in: Moved to ...
83340         * sysdeps/sparc/configure.in: ... here.
83341         * sysdeps/sparc/elf/configure: Delete file.
83342         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83343         * sysdeps/sparc/sparc32/start.S: ... here.
83344         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
83345         * sysdeps/sparc/sparc64/start.S: ... here.
83346         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
83347         * sysdeps/sparc/sparc32/Makefile: ... this.
83348         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
83349         * sysdeps/sparc/sparc64/Makefile: ... this.
83351         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
83352         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
83353         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
83354         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
83355         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
83356         * sysdeps/s390/s390-32/setjmp.S: ... here.
83357         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
83358         * sysdeps/s390/s390-32/configure.in: ... here.
83359         * sysdeps/s390/s390-32/elf/configure: Delete file.
83360         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
83361         * sysdeps/s390/s390-32/start.S: ... here.
83363         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
83364         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
83365         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
83366         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
83367         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
83368         * sysdeps/s390/s390-64/setjmp.S: ... here.
83369         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
83370         * sysdeps/s390/s390-64/configure.in: ... here
83371         * sysdeps/s390/s390-64/elf/configure: Delete file.
83372         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
83373         * sysdeps/s390/s390-64/start.S: ... here.
83374         * sysdeps/s390/s390-64/elf/configure: Delete.
83376         * configure.in: Remove support for elf directories in sysdeps.
83378         * configure: Regenerated.
83379         * sysdeps/i386/configure: Regenerated.
83380         * sysdeps/powerpc/powerpc32/configure: Regenerated.
83381         * sysdeps/powerpc/powerpc64/configure: Regenerated.
83382         * sysdeps/s390/s390-32/configure: Regenerated.
83383         * sysdeps/s390/s390-64/configure: Regenerated.
83384         * sysdeps/sh/configure: Regenerated.
83385         * sysdeps/sparc/configure: Regenerated.
83386         * sysdeps/x86_64/configure: Regenerated.
83388 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
83390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
83393         denormal result into account.
83395 2012-03-25  Roland McGrath  <roland@hack.frob.com>
83397         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
83398         Reported by Allan McRae <allan@archlinux.org>.
83400 2012-03-23  Jeff Law  <law@redhat.com>
83402         * nss/getnssent.c (__nss_getent): Fix typo.
83404 2012-03-23  David S. Miller  <davem@davemloft.net>
83406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83408 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
83410         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
83411         to pad to uint64_t for each field.
83412         (dl_tls_index): Replace unsigned long with uint64_t.
83414 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
83415         Paul Pluzhnikov  <ppluzhnikov@google.com>
83417         [BZ #6528]
83418         * grp/Makefile (otherlibs): Don't set it.
83419         * inet/Makefile (otherlibs): Likewise.
83420         * login/Makefile (otherlibs): Likewise.
83421         * nscd/Makefile (otherlibs): Likewise.
83422         * posix/Makefile (otherlibs): Likewise.
83423         * pwd/Makefile (otherlibs): Likewise.
83424         * rt/Makefile (otherlibs): Likewise.
83425         * sunrpc/Makefile (otherlibs): Likewise.
83426         * nss/Makefile (otherlibs): Likewise.
83427         Add libnss_files to routines and static-only-routines.
83428         ($(objpfx)getent): Remove rule.
83429         * resolv/Makefile: Add libnss_dns and libresolv to routines and
83430         static-only-routines.
83432 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83434         [BZ #13892]
83435         * math/s_cexp.c: Include <float.h>.
83436         (__cexp): Handle exp result overflowing not necessarily
83437         overflowing both real and imaginary parts of result.
83438         * math/s_cexpf.c: Likewise.
83439         * math/s_cexpl.c: Likewise.
83440         * math/libm-test.inc (cexp_test): Add more tests.
83441         * sysdeps/i386/fpu/libm-test-ulps: Update.
83442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83444 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83446         * include/link.h (ELFW): New macro.
83447         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
83448         Replace ELF64_R_TYPE with ELFW(R_TYPE).
83450 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83452         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
83453         with uint64_t.
83455 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83457         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
83458         declaration.
83459         (struct La_x32_retval): Likewise.
83461 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
83463         * sysdeps/x86_64/preconfigure.in: New file.
83464         * sysdeps/x86_64/preconfigure: New generated file.
83466 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
83468         [BZ #13824]
83469         * math/e_exp2l.c: Include <float.h>.
83470         (__ieee754_exp2l): Handle overflow and underflow cases
83471         separately.  Only pass fractional part of argument to
83472         __ieee754_expl.
83473         * math/libm-test.inc (exp2_test): Add more tests.
83475         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
83476         negating x to take absolute value.
83477         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
83478         Likewise.
83479         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
83480         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
83481         Likewise.
83482         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
83483         computing low part if x was negated.
83484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
83486 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83488         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
83489         la_x32_gnu_pltexit.
83490         (pltexit): Cast int_retval to ptrdiff_t.
83491         * elf/tst-auditmod3b.c: Likewise.
83492         * elf/tst-auditmod4b.c: Likewise.
83493         * elf/tst-auditmod5b.c: Likewise.
83494         * elf/tst-auditmod6b.c: Likewise.
83495         * elf/tst-auditmod6c.c: Likewise.
83496         * elf/tst-auditmod7b.c: Likewise.
83498         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
83499         and x32_gnu_pltexit.
83501         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
83502         __ELF_NATIVE_CLASS.
83503         (La_x32_regs): New macro.
83504         (La_x32_retval): Likewise.
83505         (la_x32_gnu_pltenter): New function prototype.
83506         (la_x32_gnu_pltexit): Likewise.
83508 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
83510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
83511         exponent.
83513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83515         * configure.in (libc_cv_cc_nofma): Check for option to disable
83516         generation of FMA instructions.
83517         * configure: Regenerate.
83518         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
83519         * sysdeps/ieee754/dbl-64/Makefile: New file.
83520         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
83521         Remove brandred-fma4.
83522         (CFLAGS-brandred-fma4.c): Remove.
83523         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
83524         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
83525         define.
83526         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
83527         define.
83529 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83531         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
83532         LLONG_MAX != LONG_MAX.
83533         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83534         (_fitoa_word): Likewise.
83535         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
83536         LLONG_MAX != LONG_MAX.
83537         * stdio-common/_itowa.h: Include <_itoa.h>.
83538         (_itowa_word): Use _ITOA_WORD_TYPE on value.
83539         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
83540         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
83541         only if not defined.
83542         (_ITOA_WORD_TYPE): Likewise.
83543         (_itoa_word): Use _ITOA_WORD_TYPE on value.
83544         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
83546 2012-03-21  David S. Miller  <davem@davemloft.net>
83548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83550 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
83552         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
83553         of x86_64 when setting libc_cv_slibdir, libdir and
83554         libc_cv_localedir.
83555         * sysdeps/unix/sysv/linux/configure: Regenerated.
83557 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83559         * manual/lang.texi (Old Varargs): Remove section.
83560         (How Variadic): Update menu.
83561         (va_start): Do not mention varargs.h.
83563 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83564             Joseph Myers  <joseph@codesourcery.com>
83566         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
83567         link test.
83568         * configure: Regenerated.
83570 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
83572         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
83573         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
83574         conformtest.pl
83576 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83578         * NOTES: Remove.
83579         * Makefile (files-for-dist): Remove NOTES.
83580         (NOTES): Remove rule.
83581         * README: Don't refer to NOTES.
83582         * manual/creature.texi: Don't include macros.texi.
83583         * manual/intro.texi (creature.texi): Remove comment referring to
83584         NOTES.
83586         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
83587         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
83588         * configure: Regenerated.
83589         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
83590         LIBC_TRY_CC_OPTION.
83591         (libc_cv_as_i686): Likewise.
83592         (libc_cv_cc_avx): Likewise.
83593         (libc_cv_cc_sse2avx): Likewise.
83594         (libc_cv_cc_fma4): Likewise.
83595         (libc_cv_cc_novzeroupper): Likewise.
83596         * sysdeps/i386/configure: Regenerated.
83598         [BZ #13883]
83599         * sysdeps/i386/fpu/s_cexp.S: Remove.
83600         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83601         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
83602         * math/libm-test.inc (cexp_test): Add more tests.
83603         * sysdeps/i386/fpu/libm-test-ulps: Update.
83604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83606 2012-03-21  Allan McRae  <allan@archlinux.org>
83608         * timezone/Makefile: Do not install iso3166.tab and zone.tab
83610 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
83612         [BZ #13871]
83613         * math/w_exp2.c: Do not include <float.h>.
83614         (o_threshold, u_threshold): Remove.
83615         (__exp2): Calculate result before checking finiteness and calling
83616         __kernel_standard.
83617         * math/w_exp2f.c: Likewise.
83618         * math/w_exp2l.c: Likewise.
83619         * math/libm-test.inc (exp2_test): Require overflow exception for
83620         1e6 input.
83622         [BZ #3866]
83623         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
83624         range of signed 64-bit integers before using fistpll.  Remove
83625         checks for whether integers fit in mantissa bits.
83626         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
83627         the range of signed 32-bit integers before using fistpl.  Remove
83628         checks for whether integers fit in mantissa bits.
83629         * sysdeps/i386/fpu/e_powl.S (p64): New object.
83630         (__ieee754_powl): Test for y outside the range of signed 64-bit
83631         integers before using fistpll.  Reduce 64-bit values to 63-bit
83632         ones as needed.
83633         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
83634         divide-by-zero is raised for zero to large negative powers.
83635         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
83636         (__ieee754_powl): Test for y outside the range of signed 64-bit
83637         integers before using fistpll.  Reduce 64-bit values to 63-bit
83638         ones as needed.
83639         * math/libm-test.inc (pow_test): Add more tests.
83641 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83643         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
83644         <stdio-common/_itoa.h>.
83645         * debug/segfault.c: Likewise.
83646         * elf/dl-cache.c: Likewise.
83647         * elf/dl-minimal.c: Likewise.
83648         * elf/dl-misc.c: Likewise.
83649         * elf/dl-sysdep.c: Likewise.
83650         * elf/dl-version.c: Likewise.
83651         * elf/rtld.c: Likewise.
83652         * hurd/hurdsock.c: Likewise.
83653         * hurd/lookup-retry.c: Likewise.
83654         * malloc/malloc.c: Likewise.
83655         * malloc/mtrace.c: Likewise.
83656         * nscd/nscd_getgr_r.c: Likewise.
83657         * nscd/nscd_getpw_r.c: Likewise.
83658         * nscd/nscd_getserv_r.c: Likewise.
83659         * posix/getopt_init.c: Likewise.
83660         * posix/wordexp.c: Likewise.
83661         * stdio-common/_itoa.c: Likewise.
83662         * stdio-common/printf_fphex.c: Likewise.
83663         * stdio-common/vfprintf.c: Likewise.
83664         * string/_strerror.c: Likewise.
83665         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
83666         * sysdeps/i386/i686/hp-timing.h: Likewise.
83667         * sysdeps/mach/_strerror.c: Likewise.
83668         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
83669         * sysdeps/mach/hurd/sethostid.c: Likewise.
83670         * sysdeps/mach/hurd/xmknodat.c: Likewise.
83671         * sysdeps/mach/xpg-strerror.c: Likewise.
83672         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
83673         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
83674         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
83675         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
83676         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
83677         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
83678         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
83679         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
83680         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
83681         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
83682         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
83683         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
83684         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
83685         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
83686         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
83687         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
83688         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
83689         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
83690         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
83691         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
83692         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
83694         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
83696         * stdio-common/_itoa.h: Moved to ...
83697         * sysdeps/generic/_itoa.h: Here.
83699         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
83701         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
83702         instead of "_itoa.h" and "_itowa.h".
83703         * stdio-common/vfprintf.: Likewise.
83705 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83707         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
83708         <bits/wordsize.h>.
83709         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
83710         (__signbit): Likewise.
83711         (llrintf): Likewise.
83712         (llrint): Likewise.
83714 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83716         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
83717         __WORDSIZE != 64.
83719 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
83721         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
83722         OVERFLOW_EXCEPTION_OK.
83723         * math/libm-test.inc ("Philosophy"): Update comment about
83724         exception testing.
83725         (OVERFLOW_EXCEPTION): Define.
83726         (OVERFLOW_EXCEPTION_OK): Likewise.
83727         (INVALID_EXCEPTION_OK): Renumber.
83728         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
83729         (IGNORE_ZERO_INF_SIGN): Likewise.
83730         (test_exceptions): Handle FE_OVERFLOW.
83731         (exp10_test): Expect overflow exceptions.
83732         (exp2_test): Likewise.
83733         (expm1_test): Likewise.
83734         (nextafter_test): Likewise.
83735         (pow_test): Likewise.
83736         (scalbn_test): Likewise.
83737         (scalbln_test): Likewise.
83739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83741         * sysdeps/x86_64/bits/atomic.h
83742         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
83743         64bit integer.
83744         (atomic_exchange_acq): Likewise.
83745         (__arch_exchange_and_add_body): Likewise.
83746         (__arch_add_body): Likewise.
83747         (atomic_add_negative): Likewise.
83748         (atomic_add_zero): Likewise.
83750 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83752         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
83753         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
83755 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83757         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
83758         Check __x86_64__ instead of __WORDSIZE.
83760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83762         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
83764 2012-03-19  David S. Miller  <davem@davemloft.net>
83766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83768         * sysdeps/sparc/fpu/fenv_private.h: New file.
83769         * sysdeps/sparc/fpu/math_private.h: Use it.
83770         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
83771         Remove.
83772         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
83773         (libc_feholdexcept_setroundl): Remove.
83774         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
83775         Remove.
83776         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
83777         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
83779 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83781         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
83782         int64_t instead of long int.
83783         (INSERT_WORDS64): Likewise.
83785 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
83787         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
83788         _Unwind_GetCFA return to _Unwind_Ptr first.
83790 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
83792         [BZ #13629]
83793         * math/s_clog.c: Include <float.h>.
83794         (__clog): Scale large or subnormal inputs.
83795         * math/s_clogf.c: Likewise.
83796         * math/s_clogl.c: Likewise.
83797         * math/s_clog10.c: Include <float.h>.
83798         (M_LOG10_2): Define.
83799         (__clog10): Scale large or subnormal inputs.
83800         * math/s_clog10f.c: Likewise.
83801         * math/s_clog10l.c: Likewise.
83802         * math/libm-test.inc (clog_test): Add more tests.
83803         (clog10_test): Likewise.
83804         * sysdeps/i386/fpu/libm-test-ulps: Update.
83805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83807         [BZ #11451]
83808         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83809         x and y.
83810         * math/libm-test.inc (atan2_test): Add another test.
83812         * Makerules (common-objdir-compile): Remove.
83813         * sysdeps/unix/Makefile (config-generated): Do not add
83814         $(unix-generated) to variable.
83815         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83816         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83817         Remove rule.
83818         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83819         Likewise.
83820         [generic bits/local_lim.h] (before-compile): Do not append to
83821         variable.
83822         [generic bits/local_lim.h] (common-generated): Likewise.
83823         [generic sys/param.h] (before-compile): Do not append to variable.
83824         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83825         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83826         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83827         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83828         include.
83829         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83830         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83831         [generic sys/param.h] ($(addprefix
83832         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83833         [generic sys/param.h] (common-generated): Do not append to
83834         variable.
83835         [generic sys/param.h] (sysdep_headers): Likewise.
83836         [generic bits/errno.h] (before-compile): Do not append to
83837         variable.
83838         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83839         rule.
83840         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83841         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83842         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83843         [generic bits/errno.h] (common-generated): Do not append to
83844         variable.
83845         [generic bits/ioctls.h] (before-compile): Do not append to
83846         variable.
83847         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83848         rule.
83849         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83850         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83851         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83852         rule.
83853         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83854         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83855         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83856         [generic bits/ioctls.h] (common-generated): Do not append to
83857         variable.
83858         [generic sys/syscall.h] (syscall.h): Remove variable.
83859         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83860         rule.
83861         [generic sys/syscall.h] (before-compile): Do not append to
83862         variable.
83863         [generic sys/syscall.h] (common-generated): Likewise.
83864         * sysdeps/unix/errnos-tmpl.c: Remove file.
83865         * sysdeps/unix/errnos.awk: Likewise.
83866         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83867         * sysdeps/unix/ioctls.awk: Likewise.
83868         * sysdeps/unix/mk-local_lim.c: Likewise.
83869         * sysdeps/unix/snarf-ioctls: Likewise.
83871 2012-03-19  Richard Henderson  <rth@twiddle.net>
83873         * sysdeps/i386/fpu/fenv_private.h: New file.
83874         * sysdeps/i386/fpu/math_private.h: Use it.
83875         (math_opt_barrier, math_force_eval): Remove.
83876         (libc_feholdexcept_setround_53bit): Remove.
83877         (libc_feupdateenv_53bit): Remove.
83878         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83879         (math_opt_barrier, math_force_eval): Remove.
83880         (libc_feholdexcept): Remove.
83881         (libc_feholdexcept_setround): Remove.
83882         (libc_fetestexcept, libc_fesetenv): Remove.
83883         (libc_feupdateenv_test): Remove.
83884         (libc_feupdateenv, libc_feholdsetround): Remove.
83885         (libc_feresetround): Remove.
83887         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83888         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83890         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83891         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83892         (libc_feupdateenv_testl): New.
83893         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83894         (libc_feupdateenv_testf): New.
83895         (libc_feupdateenv): Use libc_feupdateenv_test.
83896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83897         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83899         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83900         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83901         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83902         (libc_feresetround_noex): New.
83903         (libc_feresetround_noexf): New.
83904         (libc_feresetround_noexl): New.
83905         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83906         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83907         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83908         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83909         SET_RESTORE_ROUND.
83910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83911         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83912         (__cos): Likewise.
83913         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83914         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83915         SET_RESTORE_ROUND_NOEX.
83916         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83917         SET_RESTORE_ROUND_NOEXF.
83918         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83919         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83920         (libc_feholdsetroundf): New.
83921         (libc_feresetround, libc_feresetroundf): New.
83923         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83924         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83925         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83927         * sysdeps/generic/math_private.h: Include <fenv.h>.
83928         (default_libc_feholdexcept): New.
83929         (default_libc_feholdexcept_setround): New.
83930         (default_libc_fesetenv, default_libc_feupdateenv): New.
83931         (libc_feholdexcept): Only define if undefined.
83932         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83933         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83934         (libc_feholdexcept_setroundl): Likewise.
83935         (libc_feholdexcept_setround_53bit): Likewise.
83936         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83937         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83938         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83939         (libc_feupdateenv_53bit): Likewise.
83940         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83941         (libc_feholdexcept): Convert from macro to inline function.
83942         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83943         (libc_fesetenv, libc_feupdateenv): Likewise.
83945         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83946         not previously defined.
83947         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83948         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83949         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83950         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83951         * sysdeps/ieee754/flt-32/math_private.h: New file.
83952         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83953         math_private.h below SET_FLOAT_WORD.
83954         (__isnan, __isinf_ns, __finite): Remove.
83955         (__isnanf, __isinf_nsf, __finitef): Remove.
83957 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83961 2012-03-17  David S. Miller  <davem@davemloft.net>
83963         [BZ #6471]
83964         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83965         for 2.16.
83967 2012-03-16  David S. Miller  <davem@davemloft.net>
83969         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83970         warnings.
83972         [BZ #6471]
83973         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83974         properly.
83975         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83976         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83977         sysdep_routines when subdir is sysvipc.
83978         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83979         __getshmlba helper.
83981         * sysdeps/sparc/fpu/libm-test/ulps: Update.
83983 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83985         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83986         [__LP64__].
83988 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83990         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83991         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83992         (__lround): Renamed to ...
83993         (__llround): This.  Replace long int with long long int.
83994         Define lround functions as aliases of llround functions.
83995         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83997 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83999         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84000         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84001         adresses to uintptr_t.  Replace "long int" and "unsigned long
84002         int" with "greg_t" on va_arg.
84004 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84006         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84007         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84009         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84010         Move e_machine check before EI_CLASS check.  Handle x32
84011         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84012         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84013         SKIP_EM_IA_64 and include
84014         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84016         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84017         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84018         (add_system_dir): New macro.
84020         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84021         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84023 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84025         [BZ #2551]
84026         [BZ #2552]
84027         [BZ #2553]
84028         [BZ #2554]
84029         [BZ #2562]
84030         [BZ #2563]
84031         [BZ #2565]
84032         [BZ #2566]
84033         [BZ #2576]
84034         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84035         (y0): Likewise.
84036         * math/w_j0f.c (j0f): Likewise.
84037         (y0f): Likewise.
84038         * math/w_j0l.c (__j0l): Likewise.
84039         (__y0l): Likewise.
84040         * math/w_j1.c (j1): Likewise.
84041         (y1): Likewise.
84042         * math/w_j1f.c (j1f): Likewise.
84043         (y1f): Likewise.
84044         * math/w_j1l.c (__j1l): Likewise.
84045         (__y1l): Likewise.
84046         * math/w_jn.c (jn): Likewise.
84047         (yn): Likewise.
84048         * math/w_jnf.c (jnf): Likewise.
84049         (ynf): Likewise.
84050         * math/w_jnl.c (__jnl): Likewise.
84051         (__ynl): Likewise.
84052         * math/libm-test.inc (j0_test): Add more tests.
84053         (j1_test): Likewise.
84054         (jn_test): Likewise.  Add trailing semicolon to existing test.
84055         (y0_test): Likewise.
84056         (y1_test): Likewise.
84057         * sysdeps/i386/fpu/libm-test-ulps: Update.
84058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84060         [BZ #13851]
84061         [BZ #13854]
84062         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84063         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84064         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84065         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84066         (__tanl): Set errno for infinite argument.
84067         * sysdeps/i386/fpu/mptan.c: Remove.
84068         * sysdeps/i386/fpu/s_tan.S: Likewise.
84069         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84070         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84071         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84072         * math/libm-test.inc (tan_test): Add more tests and enable more
84073         tests for double and long double.
84074         * sysdeps/i386/fpu/libm-test-ulps: Update.
84075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84077 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84079         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84080         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84082 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84084         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84085         * configure.in: Use it for both main tree and add-ons.
84086         * configure: Regenerated.
84088 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84090         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84092 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84094         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84095         in comment.
84097         [BZ #13851]
84098         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84099         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84100         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84101         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84102         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84103         infinite argument.
84104         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84105         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84106         != 0 for prec == 2.
84107         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84108         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84109         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84110         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84111         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84112         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84113         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84114         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84115         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84116         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84117         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84118         * math/libm-test.inc (cos_test): Add more tests and enable more
84119         tests for long double.
84120         (sin_test): Likewise.
84121         (sincos_test): Likewise.
84122         * sysdeps/i386/fpu/libm-test-ulps: Update.
84123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84125 2012-03-16  David S. Miller  <davem@davemloft.net>
84127         * sysdeps/sparc/fpu/math_private.h: New file.
84129 2012-03-15  David S. Miller  <davem@davemloft.net>
84131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84132         file.
84133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84135         file.
84136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84141         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84142         sysdep routines.
84143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84145         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84146         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84148         * sysdeps/sparc/sparc-ifunc.h: New file.
84149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84150         sparc-ifunc.h
84151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84153         Likewise.
84154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84155         Likewise.
84156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84160         Likewise.
84161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84166         Likewise.
84167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84168         Likewise.
84169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84175         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84176         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84180         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84181         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84187         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84188         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84189         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84190         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84191         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84194 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84196         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84197         scaling.
84198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84200 2012-03-15  Andreas Jaeger  <aj@suse.de>
84202         [BZ #13852]
84203         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84204         ieee754/flt-32 implementation for sin, cos and sincos.
84205         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84206         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84207         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84208         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84209         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84210         ieee754/flt-32 implementation for tan.
84212         * math/libm-test.inc (cos_test): Enable some large input tests for
84213         float as well
84214         (sin_test): Likewise.
84215         (sincos_test): Likewise.
84216         (tan_test): Add tests for large input.
84218         * sysdeps/i386/fpu/libm-test-ulps: Update.
84220 2012-03-15  Andreas Jaeger  <aj@suse.de>
84222         [BZ #13658]
84223         * math/libm-test.inc (cos_test): Add more test cases.
84224         (sin_test): Likewise.
84225         (sincos_test): Likewise.
84227 2012-03-15  Andreas Jaeger  <aj@suse.de>
84229         [BZ #13837]
84230         * math/libm-test.inc (cos_test): Add a test case for large input
84231         value.
84232         (sin_test): Likewise.
84233         (sincos_test): Likewise.
84235 2012-03-15  Andreas Jaeger  <aj@suse.de>
84236             Joseph Myers  <joseph@codesourcery.com>
84238         [BZ #13658]
84239         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84240         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84241         * sysdeps/i386/fpu/branred.c: Likewise.
84242         * sysdeps/i386/fpu/dosincos.c: Likewise.
84243         * sysdeps/i386/fpu/mpa.c: Likewise.
84244         * sysdeps/i386/fpu/s_cos.S: Likewise.
84245         * sysdeps/i386/fpu/s_sin.S: Likewise.
84246         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84247         * sysdeps/i386/fpu/sincos32.c: Likewise.
84249         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84250         Define.
84251         (libc_feupdateenv_53bit): Define.
84252         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84253         Define.
84254         (libc_feupdateenv_53bit): Define.
84256         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84257         53 bit (without extend i386 double precision).
84259         * math/libm-test.inc (sincos_test): Add tests for large input.
84260         (sin): Likewise.
84261         (cos): Likewise.
84263         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84265 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84269 2012-03-15  David S. Miller  <davem@davemloft.net>
84271         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84272         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84273         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84274         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84287         file.
84288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84290         file.
84291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84293         file.
84294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84296         file.
84297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84298         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84299         fmin/fmax sysdep routines.
84300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84302 2012-03-14  David S. Miller  <davem@davemloft.net>
84304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84308         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84309         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84310         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84325         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84326         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84327         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
84328         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
84329         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
84330         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
84331         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
84332         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
84333         routines.
84334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
84335         file.
84336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
84337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
84338         file.
84339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
84340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
84341         file.
84342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
84343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
84344         file.
84345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
84346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
84347         file.
84348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
84349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
84350         file.
84351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
84352         file.
84353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
84354         file.
84355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
84356         file.
84357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
84358         New file.
84359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
84360         file.
84361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
84362         file.
84363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
84364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
84365         file.
84366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
84367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
84368         file.
84369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
84370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
84371         file.
84372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
84373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
84374         VIS3 routines.
84376         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
84377         New file.
84379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84381         * sysdeps/sparc/configure.in: New file.
84382         * sysdeps/sparc/configure: Generate.
84383         * configure.in (libc_cv_sparc_as_vis3): Substitute.
84384         * configure: Regenerate.
84385         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
84386         * config.make.in (have-as-vis3): New.
84387         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
84388         available use -Av9d instead of -Av9a.
84389         * sysdeps/sparc/sparc64/Makefile: Likewise.
84390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
84391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
84392         New file.
84393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
84394         file.
84395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
84396         New file.
84397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
84398         file.
84399         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
84400         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
84401         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
84402         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
84403         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
84405         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
84406         fzeros/fnegs to load 0x80000000 into a float register instead of
84407         using the stack.
84408         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
84410 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84413         bits/syscall.h.
84414         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
84415         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
84416         ($(inst_includedir)/bits/syscall.h): Remove rule.
84417         ($(objpfx)bits/syscall.d): Include instead of
84418         $(objpfx)syscall-list.d.
84419         (generated): Change syscall-list.h and syscall-list.d to
84420         bits/syscall.h and bits/syscall.d.
84422 2012-03-14  Roland McGrath  <roland@hack.frob.com>
84424         [BZ #13846]
84425         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
84427 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
84429         [BZ #13841]
84430         * math/s_csqrt.c: Include <float.h>.
84431         (__csqrt): Scale large or subnormal inputs.
84432         * math/s_csqrtf.c: Likewise.
84433         * math/s_csqrtl.c: Likewise.
84434         * math/libm-test.inc (csqrt_test): Add more tests.
84435         * sysdeps/i386/fpu/libm-test-ulps: Update.
84436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84438         [BZ #13840]
84439         * math/libm-test.inc (hypot_test): Add more tests.
84441 2012-03-13  David S. Miller  <davem@davemloft.net>
84443         [BZ #13840]
84444         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
84445         double-precision for the calculation instead of scaling.
84447 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
84449         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
84450         manipulate bits before adding and subtracting TWO52[sx].
84451         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
84452         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
84453         Likewise.
84454         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
84456 2012-03-13  David S. Miller  <davem@davemloft.net>
84458         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
84459         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
84460         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
84461         rtld-global-offsets.h
84462         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84464         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
84465         large parameters.
84467         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
84469         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
84470         'err' in the ifdef scope in which it is actually used.
84472         * nss/nss_db/db-init.c: Include string.h
84474 2012-03-12  David S. Miller  <davem@davemloft.net>
84476         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
84477         masking out of the most significant byte of random value used.
84478         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84479         Fix coding style in previous change.
84481         * sysdeps/unix/sysv/linux/kernel-features.h
84482         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
84483         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
84484         expression.
84485         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
84486         later.
84488 2012-03-11  David S. Miller  <davem@davemloft.net>
84490         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
84491         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
84492         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
84493         for 'resultvar' otherwise things get truncated on 64-bit.
84495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
84496         Fix masking out of the most significant byte of random value used.
84498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84500 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
84502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84504 2012-03-09  David S. Miller  <davem@davemloft.net>
84506         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
84507         variables with appropriate CPP guards.
84508         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
84509         from the frame pointer, not the stack pointer.  Correct layout
84510         comments.  Fix test on resulting framesize and the management of
84511         the outregs buffer for pltexit.  Preserve floating point return
84512         values across _dl_call_pltexit call.
84513         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
84514         framesize and the management of the outregs buffer for pltexit.
84515         Preserve floating point return values across _dl_call_pltexit
84516         call.
84517         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
84518         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
84519         (la_sparc64_gnu_pltexit): New functions.
84520         (print_exit): Fix format string for return register value.
84522 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
84524         * sunrpc/Makefile (others): Add rpcgen.
84525         ($(objpfx)rpcgen): Remove special build rule and dependency on
84526         libc.
84527         * sunrpc/rpcgen.c: New file.
84529 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
84531         [BZ #13673]
84532         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
84533         * stdio-common/bug-vfprintf-nargs.c: Likewise.
84534         * sysdeps/i386/crti.S: Likewise.
84535         * sysdeps/i386/crtn.S: Likewise.
84536         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
84537         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
84538         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
84539         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
84540         * sysdeps/sh/crti.S: Likewise.
84541         * sysdeps/sh/crtn.S: Likewise.
84542         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
84544         [BZ #13673]
84545         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
84546         with URL.
84547         * locale/programs/locfile-kw.gperf: Likewise.
84548         * locale/programs/charmap-kw.h: Regenerated.
84549         * locale/programs/locfile-kw.h: Likewise.
84551         [BZ #13673]
84552         * intl/plural.y: Replace FSF snail mail address with URL.
84553         * intl/plural.c: Regenerated.
84555 2012-03-09  Richard Henderson  <rth@twiddle.net>
84557         * include/math_private.h: Remove file.
84558         * math/math_private.h: Move file ...
84559         * sysdeps/generic/math_private.h: ... here.
84561         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
84562         * sysdeps/powerpc/fpu/math_private.h: Likewise.
84563         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84565         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
84566         and <math_private.h>.
84567         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
84568         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
84569         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
84570         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
84571         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
84572         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
84573         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84575         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84576         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84578         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84579         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84580         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84581         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84582         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84583         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84584         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84585         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84586         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84587         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84588         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84589         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84591         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
84592         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84593         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84594         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84596         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
84597         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84598         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84599         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
84600         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84601         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
84602         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
84603         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84604         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
84605         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
84606         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84607         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
84608         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
84609         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
84610         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
84611         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
84612         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
84613         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
84614         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
84615         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84616         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
84617         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
84618         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
84619         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
84620         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
84621         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
84622         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84623         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84624         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
84625         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
84626         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
84627         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84628         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
84629         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84630         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
84631         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
84632         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84633         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84634         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84635         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
84636         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
84637         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
84638         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84639         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
84640         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84641         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
84642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
84643         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
84644         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
84645         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
84646         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
84647         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
84648         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
84649         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
84650         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84651         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84652         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
84653         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
84654         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
84655         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84656         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84657         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84658         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84659         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84660         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84661         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84662         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84663         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84664         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84665         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84666         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84667         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84668         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84669         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84670         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84671         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
84672         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84673         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84674         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84675         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
84676         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
84677         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
84678         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
84679         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84680         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
84681         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
84682         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84683         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
84684         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
84685         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
84686         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84687         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
84688         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
84689         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84690         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
84691         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
84692         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
84693         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84694         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
84695         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
84696         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
84697         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
84698         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84699         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
84700         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
84701         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
84702         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
84703         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84704         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
84705         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
84706         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84707         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84708         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
84709         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
84710         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
84711         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
84712         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
84713         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
84714         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
84715         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
84716         * sysdeps/ieee754/k_standard.c: Likewise.
84717         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84718         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84719         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84720         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84721         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84722         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84723         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84724         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84725         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84726         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84727         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84728         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84729         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84730         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84731         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84732         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84733         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
84734         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84735         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84736         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
84737         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
84738         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
84739         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
84740         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
84741         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
84742         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
84743         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
84744         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84745         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
84746         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
84747         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
84748         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
84749         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
84750         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
84751         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
84752         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
84753         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
84754         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
84755         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
84756         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
84757         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
84758         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
84759         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
84760         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
84761         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
84762         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
84765         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
84766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
84767         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
84768         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
84769         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
84771         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
84772         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
84774         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
84775         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
84776         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
84777         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
84778         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
84779         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
84780         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84781         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84782         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84783         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84784         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84785         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84786         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84787         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84788         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84789         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84790         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84791         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84792         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84793         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
84794         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84795         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84796         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84797         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84798         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84799         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84800         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84801         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84802         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84803         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84804         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84806         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84807         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84808         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84809         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84810         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84811         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84812         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84813         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84814         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84815         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84816         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84818         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84819         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84820         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84821         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84822         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84823         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84824         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84825         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84826         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84827         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84828         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84829         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84830         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84831         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84832         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84833         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84834         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84835         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84836         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84837         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84838         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84839         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84840         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84841         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84842         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84843         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84844         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84845         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84846         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84847         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84848         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84849         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84850         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84851         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84852         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84853         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84854         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84855         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84856         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84857         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84858         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84859         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84860         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84861         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84862         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84863         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84864         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84865         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84866         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84867         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84868         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84869         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84870         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84871         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84872         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84873         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84874         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84875         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84876         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84877         * sysdeps/ieee754/s_lib_version.c: Likewise.
84878         * sysdeps/ieee754/s_matherr.c: Likewise.
84879         * sysdeps/ieee754/s_signgam.c: Likewise.
84880         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84881         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84882         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84883         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84884         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84885         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84886         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84887         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84888         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84889         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84890         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84891         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84892         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84893         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84894         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84895         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84896         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84897         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84898         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84900         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84902 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84904         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84905         * sunrpc/rpc_main.c: Likewise.
84906         * sunrpc/rpc_svcout.c: Likewise.
84908 2012-03-09  David S. Miller  <davem@davemloft.net>
84910         * include/math_private.h: New file.
84912 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84914         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84915         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84916         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84917         from <bits/socket_type.h>.
84918         (enum __socket_type): Don't define here.
84919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84920         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84921         bits/socket_type.h.
84923         [BZ #13566]
84924         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84925         checking __USE_GNU.
84927         * Makerules ($(inst_includedir)/%.h): New rule.
84928         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84929         (install-others): Remove variable setting.
84930         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84932 2012-03-08  Richard Henderson  <rth@twiddle.net>
84934         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84935         from macro to inline function; merge with the
84936         !__LIBC_INTERNAL_MATH_INLINES version.
84937         (__ieee754_sqrtf): Likewise.
84939         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84940         to inline function.
84941         (__rintf, __floor, __floorf): Likewise.
84943         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84944         macro to inline function.
84945         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84947         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84948         not <math/math_private.h>.
84950 2012-03-08  David S. Miller  <davem@davemloft.net>
84952         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84953         copyright year.
84954         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84956 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84958         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84959         normalization.
84960         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84961         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84963 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84965         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84966         be defined individually, they must be defined as a block.  Define
84967         S for printing a string instead of hidint the different by using a
84968         macro for adding the 'l'.
84969         * stdio-common/tst-fphex-wide.c: Adjust.
84971 2012-03-07  Marek Polacek  <polacek@redhat.com>
84973         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84975 2012-03-08  Marek Polacek  <polacek@redhat.com>
84977         [BZ #13806]
84978         * stdio-common/Makefile (tests): Add tst-fphex-wide.
84979         * stdio-common/tst-fphex.c: Define a few macros to make the
84980         test reusable.  Use them.
84981         * stdio-common/tst-fphex-wide.c: New file.
84983 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
84985         [BZ #6911]
84986         * manual/macros.texi (gnusystems): New macro.
84987         (nongnusystems): Likewise.
84988         (gnulinuxhurdsystems): Likewise.
84989         (gnuhurdsystems): Likewise..
84990         (gnulinuxsystems): Likewise.
84991         * manual/charset.texi: Use new macros or @theglibc{} to refer to
84992         variants of the GNU system, not "GNU system".
84993         * manual/conf.texi: Likewise.
84994         * manual/errno.texi: Likewise.  Update example of errno macro
84995         expansion.
84996         * manual/filesys.texi: Likewise.
84997         (getumask): Document as specific to GNU/Hurd.
84998         * manual/install.texi: Likewise.  Reword some references to
84999         GNU/Linux.
85000         * manual/intro.texi: Likewise.
85001         * manual/io.texi: Likewise.
85002         (File Name Portability): Detail which constraints are inapplicable
85003         to all GNU systems and which are only inapplicable to GNU/Hurd.
85004         * manual/job.texi: Likewise.
85005         * manual/llio.texi: Likewise.
85006         (O_NOCTTY): Document as present on GNU/Linux.
85007         * manual/maint.texi: Likewise.
85008         * manual/memory.texi: Likewise.
85009         * manual/pattern.texi: Likewise.
85010         * manual/pipe.texi: Likewise.
85011         * manual/process.texi: Likewise.
85012         * manual/resource.texi: Likewise.
85013         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85014         child on GNU/Hurd.
85015         * manual/setjmp.texi: Likewise.
85016         * manual/signal.texi: Likewise.
85017         * manual/startup.texi: Likewise.
85018         * manual/stdio.texi: Likewise.
85019         * manual/terminal.texi: Likewise.
85020         (ONLCR): Document as POSIX.
85021         (OXTABS): Document availability on GNU/Linux as XTABS.
85022         (ONOEOT): Document availability separately from other bits.
85023         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85024         * manual/time.texi: Likewise.
85025         * manual/users.texi: Likewise.
85026         * INSTALL: Regenerated.
85027         * sysdeps/gnu/errlist.c: Regenerated.
85029         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85030         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85031         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85032         puts.
85033         * configure: Regenerated.
85035 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85037         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85038         default includes instead of AC_HEADER_CHECK.
85039         * sysdeps/i386/configure: Regenerated.
85041         [BZ #10716]
85042         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85043         * math/s_cacoshf.c (__cacoshf): Likewise.
85044         * math/s_cacoshl.c (__cacoshl): Likewise.
85045         * math/s_casinh.c (__casinh): Set signs of result from argument.
85046         * math/s_casinhf.c (__casinhf): Likewise.
85047         * math/s_casinhl.c (__casinhl): Likewise.
85048         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85049         (casinh_test): Add more tests.
85050         * sysdeps/i386/fpu/libm-test-ulps: Update.
85051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85053 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85055         * po/zh_TW.po: Update from translation team.
85057         * login/Makefile (distribute): Remove variable.
85058         * catgets/Makefile: Likewise.
85059         * mach/Makefile: Likewise.
85060         * malloc/Makefile: Likewise.
85061         * misc/Makefile: Likewise.
85062         * iconv/Makefile: Likewise.
85063         * nscd/Makefile: Likewise.
85064         * hurd/Makefile: Likewise.
85065         * manual/Makefile: Likewise.
85066         * locale/Makefile: Likewise.
85067         * intl/Makefile: Likewise.
85068         * conform/Makefile: Likewise.
85069         * nss/Makefile: Likewise.
85070         * time/Makefile: Likewise.
85071         * soft-fp/Makefile: Likewise.
85072         * dirent/Makefile: Likewise.
85073         * gmon/Makefile: Likewise.
85074         * po/Makefile: Likewise.
85075         * rt/Makefile: Likewise.
85076         * socket/Makefile: Likewise.
85077         * math/Makefile: Likewise.
85078         * signal/Makefile: Likewise.
85079         * debug/Makefile: Likewise.
85080         * elf/Makefile: Likewise.
85081         * timezone/Makefile: Likewise.
85082         * stdlib/Makefile: Likewise.
85083         * iconvdata/Makefile: Likewise.
85084         * sunrpc/Makefile: Likewise.
85085         * io/Makefile: Likewise.
85086         * argp/Makefile: Likewise.
85087         * inet/Makefile: Likewise.
85088         * hesiod/Makefile: Likewise.
85089         * grp/Makefile: Likewise.
85090         * csu/Makefile: Likewise.
85091         * wctype/Makefile: Likewise.
85092         * crypt/Makefile: Likewise.
85093         * libio/Makefile: Likewise.
85094         * string/Makefile: Likewise.
85095         * nis/Makefile: Likewise.
85096         * resolv/Makefile: Likewise.
85097         * stdio-common/Makefile: Likewise.
85098         * wcsmbs/Makefile: Likewise.
85099         * dlfcn/Makefile: Likewise.
85100         * posix/Makefile: Likewise.
85102         [BZ #6959]
85103         * timezone/Makefile: Don't install timezone files, just the programs
85104         and scripts.
85106 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85108         * nss/databases.def: Add missing gshadow entry.
85110         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85112 2012-03-06  Marek Polacek  <polacek@redhat.com>
85114         [BZ #13726]
85115         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85116         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85117         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85118         * stdio-common/tst-long-dbl-fphex.c: New file.
85120 2012-03-06  David S. Miller  <davem@davemloft.net>
85122         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85123         (set_obp_int): New function.
85124         (get_obp_int): New function.
85125         (__get_clockfreq_via_dev_openprom): Likewise.
85126         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85127         Avoid unused variable warnings on 'val' and use builtin_expect.
85128         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85129         __builtin_expect.
85130         (INLINE_CLONE_SYSCALL): Likewise.
85132 2012-03-05  David S. Miller  <davem@davemloft.net>
85134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85136 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85140         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85141         only for |x| >= 40.
85142         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85144 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85146         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85147         Replace gettimeofday with __vdso_gettimeofday.
85149         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85150         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85151         __vdso_clock_gettime and __vdso_getcpu.
85153         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85154         time with __vdso_time.
85156 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85158         * manual/lang.texi (size_t): Note types to which size_t may be
85159         equivalent with the GNU C Library, but do not describe when
85160         differences between them are significant.
85162 2012-03-05  Andreas Jaeger  <aj@suse.de>
85164         * sysdeps/i386/fpu/libm-test-ulps: Update.
85166 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85168         [BZ #3976]
85169         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85170         (__ieee754_pow): Save and restore rounding mode and use
85171         round-to-nearest for main computations.
85172         * math/libm-test.inc (pow_test_tonearest): New function.
85173         (pow_test_towardzero): Likewise.
85174         (pow_test_downward): Likewise.
85175         (pow_test_upward): Likewise.
85176         (main): Call the new functions.
85177         * sysdeps/i386/fpu/libm-test-ulps: Update.
85178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85180         [BZ #3976]
85181         * math/libm-test.inc (cosh_test_tonearest): New function.
85182         (cosh_test_towardzero): Likewise.
85183         (cosh_test_downward): Likewise.
85184         (cosh_test_upward): Likewise.
85185         (sinh_test_tonearest): Likewise.
85186         (sinh_test_towardzero): Likewise.
85187         (sinh_test_downward): Likewise.
85188         (sinh_test_upward): Likewise.
85189         (main): Call the new functions.
85190         * sysdeps/i386/fpu/libm-test-ulps: Update.
85191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85193 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85195         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85196         default stack guard is set in last bytes.
85197         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85199 2012-03-05  Kees Cook  <keescook@chromium.org>
85201         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85203         [BZ #13656]
85204         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85205         possibly allocate from heap instead of stack.
85206         * stdio-common/bug-vfprintf-nargs.c: New file.
85207         * stdio-common/Makefile (tests): Add nargs overflow test.
85209 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85213 2012-03-03  Marek Polacek  <polacek@redhat.com>
85215         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85216         * math/math_private.h: Likewise.
85217         * stdlib/tst-strtod.c: Likewise.
85218         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85219         * sysdeps/x86_64/bits/atomic.h: Likewise.
85221 2012-03-02  David S. Miller  <davem@davemloft.net>
85223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85227         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85228         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85229         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85230         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85232 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85234         [BZ #13792]
85235         * manual/examples/README: New file, says the example source files
85236         can be used under GPL>=2.
85237         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85238         line containing just "*/".
85239         * manual/examples/add.c: Add copyright header (GPL>=2).
85240         * manual/examples/argp-ex1.c: Likewise.
85241         * manual/examples/argp-ex2.c: Likewise.
85242         * manual/examples/argp-ex3.c: Likewise.
85243         * manual/examples/argp-ex4.c: Likewise.
85244         * manual/examples/atexit.c: Likewise.
85245         * manual/examples/db.c: Likewise.
85246         * manual/examples/dir.c: Likewise.
85247         * manual/examples/dir2.c: Likewise.
85248         * manual/examples/execinfo.c: Likewise.
85249         * manual/examples/filecli.c: Likewise.
85250         * manual/examples/filesrv.c: Likewise.
85251         * manual/examples/fmtmsgexpl.c: Likewise.
85252         * manual/examples/genpass.c: Likewise.
85253         * manual/examples/inetcli.c: Likewise.
85254         * manual/examples/inetsrv.c: Likewise.
85255         * manual/examples/isockad.c: Likewise.
85256         * manual/examples/longopt.c: Likewise.
85257         * manual/examples/memopen.c: Likewise.
85258         * manual/examples/memstrm.c: Likewise.
85259         * manual/examples/mkfsock.c: Likewise.
85260         * manual/examples/mkisock.c: Likewise.
85261         * manual/examples/mygetpass.c: Likewise.
85262         * manual/examples/pipe.c: Likewise.
85263         * manual/examples/popen.c: Likewise.
85264         * manual/examples/rprintf.c: Likewise.
85265         * manual/examples/search.c: Likewise.
85266         * manual/examples/select.c: Likewise.
85267         * manual/examples/setjmp.c: Likewise.
85268         * manual/examples/sigh1.c: Likewise.
85269         * manual/examples/sigusr.c: Likewise.
85270         * manual/examples/stpcpy.c: Likewise.
85271         * manual/examples/strdupa.c: Likewise.
85272         * manual/examples/strftim.c: Likewise.
85273         * manual/examples/strncat.c: Likewise.
85274         * manual/examples/subopt.c: Likewise.
85275         * manual/examples/swapcontext.c: Likewise.
85276         * manual/examples/termios.c: Likewise.
85277         * manual/examples/testopt.c: Likewise.
85278         * manual/examples/testpass.c: Likewise.
85279         * manual/examples/timeval_subtract.c: Likewise.
85281         [BZ #13792]
85282         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85283         function to ...
85284         * manual/timeval_subtract.c.texi: ... here, new file.
85286 2012-03-02  David S. Miller  <davem@davemloft.net>
85288         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85290 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85292         [BZ #3976]
85293         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85294         (__sin): Save and restore rounding mode and use round-to-nearest
85295         for all computations.
85296         (__cos): Save and restore rounding mode and use round-to-nearest
85297         for all computations.
85298         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85299         <fenv.h>.
85300         (tan): Save and restore rounding mode and use round-to-nearest for
85301         all computations.
85302         * math/libm-test.inc (cos_test_tonearest): New function.
85303         (cos_test_towardzero): Likewise.
85304         (cos_test_downward): Likewise.
85305         (cos_test_upward): Likewise.
85306         (sin_test_tonearest): Likewise.
85307         (sin_test_towardzero): Likewise.
85308         (sin_test_downward): Likewise.
85309         (sin_test_upward): Likewise.
85310         (tan_test_tonearest): Likewise.
85311         (tan_test_towardzero): Likewise.
85312         (tan_test_downward): Likewise.
85313         (tan_test_upward): Likewise.
85314         (main): Call the new functions.
85315         * sysdeps/i386/fpu/libm-test-ulps: Update.
85316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85318         [BZ #10135]
85319         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85320         small n, then large n, before computing and testing k+n.
85321         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85323         Likewise.
85324         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85325         Likewise.
85326         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85327         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
85328         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
85329         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
85330         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
85331         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
85332         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
85333         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
85334         * math/libm-test.inc (scalbn_test): Add more tests.
85335         (scalbln_test): Likewise.
85337         * manual/filesys.texi (mode_t): Describe constraints on size and
85338         signedness, not exact equivalence to a particular type.
85339         (ino_t): Likewise.
85340         (ino64_t): Likewise.
85341         (dev_t): Likewise.
85342         (nlink_t): Likewise.
85343         (blkcnt_t): Likewise.
85344         (blkcnt64_t): Likewise.
85345         * manual/llio.texi (off_t): Likewise.
85347         [BZ #3976]
85348         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
85349         (__ieee754_exp): Save and restore rounding mode and use
85350         round-to-nearest for all computations.
85351         * math/libm-test.inc (exp_test_tonearest): New function.
85352         (exp_test_towardzero): Likewise.
85353         (exp_test_downward): Likewise.
85354         (exp_test_upward): Likewise.
85355         (main): Call the new functions.
85356         * sysdeps/i386/fpu/libm-test-ulps: Update.
85357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85359 2012-03-01  Chris Demetriou  <cgd@google.com>
85361         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
85362         have predictable order.
85364 2012-03-01  David S. Miller  <davem@davemloft.net>
85366         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
85368         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
85369         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
85370         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
85371         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
85373         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
85374         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
85375         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
85376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
85377         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
85378         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
85379         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
85380         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
85381         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
85383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85385         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
85386         * sysdeps/sparc/fpu/libm-test-ulps: to here.
85387         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
85389         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
85390         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85391         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85392         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
85393         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
85394         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
85395         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
85396         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85397         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85398         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
85399         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
85400         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85401         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85402         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85403         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85405         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
85406         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
85407         * sysdeps/sparc/elf/configure: Regenerated.
85409 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
85411         * configure.in (AS, LD): Require binutils 2.20 or later.
85412         * configure: Regenerated.
85413         * manual/install.texi (Tools for Compilation): Give binutils 2.20
85414         as required minimum version.
85415         * INSTALL: Regenerated.
85417         [BZ #2541]
85418         [BZ #4108]
85419         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
85420         before squaring exponent.
85421         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
85422         bottom long double and 27 bits of top long double before squaring
85423         exponent.
85424         * math/libm-test.inc (erfc_test): Add more tests.
85425         * sysdeps/i386/fpu/libm-test-ulps: Update.
85426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85429 2012-03-01  Kai Tietz  <ktietz@redhat.com>
85431         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
85432         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
85433         containing bit-fields.
85434         * soft-fp/extended.h (_FP_UNION_E): Likewise.
85435         * soft-fp/single.h (_FP_UNION_S): Likewise.
85436         * soft-fp/double.h (_FP_UNION_D): Likewise.
85438 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85440         [BZ #13786]
85441         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
85442         not include ../strcmp.S.
85443         [USE_AS_STRNCASECMP_L]: Likewise.
85444         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
85445         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
85446         * sysdeps/i386/i686/multiarch/strncase_l-c.c
85447         (__strncasecmp_l_ia32): Define as alias to
85448         __strncasecmp_l_nonascii.
85450         [BZ #5794]
85451         * math/libm-test.inc (expm1_test): Add test for bug 5794.
85452         * sysdeps/i386/fpu/libm-test-ulps: Update.
85453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85455         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
85456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85458 2012-02-29  Jeff Law  <law@redhat.com>
85460         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
85461         out of bounds read.
85463 2012-02-29  Marek Polacek  <polacek@redhat.com>
85465         [BZ #13706]
85466         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
85467         * elf/Makefile: Add rules to run tst-unused-dep.out.
85469 2012-02-28  David S. Miller  <davem@davemloft.net>
85471         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
85472         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
85473         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
85474         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
85475         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
85476         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
85478 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
85480         * math/libm-test.inc (llround_test): Move one test from
85481         lround_test.  Use TEST_f_L in moved test.
85482         (lround_test): Move misplaced test to llround_test.  Add testcase
85483         from bug 2561.
85485 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
85487         * sysdeps/x86_64/fpu/e_expf.S: New file.
85488         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
85490 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
85492         [BZ #13637]
85493         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
85494         of remain_len that may cause incomplete multi-byte character and
85495         false match.
85496         * posix/bug-regex33.c: New file.
85497         * posix/Makefile (tests): Add bug-regex33.
85499 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
85501         * manual/macros.texi: New file.
85502         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
85503         * manual/libc.texinfo: Include macros.texi.
85504         * manual/creatute.texi: Likewise.
85505         * manual/install.texi: Likewise.
85506         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
85507         @glibcadj{} in references to the GNU C Library.
85508         * manual/charset.texi: Likewise.
85509         * manual/conf.texi: Likewise.
85510         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
85511         when not using those macros.
85512         * manual/creature.texi: Likewise.
85513         * manual/crypt.texi: Likewise.
85514         * manual/errno.texi: Likewise.
85515         * manual/filesys.texi: Likewise.
85516         * manual/header.texi: Likewise.
85517         * manual/install.texi: Likewise.
85518         * manual/intro.texi: Likewise.
85519         * manual/io.texi: Likewise.
85520         * manual/job.texi: Likewise.
85521         * manual/lang.texi: Likewise.
85522         * manual/libc.texiinfo: Likewise.
85523         * manual/llio.texi: Likewise.
85524         * manual/locale.texi: Likewise.
85525         * manual/maint.texi: Likewise.
85526         * manual/math.texi: Likewise.
85527         * manual/memory.texi: Likewise.
85528         * manual/message.texi: Likewise.
85529         * manual/nss.texi: Likewise.
85530         * manual/pattern.texi: Likewise.
85531         * manual/process.texi: Likewise.
85532         * manual/resource.texi: Likewise.
85533         * manual/search.texi: Likewise.
85534         * manual/setjmp.texi: Likewise.
85535         * manual/signal.texi: Likewise.
85536         * manual/socket.texi: Likewise.
85537         * manual/startup.texi: Likewise.
85538         * manual/stdio.texi: Likewise.
85539         * manual/string.texi: Likewise.
85540         * manual/sysinfo.texi: Likewise.
85541         * manual/syslog.texi: Likewise.
85542         * manual/terminal.texi: Likewise.
85543         * manual/time.texi: Likewise.
85544         * manual/users.texi: Likewise.
85545         * INSTALL: Regenerated.
85546         * NOTES: Regenerated.
85547         * sysdeps/gnu/errlist.c: Regenerated.
85549 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
85551         * include/dirent.h: Include <dirstream.h> before
85552         <dirent/dirent.h>.
85554 2012-02-28  David S. Miller  <davem@davemloft.net>
85556         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
85557         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
85558         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
85559         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
85561 2012-02-27  David S. Miller  <davem@davemloft.net>
85563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
85564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
85565         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
85566         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
85568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
85569         frame pointer instead of stack pointer relative arg slot.
85570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85571         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85572         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85574 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
85576         [BZ #3992]
85577         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
85579 2012-02-27  David S. Miller  <davem@davemloft.net>
85581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
85582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
85583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
85584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
85585         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
85586         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
85587         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
85588         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
85590 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85592         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
85593         later.  Allow versions 5-9.
85594         * configure: Regenerated.
85595         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
85596         required minimum version and 4.6 as recommended version.  Do not
85597         mention bugs in GCC 2.7 and 2.8.
85598         * INSTALL: Regenerated.
85600 2012-02-27  David S. Miller  <davem@davemloft.net>
85602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
85603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
85604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
85605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
85606         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
85607         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
85608         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
85609         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
85611         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
85612         manipulate bits before adding and subtracting TWO112[sx].
85613         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
85615 2012-02-27  Roland McGrath  <roland@hack.frob.com>
85617         [BZ #13775]
85618         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
85619         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
85620         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
85621         being in POSIX, because they are in 1003.1-2008.
85623         * rt/tst-aio.c: Include <fcntl.h>.
85624         * rt/tst-aio7.c: Likewise.
85625         * rt/tst-aio64.c: Likewise.
85627         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
85629 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
85631         * manual/install.texi (--with-headers): Describe headers as
85632         interface headers, not private headers.
85633         (Specific advice for GNU/Linux systems): Describe use of headers
85634         from "make headers_install", not private headers from older
85635         kernels.
85636         * INSTALL: Regenerated.
85637         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
85638         Change to 2.6.19.
85639         * sysdeps/unix/sysv/linux/configure: Regenerated.
85641         * manual/llio.texi (fclean): Remove documentation.
85643         * manual/Makefile (libc-texi-generated): New variable.  Include
85644         version.texi.
85645         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
85646         $(libc-texi-generated), not duplicated list of files.
85647         (version.texi, stamp-version): New rules.
85648         (realclean): Remove $(libc-texi-generated), not individual files
85649         from that list.  Do not remove dir-add.texinfo.
85650         * manual/libc.texinfo: Comment out uses of edition numbers and
85651         references to printed manual.  Remove last-updated dates.
85652         (EDITION): Comment out.
85653         (ISBN): Likewise.
85654         (VERSION, UPDATED): Remove.
85655         (version.texi): Include.
85657 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
85659         * sysdeps/posix/spawni.c: Include <signal.h>.
85660         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
85661         * sysdeps/pthread/aio_fsync.c: Likewise.
85663 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
85665         * conform/Makefile (tests): Run only when not cross-compiling and
85666         when fast-check is not defined.
85668         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
85669         * conform/data/limits.h-data: Fixes for POSIX2008.
85670         * conform/run-conformtest.sh: Run all tests.
85671         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
85672         headers.
85673         * include/bits/dlfcn.h: Likewise.
85674         * include/langinfo.h: Likewise.
85675         * include/monetary.h: Likewise.
85676         * include/sys/poll.h: Likewise.
85678         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
85679         for __USE_GNU.
85680         * posix/spawn.h: Define __need_sigset_t.
85681         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
85682         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
85683         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
85684         to get sigevent_t only.
85685         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
85686         only for __USE_GNU.
85687         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85688         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
85689         process_vm_writev only for __USE_GNU.
85690         * termios/termios.h: Declare tcgetsid also for POSIX2008.
85692         * conform/Makefile: For now ignore errors from run-conformtest.
85693         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
85694         POSIX to avoid namespace pollution.  Don't prepend headers.
85695         * conform/data/aio.h-data: Fixes for POSIX testing.
85696         * conform/data/fcntl.h-data: Likewise.
85697         * conform/data/glob.h-data: Likewise.
85698         * conform/data/grp.h-data: Likewise.
85699         * conform/data/pthread.h-data: Likewise.
85700         * conform/data/pwd.h-data: Likewise.
85701         * conform/data/signal.h-data: Likewise.
85702         * conform/data/spawn.h-data: Likewise.
85703         * conform/data/stdio.h-data: Likewise.
85704         * conform/data/stdlib.h-data: Likewise.
85705         * conform/data/stropts.h-data: Likewise.
85706         * conform/data/sys/mman.h-data: Likewise.
85707         * conform/data/sys/stat.h-data: Likewise.
85708         * conform/data/sys/types.h-data: Likewise.
85709         * conform/data/sys/wait.h-data: Likewise.
85710         * conform/data/time.h-data: Likewise.
85711         * conform/data/unistd.h-data: Likewise.
85712         * conform/data/utime.h-data: Likewise.
85714         * io/sys/stat.h: fchmod was always in POSIX.
85715         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
85716         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
85717         * rt/aio.h: Define __need_timespec before including <time.h>.
85718         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
85719         struct.  Add forward declaration of pthread_attr_t and use it in
85720         sigevent.
85721         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85722         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85723         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
85724         always remove CLK_TCK definition.
85726 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
85728         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
85730 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
85732         * conform/run-conformtest.sh: New file.
85733         * conform/Makefile: Run run-conformtest for tests.
85734         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
85735         support.
85737         * conform/data/uchar.h-data: New file.
85738         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
85739         * conform/data/arpa/inet.h-data: Likewise.
85740         * conform/data/assert.h-data: Likewise.
85741         * conform/data/complex.h-data: Likewise.
85742         * conform/data/cpio.h-data: Likewise.
85743         * conform/data/ctype.h-data: Likewise.
85744         * conform/data/dirent.h-data: Likewise.
85745         * conform/data/dlfcn.h-data: Likewise.
85746         * conform/data/errno.h-data: Likewise.
85747         * conform/data/fcntl.h-data: Likewise.
85748         * conform/data/float.h-data: Likewise.
85749         * conform/data/fmtmsg.h-data: Likewise.
85750         * conform/data/fnmatch.h-data: Likewise.
85751         * conform/data/ftw.h-data: Likewise.
85752         * conform/data/glob.h-data: Likewise.
85753         * conform/data/grp.h-data: Likewise.
85754         * conform/data/iconv.h-data: Likewise.
85755         * conform/data/inttypes.h-data: Likewise.
85756         * conform/data/langinfo.h-data: Likewise.
85757         * conform/data/libgen.h-data: Likewise.
85758         * conform/data/limits.h-data: Likewise.
85759         * conform/data/locale.h-data: Likewise.
85760         * conform/data/math.h-data: Likewise.
85761         * conform/data/monetary.h-data: Likewise.
85762         * conform/data/mqueue.h-data: Likewise.
85763         * conform/data/ndbm.h-data: Likewise.
85764         * conform/data/net/if.h-data: Likewise.
85765         * conform/data/netdb.h-data: Likewise.
85766         * conform/data/netinet/in.h-data: Likewise.
85767         * conform/data/nl_types.h-data: Likewise.
85768         * conform/data/poll.h-data: Likewise.
85769         * conform/data/pthread.h-data: Likewise.
85770         * conform/data/pwd.h-data: Likewise.
85771         * conform/data/regex.h-data: Likewise.
85772         * conform/data/sched.h-data: Likewise.
85773         * conform/data/search.h-data: Likewise.
85774         * conform/data/semaphore.h-data: Likewise.
85775         * conform/data/setjmp.h-data: Likewise.
85776         * conform/data/signal.h-data: Likewise.
85777         * conform/data/spawn.h-data: Likewise.
85778         * conform/data/stdarg.h-data: Likewise.
85779         * conform/data/stdio.h-data: Likewise.
85780         * conform/data/stdlib.h-data: Likewise.
85781         * conform/data/string.h-data: Likewise.
85782         * conform/data/strings.h-data: Likewise.
85783         * conform/data/stropts.h-data: Likewise.
85784         * conform/data/sys/ipc.h-data: Likewise.
85785         * conform/data/sys/mman.h-data: Likewise.
85786         * conform/data/sys/msg.h-data: Likewise.
85787         * conform/data/sys/resource.h-data: Likewise.
85788         * conform/data/sys/select.h-data: Likewise.
85789         * conform/data/sys/sem.h-data: Likewise.
85790         * conform/data/sys/shm.h-data: Likewise.
85791         * conform/data/sys/socket.h-data: Likewise.
85792         * conform/data/sys/stat.h-data: Likewise.
85793         * conform/data/sys/statvfs.h-data: Likewise.
85794         * conform/data/sys/time.h-data: Likewise.
85795         * conform/data/sys/timeb.h-data: Likewise.
85796         * conform/data/sys/times.h-data: Likewise.
85797         * conform/data/sys/types.h-data: Likewise.
85798         * conform/data/sys/uio.h-data: Likewise.
85799         * conform/data/sys/un.h-data: Likewise.
85800         * conform/data/sys/utsname.h-data: Likewise.
85801         * conform/data/sys/wait.h-data: Likewise.
85802         * conform/data/syslog.h-data: Likewise.
85803         * conform/data/tar.h-data: Likewise.
85804         * conform/data/termios.h-data: Likewise.
85805         * conform/data/utime.h-data: Likewise.
85806         * conform/data/utmpx.h-data: Likewise.
85807         * conform/data/varargs.h-data: Likewise.
85808         * conform/data/wchar.h-data: Likewise.
85809         * conform/data/wctype.h-data: Likewise.
85810         * conform/data/wordexp.h-data: Likewise.
85812         * include/stropts.h: New file.
85813         * include/uchar.h: New file.
85814         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85815         * include/assert.h: Likewise.
85816         * include/ctype.h: Likewise.
85817         * include/dirent.h: Likewise.
85818         * include/dlfcn.h: Likewise.
85819         * include/fcntl.h: Likewise.
85820         * include/fnmatch.h: Likewise.
85821         * include/glob.h: Likewise.
85822         * include/grp.h: Likewise.
85823         * include/libio.h: Likewise.
85824         * include/locale.h: Likewise.
85825         * include/math.h: Likewise.
85826         * include/net/if.h: Likewise.
85827         * include/netdb.h: Likewise.
85828         * include/netinet/in.h: Likewise.
85829         * include/pthread.h: Likewise.
85830         * include/pwd.h: Likewise.
85831         * include/regex.h: Likewise.
85832         * include/sched.h: Likewise.
85833         * include/search.h: Likewise.
85834         * include/setjmp.h: Likewise.
85835         * include/signal.h: Likewise.
85836         * include/stdio.h: Likewise.
85837         * include/stdlib.h: Likewise.
85838         * include/string.h: Likewise.
85839         * include/sys/cdefs.h: Likewise.
85840         * include/sys/mman.h: Likewise.
85841         * include/sys/msg.h: Likewise.
85842         * include/sys/resource.h: Likewise.
85843         * include/sys/select.h: Likewise.
85844         * include/sys/socket.h: Likewise.
85845         * include/sys/stat.h: Likewise.
85846         * include/sys/statvfs.h: Likewise.
85847         * include/sys/time.h: Likewise.
85848         * include/sys/times.h: Likewise.
85849         * include/sys/uio.h: Likewise.
85850         * include/sys/utsname.h: Likewise.
85851         * include/sys/wait.h: Likewise.
85852         * include/termios.h: Likewise.
85853         * include/time.h: Likewise.
85854         * include/ulimit.h: Likewise.
85855         * include/unistd.h: Likewise.
85856         * include/utime.h: Likewise.
85857         * include/wchar.h: Likewise.
85858         * include/wctype.h: Likewise.
85859         * include/wordexp.h: Likewise.
85861         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85863         * time/time.h: TIME_UTC must be a macro.
85864         Make timespec_get available for ISO C11 only as well.
85866 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85868         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85869         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85871 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85873         * configure.in: Use -o not -a in test for unsupported multi-arch.
85875 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85877         * manual/texinfo.tex: Update to version 2012-01-19.16.
85879 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85881         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85883 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85885         [BZ #13738]
85886         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85887         * manual/fdl-1.3.texi: New file.
85888         * manual/fdl-1.1.texi: File removed.
85890         [BZ #13738]
85891         * manual/libc.texinfo (FDL_VERSION): New @set.
85892         Use it for mention of FDL in cover text.
85893         (Documentation License): Use it in @include file name.
85895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85896             Roland McGrath  <roland@hack.frob.com>
85898         [BZ #5461]
85899         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85900         (not LONG_LONG_MAX and LONG_LONG_MIN.
85901         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85902         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85903         name.
85904         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85906 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85908         [BZ #2547]
85909         [BZ #11365]
85910         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85911         manipulate bits before adding and subtracting TWO23[sx].
85912         * math/libm-test.inc (nearbyint_test): Add more tests.
85914 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85916         [BZ #2548]
85917         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85918         bits before adding and subtracting TWO23[sx].
85919         * math/libm-test.inc (rint_test): Add more tests.
85920         (rint_test_tonearest): Likewise.
85921         (rint_test_towardzero): Likewise.
85922         (rint_test_downward): Likewise.
85923         (rint_test_upward: Likewise.
85925 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85927         [BZ #10110]
85928         * include/stdc-predef.h: New file.  Extracted from features.h.
85929         * include/features.h: Include stdc-predef.h.
85930         * Makefile (headers): Add stdc-predef.h.
85931         * CONFORMANCE (Compiler limitations): Update.
85933 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85935         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85937 2012-02-21  David S. Miller  <davem@davemloft.net>
85939         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85940         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85942 2012-02-20  David S. Miller  <davem@davemloft.net>
85944         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85945         using a normal save/restore sequence, rather than allocating a
85946         dummy stack frame just to store a frame pointer and restore.
85947         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85949 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85951         * manual/install.texi: Fix stray word in line-wrapped comment.
85953 2012-02-20  David S. Miller  <davem@davemloft.net>
85955         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85956         both binutils and gcc support GOTDATA.
85958         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85959         "rd %pc" in the PIC register setup sequences.
85961         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85962         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85963         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85964         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85965         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85966         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85967         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85968         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85970         (SYSCALL_ERROR_HANDLER): Likewise.
85971         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85972         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85974         (SYSCALL_ERROR_HANDLER): Likewise.
85976         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85977         (HAVE_GCC_GOTDATA): New.
85978         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85979         relocation support in both binutils and gcc.
85980         * sysdeps/sparc/elf/configure: Regenerate.
85982         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85983         * sysdeps/sparc/sparc32/elf/configure: Delete.
85984         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85985         * sysdeps/sparc/sparc64/elf/configure: Delete.
85986         * sysdeps/sparc/elf/configure.in: New file.
85987         * sysdeps/sparc/elf/configure: Generate.
85989         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85990         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85991         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85992         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85993         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85995 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85997         * manual/install.texi: Do not mention specific glibc version
85998         numbers.
85999         * manual/libc.texinfo (VERSION, UPDATED): Update.
86000         (@copying): Use @copyright{} and range of years.
86002 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86004         [BZ #13695]
86005         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86006         [crti.S not in sysdirs] (generated): Do not append.
86007         [crti.S not in sysdirs] (omit-deps): Likewise.
86008         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86009         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86010         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86011         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86012         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86013         Likewise.
86014         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86015         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86016         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86017         * csu/defs.awk: Remove file.
86018         * sysdeps/generic/initfini.c: Likewise.
86019         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86020         variable.
86021         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86022         Likewise.
86024 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86026         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86027         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86028         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86029         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86030         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86031         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86032         <bits/epoll.h>.
86033         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86034         (__EPOLL_PACKED): Define to empty if not defined by
86035         <bits/epoll.h>.
86036         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86038         bits/epoll.h.
86040 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86042         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86043         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86044         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86045         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86046         <bits/timerfd.h>.
86047         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86049         bits/timerfd.h.
86051 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86053         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86054         in C locale.
86055         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86056         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86057         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86060 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86062         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86063         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86065 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86067         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86068         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86069         defined.
86070         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86071         Likewise.
86072         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86073         entry for 2.16.
86075 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86077         * math/w_acos.c: Use non-signaling floating-point comparisons.
86078         * math/w_acosf.c: Likewise.
86079         * math/w_acosh.c: Likewise.
86080         * math/w_acoshf.c: Likewise.
86081         * math/w_acoshl.c: Likewise.
86082         * math/w_acosl.c: Likewise.
86083         * math/w_asin.c: Likewise.
86084         * math/w_asinf.c: Likewise.
86085         * math/w_asinl.c: Likewise.
86086         * math/w_atanh.c: Likewise.
86087         * math/w_atanhf.c: Likewise.
86088         * math/w_atanhl.c: Likewise.
86089         * math/w_exp2.c: Likewise.
86090         * math/w_exp2f.c: Likewise.
86091         * math/w_exp2l.c: Likewise.
86092         * math/w_j0.c: Likewise.
86093         * math/w_j0f.c: Likewise.
86094         * math/w_j0l.c: Likewise.
86095         * math/w_j1.c: Likewise.
86096         * math/w_j1f.c: Likewise.
86097         * math/w_j1l.c: Likewise.
86098         * math/w_jn.c: Likewise.
86099         * math/w_jnf.c: Likewise.
86100         * math/w_log.c: Likewise.
86101         * math/w_log10.c: Likewise.
86102         * math/w_log10f.c: Likewise.
86103         * math/w_log10l.c: Likewise.
86104         * math/w_log2.c: Likewise.
86105         * math/w_log2f.c: Likewise.
86106         * math/w_log2l.c: Likewise.
86107         * math/w_logf.c: Likewise.
86108         * math/w_logl.c: Likewise.
86109         * math/w_sqrt.c: Likewise.
86110         * math/w_sqrtf.c: Likewise.
86111         * math/w_sqrtl.c: Likewise.
86112         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86113         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86114         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86115         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86116         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86118 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86120         [BZ #9739]
86121         * manual/string.texi (strnlen): Use correct parameter name in
86122         equivalent expression.
86124 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86126         [BZ #11174]
86127         * manual/users.texi (seteuid): Consistently use neweuid for
86128         argument name.
86130 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86132         [BZ #13704]
86133         * manual/nss.texi (Services in the NSS configuration): Correct
86134         list of services in example configuration file.
86136 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86138         [BZ #11322]
86139         * manual/arith.texi: Remove statements about negative zero
86140         behaving identically to zero.
86142 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86144         [BZ #5993]
86145         * manual/install.texi: Do not document upgrading from libc5.
86147 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86149         [BZ #4596]
86150         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86152 2012-02-18  David S. Miller  <davem@davemloft.net>
86154         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86155         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86156         %o7 across the call.
86157         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86158         instead.
86159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86160         SETUP_PIC_REG_LEAF.
86161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86162         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86163         * sysdeps/sparc/crtn.S: Likewise.
86165 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86167         * aout/Makefile: Remove.
86169 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86171         [BZ #13058]
86172         * manual/examples/argp-ex1.c (main): Format definition in GNU
86173         style.
86174         * manual/examples/argp-ex2.c (main): Likewise.
86175         * manual/examples/argp-ex3.c (main): Likewise.
86176         * manual/examples/argp-ex4.c (main): Likewise.
86177         * manual/examples/longopt.c (main): Use new-style prototype
86178         definition.
86179         * manual/examples/strncat.c (main): Specify return type and use
86180         (void) for arguments.
86181         * manual/examples/subopt.c (main): Use char **argv argument.
86183 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86185         [BZ #5077]
86186         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86187         rounding modes.
86189 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86191         [BZ #6907]
86192         * manual/string.texi (strchr): Change when strchrnul is
86193         recommended.
86195 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86197         [BZ #174]
86198         * manual/locale.texi (setlocale): Document LOCPATH.
86200 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86202         [BZ #10210]
86203         * manual/process.texi (execle): Move @dots{} before last argument.
86205 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86207         [BZ #12047]
86208         * manual/charset.texi (Generic Charset Conversion): Fix typo
86209         (LC_TYPE -> LC_CTYPE).
86211 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86213         [BZ #5805]
86214         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86215         (scalbnf): Likewise.
86216         (scalbnl): Likewise.
86217         (scalbln): Likewise.
86218         (scalblnf): Likewise.
86219         (scalblnl): Likewise.
86220         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86221         (vwarnx): Likewise.
86222         (verr): Likewise.
86223         (verrx): Likewise.
86224         * manual/filesys.texi (telldir): Use braces around return type.
86225         * manual/llio.texi (mmap): Add space after comma.
86226         (mmap64): Likewise.
86227         * manual/math.texi (jn): Use @var{} on parameter names.
86228         (jnf): Likewise.
86229         (jnl): Likewise.
86230         (yn): Likewise.
86231         (ynf): Likewise.
86232         (ynl): Likewise.
86233         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86234         line.
86235         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86236         "...".
86237         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86238         (sched_get_priority_max): Likewise.
86239         * manual/signal.texi (sigvec): Add space after comma.
86240         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86241         names.
86242         (if_indextoname): Likewise.
86243         (if_freenameindex): Likewise.
86244         (sendto): Use ',' instead of '.' in prototype.
86245         * manual/startup.texi (syscall): Use @dots{} instead of literal
86246         "...".
86247         * manual/stdio.texi (__fpending): Separate initial words of
86248         paragraph from @deftypefun line.
86249         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86250         "...".
86251         (vsyslog): Use @var{} on parameter names.
86252         * manual/terminal.texi (stty): Use @var{} on parameter names.
86253         * manual/users.texi (getutmp): Use @var{} on parameter names.
86254         (getutmpx): Likewise.
86256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86258         [BZ #6884]
86259         * manual/stdio.texi (fopen): Fix typos in description of
86260         ",ccs=STRING".
86262 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86264         [BZ #4026]
86265         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86266         get clock_id definition.
86268 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86270         [BZ #4822]
86271         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86272         (madvise): Cast every argument to void on its own.
86274 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86276         [BZ #9902]
86277         * manual/startup.texi (Exit Status): Fix typo.
86279 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86281         [BZ #10140]
86282         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86283         * manual/examples/argp-ex2.c: Likewise.
86284         * manual/examples/argp-ex3.c: Likewise.
86286 2012-02-16  Richard Henderson  <rth@redhat.com>
86288         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86289         * sysdeps/s390/s390-32/initfini.c: Remove.
86290         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86291         * sysdeps/s390/s390-64/initfini.c: Remove.
86293 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86295         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86296         compiler output for sysdeps/generic/initfini.c.
86297         * sysdeps/sh/elf/initfini.c: Remove file.
86299 2012-02-16  David S. Miller  <davem@davemloft.net>
86301         [BZ #11494]
86302         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86304         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86305         * sysdeps/sparc/crti.S: New file.
86306         * sysdeps/sparc/crtn.S: New file.
86307         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86308         * sysdeps/sparc/sparc64/Makefile: Likewise.
86310 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86312         [BZ #3335]
86313         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86315 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86317         [BZ #4822]
86318         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86320         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86321         (write, read, close): Likewise.
86322         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86324 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86326         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86327         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
86328         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
86329         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
86330         <bits/signalfd.h>.
86331         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
86332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86333         bits/signalfd.h.
86335 2012-02-14  Marek Polacek  <polacek@redhat.com>
86337         * sysdeps/x86_64/crti.S: New file.
86338         * sysdeps/x86_64/crtn.S: New file.
86339         * sysdeps/x86_64/elf/initfini.c: Remove file.
86341 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86343         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
86344         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
86345         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
86346         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
86347         <bits/inotify.h>.
86348         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
86349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86350         bits/inotify.h.
86352 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
86354         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
86355         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
86356         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
86357         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
86358         <bits/eventfd.h>.
86359         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
86360         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86361         bits/eventfd.h.
86363 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
86365         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
86366         __feraiseexcept instead of feraiseexcept.
86368         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
86369         nanosleep invocations.
86370         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
86371         strings, and add error checking for a nanosleep invocations.
86373 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
86375         Replace FSF snail mail address with URLs, as per GNU coding standards.
86376         Most of the snail mail addresses were wrong anyway, and omitting
86377         them makes the source code easier to maintain.  Almost all of the
86378         changes are to license notices and to locale LC_IDENTIFICATION
86379         addresses, except for this one:
86380         * manual/libc.texinfo: In "Published by", give the FSF's URL,
86381         not its snail mail address.
86383 2012-02-09  Richard Henderson  <rth@twiddle.net>
86385         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
86386         of kernel-features.h.
86388         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
86390 2012-02-08  Marek Polacek  <polacek@redhat.com>
86392         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
86393         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
86394         * sysdeps/gnu/_G_config.h: Likewise.
86395         * sysdeps/generic/_G_config.h: Likewise.
86397 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
86399         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
86400         tests.
86401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86403         * sysdeps/powerpc/powerpc32/crti.S: New file.
86404         * sysdeps/powerpc/powerpc32/crtn.S: New file.
86405         * sysdeps/powerpc/powerpc64/crti.S: New file.
86406         * sysdeps/powerpc/powerpc64/crtn.S: New file.
86408         * Makeconfig (have-initfini): Don't set.
86409         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
86410         * configure.in (nopic_initfini): Don't substitute.
86411         * config.h.in (HAVE_INITFINI): Don't #undef.
86412         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
86413         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
86415 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
86417         Support crti.S and crtn.S provided directly by architectures.
86418         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
86419         [crti.S in sysdirs] (omit-deps): Likewise.
86420         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
86421         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
86422         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
86423         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
86424         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
86425         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
86426         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
86427         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
86428         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
86429         compiler output for sysdeps/generic/initfini.c.
86430         * sysdeps/i386/elf/Makefile: Remove file.
86431         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
86433 2012-02-07  Marek Polacek  <polacek@redhat.com>
86435         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
86436         * sysdeps/gnu/_G_config.h: Likewise.
86437         * sysdeps/mach/hurd/_G_config.h: Likewise.
86439 2012-02-07  Marek Polacek  <polacek@redhat.com>
86441         * math/Makefile (tests): Add tst-CMPLX2.
86442         * math/tst-CMPLX2.c: New file.
86444 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
86446         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86448         * math/libm-test.inc (jn_test): Add missing L suffix.
86450 2012-02-06  Marek Polacek  <polacek@redhat.com>
86452         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
86453         * sysdeps/i386/fpu/e_powf.S: Likewise.
86454         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
86455         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86456         * sysdeps/i386/fpu/e_acosh.S: Likewise.
86457         * sysdeps/i386/fpu/e_pow.S: Likewise.
86458         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
86459         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
86460         * sysdeps/i386/fpu/s_expm1.S: Likewise.
86461         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
86462         * sysdeps/i386/fpu/e_log2.S: Likewise.
86463         * sysdeps/i386/fpu/e_log2l.S: Likewise.
86464         * sysdeps/i386/fpu/e_scalb.S: Likewise.
86465         * sysdeps/i386/fpu/e_powl.S: Likewise.
86466         * sysdeps/i386/fpu/s_log1p.S: Likewise.
86467         * sysdeps/i386/fpu/e_log10f.S: Likewise.
86468         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
86469         * sysdeps/i386/fpu/e_logl.S: Likewise.
86470         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
86471         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
86472         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
86473         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
86474         * sysdeps/i386/fpu/e_log2f.S: Likewise.
86475         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
86476         * sysdeps/i386/fpu/e_log.S: Likewise.
86477         * sysdeps/i386/fpu/s_cexp.S: Likewise.
86478         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
86479         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
86480         * sysdeps/i386/fpu/e_logf.S: Likewise.
86481         * sysdeps/i386/fpu/e_log10l.S: Likewise.
86482         * sysdeps/i386/fpu/e_atanh.S: Likewise.
86483         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
86484         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
86485         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86486         * sysdeps/i386/fpu/e_log10.S: Likewise.
86487         * sysdeps/i386/fpu/s_frexp.S: Likewise.
86488         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
86489         * sysdeps/i386/fpu/s_asinh.S: Likewise.
86490         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
86491         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
86492         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
86493         * sysdeps/i386/asm-syntax.h: Likewise.
86494         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
86495         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
86496         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
86497         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
86498         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
86499         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
86500         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
86501         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
86502         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
86503         * sysdeps/powerpc/sysdep.h: Likewise.
86504         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
86505         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
86507 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86509         [BZ #411]
86510         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
86512 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
86514         * sysdeps/i386/sysdep.h: Include <features.h>.
86515         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
86516         version.
86518 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
86520         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
86521         Define.
86522         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
86523         LOAD_PIC_REG_STR.
86525 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86527         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
86528         (SETUP_PIC_REG): Use GET_PC_THUNK.
86529         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
86530         macro.
86532 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86534         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
86535         for non-PIC compilation.
86536         (SETUP_PIC_REG): Add .p2align directive.
86537         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
86538         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
86539         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
86540         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
86541         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
86542         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
86543         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
86544         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86545         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
86546         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
86547         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
86548         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
86549         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
86550         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
86551         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
86552         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
86553         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
86554         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
86555         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
86556         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
86557         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86558         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
86559         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
86560         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
86561         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
86562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
86563         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86564         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
86565         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
86566         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
86567         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
86568         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86569         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
86570         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
86571         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
86572         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
86573         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
86574         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
86575         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
86576         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
86577         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
86579 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
86581         * math/tst-CMPLX.c: Include <stdio.h>.
86583 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
86585         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
86586         float.
86587         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86588         * sysdeps/sparc/bits/mathdef.h: Likewise.
86590 2012-01-31  Marek Polacek  <polacek@redhat.com>
86592         * libio/libio.h: Don't define _PARAMS.
86593         * locale/programs/config.h: Don't define PARAMS.
86594         * stdlib/strtol_l.c: Likewise.
86595         (__strtol_l): Remove PARAMS from the prototype.
86597 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
86599         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
86600         names.  Just use the correct names.  Remove unnecessary wrapper
86601         functions.
86602         * malloc/arena.c: Likewise.
86603         * malloc/hooks.c: Likewise.
86605         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
86606         ARENA_TEST says not to.  Simplify test for creation of a new arena.
86607         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
86609 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
86611         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
86612         into tail calls.
86613         (update_get_addr): New function.
86614         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
86615         GET_ADDR_MODULE parameter.
86617 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86619         * crypt/cert.c: Remove __STDC__ conditionals.
86620         * crypt/crypt-entry.c: Likewise.
86621         * crypt/crypt_util.c: Likewise.
86622         * libio/filedoalloc.c: Likewise.
86623         * libio/fileops.c: Likewise.
86624         * libio/genops.c: Likewise.
86625         * libio/iofclose.c: Likewise.
86626         * libio/iofdopen.c: Likewise.
86627         * libio/iofopen.c: Likewise.
86628         * libio/iofopen64.c: Likewise.
86629         * libio/iogetdelim.c: Likewise.
86630         * libio/iopopen.c: Likewise.
86631         * libio/obprintf.c: Likewise.
86632         * libio/oldfileops.c: Likewise.
86633         * libio/oldiofclose.c: Likewise.
86634         * libio/oldiofdopen.c: Likewise.
86635         * libio/oldiofopen.c: Likewise.
86636         * libio/oldiopopen.c: Likewise.
86637         * libio/wfiledoalloc.c: Likewise.
86638         * libio/wgenops.c: Likewise.
86639         * locale/programs/xmalloc.c: Likewise.
86640         * misc/syslog.c: Likewise.
86641         * stdio-common/xbug.c: Likewise.
86642         * string/memchr.c: Likewise.
86643         * string/memcmp.c: Likewise.
86644         * string/memrchr.c: Likewise.
86645         * string/rawmemchr.c: Likewise.
86646         * sysdeps/posix/getcwd.c: Likewise.
86647         * time/strftime_l.c: Likewise.
86649 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
86651         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
86652         * config.make.in (config-cflags-sse2avx): Define.
86653         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
86654         Fix typo.
86656 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
86658         * scripts/config.guess: Update from upstream config git repository.
86659         * scripts/config.sub: Likewise.
86661 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
86663         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
86664         (EM_NUM): Update.
86665         (R_TILEPRO_*, R_TILEGX_*): New macros.
86667         * scripts/firstversions.awk: Fix bug in version range handling.
86669         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
86671         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
86673         * include/sys/epoll.h: New file.
86674         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
86675         libc_hidden_def.
86677 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
86679         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
86680         Avoid unnecessary __WORDSIZE == 64 test.
86681         (fmaxf): Use VEX format if possible.
86682         (fmax): Likewise.
86683         (fminf): Likewise.
86684         (fmin): Likewise.
86686         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
86687         * math/math_private.h: Remove libc_fegetround* and
86688         libc_fesetround*.
86689         * sysdeps/i386/configure.in: Check for -msse2avx.
86690         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
86691         also if SSE2AVX is defined.
86692         Remove libc_fegetround* and libc_fesetround*.
86693         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
86694         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
86695         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
86696         of HAS_YMM_USABLE.
86697         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86698         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86699         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86700         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86701         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86703         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
86705 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86707         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
86708         size is not set.
86709         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
86711 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
86713         [BZ #13618]
86714         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
86715         relocation.
86716         * Makeconfig (libm): Define.
86717         * elf/Makefile: Add rules to build and run tst-relsort1.
86718         * elf/tst-relsort1.c: New file.
86719         * elf/tst-relsort1mod1.c: New file.
86720         * elf/tst-relsort1mod2.c: New file.
86722 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
86724         * math/s_ldexp.c: Remove __STDC__ conditionals.
86725         * math/s_ldexpf.c: Likewise.
86726         * math/s_ldexpl.c: Likewise.
86727         * math/s_nextafter.c: Likewise.
86728         * math/s_nexttowardf.c: Likewise.
86729         * math/s_significand.c: Likewise.
86730         * math/s_significandf.c: Likewise.
86731         * math/s_significandl.c: Likewise.
86732         * math/w_jnl.c: Likewise.
86733         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86734         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86735         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86736         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86737         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86739         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
86740         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86741         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86742         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86743         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86744         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86745         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86746         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86747         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86748         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86749         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86750         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86751         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86752         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86753         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86754         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86755         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86756         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86757         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86758         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86759         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86760         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86761         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86762         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86763         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86764         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86765         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86766         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86767         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86768         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86769         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86770         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86771         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86772         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86773         * sysdeps/ieee754/k_standard.c: Likewise.
86774         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86775         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86776         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86777         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86778         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86779         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86780         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86781         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86782         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86783         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86784         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86785         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86786         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86787         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86788         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86789         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86790         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86791         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86792         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86793         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86794         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86795         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86796         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86797         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86798         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86799         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86800         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86801         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86803         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86804         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86805         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86806         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86807         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86808         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86809         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86810         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86811         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86812         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86813         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86814         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86817         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86818         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86819         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86820         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86821         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86823         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86824         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86825         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86826         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86827         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86828         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86829         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86830         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86831         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86832         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86833         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86834         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86835         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86836         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86837         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86838         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86839         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86840         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86841         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86842         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86843         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86844         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86845         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86846         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86847         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86848         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86849         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86850         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86851         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86852         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86853         * sysdeps/ieee754/s_matherr.c: Likewise.
86854         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86855         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86856         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86857         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86859 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86861         * crypt/md5.h: Remove __STDC__ conditionals.
86862         * libio/libioP.h: Likewise.
86863         * locale/programs/config.h: Likewise.
86864         * sysdeps/generic/sysdep.h: Likewise.
86865         * sysdeps/i386/asm-syntax.h: Likewise.
86866         * sysdeps/s390/asm-syntax.h: Likewise.
86867         * sysdeps/unix/sysdep.h: Likewise.
86868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86871 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86873         * libio/libio.h: Remove __STDC__ conditionals.
86874         * malloc/obstack.h: Likewise.
86875         * math/complex.h: Likewise.
86876         * math/math.h: Likewise.
86877         * sysdeps/generic/_G_config.h: Likewise.
86878         * sysdeps/gnu/_G_config.h: Likewise.
86879         * sysdeps/mach/hurd/_G_config.h: Likewise.
86880         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86881         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86882         * sysdeps/sparc/bits/mathdef.h: Likewise.
86884 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86886         [BZ #13583]
86887         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86888         Clean up HAS_* macros.
86889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86890         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86891         possible.
86892         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86893         HAS_AVX.
86894         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86895         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86896         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86897         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86898         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86900 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86902         * elf/tst-unique3.cc (gets): Remove declaration.
86903         * elf/tst-unique3lib.cc (gets): Likewise.
86904         * elf/tst-unique3lib2.cc (gets): Likewise.
86905         * elf/tst-unique4.cc (gets): Likewise.
86907 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86909         * include/stdio.h: Add C++ protection.  Add gets declarations and
86910         definitions.
86911         * debug/tst-chk1.c: Don't declare gets here.
86912         * stdio-common/tst-gets.c: Likewise.
86914 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86916         * posix/glob: Remove directory.
86918 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86920         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86922 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86924         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86925         of the non-standard EPFNOSUPPORT.
86927 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86929         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86930         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86931         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86933 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86935         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86937 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86939         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86940         transient errors.
86941         * nscd/grpcache.c (cache_addgr): Likewise.
86942         * nscd/hstcache.c (cache_addhst): Likewise.
86943         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86944         * nscd/pwdcache.c (cache_addpw): Likewise.
86945         * nscd/servicescache.c (cache_addserv): Likewise.
86947 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86949         * malloc/malloc.c: Various cleanups.
86950         * malloc/hooks.c: Likewise.
86952         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86953         * stdlib/bug-fmtmsg1.c: New file.
86955         * stdlib/fmtmsg.c (init): Add missing unlock.
86956         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86958 2012-01-12  Marek Polacek  <polacek@redhat.com>
86960         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86961         and _GNU_SOURCE.
86963 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86965         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86966         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86967         macro to ensure uniqueness of label name.
86968         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86969         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86971 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86973         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86975         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86976         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86977         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86978         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86980 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
86982         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86984         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86985         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86986         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86988         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86990         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86991         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86992         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86995         * math/bits/math-finite.h: Add ldexp support.
86997 2012-01-10  Marek Polacek  <polacek@redhat.com>
86999         * locale/programs/localedef.h (show_archive_content): Add noreturn
87000         attribute.
87002 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87004         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87006 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87008         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87010         * io/Makefile (headers): Add bits/poll2.h.
87012 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87015         typo #include statement.
87017 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87019         * include/sys/cdefs.h: Define __attribute_alloc_size.
87020         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87021         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87022         * elf/pldd.c: Likewise.
87023         * iconv/iconv_charmap.c: Likewise.
87024         * iconv/iconvconfig.c: Likewise.
87025         * iconv/strtab.c: Likewise.
87026         * locale/programs/locale.c: Likewise.
87027         * locale/programs/localedef.h: Likewise.
87028         * locale/programs/simple-hash.c: Likewise.
87029         * nscd/nscd.h: Likewise.
87030         * nss/makedb.c: Likewise.
87031         * sysdeps/generic/ldconfig.h: Likewise.
87032         * locale/programs/localedef.c: Remove xmalloc prototype.
87033         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87035 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87037         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87038         appropriate.
87040 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87042         * math/Makefile (tests): Add tst-CMPLX.
87043         * math/tst-CMPLX.c: New file.
87045         * math/complex.h (CMPLXL): Fix typo.
87047         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87048         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87049         GLIBC_2.16.
87050         * debug/tst-chk1.c: Add poll and ppoll tests.
87051         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87052         * include/sys/poll.h: Add hidden proto for ppoll.
87053         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87054         * sysdeps/mach/hurd/ppoll.c: Likewise.
87055         * io/ppoll.c: Likewise.
87056         * debug/poll_chk.c: New file.
87057         * debug/ppoll_chk.c: New file.
87058         * include/bits/poll2.h: New file.
87059         * io/bits/poll2.h: New file.
87061         [BZ #1350]
87062         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87064         * configure.in: static is always set to yes.  Remove.
87065         * config.make.in: Don't set build-static.
87066         * Makeconfig: Remove use of build-static.
87067         * dlfcn/Makefile: Likewise.
87068         * elf/Makefile: Likewise.
87069         * math/Makefile: Likewise.
87070         * misc/Makefile: Likewise.
87071         * nptl/Makefile: Likewise.
87072         * sysdeps/mach/hurd/Makefile: Likewise.
87074         * configure.in: PWD_P is not used anymore.
87075         * config.make.in: Remove PWD_P entry.
87077         * configure.in: Remove last remnants of RANLIB.
87078         No need to check for signed size_t anymore.
87079         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87080         and IA-64.
87081         Remove __builtin_expect test because we require at least gcc 3.4.
87082         * aclocal.m4: Likewise.
87084         * wcsmbs/mbrtoc16.c: Implement using towc function.
87085         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87086         * wcsmbs/wcsmbsload.c: Likewise.
87087         * iconv/gconv_simple.c: Likewise.
87088         * iconv/gconv_int.h: Likewise.
87089         * iconv/gconv_builtin.h: Likewise.
87090         * iconv/iconv_prog.c: Remove CHAR16 handling.
87092         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87094         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87096         * configure.in: Remove --with-elf and --enable-bounded options.
87097         Dont set base_machine for ia64.  More non-ELF conditions removed.
87098         Remove testing and setting of leading underscore information.
87099         * config.make.in (build-bounded): Set to no.
87100         * config.h.in: Remove NO_UNDERSCORES entry.
87101         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87102         them.
87103         * csu/start.c: Remove !NO_UNDERSCORE code.
87104         * locale/localeinfo.h: Likewise.
87105         * sysdeps/generic/machine-gmon.h: Likewise.
87106         * sysdeps/generic/sysdep.h: Likewise.
87107         * sysdeps/i386/sysdep.h: Likewise.
87108         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87109         * sysdeps/mach/sysdep.h: Likewise.
87110         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87111         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87112         * sysdeps/sh/sysdep.h: Likewise.
87113         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87114         * sysdeps/unix/i386/sysdep.S: Likewise.
87115         * sysdeps/unix/sparc/start.c: Likewise.
87116         * sysdeps/unix/sparc/sysdep.S: Likewise.
87117         * sysdeps/unix/sparc/sysdep.h: Likewise.
87118         * sysdeps/unix/start.c: Likewise.
87119         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87120         * sysdeps/x86_64/sysdep.h: Likewise.
87122 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87124         [BZ #13553]
87125         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87126         for non-gcc.
87127         * argp/argp-fmtstream.h: Use const instead __const.
87128         * argp/argp.h: Likewise.
87129         * assert/assert.h: Likewise.
87130         * bits/fenv.h: Likewise.
87131         * bits/sched.h: Likewise.
87132         * bits/sigset.h: Likewise.
87133         * bits/sigthread.h: Likewise.
87134         * catgets/nl_types.h: Likewise.
87135         * conform/data/pthread.h-data: Likewise.
87136         * crypt/crypt-private.h: Likewise.
87137         * crypt/crypt.h: Likewise.
87138         * crypt/crypt_util.c: Likewise.
87139         * ctype/ctype.h: Likewise.
87140         * debug/execinfo.h: Likewise.
87141         * debug/mbsnrtowcs_chk.c: Likewise.
87142         * debug/mbsrtowcs_chk.c: Likewise.
87143         * debug/wcsnrtombs_chk.c: Likewise.
87144         * debug/wcsrtombs_chk.c: Likewise.
87145         * debug/wcstombs_chk.c: Likewise.
87146         * dirent/dirent.h: Likewise.
87147         * dlfcn/dlfcn.h: Likewise.
87148         * elf/neededtest4.c: Likewise.
87149         * grp/grp.h: Likewise.
87150         * gshadow/gshadow.h: Likewise.
87151         * iconv/gconv.h: Likewise.
87152         * iconv/gconv_int.h: Likewise.
87153         * iconv/gconv_simple.c: Likewise.
87154         * iconv/iconv.h: Likewise.
87155         * iconv/loop.c: Likewise.
87156         * iconv/skeleton.c: Likewise.
87157         * include/aio.h: Likewise.
87158         * include/aliases.h: Likewise.
87159         * include/argz.h: Likewise.
87160         * include/arpa/inet.h: Likewise.
87161         * include/assert.h: Likewise.
87162         * include/dirent.h: Likewise.
87163         * include/dlfcn.h: Likewise.
87164         * include/execinfo.h: Likewise.
87165         * include/fcntl.h: Likewise.
87166         * include/fenv.h: Likewise.
87167         * include/glob.h: Likewise.
87168         * include/grp.h: Likewise.
87169         * include/libintl.h: Likewise.
87170         * include/mntent.h: Likewise.
87171         * include/netdb.h: Likewise.
87172         * include/pwd.h: Likewise.
87173         * include/rpc/netdb.h: Likewise.
87174         * include/sched.h: Likewise.
87175         * include/search.h: Likewise.
87176         * include/shadow.h: Likewise.
87177         * include/signal.h: Likewise.
87178         * include/stdio.h: Likewise.
87179         * include/stdlib.h: Likewise.
87180         * include/string.h: Likewise.
87181         * include/sys/socket.h: Likewise.
87182         * include/sys/stat.h: Likewise.
87183         * include/sys/statfs.h: Likewise.
87184         * include/sys/statvfs.h: Likewise.
87185         * include/sys/syslog.h: Likewise.
87186         * include/sys/time.h: Likewise.
87187         * include/sys/uio.h: Likewise.
87188         * include/time.h: Likewise.
87189         * include/unistd.h: Likewise.
87190         * include/utmp.h: Likewise.
87191         * include/wchar.h: Likewise.
87192         * include/wctype.h: Likewise.
87193         * inet/aliases.h: Likewise.
87194         * inet/arpa/inet.h: Likewise.
87195         * inet/netinet/ether.h: Likewise.
87196         * inet/netinet/in.h: Likewise.
87197         * intl/libintl.h: Likewise.
87198         * io/bits/fcntl2.h: Likewise.
87199         * io/fcntl.h: Likewise.
87200         * io/ftw.h: Likewise.
87201         * io/sys/poll.h: Likewise.
87202         * io/sys/stat.h: Likewise.
87203         * io/sys/statfs.h: Likewise.
87204         * io/sys/statvfs.h: Likewise.
87205         * io/utime.h: Likewise.
87206         * libio/bits/stdio.h: Likewise.
87207         * libio/bits/stdio2.h: Likewise.
87208         * libio/libio.h: Likewise.
87209         * libio/libioP.h: Likewise.
87210         * libio/stdio.h: Likewise.
87211         * locale/lc-ctype.c: Likewise.
87212         * locale/locale.h: Likewise.
87213         * login/utmp.h: Likewise.
87214         * malloc/arena.c: Likewise.
87215         * malloc/malloc.c: Likewise.
87216         * malloc/malloc.h: Likewise.
87217         * malloc/mcheck.c: Likewise.
87218         * malloc/mtrace.c: Likewise.
87219         * math/bits/mathcalls.h: Likewise.
87220         * math/fenv.h: Likewise.
87221         * math/math_private.h: Likewise.
87222         * misc/bits/error.h: Likewise.
87223         * misc/bits/syslog.h: Likewise.
87224         * misc/err.h: Likewise.
87225         * misc/error.h: Likewise.
87226         * misc/fstab.h: Likewise.
87227         * misc/mntent.h: Likewise.
87228         * misc/regexp.h: Likewise.
87229         * misc/search.h: Likewise.
87230         * misc/sgtty.h: Likewise.
87231         * misc/sys/mman.h: Likewise.
87232         * misc/sys/syslog.h: Likewise.
87233         * misc/sys/uio.h: Likewise.
87234         * misc/sys/xattr.h: Likewise.
87235         * misc/ttyent.h: Likewise.
87236         * nis/rpcsvc/ypclnt.h: Likewise.
87237         * nss/nss.h: Likewise.
87238         * posix/bits/unistd.h: Likewise.
87239         * posix/fnmatch.h: Likewise.
87240         * posix/glob.h: Likewise.
87241         * posix/sched.h: Likewise.
87242         * posix/spawn.h: Likewise.
87243         * posix/sys/wait.h: Likewise.
87244         * posix/unistd.h: Likewise.
87245         * posix/wordexp.h: Likewise.
87246         * pwd/pwd.h: Likewise.
87247         * resolv/netdb.h: Likewise.
87248         * resource/sys/resource.h: Likewise.
87249         * rt/aio.h: Likewise.
87250         * rt/bits/mqueue2.h: Likewise.
87251         * rt/mqueue.h: Likewise.
87252         * shadow/shadow.h: Likewise.
87253         * signal/signal.h: Likewise.
87254         * socket/send.c: Likewise.
87255         * socket/sendto.c: Likewise.
87256         * socket/sys/socket.h: Likewise.
87257         * stdio-common/printf.h: Likewise.
87258         * stdlib/bits/stdlib.h: Likewise.
87259         * stdlib/fmtmsg.h: Likewise.
87260         * stdlib/monetary.h: Likewise.
87261         * stdlib/stdlib.h: Likewise.
87262         * stdlib/ucontext.h: Likewise.
87263         * streams/stropts.h: Likewise.
87264         * string/argz.h: Likewise.
87265         * string/bits/string2.h: Likewise.
87266         * string/string.h: Likewise.
87267         * string/strings.h: Likewise.
87268         * sunrpc/rpc/auth.h: Likewise.
87269         * sunrpc/rpc/auth_des.h: Likewise.
87270         * sunrpc/rpc/clnt.h: Likewise.
87271         * sunrpc/rpc/netdb.h: Likewise.
87272         * sunrpc/rpc/pmap_clnt.h: Likewise.
87273         * sunrpc/rpc/xdr.h: Likewise.
87274         * sysdeps/generic/inttypes.h: Likewise.
87275         * sysdeps/generic/net/if.h: Likewise.
87276         * sysdeps/generic/sys/swap.h: Likewise.
87277         * sysdeps/gnu/net/if.h: Likewise.
87278         * sysdeps/gnu/utmpx.h: Likewise.
87279         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87280         * sysdeps/i386/i486/bits/string.h: Likewise.
87281         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87282         * sysdeps/s390/bits/string.h: Likewise.
87283         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87284         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87285         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87286         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87287         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87288         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87289         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87290         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87291         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87292         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87293         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87294         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87295         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87296         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87297         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87298         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87299         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87301         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87303         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87304         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87305         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87306         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87307         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87308         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87309         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87310         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87311         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87312         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87313         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87314         * sysvipc/sys/ipc.h: Likewise.
87315         * sysvipc/sys/msg.h: Likewise.
87316         * sysvipc/sys/sem.h: Likewise.
87317         * sysvipc/sys/shm.h: Likewise.
87318         * termios/termios.h: Likewise.
87319         * time/sys/time.h: Likewise.
87320         * time/time.h: Likewise.
87321         * wcsmbs/bits/wchar2.h: Likewise.
87322         * wcsmbs/uchar.h: Likewise.
87323         * wcsmbs/wchar.h: Likewise.
87324         * wctype/wctype.h: Likewise.
87326         [BZ #13551]
87327         * Makeconfig: Remove all but ELF support including AIX support.
87328         * Makerules: Likewise.
87329         * config.h.in: Likewise.
87330         * config.make.in: Likewise.
87331         * configure: Likewise.
87332         * configure.in: Likewise.
87333         * csu/Makefile: Likewise.
87334         * csu/version.c: Likewise.
87335         * debug/Makefile: Likewise.
87336         * dlfcn/Makefile: Likewise.
87337         * elf/Makefile: Likewise.
87338         * extra-lib.mk: Likewise.
87339         * iconv/Makefile: Likewise.
87340         * include/libc-symbols.h: Likewise.
87341         * include/shlib-compat.h: Likewise.
87342         * resolv/Makefile: Likewise.
87343         * resolv/res_libc.c: Likewise.
87344         * rt/Makefile: Likewise.
87345         * sysdeps/i386/asm-syntax.h: Likewise.
87346         * sysdeps/i386/sysdep.h: Likewise.
87347         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87348         * sysdeps/mach/sysdep.h: Likewise.
87349         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
87350         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
87351         * sysdeps/s390/asm-syntax.h: Likewise.
87352         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87353         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87354         * sysdeps/sh/sysdep.h: Likewise.
87355         * sysdeps/unix/sparc/sysdep.h: Likewise.
87356         * sysdeps/wordsize-32/divdi3.c: Likewise.
87357         * sysdeps/x86_64/sysdep.h: Likewise.
87359         * argp/Versions: Remove _argp_unlock_xxx.
87361         [BZ #13559]
87362         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
87363         * abilist/libBrokenLocale.abilist: Likewise.
87364         * abilist/libanl.abilist: Likewise.
87365         * abilist/libc.abilist: Likewise.
87366         * abilist/libcrypt.abilist: Likewise.
87367         * abilist/libdl.abilist: Likewise.
87368         * abilist/libm.abilist: Likewise.
87369         * abilist/libnsl.abilist: Likewise.
87370         * abilist/libpthread.abilist: Likewise.
87371         * abilist/libresolv.abilist: Likewise.
87372         * abilist/librt.abilist: Likewise.
87373         * abilist/libthread_db.abilist: Likewise.
87374         * abilist/libutil.abilist: Likewise.
87375         * abilist/libnss_db.abilist: New file.
87377         * scripts/abilist.awk: Add support for indirect functions.
87379         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
87381         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
87383         * shlib-versions: Remove entries for ports architectures.
87385         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
87386         files in ports.
87387         * elf/stackguard-macros.h: Remove support for IA-64.
87388         * elf/tst-auditmod1.c: Likewise.
87389         * sysdeps/generic/ldsodefs.h: Likewise.
87391         * sysdeps/unix/sysv/linux/configure.in: Ports should define
87392         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
87393         configure files.
87395         [BZ #13552]
87396         * configure.in: Remove --enable-omitfp support.
87397         * FAQ.in: Adjust.
87398         * config.make.in: Likewise.
87399         * Makeconfig: Likewise.
87400         * manual/install.texi: Likewise.
87402         In case anyone cares, the IA-64 architecture could move to ports.
87403         * sysdeps/ia64/*: Removed.
87404         * sysdeps/unix/sysv/linux/ia64/*: Removed.
87405         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
87407         [BZ #13555]
87408         * configure.in: Remove entries for unsupported architectures.
87410         [BZ #13533]
87411         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
87412         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
87413         routines.
87414         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
87415         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
87416         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
87417         fall back to using wcrtomb.
87418         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
87419         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
87420         renaming.
87421         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
87422         * wcsmbs/tst-c16c32-1.c: New file.
87424         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
87425         local variable.
87427         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
87429         * elf/tst-unique3.cc: Add explicit declaration of gets.
87430         * elf/tst-unique3lib.cc: Likewise.
87431         * elf/tst-unique3lib2.cc: Likewise.
87432         * elf/tst-unique4.cc: Likewise.
87434         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
87436 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
87438         [BZ #13566]
87439         * assert/assert.h (static_assert): Don't define for C++.
87440         * libio/stdio.h (gets): Do declare for C++ <= C++11.
87441         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
87443 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
87445         * iconv/loop.c (single loop): Fix assertion in storing of
87446         remaining bytes.
87448         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
87450 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
87452         * posix/getconf.c: Update copyright year.
87453         * nss/getent.c: Likewise.
87454         * nss/makedb.c: Likewise.
87455         * iconv/iconvconfig.c: Likewise.
87456         * iconv/iconv_prog.c: Likewise.
87457         * elf/ldconfig.c: Likewise.
87458         * elf/pldd.c: Likewise.
87459         * elf/sotruss.ksh: Likewise.
87460         * catgets/gencat.c: Likewise.
87461         * csu/version.c: Likewise.
87462         * elf/ldd.bash.in: Likewise.
87463         * elf/sprof.c (print_version): Likewise.
87464         * locale/programs/locale.c: Likewise.
87465         * locale/programs/localedef.c: Likewise.
87466         * login/programs/pt_chown.c: Likewise.
87467         * nscd/nscd.c (print_version): Likewise.
87468         * debug/xtrace.sh: Likewise.
87469         * malloc/memusage.sh: Likewise.
87470         * malloc/mtrace.pl: Likewise.
87471         * debug/catchsegv.sh: Likewise.
87473 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
87475         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
87476         pure attribute.
87478 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
87480         [BZ #13533]
87481         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
87482         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
87483         transformations.
87484         * iconv/gconv_int.h: Likewise.
87485         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
87486         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
87487         from libc for GLIBC_2.16.
87488         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
87489         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
87490         * wcsmbs/uchar.h: Really define mbstate_t.
87491         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
87492         * wcsmbs/c16rtomb.c: New file.
87493         * wcsmbs/mbrtoc16.c: New file.
87494         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
87495         for C/POSIX locale.
87496         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
87497         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
87499         * wcsmbs/wchar.h: Add missing __restrict.
87501 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87503         [BZ #13532]
87504         * time/Makefile (routines): Add timespec_get.
87505         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
87506         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
87507         timespec for ISO C11.
87508         * time/timespec_get.c: New file.
87509         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
87510         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
87512         [BZ #13531]
87513         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
87514         * stdlib/stdlib.h: Declare aligned_alloc.
87515         * Versions.def: Add GLIBC_2.16 for libc.
87516         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
87518         [BZ 13527]
87519         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
87520         ISO C11.
87522         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
87523         code.
87525         [BZ #13528]
87526         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
87528         [BZ #13529]
87529         * assert/assert.h (static_assert): Define.
87531         * version.h: Update for 2.16 development version.
87533         [BZ #13526]
87534         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
87535         _ISOC11_SOURCE.
87537         * version.h (RELEASE): Bump for 2.15 release.
87538         * include/features.h (__GLIBC_MINOR__): Bump to 15.
87540         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
87541         Patch by Marek Polacek <mpolacek@redhat.com>.
87543         * bits/byteswap.h: Protect long long constants with __extension__.
87544         * sysdeps/i386/bits/byteswap.h: Likewise.
87545         * sysdeps/ia64/bits/byteswap.h: Likewise.
87546         * sysdeps/s390/bits/byteswap.h: Likewise.
87547         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87549 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87551         [BZ #13540]
87552         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
87553         destination buffer.
87554         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
87556 2011-12-23  Marek Polacek  <polacek@redhat.com>
87558         * elf/dl-addr.c (determine_info): Add inline keyword.
87559         * elf/tst-auditmod4b.c (check_avx): Likewise.
87560         * elf/tst-auditmod6b.c (check_avx): Likewise.
87561         * elf/tst-auditmod6c.c (check_avx): Likewise.
87562         * elf/tst-auditmod7b.c (check_avx): Likewise.
87564 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
87566         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
87567         !__SSE_MATH__.
87569 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87571         [BZ #13540]
87572         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
87573         processing for last bytes.
87575 2011-08-06  Bruno Haible  <bruno@clisp.org>
87577         [BZ #13061]
87578         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
87579         U+0385, not to U+1FEE.
87581         [BZ #13062]
87582         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
87583         entry for U+00A5 U+0301.
87585 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87587         [BZ #13166]
87588         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
87589         buffer for the output is too small.
87591         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
87592         optimization.
87594         [BZ #13185]
87595         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
87596         SSE flags if possible.
87598 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87600         [BZ #13540]
87601         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
87602         processing for last bytes.
87604 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
87606         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
87607         (syscall-list-default-options, syscall-list-default-condition)
87608         (syscall-list-includes): Define.
87609         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
87610         list of ABIs and options and #if conditions for each ABI.  Do not
87611         handle common syscalls between ABIs specially.
87612         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
87613         Remove.
87614         (syscall-list-variants, syscall-list-32bit-options)
87615         (syscall-list-32bit-condition, syscall-list-64bit-options)
87616         (syscall-list-64bit-condition): Define.
87617         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
87618         (syscall-list-variants, syscall-list-32bit-options)
87619         (syscall-list-32bit-condition, syscall-list-64bit-options)
87620         (syscall-list-64bit-condition): Define.
87621         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
87622         Remove.
87623         (syscall-list-variants, syscall-list-32bit-options)
87624         (syscall-list-32bit-condition, syscall-list-64bit-options)
87625         (syscall-list-64bit-condition): Define.
87626         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
87627         Remove.
87628         (syscall-list-variants, syscall-list-32bit-options)
87629         (syscall-list-32bit-condition, syscall-list-64bit-options)
87630         (syscall-list-64bit-condition): Define.
87632 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
87634         * locale/iso-639.def: Add brx entry.
87636         [BZ #13328]
87637         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
87638         Proposed by Mariusz_Cukr <marcukr@op.pl>.
87640         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
87641         __feraiseexcept_renamed.
87643 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87645         [BZ #13538]
87646         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
87647         EPOLLET with unsigned values.
87648         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87649         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87651         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
87652         to large cancellation.
87653         * math/s_cacoshf.c: Likewise.
87654         * math/s_cacoshl.c: Likewise.
87656 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
87658         [BZ #13305]
87659         [BZ #12786]
87660         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
87661         * math/s_cacoshf.c: Likewise.
87662         * math/s_cacoshl.c: Likewise.
87664 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
87666         [BZ #13439]
87667         * iconv/gconv.h: Define __GCONV_SWAP.
87668         * iconvdata/unicode.c: The swap bit must be stored in __flags.
87669         * iconvdata/utf-16.c: Likewise.
87670         * iconvdata/utf-32.c: Likewise.
87672 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
87674         [BZ #13524]
87675         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
87676         numerator after shifting it by one limb.
87678 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
87680         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
87681         under [__USE_EXTERN_INLINES].
87683 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87685         [BZ #13446]
87686         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
87688 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87690         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
87691         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
87692         optimized code.
87693         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
87694         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
87695         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
87696         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
87697         for strncasecmp/strncasecmp_l compilation.
87698         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
87699         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
87701 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
87703         [BZ #13484]
87704         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
87705         of __asm__.
87707 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
87709         [BZ #13506]
87710         * time/tzfile.c (__tzfile_read): Check values from file header.
87712 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
87714         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
87715         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
87716         * powerpc/powerpc32/dl-start.S: Likewise.
87717         * powerpc/powerpc32/elf/start.S: Likewise.
87718         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
87719         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
87720         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
87721         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
87722         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87723         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
87724         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
87725         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
87726         * powerpc/powerpc32/fpu/s_round.S: Likewise.
87727         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
87728         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
87729         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
87730         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
87731         * powerpc/powerpc32/memset.S: Likewise.
87732         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
87733         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
87734         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
87735         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87736         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
87737         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
87738         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
87739         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
87740         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
87741         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
87742         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
87743         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87744         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87746 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87748         * math/libm-test.inc: Added more nearbyint tests.
87749         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
87750         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
87751         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
87752         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
87754 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
87756         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
87757         FD_CLOEXEC.
87759 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87761         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
87762         Add wcscpy-ssse3 wcscpy-c.
87763         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
87764         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
87765         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
87766         * sysdeps/x86_64/wcschr.S: New file.
87767         * sysdeps/x86_64/wcsrchr.S: New file.
87768         * string/test-strcmp.c: Remove checking of wcscmp function for
87769         wrong alignments.
87770         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
87771         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
87772         wcsrchr-sse2 wcsrchr-c.
87773         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
87774         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
87775         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
87776         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
87777         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
87778         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
87779         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
87780         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
87781         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
87782         * wcsmbc/wcschr.c (WCSCHR): New macro.
87784 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87786         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
87787         * wcsmbs/test-wcsrchr.c: New file.
87788         * string/test-strrchr.c: Add wcsrchr support.
87789         (WIDE): New macro.
87790         * wcsmbs/test-wcscpy.c: New file.
87791         * string/test-strcpy.c: Add wcscpy support.
87792         (WIDE): New macro.
87794 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87796         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87797         the inner loop.
87799 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87801         [BZ #13472]
87802         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87804 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87806         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87807         Minor optimizations.
87809         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87810         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87811         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87813 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87815         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87816         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87817         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87818         for gcc to avoid warnings.
87819         * inet/Makefile (tests): Add tst-checks.
87820         * inet/tst-checks.c: New file.
87822         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87823         warning.
87825         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87826         __wmemcmp_sse2.
87828         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87829         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87831         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87833 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87835         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87836         problem.
87838         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87840 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87842         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87843         conditional on GCC version.
87844         (__arch_compare_and_exchange_val_8_acq)
87845         (__arch_compare_and_exchange_val_16_acq)
87846         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87847         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87848         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87850 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87852         * sysdeps/sh/backtrace.c: New file.
87854 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87856         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87857         parenthesis.
87859 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87861         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87862         falling back to utime.
87864 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87866         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87867         expectations for float.
87869 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87871         * locale/weight.h (findidx): Add parameter len.
87872         * locale/weightwc.h (findidx): Likewise.
87873         * posix/fnmatch_loop.c (FCT): Adjust caller.
87874         * posix/regcomp.c (build_equiv_class): Likewise.
87875         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87876         * posix/regexec.c (check_node_accept_bytes): Likewise.
87877         * string/strcoll_l.c (STRCOLL): Likewise.
87878         * string/strxfrm_l.c (STRXFRM): Likewise.
87880 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87882         * Makefile.in: Remove CVSOPT handling.
87883         * configure.in: Remove use of AC_REVISION.
87884         * iconvdata/Makefile (distribute): No need to filter out CVS.
87885         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87886         handling.
87888 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87890         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87891         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87892         [USE_AS_STRNCASECMP_L]: Likewise.
87893         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87894         NO_TLS_DIRECT_SEG_REFS.
87895         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87896         Fix argument offsets for non-PIC.
87897         [USE_AS_STRNCASECMP_L]: Likewise.
87898         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87899         NO_TLS_DIRECT_SEG_REFS.
87901 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87903         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87904         O_CLOEXEC.
87905         * locale/loadlocale.c (_nl_load_locale): Likewise.
87907 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87909         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87910         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87911         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87912         (SYSCALL_GETTIME): Set errno on error.
87914         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87915         count references to noai6ai_cached.
87917 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87919         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87921         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87922         FD_CLOEXEC for /proc/self/maps.
87924         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87925         FD_CLOEXEC for /proc/meminfo.
87927         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87928         gai.conf.
87930         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87931         FD_CLOEXEC for given file.
87933         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87935         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87936         FD_CLOEXEC for /etc/hosts.
87937         (_gethtent): Likewise.
87939         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87941         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87942         cancellation and set FD_CLOEXEC for /etc/netgroup.
87944         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87945         reading /etc/publickey.
87947         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87948         allow cancellation when reading /etc/group.
87950         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87951         cancellation.
87952         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87954         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87955         when using data file.
87957         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87959         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87960         (write_nis_obj): Use "c" and "e" in fopen.
87962         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87964         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87966         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87968         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87970         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87971         locale.alias.
87973         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87975         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87977         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87979         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87980         file parsing and set FD_CLOEXEC.
87982 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87984         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87986 2011-11-14  Andreas Schwab  <schwab@redhat.com>
87988         * malloc/arena.c (arena_get2): Don't call reused_arena when
87989         _int_new_arena failed.
87991 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87993         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87994         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87995         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87996         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87997         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87998         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87999         to compile strcasecmp and strncasecmp.
88000         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88001         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88003         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88005 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88007         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88008         locale-defines.sym to gen-as-const-headers.
88009         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88010         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88012         to compile strcasecmp and strncasecmp.
88013         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88014         strcasecmp_l and strncasecmp_l.
88015         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88016         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88017         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88018         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88019         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88020         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88021         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88022         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88023         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88024         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88025         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88027 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88029         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88030         result of SYSDEP_GETTIME_CPU to retval.
88031         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88032         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88034         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88035         variable.
88037         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88038         mantissa words.
88039         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88041         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88042         from unused variable.
88044         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88045         DWARF definitions.
88046         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88047         for assembling.
88049         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88050         over namespaces.
88052         * sunrpc/rpc_prot.c (rejected): Fix case value.
88054         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88055         unsigned long long int to avoid warnings in shift.
88057         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88058         of use of trans.
88059         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88060         variable tmp.
88062         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88063         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88064         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88066         * nis/nis_table.c (nis_list): Use variable of correct type for
88067         result of __follow_path call.
88069 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88071         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88072         of math functions ceil, trunc, floor, round, and sqrt, when
88073         avaliable on the platform.
88074         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88075         name clash.
88076         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88077         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88078         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88080 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88082         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88083         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88085 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88087         * include/unistd.h: Fix __readlink return type.
88088         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88090 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88092         * stdlib/ucontext.h: Undo last change for makecontext.
88094 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88096         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88098         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88099         * setjmp/setjmp.h: Mark functions as non-leaf.
88100         * setjmp/bits/setjmp2.h: Likewise.
88101         * stdlib/ucontext.h: Likewise.
88103 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88105         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88106         (reused_arena): Don't check arena limit.
88107         (arena_get2): Atomically check arena limit.
88109 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88111         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88112         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88115         instructions.
88117 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88119         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88120         handler when locking.
88122         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88123         Fix size of allocated buffer.
88125 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88127         [BZ #10103]
88128         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88129         declarations for long double functions.
88130         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88132         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88134 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88136         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88137         installed.
88139         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88140         is disabled.
88142 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88144         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88146 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88148         * include/alloca.h (stackinfo_alloca_round): Define.
88149         (extend_alloca): Use it.
88150         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88151         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88152         here.
88154         * scripts/check-local-headers.sh: Ignore libaudit.h.
88156         * nscd/Makefile (extra-objs): Make recursively expanded.
88158 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88160         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88161         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88163         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88164         * posix/tst-rfc3484-2.c: Likewise.
88165         * posix/tst-rfc3484-3.c: Likewise.
88167         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88168         process_vm_writev.
88169         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88170         process_vm_writev.
88171         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88172         process_vm_writev from libc using GLIBC_2.15 version.
88174         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88176 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88178         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88179         stack usage.
88181 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88183         [BZ #13367]
88184         * nss/getent.c (initgroups_keys): Show error message in case no group
88185         names are given.
88187         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88188         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88189         __bump_nl_timestamp.
88190         * nscd/connections (nscd_init): When host database is served open
88191         netlink socket and request notification about configuration changes.
88192         (main_loop_poll): Track netlink file descriptor and bump timestamp
88193         in case data becomes available.
88194         (main_loop_epoll): Likewise.
88195         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88196         (database_pers_head): Add extra_data fileds.
88197         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88198         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88199         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88200         Adjust caller.
88201         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88202         in6ai data, call __free_in6ai.
88203         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88204         Add -DHAVE_NETLINK.
88205         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88206         interface information.  Reuse previous data if netlink timestamp
88207         is not changed.
88208         (__bump_nl_timestamp): New function.
88209         (__free_in6ai): New function.
88211 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88213         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88214         close_not_cancel_no_status here.
88215         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88217 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88219         [BZ #13276]
88220         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88221         return value.
88223         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88224         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88225         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88227 2011-07-03  Andreas Jaeger  <aj@suse.de>
88229         [BZ #10709]
88230         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88231         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88232         * math/libm-test.inc (sin_test): Add test case.
88234 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88236         [BZ #13337]
88237         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88238         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88240         * elf/chroot_canon.c (chroot_canon): Cleanups.
88242         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88244         [BZ #13335]
88245         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88246         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88248         * string/test-strchr.c: Make usable for strchrnul testing.
88249         * string/test-strchrnul.c: New file.
88250         * string/Makefile (strop-tests): Add strchrnul.
88252         * po/it.po: Update from translation team.
88253         * po/es.po: Likewise.
88255 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88257         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88258         the three constants needed as parameters.  Drop the others.
88259         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88260         __m128i_strloadu_tolower.
88261         Create and initialize variable zero and use it in all the places
88262         where _mm_setzero_si128 was used.
88264         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88265         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88266         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88267         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88268         anymore.
88269         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88270         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88271         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88272         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88273         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88274         __mpranred, __mptan.
88275         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88276         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88277         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88278         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88279         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88280         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88281         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88282         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88283         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88285 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88287         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88288         redefine if SHARED.
88289         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88291         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88292         wide char related routines to wcsmbs subdir.
88294 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88296         [BZ #13344]
88297         * misc/sys/cdefs.h (__THROWNL): Define.
88298         * posix/unistd.h: Use __THREADNL instead of __THREAD
88299         for memory synchronization functions.
88301 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88303         [BZ #13349]
88304         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88305         doesn't exist.
88306         * manual/stdio.texi (Obstack Streams): Node removed.
88308 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88310         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88311         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88312         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88314         * math/math_private.h (math_force_eval): Allow non-addressable
88315         arguments.
88316         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88318 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88320         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88321         file is not needed.
88323         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88324         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88325         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88326         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88327         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88328         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88329         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88330         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
88331         Add AVX variants.
88332         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
88333         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
88334         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
88335         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
88336         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
88337         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
88338         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
88339         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
88340         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
88341         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
88342         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
88343         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
88344         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
88345         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
88346         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
88347         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
88348         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
88349         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
88350         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
88352         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
88353         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
88355         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
88356         place.  Use VEX encoding when compiling for AVX.
88358 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88360         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
88361         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
88363         * string/test-strchr.c (do_test): Don't generate NUL bytes.
88365 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88367         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
88368         useless if() expression.
88369         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88370         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
88371         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
88372         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88373         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
88374         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88375         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88376         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88377         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
88378         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88379         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88380         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88381         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
88382         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88383         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
88384         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88385         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88386         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88387         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
88389         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
88391 2011-10-25  Andreas Schwab  <schwab@redhat.com>
88393         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
88394         condition.
88395         * elf/dl-fini.c (_dl_sort_fini): Likewise.
88397 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88399         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
88400         .text section.  Avoid duplicate constants.
88401         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
88402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88403         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88404         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88405         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88406         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88407         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88408         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88409         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
88410         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
88411         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
88412         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
88413         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
88414         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
88415         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
88416         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
88417         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
88418         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
88419         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
88420         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88421         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
88422         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
88423         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
88424         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
88425         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
88426         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
88427         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
88428         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
88429         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
88430         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
88431         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
88432         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
88433         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
88434         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
88435         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
88436         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
88437         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
88438         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
88439         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
88440         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
88441         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
88442         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
88443         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
88444         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
88445         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
88447 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
88449         * sysdeps/x86_64/dla.h: Move to ...
88450         * sysdeps/x86_64/fpu/dla.h: ...here.
88451         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
88452         situations.  Use __builtin_fma only for gcc 4.6 and up.
88454         * config.make.in: Add have-mfma4 entry.
88455         * configure.in: Substitute libc_cv_cc_fma4.
88456         * math/Makefile (dbl-only-routines): Add sincostab.
88457         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
88458         Use __sincostab not sincos.
88459         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
88460         name is a macro.
88461         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88463         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
88465         using __copysign.
88466         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
88467         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
88468         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
88469         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
88470         and __inv.
88471         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
88472         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88473         __copysign.
88474         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
88475         define aliases when function name is a macro.
88476         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
88477         sysdeps/ieee754/dbl-64/sincos.tbl.
88478         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
88479         fma4-enabled routines.
88480         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
88481         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
88482         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
88483         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
88484         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
88485         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
88486         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
88487         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
88488         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
88489         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
88490         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
88491         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
88492         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
88493         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
88494         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
88495         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
88496         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
88497         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
88498         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
88499         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
88500         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
88501         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
88502         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
88503         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
88504         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
88505         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
88506         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
88507         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
88508         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
88509         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
88511         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
88512         rename.
88513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88518         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88519         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88520         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88522 2011-10-24  Andreas Schwab  <schwab@redhat.com>
88524         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
88526 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88528         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
88530         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
88531         prediction.
88532         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
88534         * string/strnlen.c: Don't define STRNLEN, reverse logic.
88535         Remove unused variable magic_bits.
88536         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
88538         * string/strnlen.c: Define and use STRNLEN macro.
88539         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
88540         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
88541         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
88542         * wcsmbs/wcslen.c: Define and use WCSLEN.
88543         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
88544         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
88545         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
88546         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
88547         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
88548         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
88549         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88551 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88554         strnlen-sse2-no-bsf.
88555         Rename strlen-no-bsf to strlen-sse2-no-bsf.
88556         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
88557         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
88558         Add strnlen support.
88559         (USE_AS_STRNLEN): New macro.
88560         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
88561         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
88562         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
88563         * sysdeps/x86_64/wcslen.S: New file.
88565 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
88567         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
88568         XMM-moves are used for copying on small sizes.
88570 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88572         * wcsmbs/Makefile (strop-tests): Add wcschr.
88573         * wcsmbs/test-wcschr.c: New file.
88574         * string/test-strchr.c: Update.
88575         Add wcschr support.
88576         (WIDE): New macro.
88578 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88580         * wcsmbs/Makefile (strop-tests): Add wcslen.
88581         * wcsmbs/test-wcslen.c: New file.
88582         * string/test-strlen.c: Update.
88583         Add wcslen support.
88584         (WIDE): New macro.
88586 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88588         * po/it.po: Update from translation team.
88590 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88592         * sysdeps/x86_64/wcscmp.S: Update.
88593         Fix wrong comparison semantics.
88594         wcscmp shall use signed comparison not unsigned.
88595         Don't use substraction to avoid overflow bug.
88596         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
88597         * wcsmbc/wcscmp.c: Likewise.
88598         * string/test-strcmp.c: Likewise.
88599         Add new tests to check cases with negative values.
88601 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
88603         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
88604         * sysdeps/x86_64/dla.h: ...here.  New file.
88605         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
88606         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
88607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88608         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88609         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88610         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88615 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
88617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
88618         __ynl_finite aliases.
88620 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88624         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
88625         define DLA_FMA.
88626         [DLA_FMA] (EMULV): Use DLA_FMA.
88627         [DLA_FMA] (MUL12): Use EMULV.
88628         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
88629         that are not needed.
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/halfulp.c: Likewise.
88635         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
88636         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
88638 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
88640         * math/s_nan.c: Undef __nan.
88641         * math/s_nanf.c: Undef __nanf.
88642         * math/s_nanl.c: Undef __nanl.
88643         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
88644         "math_private.h".
88646 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
88648         * math/s_catan.c: Add branch predictions.
88649         * math/s_catanf.c: Likewise.
88650         * math/s_catanh.c: Likewise.
88651         * math/s_catanhf.c: Likewise.
88652         * math/s_catanhl.c: Likewise.
88653         * math/s_catanl.c: Likewise.
88654         * math/s_cexp.c: Likewise.
88655         * math/s_cexpf.c: Likewise.
88656         * math/s_cexpl.c: Likewise.
88657         * math/s_clog.c: Likewise.
88658         * math/s_clog10.c: Likewise.
88659         * math/s_clog10f.c: Likewise.
88660         * math/s_clog10l.c: Likewise.
88661         * math/s_clogf.c: Likewise.
88662         * math/s_clogl.c: Likewise.
88663         * math/s_csqrt.c: Likewise.
88664         * math/s_csqrtf.c: Likewise.
88665         * math/s_csqrtl.c: Likewise.
88666         * math/s_ctanf.c: Likewise.
88667         * math/s_ctanh.c: Likewise.
88668         * math/s_ctanhf.c: Likewise.
88669         * math/s_ctanhl.c: Likewise.
88670         * math/s_ctanl.c: Likewise.
88672         * math/math_private.h: Define __nan, __nanf, __nanl.
88673         * math/s_cacosh.c: Include <math_private.h>.
88674         * math/s_cacoshl.c: Likewise.
88675         * math/s_casinh.c: Likewise.
88676         * math/s_casinhf.c: Likewise.
88677         * math/s_casinhl.c: Likewise.
88678         * math/s_ccos.c: Rely entire on ccosh.
88679         * math/s_ccosf.c: Rely entire on ccoshf.
88680         * math/s_ccosl.c: Rely entirely on ccoshl.
88681         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
88682         Remove tests for FE_INVALID.
88683         * math/s_ccoshf.c: Likewise.
88684         * math/s_ccoshl.c: Likewise.
88685         * math/s_csin.c: Likewise.
88686         * math/s_csinf.c: Likewise.
88687         * math/s_csinh.c Likewise.
88688         * math/s_csinhf.c: Likewise.
88689         * math/s_csinhl.c: Likewise.
88690         * math/s_csinl.c: Likewise.
88691         * math/s_ctan.c: Likewise.
88692         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
88693         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
88694         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
88696 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
88698         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
88699         compilation problems.
88701         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
88702         __builtin_expect.
88704 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
88706         * sysdeps/i386/configure.in: Test for -mfma4 option.
88707         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
88708         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
88709         COMMON_CPUID_INDEX_80000001.
88710         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
88711         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
88712         use it if FMA3 is not supported.
88713         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
88715         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
88716         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88718 2011-10-20  Andreas Schwab  <schwab@redhat.com>
88720         [BZ #12892]
88721         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
88722         it would create a cycle with a link time dependency.
88724 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
88726         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
88727         instruction.
88728         * string/Makefile (strop-tests): Add rawmemchr.
88729         * string/test-rawmemchr.c: New file.
88731         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
88732         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
88733         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
88734         when compiling str{,n}casecmp and when AVX is available.  Hook up
88735         new optimized code in initializers.
88737 2011-10-19  Andreas Schwab  <schwab@redhat.com>
88739         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
88740         __feraiseexcept instead of feraiseexcept.
88742 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
88744         * math/math_private.h: Define defaults for libc_fetestexcept and
88745         libc_feupdateenv.
88746         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
88747         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
88748         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88749         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88750         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
88751         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88752         libc_fetestexcept and libc_feupdateenv.
88754         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
88755         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
88756         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
88757         * sysdeps/x86_64/fpu/math_private.h: Define special version of
88758         libc_feholdexcept_setround.
88760         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
88761         Add s_nearbyint-c and s_nearbyintf-c.
88762         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
88763         nearbyintf inlines.
88764         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
88765         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
88766         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
88767         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
88769         * math/math_private.h: Define defaults for libc_fegetround,
88770         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
88771         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
88772         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
88773         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
88774         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
88775         standard functions.
88776         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88777         Remove comments and hacks for old compiler versions.
88778         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
88779         libc_fegetround, libc_fesetround, libc_feholdexcept, and
88780         libc_feholdexceptl.
88782 2011-10-18  Andreas Schwab  <schwab@redhat.com>
88784         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
88785         (__feraiseexcept_renamed): Add __NTH.
88786         (feraiseexcept): Add __NTH.  Rename local variables to fix
88787         namespace violations.
88789 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
88791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
88793         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88795         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88796         recently added interfaces.
88797         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88799         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88800         about macro parameter expansion.
88802         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88803         __NO_MATH_INLINES is defined.  Cleanups.
88805         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88806         and __floorf is target has SSE4.1.
88807         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88808         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88809         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88810         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88812         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88813         name.
88814         (floorf): Likewise.
88816         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88818 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88820         * misc/sys/cdefs.h: Fix last change.
88822         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88823         database lookup.
88825 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88827         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88829         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88831         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88832         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88833         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88834         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88835         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88836         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88837         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88838         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88839         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88840         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88841         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88842         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88843         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88844         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88845         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88846         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88847         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88848         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88849         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88850         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88852         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88853         ceil, ceilf, floor, floorf.
88855         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88856         Perform IRELATIVE relocations last.
88858         * elf/do-rel.h: Add another parameter nrelative, replacing the
88859         local variable with the same name.  Change name of the function
88860         to end in Rel or Rela (uppercase).
88861         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88862         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88863         elf_dynamic_do_##reloc function.
88865 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88867         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88868         is sufficient, at least on modern CPUs.
88870         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88872         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88873         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88875         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88876         __expl_finite.
88877         * math/bits/math-finite.h: Add entries for exp.
88878         * math/e_expl.c: Add __*_finite alias.
88879         * sysdeps/i386/fpu/e_exp.S: Likewise.
88880         * sysdeps/i386/fpu/e_expf.S: Likewise.
88881         * sysdeps/i386/fpu/e_expl.c: Likewise.
88882         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88883         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88884         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88886         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88887         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88888         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88890         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88891         is sufficient, at least on modern CPUs.
88893         * ctype/ctype-info.c (__ctype_init): Define.
88894         * include/ctype.h (__ctype_init): Declare.
88895         (__ctype_b_loc): The variable is always initialized.
88896         (__ctype_toupper_loc): Likewise.
88897         (__ctype_tolower_loc): Likewise.
88898         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88899         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88901 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88903         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88905         * configure.in: Also look in $cxxmachine/include for C++ system
88906         headers.
88908 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88910         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88911         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88912         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88913         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88914         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88915         (USE_AS_WMEMCMP): New macro.
88916         Fixing indents.
88917         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88918         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88919         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88920         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88921         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88922         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88923         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88924         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88925         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88926         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88927         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88928         (USE_AS_WMEMCMP): New macro.
88929         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88930         * sysdeps/string/test-memcmp.c: Update.
88931         Fix simple_wmemcmp.
88932         Add new tests.
88933         * wcsmbs/wmemcmp.c: Update.
88934         (WMEMCMP): New macro.
88935         Fix overflow bug.
88937 2011-10-12  Andreas Jaeger  <aj@suse.de>
88939         [BZ #13268]
88940         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88942 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88944         * libio/iofwide.c (do_length): Avoid warning.
88946         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88948 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88950         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88952         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88953         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88954         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88955         * sysdeps/i386/i686/fpu/e_log.S: New file.
88956         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88957         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88959         * ctype/ctype.h: Add support for inlined isXXX functions when
88960         compiling C++ code.
88962 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88964         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88966         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88968 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88970         [BZ #13291]
88971         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88973 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88975         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88976         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88977         feraiseexcept.
88979         * sysdeps/x86_64/memrchr.S: Check for zero size.
88981         * string/stratcliff.c: Add memrchr tests.
88983 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88986         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88987         rawmemchr-sse2 rawmemchr-sse2-bsf.
88988         * sysdeps/i386/i686/multiarch/memchr.S: New file.
88989         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88990         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88991         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88992         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88993         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88994         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88995         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88996         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88997         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88998         * string/memrchr.c (MEMRCHR): New macro.
89000 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89002         Add integration with gcc's -ffinite-math-only and optimize wrapper
89003         functions in libm.
89004         * Versions.def: Define GLIBC_2.15 version for libm.
89005         * math/Makefile (headers): Add bits/math-finite.h.
89006         * math/bits/math-finite.h: New file.
89007         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89008         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89009         * math/e_acoshl.c: Add __*_finite alias.
89010         * math/e_acosl.c: Likewise.
89011         * math/e_asinl.c: Likewise.
89012         * math/e_atan2l.c: Likewise.
89013         * math/e_atanhl.c: Likewise.
89014         * math/e_coshl.c: Likewise.
89015         * math/e_exp10.c: Likewise.
89016         * math/e_exp10f.c: Likewise.
89017         * math/e_exp10l.c: Likewise.
89018         * math/e_exp2l.c: Likewise.
89019         * math/e_fmodl.c: Likewise.
89020         * math/e_gammal_r.c: Likewise.
89021         * math/e_hypotl.c: Likewise.
89022         * math/e_j0l.c: Likewise.
89023         * math/e_j1l.c: Likewise.
89024         * math/e_jnl.c: Likewise.
89025         * math/e_lgammal_r.c: Likewise.
89026         * math/e_log10l.c: Likewise.
89027         * math/e_log2l.c: Likewise.
89028         * math/e_logl.c: Likewise.
89029         * math/e_powl.c: Likewise.
89030         * math/e_sinhl.c: Likewise.
89031         * math/e_sqrtl.c: Likewise.
89032         * math/e_scalb.c: Completely rewritten and optimized.
89033         * math/e_scalbf.c: Likewise.
89034         * math/e_scalbl.c: Likewise.
89035         * math/w_acos.c: Likewise.
89036         * math/w_acosf.c: Likewise.
89037         * math/w_acosl.c: Likewise.
89038         * math/w_acosh.c: Likewise.
89039         * math/w_acoshf.c: Likewise.
89040         * math/w_acoshl.c: Likewise.
89041         * math/w_asin.c: Likewise.
89042         * math/w_asinf.c: Likewise.
89043         * math/w_asinl.c: Likewise.
89044         * math/w_atan2.c: Likewise.
89045         * math/w_atan2f.c: Likewise.
89046         * math/w_atan2l.c: Likewise.
89047         * math/w_atanh.c: Likewise.
89048         * math/w_atanhf.c: Likewise.
89049         * math/w_atanhl.c: Likewise.
89050         * math/w_exp10.c: Likewise.
89051         * math/w_exp10f.c: Likewise.
89052         * math/w_exp10l.c: Likewise.
89053         * math/w_fmod.c: Likewise.
89054         * math/w_fmodf.c: Likewise.
89055         * math/w_fmodl.c: Likewise.
89056         * math/w_j0.c: Likewise.
89057         * math/w_j0f.c: Likewise.
89058         * math/w_j0l.c: Likewise.
89059         * math/w_j1.c: Likewise.
89060         * math/w_j1f.c: Likewise.
89061         * math/w_j1l.c: Likewise.
89062         * math/w_jn.c: Likewise.
89063         * math/w_jnf.c: Likewise.
89064         * math/w_log.c: Likewise.
89065         * math/w_logf.c: Likewise.
89066         * math/w_logl.c: Likewise.
89067         * math/w_log10.c: Likewise.
89068         * math/w_log10f.c: Likewise.
89069         * math/w_log10l.c: Likewise.
89070         * math/w_log2.c: Likewise.
89071         * math/w_log2f.c: Likewise.
89072         * math/w_log2l.c: Likewise.
89073         * math/w_pow.c: Likewise.
89074         * math/w_powf.c: Likewise.
89075         * math/w_powl.c: Likewise.
89076         * math/w_remainder.c: Likewise.
89077         * math/w_remainderf.c: Likewise.
89078         * math/w_remainderl.c: Likewise.
89079         * math/w_scalb.c: Likewise.
89080         * math/w_scalbf.c: Likewise.
89081         * math/w_scalbl.c: Likewise.
89082         * math/w_sqrt.c: Likewise.
89083         * math/w_sqrtf.c: Likewise.
89084         * math/w_sqrtl.c: Likewise.
89085         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89086         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89087         used.
89088         * math/math_private.h: Declare __kernel_standard_f.
89089         * math/w_cosh.c: Remove cruft and optimize a bit.
89090         * math/w_coshf.c: Likewise.
89091         * math/w_coshl.c: Likewise.
89092         * math/w_exp2.c: Likewise.
89093         * math/w_exp2f.c: Likewise.
89094         * math/w_exp2l.c: Likewise.
89095         * math/w_hypot.c: Likewise.
89096         * math/w_hypotf.c: Likewise.
89097         * math/w_hypotl.c: Likewise.
89098         * math/w_lgamma.c: Likewise.
89099         * math/w_lgamma_r.c: Likewise.
89100         * math/w_lgammaf.c: Likewise.
89101         * math/w_lgammaf_r.c: Likewise.
89102         * math/w_lgammal.c: Likewise.
89103         * math/w_lgammal_r.c: Likewise.
89104         * math/w_sinh.c: Likewise.
89105         * math/w_sinhf.c: Likewise.
89106         * math/w_sinhl.c: Likewise.
89107         * math/w_tgamma.c: Likewise.
89108         * math/w_tgammaf.c: Likewise.
89109         * math/w_tgammal.c: Likewise.
89110         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89111         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89112         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89113         Minor optimizations.  Pretty printing.  Remove cruft.
89114         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89115         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89116         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89117         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89118         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89119         * sysdeps/i386/fpu/e_asin.S: Likewise.
89120         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89121         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89122         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89123         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89124         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89125         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89126         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89127         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89128         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89129         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89130         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89131         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89132         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89133         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89134         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89135         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89136         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89137         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89138         * sysdeps/i386/fpu/e_log.S: Likewise.
89139         * sysdeps/i386/fpu/e_log10.S: Likewise.
89140         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89141         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89142         * sysdeps/i386/fpu/e_log2.S: Likewise.
89143         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89144         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89145         * sysdeps/i386/fpu/e_logf.S: Likewise.
89146         * sysdeps/i386/fpu/e_logl.S: Likewise.
89147         * sysdeps/i386/fpu/e_pow.S: Likewise.
89148         * sysdeps/i386/fpu/e_powf.S: Likewise.
89149         * sysdeps/i386/fpu/e_powl.S: Likewise.
89150         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89151         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89152         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89153         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89154         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89155         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89156         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89157         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89158         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89159         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89160         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89161         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89162         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89163         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89164         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89165         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89166         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89167         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89168         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89169         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89170         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89171         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89172         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89173         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89175         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89176         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89177         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89178         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89179         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89180         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89181         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89182         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89183         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89184         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89185         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89186         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89187         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89188         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89189         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89190         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89191         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89192         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89193         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89194         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89195         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89196         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89197         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89198         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89199         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89200         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89201         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89202         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89203         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89204         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89205         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89206         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89207         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89208         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89209         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89210         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89211         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89212         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89214         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89215         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89216         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89217         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89218         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89219         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89220         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89221         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89222         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89223         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89224         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89225         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89226         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89227         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89228         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89229         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89230         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89231         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89233         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89234         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89235         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89236         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89237         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89238         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89239         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89240         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89241         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89242         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89243         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89244         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89245         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89246         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89247         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89248         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89249         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89250         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89251         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89252         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89253         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89254         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89255         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89256         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89257         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89258         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89259         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89260         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89261         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89262         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89263         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89264         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89265         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89266         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89267         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89268         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89269         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89270         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89271         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89272         (__isnanf): Likewise.
89273         (__isinf_ns): Likewise.
89274         (__isinf_nsf): Likewise.
89275         (__finite): Likewise.
89276         (__finitef): Likewise.
89277         (__ieee754_sqrt): Define as macro.
89278         (__ieee754_sqrtf): Define as macro.
89279         (__ieee754_sqrtl): Define as macro.
89280         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89281         inlined copy.
89282         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89283         __FINITE_MATH_ONLY__ consistent.
89284         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89286 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89288         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89289         of rawmemchr.
89291         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89293 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89295         * po/ja.po: Update from translation team.
89297 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89299         * locale/programs/locarchive.c (prepare_address_space): New function.
89300         (create_archive, enlarge_archive, open_archive): Use it.
89302         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89303         inside [SHARED], where it is used.
89305         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89307         * nss/getent.c (netgroup_keys): Remove unused variable.
89308         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89310 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89312         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89313         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89314         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89315         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89316         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89317         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89318         * math/Makefile (libm-calls): Add s_isinf_ns.
89319         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89320         * math/multc3.c: Likewise.
89321         * math/s_casin.c: Likewise.
89322         * math/s_casinf.c: Likewise.
89323         * math/s_casinl.c: Likewise.
89324         * math/s_ccos.c: Likewise.
89325         * math/s_ccosf.c: Likewise.
89326         * math/s_ccosl.c: Likewise.
89327         * math/s_ctan.c: Likewise.
89328         * math/s_ctanf.c: Likewise.
89329         * math/s_ctanh.c: Likewise.
89330         * math/s_ctanhf.c: Likewise.
89331         * math/s_ctanhl.c: Likewise.
89332         * math/s_ctanl.c: Likewise.
89333         * math/w_fmod.c: Likewise.
89334         * math/w_fmodf.c: Likewise.
89335         * math/w_fmodl.c: Likewise.
89336         * math/w_remainder.c: Likewise.
89337         * math/w_remainderf.c: Likewise.
89338         * math/w_remainderl.c: Likewise.
89339         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
89340         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
89341         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
89342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
89343         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
89344         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
89345         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
89346         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
89348         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
89349         of the number.
89350         * stdio-common/printf_fphex.c: Likewise.
89351         * stdio-common/printf_size.c: Likewise.
89353         * math/e_exp10.c: Include math_private.h using <...> not "...".
89354         * math/e_exp10f.c: Likewise.
89355         * math/e_exp10l.c: Likewise.
89356         * math/e_exp2l.c: Likewise.
89357         * math/e_j0l.c: Likewise.
89358         * math/e_j1l.c: Likewise.
89359         * math/e_jnl.c: Likewise.
89360         * math/e_lgammal_r.c: Likewise.
89361         * math/e_rem_pio2l.c: Likewise.
89362         * math/e_scalb.c: Likewise.
89363         * math/e_scalbf.c: Likewise.
89364         * math/e_scalbl.c: Likewise.
89365         * math/k_cosl.c: Likewise.
89366         * math/k_sinl.c: Likewise.
89367         * math/k_tanl.c: Likewise.
89368         * math/s_cacoshf.c: Likewise.
89369         * math/s_catan.c: Likewise.
89370         * math/s_catanf.c: Likewise.
89371         * math/s_catanh.c: Likewise.
89372         * math/s_catanhf.c: Likewise.
89373         * math/s_catanhl.c: Likewise.
89374         * math/s_catanl.c: Likewise.
89375         * math/s_ccosh.c: Likewise.
89376         * math/s_ccoshf.c: Likewise.
89377         * math/s_ccoshl.c: Likewise.
89378         * math/s_cexp.c: Likewise.
89379         * math/s_cexpf.c: Likewise.
89380         * math/s_cexpl.c: Likewise.
89381         * math/s_clog.c: Likewise.
89382         * math/s_clog10.c: Likewise.
89383         * math/s_clog10f.c: Likewise.
89384         * math/s_clog10l.c: Likewise.
89385         * math/s_clogf.c: Likewise.
89386         * math/s_clogl.c: Likewise.
89387         * math/s_csin.c: Likewise.
89388         * math/s_csinf.c: Likewise.
89389         * math/s_csinh.c: Likewise.
89390         * math/s_csinhf.c: Likewise.
89391         * math/s_csinhl.c: Likewise.
89392         * math/s_csinl.c: Likewise.
89393         * math/s_csqrt.c: Likewise.
89394         * math/s_csqrtf.c: Likewise.
89395         * math/s_csqrtl.c: Likewise.
89396         * math/s_ctan.c: Likewise.
89397         * math/s_ctanf.c: Likewise.
89398         * math/s_ctanh.c: Likewise.
89399         * math/s_ctanhf.c: Likewise.
89400         * math/s_ctanhl.c: Likewise.
89401         * math/s_ctanl.c: Likewise.
89402         * math/s_ldexp.c: Likewise.
89403         * math/s_ldexpf.c: Likewise.
89404         * math/s_ldexpl.c: Likewise.
89405         * math/s_significand.c: Likewise.
89406         * math/s_significandf.c: Likewise.
89407         * math/s_significandl.c: Likewise.
89408         * math/w_acos.c: Likewise.
89409         * math/w_acosf.c: Likewise.
89410         * math/w_acosh.c: Likewise.
89411         * math/w_acoshf.c: Likewise.
89412         * math/w_acoshl.c: Likewise.
89413         * math/w_acosl.c: Likewise.
89414         * math/w_asin.c: Likewise.
89415         * math/w_asinf.c: Likewise.
89416         * math/w_asinl.c: Likewise.
89417         * math/w_atan2.c: Likewise.
89418         * math/w_atan2f.c: Likewise.
89419         * math/w_atan2l.c: Likewise.
89420         * math/w_atanh.c: Likewise.
89421         * math/w_atanhf.c: Likewise.
89422         * math/w_atanhl.c: Likewise.
89423         * math/w_cosh.c: Likewise.
89424         * math/w_coshf.c: Likewise.
89425         * math/w_coshl.c: Likewise.
89426         * math/w_dremf.c: Likewise.
89427         * math/w_exp10.c: Likewise.
89428         * math/w_exp10f.c: Likewise.
89429         * math/w_exp10l.c: Likewise.
89430         * math/w_exp2.c: Likewise.
89431         * math/w_exp2f.c: Likewise.
89432         * math/w_fmod.c: Likewise.
89433         * math/w_fmodf.c: Likewise.
89434         * math/w_fmodl.c: Likewise.
89435         * math/w_hypot.c: Likewise.
89436         * math/w_hypotf.c: Likewise.
89437         * math/w_hypotl.c: Likewise.
89438         * math/w_j0.c: Likewise.
89439         * math/w_j0f.c: Likewise.
89440         * math/w_j0l.c: Likewise.
89441         * math/w_j1.c: Likewise.
89442         * math/w_j1f.c: Likewise.
89443         * math/w_j1l.c: Likewise.
89444         * math/w_jn.c: Likewise.
89445         * math/w_jnf.c: Likewise.
89446         * math/w_jnl.c: Likewise.
89447         * math/w_lgamma.c: Likewise.
89448         * math/w_lgamma_r.c: Likewise.
89449         * math/w_lgammaf.c: Likewise.
89450         * math/w_lgammaf_r.c: Likewise.
89451         * math/w_lgammal.c: Likewise.
89452         * math/w_lgammal_r.c: Likewise.
89453         * math/w_log.c: Likewise.
89454         * math/w_log10.c: Likewise.
89455         * math/w_log10f.c: Likewise.
89456         * math/w_log10l.c: Likewise.
89457         * math/w_log2.c: Likewise.
89458         * math/w_log2f.c: Likewise.
89459         * math/w_log2l.c: Likewise.
89460         * math/w_logf.c: Likewise.
89461         * math/w_logl.c: Likewise.
89462         * math/w_pow.c: Likewise.
89463         * math/w_powf.c: Likewise.
89464         * math/w_powl.c: Likewise.
89465         * math/w_remainder.c: Likewise.
89466         * math/w_remainderf.c: Likewise.
89467         * math/w_remainderl.c: Likewise.
89468         * math/w_scalb.c: Likewise.
89469         * math/w_scalbf.c: Likewise.
89470         * math/w_scalbl.c: Likewise.
89471         * math/w_sinh.c: Likewise.
89472         * math/w_sinhf.c: Likewise.
89473         * math/w_sinhl.c: Likewise.
89474         * math/w_sqrt.c: Likewise.
89475         * math/w_sqrtf.c: Likewise.
89476         * math/w_sqrtl.c: Likewise.
89477         * math/w_tgamma.c: Likewise.
89478         * math/w_tgammaf.c: Likewise.
89479         * math/w_tgammal.c: Likewise.
89481         * po/ja.po: Update from translation team.
89483 2011-09-29  Andreas Jaeger  <aj@suse.de>
89485         [BZ #13179]
89486         * sunrpc/netname.c (netname2host): Fix logic.
89488         [BZ #6779]
89489         [BZ #6783]
89490         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
89491         correctly.
89492         * math/w_remainder.c (__remainder): Likewise.
89493         * math/w_remainderf.c (__remainderf): Likewise.
89494         * math/libm-test.inc (remainder_test): Add test cases.
89496 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89498         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
89499         sdiv_qrnnd.
89501 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89503         * string/test-memcmp.c: Avoid unncessary #defines.
89504         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89506 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89508         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
89509         Use new sse2 version for core i3 - i7 as it's faster
89510         than sse42 version.
89511         (bit_Prefer_PMINUB_for_stringop): New.
89512         * sysdeps/x86_64/rawmemchr.S: Update.
89513         Replace with faster SSE2 version.
89514         * sysdeps/x86_64/memrchr.S: New file.
89515         * sysdeps/x86_64/memchr.S: Update.
89516         Replace with faster SSE2 version.
89518 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
89520         * elf/dl-load.c (lose): Add cast to avoid warning.
89522 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
89524         * po/ca.po: Update from translation team.
89526         * inet/getnetgrent_r.c: Hook up nscd.
89527         * nscd/Makefile (routines): Add nscd_netgroup.
89528         (nscd-modules): Add netgroupcache.
89529         (CFLAGS-netgroupcache.c): Define.
89530         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
89531         (cache_search): Add const to second parameter.
89532         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
89533         INNETGR.
89534         (dbs): Add netgrdb entry.
89535         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
89536         (verify_persistent_db): Handle netgrdb.
89537         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
89538         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
89539         GETFDNETGR.
89540         (netgroup_response_header): Define.
89541         (innetgroup_response_header): Define.
89542         (datahead): Add netgroup_response_header and innetgroup_response_header
89543         elements.
89544         * nscd/nscd.conf: Add entries for netgroup cache.
89545         * nscd/nscd.h (dbtype): Add netgrdb.
89546         (_PATH_NSCD_NETGROUP_DB): Define.
89547         (netgroup_iov_disabled): Declare.
89548         (xmalloc, xcalloc, xrealloc): Move declarations here.
89549         (cache_search): Adjust prototype.
89550         Add netgroup-related prototypes.
89551         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
89552         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
89553         (__nscd_innetgr): Declare.
89554         * nscd/selinux.c (perms): Use access_vector_t as element type and
89555         add netgroup-related initializers.
89556         * nscd/netgroupcache.c: New file.
89557         * nscd/nscd_netgroup.c: New file.
89558         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
89559         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
89560         For four parameters use innetgr.
89561         * nss/nss_files/files-init.c: Add definition and callback for netgr.
89562         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
89563         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
89564         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
89566         * nscd/connections.c (register_traced_file): Don't register file
89567         for disabled databases.
89569 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
89571         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
89573         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
89574         from tree and freeing node.
89576 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
89578         * nss/nsswitch.c (__nss_database_lookup): Handle
89579         nss_parse_service_list out of memory case.
89581 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
89583         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
89584         out of memory case.
89586 2011-10-04  Andreas Schwab  <schwab@redhat.com>
89588         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
89589         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
89590         pass it down.
89591         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
89592         elf_machine_rela, elf_machine_lazy_rel.
89593         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
89594         (ELF_DYNAMIC_DO_REL): Likewise.
89595         (ELF_DYNAMIC_DO_RELA): Likewise.
89596         (ELF_DYNAMIC_RELOCATE): Likewise.
89597         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
89598         to ELF_DYNAMIC_DO_REL.
89599         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
89600         (dl_main): In trace mode always set __RTLD_NOIFUNC.
89601         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
89602         elf_machine_rela.
89603         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
89604         skip_ifunc, don't call ifunc function if non-zero.
89605         (elf_machine_rela): Likewise.
89606         (elf_machine_lazy_rel): Likewise.
89607         (elf_machine_lazy_rela): Likewise.
89608         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
89609         (elf_machine_lazy_rel): Likewise.
89610         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
89611         Likewise.
89612         (elf_machine_lazy_rel): Likewise.
89613         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89614         Likewise.
89615         (elf_machine_lazy_rel): Likewise.
89616         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
89617         (elf_machine_lazy_rel): Likewise.
89618         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
89619         (elf_machine_lazy_rel): Likewise.
89620         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
89621         (elf_machine_lazy_rel): Likewise.
89622         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
89623         (elf_machine_lazy_rel): Likewise.
89624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
89625         (elf_machine_lazy_rel): Likewise.
89626         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
89627         (elf_machine_lazy_rel): Likewise.
89629 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
89631         * nss/nss_files/files-init.c (_nss_files_init): Use static
89632         initialization for all the *_traced_file variables.
89634 2011-09-28  Andreas Schwab  <schwab@redhat.com>
89636         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89638 2011-09-27  Roland McGrath  <roland@hack.frob.com>
89640         [BZ #13226]
89641         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
89643 2011-09-27  Andreas Schwab  <schwab@redhat.com>
89645         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89646         Reread the line before reparsing it.
89648 2011-09-26  Andreas Schwab  <schwab@redhat.com>
89650         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
89652 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
89653             Maxim Kuvyrkov  <maxim@codesourcery.com>
89654             Joseph Myers  <joseph@codesourcery.com>
89656         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
89657         if needed for __stack_chk_guard.
89659 2011-09-19  Roland McGrath  <roland@hack.frob.com>
89661         * sysdeps/posix/spawni.c (script_execute): Always define it.
89662         It will be optimized away if unused.
89663         (maybe_script_execute): New function.
89664         (__spawni): Call it.
89666         * Makerules: Don't include tls.make.
89667         (config-tls): Always set to thread.
89668         * tls.make.c: File removed.
89670 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
89672         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
89673         * config.make.in (CPPFLAGS-config): New substituted variable.
89675 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89677         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
89679         [BZ #13192]
89680         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
89681         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
89683 2011-09-15  Roland McGrath  <roland@hack.frob.com>
89685         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
89686         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
89687         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89688         (CALL_FAIL): Likewise.
89689         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
89690         (CALL_FAIL): Macro removed.
89691         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
89693 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
89695         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
89696         for __FINITE_MATH_ONLY__ == 1.
89698 2011-09-15  Andreas Schwab  <schwab@redhat.com>
89700         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
89701         __ieee754_sqrt instead of sqrt.
89702         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
89703         __ieee754_sqrtf instead of sqrtf.
89704         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
89705         __floorf instead of floorf.
89706         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
89707         __floorf, __truncf instead of floorf, truncf.
89709 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
89711         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
89713         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
89714         __extern_always_inline.
89715         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
89716         32-bit.
89718 2011-09-14  Andreas Schwab  <schwab@redhat.com>
89720         * elf/rtld.c (dl_main): Also relocate in dependency order when
89721         doing symbol dependency testing.
89723 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
89725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89726         Always define `refsym'.
89728 2011-09-13  Andreas Schwab  <schwab@redhat.com>
89730         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
89731         (__FD_ELT): Renamed from __FDELT.
89732         * misc/bits/select2.h (__FD_ELT): Likewise.
89733         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
89734         __FD_MASK instead of __FDELT, __FDMASK.
89735         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89736         Likewise.
89737         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
89738         Likewise.
89740         * elf/Makefile (gen-ldd): Fix pattern.
89742         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
89743         (init_tls): Likewise.
89745 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
89747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
89749 2011-09-12  Andreas Schwab  <schwab@redhat.com>
89751         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
89752         `struct cmsghdr *' instead of `void *'.
89753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
89754         Likewise.
89756 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
89758         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
89759         if non-absolute.
89760         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
89761         ldd_rewrite_script.
89763 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
89765         * configure.in: Remove --with-tls option.
89766         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
89767         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
89768         out in case it is missing.
89769         * sysdeps/ia64/elf/configure.in: Likewise.
89770         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
89771         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
89772         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
89773         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
89774         * sysdeps/sh/elf/configure.in: Likewise.
89775         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
89776         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
89777         * sysdeps/x86_64/elf/configure.in: Likewise.
89778         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
89779         * sysdeps/mach/hurd/tls.h: Likewise.
89781         [BZ #13067]
89782         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
89784         [BZ #13090]
89785         * configure.in: Fix use of AC_INIT.
89787         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
89789 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
89791         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
89792         __set_errno.
89793         * malloc/hooks.c: Likewise.
89795         [BZ #11929]
89796         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89797         variables statically.
89798         (narenas): Initialize.
89799         (list_lock): Initialize.
89800         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89801         initializtion of main_arena and list_lock.  Small cleanups.
89802         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89803         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89804         Add initializers to main_arena and mp_.
89805         (malloc_state): Remove pagesize member.  Change all users to use
89806         GLRO(dl_pagesize).
89808         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89809         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89810         is always initialized.
89812         * malloc/malloc.c: Removed unused configurations and dead code.
89813         * malloc/arena.c: Likewise.
89814         * malloc/hooks.c: Likewise.
89815         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89817         * include/tls.h: Removed.  USE___THREAD must always be defined.
89818         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89819         * elf/dl-libc.c: Likewise.
89820         * elf/dl-tsd.c: Likewise.
89821         * include/errno.h: Likewise.
89822         * include/netdb.h: Likewise.
89823         * include/resolv.h: Likewise.
89824         * inet/herrno-loc.c: Likewise.
89825         * inet/herrno.c: Likewise.
89826         * malloc/arena.c: Likewise.
89827         * malloc/hooks.c: Likewise.
89828         * malloc/malloc.c: Likewise.
89829         * resolv/res-state.c: Likewise.
89830         * resolv/res_libc.c: Likewise.
89831         * sysdeps/i386/dl-machine.h: Likewise.
89832         * sysdeps/ia64/dl-machine.h: Likewise.
89833         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89834         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89835         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89836         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89837         * sysdeps/sh/dl-machine.h: Likewise.
89838         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89839         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89840         * sysdeps/unix/i386/sysdep.S: Likewise.
89841         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89842         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89846         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89847         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89848         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89851         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89852         * sysdeps/x86_64/dl-machine.h: Likewise.
89853         * tls.make.c: Likewise.
89855         * configure.in: Remove --with-__thread option.  Make tests for
89856         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89857         tls_model attribute fail if no support is available.  Remove
89858         USE_IN_LIBIO.
89859         * Makeconfig: Adjust for dropped configure option.  All features are
89860         now mandatory.
89861         * Makerules: Likewise.
89862         * Versions.def: Likewise.
89863         * argp/argp-fmtstream.c: Likewise.
89864         * argp/argp-fmtstream.h: Likewise.
89865         * argp/argp-help.c: Likewise.
89866         * assert/assert.c: Likewise.
89867         * config.h.in: Likewise.
89868         * config.make.in: Likewise.
89869         * configure: Likewise.
89870         * configure.in: Likewise.
89871         * csu/Versions: Likewise.
89872         * csu/init.c: Likewise.
89873         * elf/tst-audit2.c: Likewise.
89874         * elf/tst-tls10.c: Likewise.
89875         * elf/tst-tls10.h: Likewise.
89876         * elf/tst-tls11.c: Likewise.
89877         * elf/tst-tls12.c: Likewise.
89878         * elf/tst-tls14.c: Likewise.
89879         * elf/tst-tlsmod11.c: Likewise.
89880         * elf/tst-tlsmod12.c: Likewise.
89881         * elf/tst-tlsmod13.c: Likewise.
89882         * elf/tst-tlsmod13a.c: Likewise.
89883         * elf/tst-tlsmod14a.c: Likewise.
89884         * elf/tst-tlsmod15b.c: Likewise.
89885         * elf/tst-tlsmod16a.c: Likewise.
89886         * elf/tst-tlsmod16b.c: Likewise.
89887         * elf/tst-tlsmod7.c: Likewise.
89888         * elf/tst-tlsmod8.c: Likewise.
89889         * elf/tst-tlsmod9.c: Likewise.
89890         * gmon/gmon.c: Likewise.
89891         * grp/fgetgrent_r.c: Likewise.
89892         * grp/putgrent.c: Likewise.
89893         * hurd/fopenport.c: Likewise.
89894         * include/libc-symbols.h: Likewise.
89895         * include/tls.h: Likewise.
89896         * intl/gettextP.h: Likewise.
89897         * intl/loadinfo.h: Likewise.
89898         * locale/global-locale.c: Likewise.
89899         * locale/localeinfo.h: Likewise.
89900         * mach/devstream.c: Likewise.
89901         * malloc/arena.c: Likewise.
89902         * malloc/set-freeres.c: Likewise.
89903         * misc/err.c: Likewise.
89904         * misc/getttyent.c: Likewise.
89905         * misc/mntent_r.c: Likewise.
89906         * posix/getopt.c: Likewise.
89907         * posix/wordexp.c: Likewise.
89908         * pwd/fgetpwent_r.c: Likewise.
89909         * resolv/Versions: Likewise.
89910         * resolv/res_hconf.c: Likewise.
89911         * shadow/fgetspent_r.c: Likewise.
89912         * shadow/putspent.c: Likewise.
89913         * stdio-common/printf_fphex.c: Likewise.
89914         * stdio-common/tmpfile.c: Likewise.
89915         * stdlib/abort.c: Likewise.
89916         * stdlib/fmtmsg.c: Likewise.
89917         * sunrpc/auth_unix.c: Likewise.
89918         * sunrpc/clnt_perr.c: Likewise.
89919         * sunrpc/clnt_tcp.c: Likewise.
89920         * sunrpc/clnt_udp.c: Likewise.
89921         * sunrpc/clnt_unix.c: Likewise.
89922         * sunrpc/openchild.c: Likewise.
89923         * sunrpc/svc_simple.c: Likewise.
89924         * sunrpc/svc_tcp.c: Likewise.
89925         * sunrpc/svc_udp.c: Likewise.
89926         * sunrpc/svc_unix.c: Likewise.
89927         * sunrpc/xdr.c: Likewise.
89928         * sunrpc/xdr_array.c: Likewise.
89929         * sunrpc/xdr_rec.c: Likewise.
89930         * sunrpc/xdr_ref.c: Likewise.
89931         * sunrpc/xdr_stdio.c: Likewise.
89933 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89935         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89937 2011-07-03  Andreas Jaeger  <aj@suse.de>
89939         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89940         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89941         regenerate with gen-libm-tests.pl.
89943 2010-05-12  Petr Baudis  <pasky@suse.cz>
89945         [BZ #11589]
89946         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89947         around j0() zero points by switching to j1().
89948         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89949         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89951         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89953 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89955         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89956         instead of 0.
89957         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89958         instead of 0.
89959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89960         Patch in part by Pavel Roskin <proski@gnu.org>.
89962         [BZ #13138]
89963         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89964         realloc.
89965         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89966         Free memory block if necessary.
89968         [BZ #12847]
89969         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89970         be NULL.  Don't lock in this case.
89972 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89974         * elf/elf.h (ELFOSABI_GNU): New macro.
89975         (ELFOSABI_LINUX): Define to that.
89977 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
89979         * string/strncat.c (strncat): Undef the symbol in case it has been
89980         defined in bits/string.h.
89982 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89984         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89986         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89987         link map.
89989 2011-08-17  Andreas Jaeger  <aj@suse.de>
89991         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89993 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
89994             Ian Lance Taylor  <iant@google.com>
89996         * math/libm-test.inc (lround_test): New testcase.
89997         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89999 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90001         * Makefile: Remove support for automatic cvs check-ins.
90002         * Makerules: Likewise.
90003         * config.make.in: Likewise.
90004         * configure.in: Likewise.
90005         * intl/Makefile: Likewise.
90006         * locale/Makefile: Likewise.
90007         * po/Makefile: Likewise.
90008         * posix/Makefile: Likewise.
90009         * sysdeps/gnu/Makefile: Likewise.
90010         * sysdeps/mach/hurd/Makefile: Likewise.
90011         * sysdeps/sparc/sparc32/Makefile: Likewise.
90013         [BZ #13118]
90014         * posix/Makefile (bug-regex32-ENV): Define.
90015         Patch by John Stanley <jpsinthemix@verizon.net>.
90017         * misc/Makefile (headers): Add bits/select2.h.
90018         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90019         * misc/bits/select2.h: New file.
90020         * include/bits/select2.h: New file.
90021         * debug/Makefile (routines): Add fdelt_chk.
90022         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90023         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90024         FD_ISSET.
90025         * debug/fdelt_chk.c: New file.
90027         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90028         * wcsmbs/test-wmemcmp.c: Likewise.
90029         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90030         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90032 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90034         * string/Makefile (strop-tests): Add memcmp.
90035         * string/test-wmemcmp.c: New file.
90036         * string/test-memcmp.c: Add wmemcmp support.
90038 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90040         [BZ #13153]
90041         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90042         2011-07-19 change.
90044         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90045         garbage value in a __mach_port_mod_refs call in the cases of the
90046         task-self and thread-self ports.
90048 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90050         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90052 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90054         * elf/dl-load.c (lose): Check for non-null L.
90056 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90058         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90060         * elf/dl-libc.c (dlerror_run): Pass back error code from
90061         dl_catch_error.
90063         [BZ #13123]
90064         * elf/dl-load.c (lose): Free l_origin if it is valid.
90066         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90067         names.
90068         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90069         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90070         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90071         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90072         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90073         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90075 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90077         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90078         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90079         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90080         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90081         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90082         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90083         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90084         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90085         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90086         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90088 2011-08-15  Alan Modra  <amodra@gmail.com>
90090         [BZ #13092]
90091         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90092         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90093         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90094         ppc_mcount to static-only-routines.
90095         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90096         __mcount_internal.
90097         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90098         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90100 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90102         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90103         for finite and infinity parameters.
90105 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90107         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90108         and add nop instructions for throughput optimization.
90109         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90111 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90113         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90114         aligned copy for power7 with vector-scalar instructions.
90115         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90117 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90119         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90120         AVX check.
90122 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90124         [BZ #13144]
90125         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90126         last change.
90128 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90130         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90131         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90132         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90133         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90134         clock_gettime.
90136 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90138         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90139         Forgot to demangle the pointer.
90141         * sysdeps/i386/sysdep.h: Define atom_text_section.
90142         * sysdeps/x86_64/sysdep.h: Likewise.
90143         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90144         section with atom_text_section.
90145         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90146         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90147         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90149         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90151         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90152         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90153         already be defined.  Change to take two parameters and don't assign
90154         result to variable.  Adjust all users.
90155         Define INTERNAL_GETTIME if not already defined.
90156         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90157         call.
90158         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90159         HAVE_CLOCK_GETTIME_VSYSCALL.
90160         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90162         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90163         gettimeofday vsyscall, just use time.
90165 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90168         <errno.h>.
90170 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90172         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90173         syscall on x86-64.
90174         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90175         syscall.
90176         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90177         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90178         syscall if possible.
90180 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90182         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90183         e_ident.  Don't pass to find_mapsXX.
90184         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90186 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90189         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90190         * sysdeps/x86_64/multiarch/strchr.S: Update.
90191         Check bit_slow_BSF bit.
90192         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90193         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90194         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90196 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90198         [BZ #13134]
90199         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90200         before glibc 2.15.
90201         (tryshell): Define.
90202         (__spawni): Change last parameter to be flag.  Test
90203         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90204         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90205         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90206         * posix/spawni.c: Likewise.
90207         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90208         * posix/spawnp.c: Likewise.  Change normal version to use
90209         SPAWN_XFLAGS_USE_PATH.
90210         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90211         SPAWN_XFLAGS_TRY_SHELL.
90213         [BZ #13150]
90214         * posix/glob.h: Remove gcc 1.x support.
90216         [BZ #13068]
90217         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90219 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90222         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90223         strrchr-sse2-bsf
90224         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90225         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90226         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90227         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90228         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90229         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90231 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90233         * sysdeps/x86_64/wcscmp.S: New file.
90235         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90236         wcscmp-c wcscmp-sse2
90237         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90238         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90239         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90240         * wcsmbs/wcscmp.c: Allow renaming.
90242 2011-09-05  David S. Miller  <davem@davemloft.net>
90244         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90245         stack slot, rather than the struct return pointer slot.
90246         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90247         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90249         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90251 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90253         * po/ja.po: Update from translation team.
90255         [BZ #13144]
90256         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90257         kernel in 64-bit binaries.
90259 2011-09-01  David S. Miller  <davem@davemloft.net>
90261         * elf/elf.h (HWCAP_SPARC_*): Move to..
90262         * sysdeps/sparc/sysdep.h: this new file and add new values.
90263         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90264         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90265         _DL_HWCAP_COUNT to 24.
90266         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90267         entries.
90268         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90269         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90270         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90271         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90272         instead of magic constants.
90273         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90275 2011-08-31  David S. Miller  <davem@davemloft.net>
90277         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90279         Reimplement to do errno handling inline.
90280         (SYSCALL_ERROR_HANDLER): New macro.
90281         (__SYSCALL_STRING): Do not do errno handling in asm.
90282         (__CLONE_SYSCALL_STRING): Delete.
90283         (__INTERNAL_SYSCALL_STRING): Delete.
90284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90285         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90286         (PSEUDO): Reimplement to do errno handling inline.
90287         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90288         (SYSCALL_ERROR_HANDLER): New macro.
90289         (__SYSCALL_STRING): Do not do errno handling in asm.
90290         (__CLONE_SYSCALL_STRING): Delete.
90291         (__INTERNAL_SYSCALL_STRING): Delete.
90292         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90293         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90294         i386.
90295         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90296         (inline_syscall*): Add 'err' argument.
90297         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90298         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90299         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90300         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90302         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90303         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90305 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90307         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90309 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90311         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90312         directive.
90314 2011-08-24  David S. Miller  <davem@davemloft.net>
90316         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90318 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90320         * elf/Makefile: Add rules to build and run unload8 test.
90321         * elf/unload8.c: New file.
90322         * elf/unload8mod1.c: New file.
90323         * elf/unload8mod1x.c: New file.
90324         * elf/unload8mod2.c: New file.
90325         * elf/unload8mod3.c: New file.
90327         * elf/dl-close.c (_dl_close_worker): Reset private search list if
90328         it wasn't used.
90330 2011-08-23  David S. Miller  <davem@davemloft.net>
90332         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
90333         subtract stack bias.
90334         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
90335         %sp not %fp in calculations.
90336         (_JMPBUF_UNWINDS_ADJ): Likewise.
90338         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
90339         (aio_suspend): Call it to force an exception region around the
90340         AIO_MISC_WAIT() invocation.
90342 2011-08-23  Andreas Schwab  <schwab@redhat.com>
90344         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
90345         backslash.
90347 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
90349         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
90350         protection macro.
90351         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
90352         and <dl-machine.h>.
90353         (Elf64_FuncDesc): Remove.
90355 2011-08-22  David S. Miller  <davem@davemloft.net>
90357         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
90358         sigaltstack check, add missing cfi directives.
90359         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
90360         missing cfi directives, and sigaltstack handling.
90362 2011-08-16  Andreas Schwab  <schwab@redhat.com>
90364         [BZ #11724]
90365         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
90366         object is seen twice.
90367         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90369         * elf/Makefile (distribute): Add tst-initorder2.c.
90370         (tests): Add tst-initorder2.
90371         (modules-names): Add tst-initorder2a tst-initorder2b
90372         tst-initorder2c tst-initorder2d.  Add rules to build them.
90373         ($(objpfx)tst-initorder2.out): New rule.
90374         * elf/tst-initorder2.c: New file.
90375         * elf/tst-initorder2.exp: New file.
90377 2011-08-22  Andreas Schwab  <schwab@redhat.com>
90379         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
90381         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
90382         dependencies back to end of function.
90384         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90385         $(elfobjdir)/ld.so.
90387 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
90389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
90390         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
90391         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
90392         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
90393         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
90394         of __vdso_gettimeofday.
90395         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
90396         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
90397         attribute_hidden.
90398         (_libc_vdso_platform_setup): Remove initialization of
90399         __vdso_gettimeofday and __vdso_time.
90401 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90403         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
90404         and fgetc_unlocked.
90405         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
90406         getc_unlocked.
90408         * elf/dl-open.c (add_to_global): Report additions to the global scope
90409         for LD_DEBUG=scopes.
90410         (dl_open_worker): Also print scope of newly loaded dependencies.
90411         (_dl_show_scope): Indicate if there is no scope.
90413         [BZ #13114]
90414         * stdio-common/Makefile (tests): Add bug24.
90415         * stdio-common/bug24.c: New file.
90417 2011-08-19  Andreas Jaeger  <aj@suse.de>
90419         [BZ #13114]
90420         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
90421         non-existant file when using close-on-exec mode.
90423 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
90425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
90426         the very first instruction.
90428         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
90429         the CFI state in the end.
90430         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
90431         inclusion of dl-trampoline.h.
90432         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
90434 2011-08-19  Andreas Schwab  <schwab@redhat.com>
90436         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
90437         expectations for long double.
90439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
90440         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
90442 2011-08-14  David S. Miller  <davem@davemloft.net>
90444         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
90445         artificual limit depends upon the system page size.
90447 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90449         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
90450         * resolv/Makefile: Define CFLAGS-libresolv.
90452 2011-08-17  Andreas Schwab  <schwab@redhat.com>
90454         * nss/makedb.c (compute_tables): Make variables used in nested
90455         function static.
90457 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
90459         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
90460         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
90461         if buffer was too small.
90463         * elf/pldd.c (main): Attach to all threads in the process.
90464         Rewrite /proc handling to use *at functions.
90466 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
90468         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
90469         specifies first scope to show.
90470         (dl_open_worker): Update callers.  Move printing scope of new
90471         object to before the relocation.
90472         * elf/rtld.c (dl_main): Update _dl_show_scope call.
90473         * sysdeps/generic/ldsodefs.h: Update declaration.
90475         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
90476         string for the scope number.
90478 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
90480         * nscd/servicescache.c (cache_addserv): Make sure written is always
90481         initialized.
90483 2011-08-14  Roland McGrath  <roland@hack.frob.com>
90485         * sysdeps/i386/i486/bits/atomic.h
90486         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
90487         statement expression, so as to suppress "set but not used" warning.
90488         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
90490         * string/strncat.c (STRNCAT): Use prototype definition.
90492         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
90493         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
90494         -Iprograms here.
90495         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
90496         (localedef-modules): Add localedef.
90497         (locale-modules): Add locale.
90499         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
90500         * elf/rtld.c (dl_main): Invert order of assignment in last change,
90501         to avoid a warning.
90503 2011-08-14  David S. Miller  <davem@davemloft.net>
90505         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
90506         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
90508 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
90510         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
90511         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
90512         * elf/rtld.c (dl_main): Set l_name of vDSO.
90513         Call _dl_show_scope when DL_DEBUG_SCOPES.
90514         (process_dl_debug): Recognize scopes flag and also set it for all.
90515         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
90516         Declare _dl_show_scope.
90518         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
90519         (do_dlopen): Pass caller_dlopen to dl_open.
90520         (__libc_dlopen_mode): Initialize caller_dlopen.
90522         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
90523         of libc.  Make tolower call locale-independent.  Optimize a bit by
90524         using isdigit instead of isalnum.
90525         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
90527 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
90529         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
90530         was a dependency or dynamically loaded.
90532 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
90534         * intl/l10nflist.c: Allow architecture-specific pop function.
90535         * sysdeps/x86_64/l10nflist.c: New file.
90537         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
90538         classification.
90540 2011-08-10  Andreas Schwab  <schwab@redhat.com>
90542         * include/dirent.h: Add libc_hidden_proto for scandirat and
90543         scandirat64.  Don't declare __scandirat64.
90544         * dirent/scandirat.c: Add libc_hidden_def.
90545         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
90546         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
90548 2011-08-10  David S. Miller  <davem@davemloft.net>
90550         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
90551         enum.
90552         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90553         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90554         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90556 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
90558         * Versions.def [libc]: Add GLIBC_2.15.
90559         * dirent/Makefile (routines): Add scandirat and scandirat64.
90560         * dirent/Versions [libc]: Export scandirat and scandirat64 for
90561         GLIBC_2.15.
90562         * dirent/dirent.h: Declare scandirat and scandirat64.
90563         * dirent/scandirat.c: New file.
90564         * dirent/scandirat64.c: New file.
90565         * sysdeps/wordsize-64/scandirat.c: New file.
90566         * sysdeps/wordsize-64/scandirat64.c: New file.
90567         * dirent/opendir.c: Define opendirat.
90568         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
90569         using scandirat.
90570         * dirent/scandir64.c: Adjust for scandir.c change.
90571         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
90572         __scandirat64, and __scandir_cancel_handler.
90573         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
90574         additional parameter and use openat instead of open (outside of ld.so).
90575         Add new __opendir as wrapper around __opendirat.
90576         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
90577         here without requiring old scandirat implementation.
90579 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
90581         * dirent/scandir.c (cancel_handler): Renamed to
90582         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
90583         defined.  Adjust users.
90584         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
90585         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
90587 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
90589         * string/test-string.h (IMPL): Use __STRING to expand name and then
90590         stringify it.
90592         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
90593         of cleanups.
90595 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90597         * string/Makefile: Update.
90598         (strop-tests): Append strncat.
90599         * string/test-wcscmp.c: New file.
90600         New comprehensive test for wcscmp.
90601         * string/test-strcmp.c: Update.
90602         (WIDE): New define.
90604 2011-07-22  Andreas Schwab  <schwab@redhat.com>
90606         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
90607         line.
90609 2011-07-26  Andreas Schwab  <schwab@redhat.com>
90611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
90612         encoding to ACE if AI_IDN.
90614 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
90616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
90617         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
90619 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90621         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
90622         Fix overflow bug in strncat.
90623         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
90625         * string/test-strncat.c: Update.
90626         Add new tests for checking overflow bugs.
90628 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90631         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
90632         * sysdeps/i386/i686/multiarch/strcat.S: New file.
90633         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
90634         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
90635         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
90636         * sysdeps/i386/i686/multiarch/strncat.S: New file.
90637         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
90638         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
90640         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
90641         (USE_AS_STRCAT): Define.
90642         Add strcat and strncat support.
90643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90645 2011-07-25  Andreas Schwab  <schwab@redhat.com>
90647         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
90648         __n bigger than INT_MAX+1.
90649         (__strncmp_g): Likewise.
90651 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
90653         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
90654         * libio/stido.h: Likewise.
90656         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
90657         (AF_NFC): Define.
90658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
90659         (AF_NFC): Define.
90661         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
90662         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
90663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
90664         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
90665         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
90667         [BZ #13021]
90668         * scripts/test-installation.pl: Don't expect libnss_test1 to be
90669         installed.
90671         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
90672         typo.
90673         (_dl_x86_64_save_sse): Likewise.
90675 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
90677         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
90678         OSXSAVE.
90679         (_dl_x86_64_save_sse): Likewise.
90681         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
90683         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
90685 2011-07-21  Andreas Schwab  <schwab@redhat.com>
90687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
90688         change.
90689         (_dl_x86_64_save_sse): Use correct AVX check.
90691 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90693         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
90694         bug in strncpy/strncat.
90695         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
90697 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
90699         * string/tester.c (test_strcat): Add tests for different alignments
90700         of source and destination.
90701         (test_strncat): Likewise.
90703 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90705         [BZ #12852]
90706         * posix/glob.c (glob): Check passed in values before using them in
90707         expressions to avoid some overflows.
90708         (glob_in_dir): Likewise.
90710         [BZ #13007]
90711         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
90712         check for AVX enablement so that we don't crash with old kernels and
90713         new hardware.
90714         * elf/tst-audit4.c: Add same checks here.
90715         * elf/tst-audit6.c: Likewise.
90717         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
90719 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
90721         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
90723 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
90725         * po/cs.po: Update from translation team.
90726         * po/bg.po: Likewise.
90728 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
90730         * misc/sys/cdefs.h: Add support for const attribute.
90731         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
90732         to gnu_dev_{major,minor,makedev} functions.
90734 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
90736         * intl/dcigettext.c (get_output_charset): Add missing bracket.
90738 2011-07-20  Andreas Schwab  <schwab@redhat.com>
90740         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
90741         strlen results.
90743 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
90746         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
90747         register in order to avoid conflicts with the soft frame pointer
90748         being held in r11 when necessary.
90749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
90750         (INTERNAL_VSYSCALL_NCS): Likewise.
90752 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
90754         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
90755         * elf/dl-fini.c (_dl_fini): Adjust caller.
90756         * elf/dl-close.c (_dl_close_worker): Likewise.
90757         * sysdeps/generic/ldsodefs.h: Adjust declaration.
90759 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90761         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
90762         "aux_cache->nlibs < 0".
90764         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
90765         in the reload-count case.
90767 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90770         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
90771         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
90772         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
90773         * sysdeps/x86_64/multiarch/strcat.S: New file.
90774         * sysdeps/x86_64/multiarch/strncat.S: New file.
90775         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
90776         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
90777         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
90778         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
90779         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
90780         (USE_AS_STRCAT): Define.
90781         Add strcat and strncat support.
90782         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90783         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
90784         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
90785         * string/strncat.c: Update.
90786         (USE_AS_STRNCAT): Define.
90787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90788         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
90789         and i7.
90790         * sysdeps/x86_64/multiarch/init-arch.h
90791         (bit_Prefer_PMINUB_for_stringop): New.
90792         (index_Prefer_PMINUB_for_stringop): Likewise.
90793         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
90794         bit_Prefer_PMINUB_for_stringop.
90796 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90798         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90799         buffer64.
90800         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90801         of casting of buffer.
90802         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90803         buffer32 and buffer64.
90804         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90805         writes instead of casting of buffer.
90806         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90807         buffer32.
90808         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90809         casting of buffer.
90811 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90813         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90815 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90817         * nscd/nscd.c (termination_handler): Don't do anything for a database
90818         if it has not yet been initialized.
90820 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90822         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90824 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90826         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90828 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90830         * po/nl.po: Update from translation team.
90831         * po/sv.po: Likewise.
90833 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90835         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90836         now disallowed by GCC.
90838         * configure.in (use-default-link): Default to yes if a test -shared
90839         link meets our qualifications.
90840         * configure: Regenerated.
90842         * config.make.in (output-format): New variable.
90843         * configure.in: Check for ld --print-output-format support.
90844         * configure: Regenerated.
90845         * Makerules ($(common-objpfx)format.lds)
90846         [$(output-format) != unknown]: Just use $(output-format),
90847         instead of the linker-script munging.
90849 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90851         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90852         of $(common-objpfx)shlib.lds.
90853         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90855         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90856         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90858         * configure.in (-z relro check): Adjust test code to add a large
90859         writable data section after it.
90860         * configure: Regenerated.
90862 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90864         * configure.in (-z relro check): Fix test code to make the variable
90865         truly const.
90866         * configure: Regenerated.
90868 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90870         * nscd/nscd.h (struct traced_file): Define.
90871         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90872         elements.  Add traced_files.
90873         (inotify_fd): Declare.
90874         (register_traced_file): Declare.
90875         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90876         (inotify_fd): Export.
90877         (resolv_conf_descr): Remove.
90878         (nscd_init): Move inotify descriptor creation to main.
90879         Don't register files for notification here.
90880         (register_traced_file): New function.
90881         (invalidate_cache): Don't use reset_res to determine whether to call
90882         res_init, go through the list of registered files.
90883         (main_loop_poll): The inotify descriptors are now stored in the
90884         structures for the traced files.
90885         (main_loop_epoll): Likewise.
90886         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90887         to __nss_disable_nscd.
90888         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90889         for a database anymore.  Check the records for all the registered
90890         files instead.
90891         * nss/Makefile (libnss_files-routines): Add files-init.
90892         (libnss_db-routines): Add db-init.
90893         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90894         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90895         * nss/nss_db/db-init.c: New file.
90896         * nss/nss_files/files-init.c: New file.
90897         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90898         __nss_lookup_function.
90899         (__nss_lookup_function): Call nss_load_library.
90900         (nss_load_all_libraries): New function.
90901         (__nss_disable_nscd): Take parameter with callback function for files
90902         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90903         used for the cached services.
90904         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90905         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90906         options for features to all the files in nscd.
90908         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90910 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90912         * csu/elf-init.c (__libc_csu_init): Comment typo.
90914 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90916         * po/pl.po: Update from translation team.
90917         * po/ja.po: Likewise.
90918         * po/ru.po: Likewise.
90919         * po/ko.po: Likewise.
90920         * po/fr.po: Likewise.
90922 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90924         * configure.in (.ctors/.dtors header and trailer check):
90925         Use an empirical test on a built program.
90926         * configure: Regenerated.
90928         * configure.in (-z relro check): Use an empirical test on a built DSO.
90929         Detect, but do not require, on ia64.
90930         * configure: Regenerated.
90932         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90933         Update tests that use readelf to use $READELF instead.
90934         * configure: Regenerated.
90936 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90938         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90939         if the result is not used.
90941 2011-07-05  Andreas Jaeger  <aj@suse.de>
90943         [BZ #9696]
90944         * stdlib/tst-strtod.c: Add testcase.
90946 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90948         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90949         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90950         The latter has a higher limit.  Take additional parameter to pass to
90951         the new function.
90952         (__pathconf): Pass file to __statfs_link_max.
90953         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90954         __statfs_link_max.
90955         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90956         __statfs_link_max.
90958         [BZ #12868]
90959         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90960         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90961         Handle Lustre.
90962         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90963         (__statfs_filesize_max): Likewise.
90964         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90966 2011-07-05  Andreas Jaeger  <aj@suse.de>
90968         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90970 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90972         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90973         `status' variable.
90974         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90975         Likewise.
90977 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
90979         * Makefile (strop-tests): Add strncat.
90980         * string/test-strncat.c: New file.
90982 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
90984         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90986 2011-06-21  Andreas Jaeger  <aj@suse.de>
90988         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90989         Copy rule from iconvdata/Makefile.
90991 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90993         [BZ #12922]
90994         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90995         but no long options are defined, just return 'W'.
90997 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
90999         [BZ #9696]
91000         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91002 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91004         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91005         netgroups to read.
91006         (innetgr): Likewise.
91008 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91010         * config.make.in (install_root): Default to $(DESTDIR).
91012 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91014         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91016 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91018         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91020         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91021         containing directory rather than embedding absolute directory names.
91023         * scripts/check-local-headers.sh: Rewritten using awk.
91024         Match by word, not by line.  Print error messages for matches.
91025         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91027         * Makerules [shlib-lds-flags empty]:
91028         ($(common-objpfx)libc_pic.opts): New target.
91029         ($(common-objpfx)libc_pic.os.clean): New target.
91030         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91032         * config.make.in (OBJCOPY): New variable.
91033         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91034         * configure: Regenerated.
91036         * config.make.in (use-default-link): New variable.
91037         * configure.in (use_default_link): Grok --with-default-link to set it.
91038         * configure: Regenerated.
91039         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91040         (shlib-lds, shlib-lds-flags): Define to empty.
91042         * Makerules (shlib-lds): New variable.
91043         (shlib-lds-flags): New variable.
91044         (build-shlib, build-moduile, build-module-asneeded): Use it.
91045         ($(common-objpfx)libc.so): Use $(shlib-lds).
91046         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91047         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91049         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91050         DT_FLAGS/DT_FLAGS_1 with zero flags.
91052         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91053         linker script munging.
91055 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91057         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91058         as 128-bit value.
91059         * crypt/sha512.c (sha512_process_block): Perform total addition using
91060         128-bit if possible.
91061         (__sha512_finish_ctx): Likewise.
91062         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91063         as 64-bit value.
91064         * crypt/sha256.c (SWAP64): Define.
91065         (sha256_process_block): Perform total addition using 64-bit if
91066         possible.
91067         (__sha256_finish_ctx): Likewise.
91069 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91071         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91072         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91073         * nscd/hstcache.c (cache_addhst): Likewise.
91074         * nscd/grpcache.c (cache_addgr): Likewise.
91075         * nscd/aicache.c (addhstaiX): Likewise.
91076         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91078 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91080         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91081         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91082         * nscd/hstcache.c (cache_addhst): Likewise.
91083         * nscd/grpcache.c (cache_addgr): Likewise.
91084         * nscd/aicache.c (addhstaiX): Likewise.
91086 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91088         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91089         domain only when needed.
91091 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91094         is always restored.
91096 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91098         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91099         are re-adding the entry.
91100         * nscd/servicescache.c (cache_addserv): Likewise.
91102 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91104         * sysdeps/generic/dl-irel.h: fix protection against multiple
91105         inclusions.
91106         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91108 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91110         [BZ #12935]
91111         * malloc/memusage.sh: Fix quoting in message.
91112         * debug/xtrace.sh: Likewise.
91114         * configure.in: Remove support for --experimental-malloc option, make
91115         it the default.
91116         * config.make.in: Likewise.
91117         * malloc/Makefile: Likewise.
91119 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91121         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91122         two-byte characters.
91124 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91126         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91127         AC_CACHE_CHECK invocation.
91128         * configure: Regenerated.
91130         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91132 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91134         [BZ #12350]
91135         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91136         bit from old_res_options.
91138         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91140         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91141         value type for setfct.
91143 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91146         __gettimeofday instead of gettimeofday.
91148 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91150         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91152 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91154         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91156         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91157         info.
91159 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91162         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91163         strcpy-sse2-unaligned strncpy-sse2-unaligned
91164         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91165         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91166         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91167         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91168         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91169         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91170         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91171         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91172         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91173         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91174         (STRCPY): Support SSE2 and SSSE3 versions.
91176 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91178         [BZ #12874]
91179         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91180         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91181         kernels which artificially limit size of requests.
91183 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91186         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91187         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91188         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91189         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91190         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91191         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91192         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91193         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91194         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91195         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91196         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91197         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91198         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91199         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91201         Enable unaligned load optimization for Intel Core i3, i5 and i7
91202         processors.
91203         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91204         Define.
91205         (index_Fast_Unaligned_Load): Define.
91206         (HAS_FAST_UNALIGNED_LOAD): Define.
91208 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91210         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91212 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91214         [BZ #12907]
91215         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91216         until it is clear that the information is realy needed.
91217         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91219 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91223 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91225         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91226         /sys/devices/system/cpu/online if it is usable.
91228         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91229         reading the information from the /proc filesystem to once a second.
91231 2011-06-21  Andreas Jaeger  <aj@suse.de>
91233         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91234         NULL after inclusion of kernel headers.
91236 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91238         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91239         calls to internal_setent.
91241         [BZ #12885]
91242         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91243         addresses using gethostbyname4_r ignore IPv4 addresses.
91245         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91246         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91248         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91250 2011-06-20  David S. Miller  <davem@davemloft.net>
91252         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91253         inclusions.
91254         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91256         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91257         (elf_irel): Use it.
91258         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91259         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91260         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91261         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91262         * sysdeps/x86_64/dl-irel.h: Likewise.
91264         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91265         * elf/dl-sym.c: Likewise.
91267 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91269         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91270         need to dereference resplen2.
91272 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91274         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91276 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91278         * Makeconfig: Define vardbdir and inst_vardbdir.
91279         * nss/Makefile: Add rules to install db-Makefile.
91281         * nss/nss_db/db-XXX.c: Cleanup.
91283         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91284         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91285         GLIBC_PRIVATE.
91286         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91287         * nss/makedb.c: Implement -g option to specify that value strings
91288         are generated and should not be added to table iterated over for
91289         get*ent calls.
91290         * nss/nss_db/db-initgroups.c: New file.
91292         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91293         interface.
91295         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91296         (internal_getgrouplist): Adjust to name change.
91297         Update use_initgroups_entry if this is not the first call.
91298         * nss/databases.def: Add initgroups entry.
91300         * nss/makedb.c (compute_tables): Check result of multiple hash table
91301         sizes to minimize maximum chain length.
91303 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91305         * Versions.def: Add entry for libnss_db.
91306         * shlib-versions: Likewise.
91307         * nss/Makefile: Add rules to build libnss_db.
91308         * nss/Versions: Add libnss_db information.  Organize libnss_files
91309         entries better.
91310         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91311         makedb progra.  Some minor improvements to generate smaller files.
91312         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91313         here from...
91314         * nss/makedb.c: ...here.
91315         Improve database format to be smaller and require less memory at
91316         runtime.
91317         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91318         db anymore.
91319         * nss/nss_db/db-netgrp.c: Likewise.
91320         * nss/nss_db/db-open.c: Likewise.
91321         * nss/nss_files/flies-XXX.x: Adjust comments.
91322         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91323         * nss/nss_files/files-grp.c: Likewise.
91324         * nss/nss_files/files-hosts.c: Likewise.
91325         * nss/nss_files/files-network.c: Likewise.
91326         * nss/nss_files/files-proto.c: Likewise.
91327         * nss/nss_files/files-pwd.c: Likewise.
91328         * nss/nss_files/files-rpc.c: Likewise.
91329         * nss/nss_files/files-service.c: Likewise.
91330         * nss/nss_files/files-sgrp.c: Likewise.
91331         * nss/nss_files/files-spwd.c: Likewise.
91332         * nss/nss_db/db-alias.c: Removed.
91333         * nss/nss_db/dummy-db.h: Removed.
91335 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
91337         * nss/makedb.c: Rewritten to not use database library.
91338         * nss/Makefile: Update to build new makedb program.
91340 2011-06-14  Andreas Jaeger  <aj@suse.de>
91342         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
91343         memset declaration.
91345 2011-06-10  Andreas Schwab  <schwab@redhat.com>
91347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
91348         tmpbuf.
91350 2011-06-10  Roland McGrath  <roland@hack.frob.com>
91352         * Makerules (shlib.lds): Fail if the linker script comes out empty.
91353         * elf/Makefile ($(objpfx)ld.so): Likewise.
91355         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
91356         Don't list ld.so twice in dependencies.
91358         * posix/bug-regex31.c: Include <stdlib.h>.
91360         * nscd/hstcache.c (cache_addhst): Remove unused variable.
91362         * nis/nss_compat/compat-spwd.c
91363         (getspent_next_nss_netgr): Remove unused variable.
91364         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
91366         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
91367         nonmembers" output to use the right array.
91369         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
91371         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
91373         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
91374         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
91375         * catgets/gencat.c (read_input_file): Likewise.
91376         * locale/programs/locarchive.c (enlarge_archive): Likewise.
91378         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
91379         variable definition inside #if's controlling its use.
91381         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
91383         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
91385         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
91387         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
91388         unreachable code.
91390         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
91392         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
91393         * configure: Regenerated.
91395         * Makerules: Revert last change.
91396         * elf/Makefile: Likewise.
91398 2011-06-09  Roland McGrath  <roland@hack.frob.com>
91400         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
91401         * elf/Makefile ($(objpfx)librtld.os): Likewise.
91402         (reloc-link): Likewise.
91404 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
91406         * elf/Makefile: Add rules to build pldd.
91407         * elf/pldd.c: New file.
91408         * elf/pldd-xx.c: New file.
91410 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
91412         * version.h: Update for 2.15 development version.
91414 2011-06-07  David S. Miller  <davem@davemloft.net>
91416         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
91417         ifuncs.
91418         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
91419         elf_machine_lazy_rel): Likewise.
91420         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
91421         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
91422         elf_machine_lazy_rel): Likewise.
91423         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
91424         dl_hwcap via passed in argument.
91425         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
91426         Likewise.
91428 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91430         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
91432 2011-06-06  Roland McGrath  <roland@hack.frob.com>
91434         [BZ #12849]
91435         * manual/fdl-1.1.texi: New file, verbatim from:
91436         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
91437         * manual/lgpl-2.1.texi: New file, verbatim from:
91438         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
91439         * manual/Makefile (licenses): New variable, list those new file names.
91440         (texis): Use it.
91441         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
91443         * manual/fdl.texi: File removed.
91444         * manual/lesser.texi: File removed.
91445         * manual/libc.texinfo (Copying, Documentation License):
91446         Use new @include file names, put @appendix directive before @include.
91448 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
91450         [BZ #12841]
91451         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
91452         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
91453         (mq_open): Add __NTH.
91455 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
91457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91458         Assume Intel Core i3/i5/i7 processor if AVX is available.
91460 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
91463         typo.
91465 2011-05-31  Andreas Schwab  <schwab@redhat.com>
91467         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
91468         memory.  Use alloca_account.  Fix memory leak when retrying.
91470 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
91472         * version.h (RELEASE): Bump for 2.14 release.
91473         * include/features.h (__GLIBC_MINOR__): Bump to 14.
91475         * config.make.in (RANLIB): Remove entry.
91477 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
91479         * po/Makefile (po-sed-cmd): Add ksh to extensions.
91480         (libc.pot): Work around missing support for .ksh extension in xgettext.
91482         [BZ #12684]
91483         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
91484         if both request failed.
91485         (send_dg): In case of server errors clear resplen or *resplen2.
91487         [BZ #12454]
91488         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
91489         when there are multiple maps.
91490         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
91491         (_dl_fini): Remove test here.
91493         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
91495 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
91497         [BZ #12350]
91498         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
91499         bit from old_res_options.
91500         (gaih_inet): Likewise.
91502         [BZ #11099]
91503         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
91504         as signed.
91506         * resolv/res_init.c (res_setoptions): Make the code more compact.
91508         [BZ #11558]
91509         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
91510         set RES_USEVC.
91512         [BZ #11634]
91513         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
91515         * malloc/malloc.h: Mark malloc hook variables as deprecated.
91517         [BZ #11781]
91518         * malloc/malloc.h: Declare malloc hook variables as volatile.
91520         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
91521         in last patch.
91523         [BZ #11799]
91524         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
91525         raise in the comment.
91526         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
91527         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
91528         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
91530 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
91532         [BZ #12811]
91533         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
91534         grow the buffers more if it already has to be sufficient.
91535         (build_wcs_upper_buffer): Likewise.
91536         * posix/regexec.c (check_matching): Likewise.
91537         (clean_state_log_if_needed): Likewise.
91538         (extend_buffers): Don't enlarge buffers beyond size of the input
91539         buffer.
91540         Patches mostly by Emil Wojak <emil@wojak.eu>.
91541         * posix/bug-regex32.c: New file.
91542         * posix/Makefile (tests): Add bug-regex32.
91544         * locale/findlocale.c (_nl_find_locale): Return right away if
91545         _nl_explode_name failed.
91546         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
91548         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
91550         * debug/xtrace.sh: Unify messages.
91551         * malloc/memusage.sh: Likewise.
91553         [BZ #12813]
91554         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
91555         time symbol from vDSO.  Substitute with vsyscall if not available.
91556         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
91557         __vdso_time.
91559         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
91560         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
91561         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
91562         Add sendmmsg and internal_sendmmsg.
91563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
91564         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
91565         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
91567         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
91568         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
91569         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
91571 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
91573         [BZ #12813]
91574         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
91575         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
91576         available.
91577         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
91578         __vdso_getcpu.
91580         [BZ #12814]
91581         * iconvdata/Makefile (tests): Add bug-iconv9.
91582         * iconvdata/bug-iconv9.c: New file.
91584 2011-05-27  Andreas Schwab  <schwab@redhat.com>
91586         [BZ #12814]
91587         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
91589 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
91591         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91592         (struct user_regs_struct): Change intcs field back to cs.
91594 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
91596         * po/ja.po: Update from translation team.
91598 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
91600         [BZ #12795]
91601         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
91602         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
91604 2011-05-20  Andreas Schwab  <schwab@redhat.com>
91606         * stdlib/longlong.h: Update from GCC.
91608 2011-05-23  Andreas Schwab  <schwab@redhat.com>
91610         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
91611         parameter name.
91612         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
91613         Add parameter name.
91614         (__sysconf): Pass it down.
91616 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
91618         [BZ #12671]
91619         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
91620         some situations.
91621         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
91622         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
91623         add in in __libc_use_alloca calls.  Adjust callers.
91624         (glob): Use malloc in some situations.
91626         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
91627         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
91628         pltexit.
91630 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
91632         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
91633         and CLOCK_BOOTTIME_ALARM.
91635         [BZ #12782]
91636         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
91637         is returned.
91639         * string/_strerror.c (__strerror_r): Print negative errors as signed
91640         numbers.
91642         [BZ #12777]
91643         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
91644         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
91645         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
91647         * configure.in: Fix typo in redirection and correct removal of test
91648         files in two cases.
91650         [BZ #12788]
91651         * locale/setlocale.c (new_composite_name): Fix test to check for
91652         identical name of all categories.
91654         [BZ #12792]
91655         * libio/filedoalloc.c (local_isatty): New function.
91656         (_IO_file_doallocate): Use local_isatty.
91657         * stdio-common/perror.c (perror): In case a new stream is used
91658         forward the stream error.
91659         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
91660         error flag.
91662 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
91664         [BZ #11884]
91665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
91666         alloca.
91667         * include/alloca.h (extend_alloca_account): Define.
91669         [BZ #11857]
91670         * posix/regex.h: Fix comments with documentation of user-accessible
91671         fields after compilation and describe correct free'ing of pattern
91672         after re_compile_pattern.
91673         Patch by Reuben Thomas <rrt@sc3d.org>.
91675 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
91677         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
91678         and -mno-altivec to prevent the compiler from using Altivec and/or
91679         VSX instructions when the corresponding registers are not available.
91681 2011-05-19  Andreas Schwab  <schwab@redhat.com>
91683         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
91685 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
91687         * libio/freopen.c (freopen): Use __dup2, not dup2.
91688         * libio/freopen64.c (freopen64): Likewise.
91690 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
91692         [BZ #12775]
91693         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
91694         * math/Makefile (tests): Add test-powl.
91695         (CFLAGS-test-powl.c): Define.
91696         * math/test-powl.c: New file.
91698 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
91700         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
91702 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
91704         [BZ #11837]
91705         * iconvdata/gb18030.c: Update to GB18020-2005.
91707 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
91709         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
91710         RE_SYNTAX_POSIX_AWK): Update to match recent development.
91711         Patch by Aharon Robbins <arnold@skeeve.com>.
91713         [BZ #11892]
91714         * stdlib/putenv.c (putenv): Don't always create copy of the variable
91715         on the stack.
91717         [BZ #11895]
91718         * misc/pselect.c (__pselect): Handle timeout value errors hidden
91719         through underflows.
91721         [BZ #12766]
91722         * misc/error.c (error_at_line): Ensure file_name and old_file_name
91723         point to strings before performing equality test for error_one_per_line
91724         mode.
91726         [BZ #11697]
91727         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
91729         [BZ #11820]
91730         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
91731         (struct user_fpregs_struct): Avoid __uint*_t types.
91733         [BZ #6420]
91734         * malloc/mtrace.c (tr_where): Add additional parameter to point to
91735         symbol info.  Use it instead of calling _dl_addr locally.
91736         (lock_and_info): New function.
91737         (tr_freehook): Call lock_and_info and pass symbol info as additional
91738         parameter to tr_where.
91739         (tr_mallochook): Likewise.
91740         (tr_reallochook): Likewise.
91741         (tr_memalignhook): Likewise.
91743         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
91744         used and couldn't be at all thread-safe.
91746 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
91748         * libio/freopen.c (freopen): Don't close old file descriptor
91749         before the new one is opened.  Instead dup the new file descriptor
91750         to the old one after the new stream is created.
91751         * libio/freopen64.c (freopen64): Likewise.
91752         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
91753         * libio/fileops.c (_IO_new_file_close_it): Handle new
91754         _IO_FLAGS2_NOCLOSE flag.
91755         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
91756         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
91757         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
91758         _IO_FLAGS2_NOCLOSE flag.
91759         * include/unistd.h: Add hidden_proto for dup3.
91760         Define __have_dup3.
91761         * io/dup3.c: Define hidden symbol.
91762         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
91764         [BZ #7101]
91765         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
91766         when an incomplete long option is used.
91767         * posix/tst-getopt_long1.c: New file.
91768         * posix/Makefile (tests): Add tst-getopt_long1.
91770         [BZ #10138]
91771         * scripts/config.guess: Update from autoconf-2.68.
91772         * scripts/config.sub: Likewise.
91774         [BZ #10157]
91775         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
91776         tests into ...
91777         (has_cpuclock): ...this.  New function.
91778         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
91779         macro here based on has_cpuclock code.
91781         [BZ #10149]
91782         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91783         First byte (not low byte) is now always NUL.
91784         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
91786         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
91787         Use non-cancelable interfaces.
91789         [BZ #9809]
91790         * locale/iso-639.def: Add entry for Sorani.
91792         [BZ #11901]
91793         * include/stdlib.h: Move include protection to the right place.
91794         Define abort_msg_s.  Declare __abort_msg with it.
91795         * stdlib/abort.c (__abort_msg): Adjust type.
91796         * assert/assert.c (__assert_fail_base): New function.  Majority
91797         of code from __assert_fail.  Allocate memory for __abort_msg with
91798         mmap.
91799         (__assert_fail): Now call __assert_fail_base.
91800         * assert/assert-perr.c: Remove bulk of implementation.  Use
91801         __assert_fail_base.
91802         * include/assert.hL Declare __assert_fail_base.
91803         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91804         mmap.
91805         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91807 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91809         [BZ #11952]
91810         [BZ #12453]
91811         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91812         until all modules are registered in the DTV.
91813         * elf/Makefile: Add rules to build and run tst-tls19.
91814         * elf/tst-tls19.c: New file.
91815         * elf/tst-tls19mod1.c: New file.
91816         * elf/tst-tls19mod2.c: New file.
91817         * elf/tst-tls19mod3.c: New file.
91818         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91820         [BZ #12083]
91821         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91822         correctly.
91824         [BZ #12601]
91825         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91826         two-byte sequence errors.
91827         * iconvdata/Makefile (tests): Add bug-iconv8.
91828         * iconvdata/bug-iconv8.c: New file.
91830         [BZ #12626]
91831         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91832         buf2 definition.
91834         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91836         [BZ #12432]
91837         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91838         (dummy_getcfa): New function.
91839         (init): Get _Unwind_GetCFA address, use dummy if not found.
91840         (backtrace_helper): In recursion check, also check whether CFA changes.
91841         (__backtrace): Completely initialize arg.
91843         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91844         storing incomplete byte sequence in state object.  Avoid testing for
91845         guaranteed too small input if we know there is enough data available.
91847 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91849         * Makeconfig (+link-pie): Indent.
91850         * Rules (binaries-pie): Define if $(have-fpie) and
91851         $(build-shared).
91852         (binaries-shared): Also filter out $(binaries-pie).
91853         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91854         * nscd/Makefile (others-pie): Add nscd.
91855         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91856         ($(objpfx)nscd): Remove command override.
91857         * login/Makefile (others-pie): Add pt_chown.
91858         ($(objpfx)pt_chown): Remove command override.
91859         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91860         remove command overrides.
91862 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91864         * libio/tst_putwc.c: Fix error messages.
91866         [BZ #12724]
91867         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91868         currently writing and seek to current position when not.
91869         * libio/Makefile (tests): Add bug-fclose1.
91870         * libio/bug-fclose1.c: New file.
91872 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91874         [BZ #12511]
91875         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91876         don't set DF_1_NODELETE here.
91877         (do_lookup_x): When entering new entry test for copy relocation
91878         and if necessary set DF_1_NODELETE flag.
91879         * elf/tst-unique4.cc: New file.
91880         * elf/tst-unique4.h: New file.
91881         * elf/tst-unique4lib.cc: New file.
91882         * elf/Makefile: Add rules to build and run tst-unique4.
91883         Patch by Piotr Bury <pbury@goahead.com>.
91885 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91887         [BZ #12052]
91888         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91890         [BZ #12625]
91891         * misc/mntent_r.c (addmntent): Flush the stream after the output
91893         [BZ #12393]
91894         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91895         (is_trusted_path_normalize): Skip initial colon.  Append slash
91896         to empty buffer.  Duplicate is_trusted_path code but allow
91897         constructed patch to be prefix.
91898         (is_dst): Allow $ORIGIN followed by /.
91899         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91900         Correct testing of result of is_trusted_path_normalize
91901         (decompose_rpath): Fix warning.
91903 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91905         [BZ #11257]
91906         * grp/initgroups.c (internal_getgrouplist): When we found the service
91907         list through the initgroups entry in nsswitch.conf do not always
91908         continue on a successful lookup.  Don't always use the
91909         __nss_group_database value if it is set.
91910         * nss/nsswitch.conf (initgroups): Change action for successful db
91911         lookup to continue for compatibility.
91913 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91915         [BZ #11532]
91916         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91917         and CP774 modules.
91918         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91919         and CP774 modules.
91920         * iconvdata/tst-tables.sh: Likewise.
91921         * iconvdata/cp770.c: New file.
91922         * iconvdata/cp771.c: New file.
91923         * iconvdata/cp772.c: New file.
91924         * iconvdata/cp773.c: New file.
91925         * iconvdata/cp774.c: New file.
91926         * iconvdata/testdata/CP770: New file.
91927         * iconvdata/testdata/CP770..UTF8: New file.
91928         * iconvdata/testdata/CP771: New file.
91929         * iconvdata/testdata/CP771..UTF8: New file.
91930         * iconvdata/testdata/CP772: New file.
91931         * iconvdata/testdata/CP772..UTF8: New file.
91932         * iconvdata/testdata/CP773: New file.
91933         * iconvdata/testdata/CP773..UTF8: New file.
91934         * iconvdata/testdata/CP774: New file.
91935         * iconvdata/testdata/CP774..UTF8: New file.
91937         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91938         END CHARMAP line.
91939         * iconvdata/gen-8bit-gap.sh: Likewise.
91940         * iconvdata/gen-8bit.sh: Likewise.
91942         * locale/iso-639.def: Add ary entry.
91944         [BZ #11258]
91945         * locale/C-translit.h.in: Add U20A1 transliteration.
91947         [BZ #12178]
91948         * locale/iso-639.def: Add wae entry.
91949         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91951         [BZ #12545]
91952         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91953         for n.
91955         [BZ #12711]
91956         * locale/C-translit.h.in: Add entry for U20B9.
91957         Patch by pravin.d.s@gmail.com.
91959 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91961         [BZ #12713]
91962         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91963         ENAMETOOLONG use generic getcwd.
91964         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91965         in rtld.  Use *stat64.
91966         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91967         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91968         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91969         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91970         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91971         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91972         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91973         __fstatat64 macros.
91974         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91975         * dirent/rewinddir.c: Add libc_hidden_def.
91976         * sysdeps/mach/hurd/rewinddir.c: Likewise.
91977         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
91979         * include/dirent.h (__alloc_dir): Add flags parameter.
91980         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91981         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91982         __alloc_dir.
91983         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
91984         from fdopendir if O_CLOEXEC is already set.
91986 2011-03-15  Alan Modra  <amodra@gmail.com>
91988         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91989         l_tls_firstbyte_offset non-zero.  Save padding offset in
91990         l_tls_firstbyte_offset for later use.
91991         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91992         freeing static tls block.
91994 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
91996         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91997         where #ifdef was intended.  The intent is to prevent ARG_MAX from
91998         being defined by the kernel headers.
92000 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92002         [BZ #12734]
92003         * resolv/resolv.h: Define RES_NOTLDQUERY.
92004         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92005         no-tld-query and set RES_NOTLDQUERY.
92006         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92007         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92008         modern BIND to search name as TLD unless forbidden.
92010 2011-05-07  Petr Baudis  <pasky@suse.cz>
92011             Ulrich Drepper  <drepper@gmail.com>
92013         [BZ #12393]
92014         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92015         (is_trusted_path): ...to here.
92016         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92017         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92018         using is_trusted_path_normalize() in setuid scripts.
92020 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92022         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92023         __BEGIN/__END_DECLS.
92025 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92027         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92028         NSS_STATUS_NOTFOUND if no record was found.
92030 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92032         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92033         (headers-not-in-tirpc): Remove rpc/netdb.h
92034         * resolv/netdb.h: Revert last change.
92036 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92038         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92039         circular dependency between libgcc.a and libc.a.
92041 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92043         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92044         * nis/Makefile: Don't install rpcsvc/*.
92045         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92046         instead of <rpc/types.h>.
92047         (MAXHOSTNAMELEN): Define.
92049 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92051         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92053 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92055         [BZ #12714]
92056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92057         gethostbyname4_r when IPv6 results are possible.
92059 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92061         [BZ #12723]
92062         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92063         _PC_PIPE_BUF handling.
92065 2011-04-30  Bruno Haible  <bruno@clisp.org>
92067         [BZ #12717]
92068         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92069         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92070         to 'int'.
92071         * inet/getnameinfo.c (getnameinfo): Likewise.
92073 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92075         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92076         to groups setting in database lookup.
92077         * nss/nsswitch.conf: Add initgroups entry.
92079 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92081         [BZ #12685]
92082         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92083         mode string.
92084         Patch by Eric Blake <eblake@redhat.com>.
92086 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92088         * sunrpc/Makefile (need-export-routines): Add svc_run.
92089         (routines): Remove svc_run.
92090         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92091         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92092         * sunrpc/svc_run.c (svc_run): Likewise.
92093         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92095 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92097         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92098         problem in reallocation in last patch.
92100 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92102         * sunrpc/Makefile: Move inclusion of Rules.
92104 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92106         * nss/nss_files/files-initgroups.c: New file.
92107         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92108         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92109         _nss_files_initgroups_dyn.
92111 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92113         * elf/elf.h (R_ARM_IRELATIVE): Define.
92115 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92117         * po/ru.po: Update from translation team.
92119 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92121         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92122         dependencies.
92124 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92126         [BZ #12653]
92127         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92128         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92129         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92130         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92131         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92133 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92135         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92136         differing bytes.
92137         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92138         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92139         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92141 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92143         [BZ #12420]
92144         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92145         storing it.
92146         * stdlib/bug-getcontext.c: New file.
92147         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92149 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92151         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92152         instructions into .machine "z9-109".
92153         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92154         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92156 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92158         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92159         between environment variables and auxiliary vector.
92161 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92163         * Makefile: Add rules to build linkobj/libc.so.
92164         * include/libc-symbols.h: Define libc_hidden_nolink.
92165         * include/rpc/auth.h: Mark functions which are to be hidden.
92166         * include/rpc/auth_des.h: Likewise.
92167         * include/rpc/auth_unix.h: Likewise.
92168         * include/rpc/clnt.h: Likewise.
92169         * include/rpc/des_crypt.h: Likewise.
92170         * include/rpc/key_prot.h: Likewise.
92171         * include/rpc/pmap_clnt.h: Likewise.
92172         * include/rpc/pmap_prot.h: Likewise.
92173         * include/rpc/pmap_rmt.h: Likewise.
92174         * include/rpc/rpc_msg.h: Likewise.
92175         * include/rpc/svc.h: Likewise.
92176         * include/rpc/svc_auth.h: Likewise.
92177         * include/rpc/xdr.h: Likewise.
92178         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92179         * nss/Makefile: Likewise.
92180         * sunrpc/Makefile: Don't install headers.  Build library with normal
92181         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92182         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92183         for the compat linking library.  Remove use of INTDEF/INTUSE.
92184         * sunrpc/auth_none.c: Likewise.
92185         * sunrpc/auth_unix.c: Likewise.
92186         * sunrpc/authdes_prot.c: Likewise.
92187         * sunrpc/authuxprot.c: Likewise.
92188         * sunrpc/clnt_gen.c: Likewise.
92189         * sunrpc/clnt_perr.c: Likewise.
92190         * sunrpc/clnt_raw.c: Likewise.
92191         * sunrpc/clnt_simp.c: Likewise.
92192         * sunrpc/clnt_tcp.c: Likewise.
92193         * sunrpc/clnt_udp.c: Likewise.
92194         * sunrpc/clnt_unix.c: Likewise.
92195         * sunrpc/des_crypt.c: Likewise.
92196         * sunrpc/des_soft.c: Likewise.
92197         * sunrpc/get_myaddr.c: Likewise.
92198         * sunrpc/key_call.c: Likewise.
92199         * sunrpc/key_prot.c: Likewise.
92200         * sunrpc/netname.c: Likewise.
92201         * sunrpc/pm_getmaps.c: Likewise.
92202         * sunrpc/pm_getport.c: Likewise.
92203         * sunrpc/pmap_clnt.c: Likewise.
92204         * sunrpc/pmap_prot.c: Likewise.
92205         * sunrpc/pmap_prot2.c: Likewise.
92206         * sunrpc/pmap_rmt.c: Likewise.
92207         * sunrpc/publickey.c: Likewise.
92208         * sunrpc/rpc_cmsg.c: Likewise.
92209         * sunrpc/rpc_common.c: Likewise.
92210         * sunrpc/rpc_dtable.c: Likewise.
92211         * sunrpc/rpc_prot.c: Likewise.
92212         * sunrpc/rpc_thread.c: Likewise.
92213         * sunrpc/rtime.c: Likewise.
92214         * sunrpc/svc.c: Likewise.
92215         * sunrpc/svc_auth.c: Likewise.
92216         * sunrpc/svc_authux.c: Likewise.
92217         * sunrpc/svc_raw.c: Likewise.
92218         * sunrpc/svc_run.c: Likewise.
92219         * sunrpc/svc_simple.c: Likewise.
92220         * sunrpc/svc_tcp.c: Likewise.
92221         * sunrpc/svc_udp.c: Likewise.
92222         * sunrpc/svc_unix.c: Likewise.
92223         * sunrpc/svcauth_des.c: Likewise.
92224         * sunrpc/xcrypt.c: Likewise.
92225         * sunrpc/xdr.c: Likewise.
92226         * sunrpc/xdr_array.c: Likewise.
92227         * sunrpc/xdr_float.c: Likewise.
92228         * sunrpc/xdr_intXX_t.c: Likewise.
92229         * sunrpc/xdr_mem.c: Likewise.
92230         * sunrpc/xdr_rec.c: Likewise.
92231         * sunrpc/xdr_ref.c: Likewise.
92232         * sunrpc/xdr_sizeof.c: Likewise.
92233         * sunrpc/xdr_stdio.c: Likewise.
92235 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92237         [BZ #12650]
92238         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92239         * sysdeps/ia64/dl-tls.h: Likewise.
92240         * sysdeps/powerpc/dl-tls.h: Likewise.
92241         * sysdeps/s390/dl-tls.h: Likewise.
92242         * sysdeps/sh/dl-tls.h: Likewise.
92243         * sysdeps/sparc/dl-tls.h: Likewise.
92244         * sysdeps/x86_64/dl-tls.h: Likewise.
92245         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92247 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92249         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92250         rpath element also skip the following colon.
92251         (expand_dynamic_string_token): Add is_path parameter and pass
92252         down to DL_DST_REQUIRED and _dl_dst_substitute.
92253         (decompose_rpath): Call expand_dynamic_string_token with
92254         non-zero is_path.  Ignore empty rpaths.
92255         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92256         with zero is_path.
92258 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92261         Make cancelable.
92263 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92265         [BZ #12655]
92266         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92267         Patch by Filipe David Manana <fdmanana@apache.org>.
92269 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92271         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92272         Maintain aligned stack.
92273         (CHECK_RSP): Remove unused macro.
92275 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92277         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92278         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92280 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92282         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92284         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92286 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92288         [BZ #12518]
92289         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92290         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92291         * sysdeps/x86_64/memmove.c: New file.
92292         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92293         (memcpy): Renamed to ...
92294         (__new_memcpy): This.
92295         (memcpy): Provide GLIBC_2_14 memcpy.
92296         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92297         (memcpy): Provide GLIBC_2_2_5 memcpy.
92299 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92301         [BZ #12631]
92302         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92304 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92306         * misc/syncfs.c: New file.
92307         * misc/Makefile (routines): Add syncfs.
92308         * posix/unistd.h: Declare syncfs.
92309         * sysdeps/unix/syscalls.list: Add syncfs.
92311 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92313         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92314         open_by_handle_at.
92315         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92316         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92317         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92318         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92320         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92321         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92323 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92325         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92327         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
92328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92329         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92333         * io/Makefile: Compile fallocate.c, fallocate64.c, and
92334         sync_file_range.c with -fexceptions.
92335         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
92336         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
92337         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
92338         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
92339         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
92340         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
92341         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
92342         sync_file_range as cancellation point
92343         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
92344         now a wrapper around __call_sync_file_range with cancellation handling.
92345         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
92346         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
92347         function name to __call_sync_file_range.
92348         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
92349         Add call_sync_file_range.
92351 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
92354         bits/timex.h.
92356 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92358         * iconv/iconv.h: Fix typo in comment.
92359         * io/fcntl.h: Likewise.
92360         * libio/stdio.h: Likewise.
92361         * posix/spawn.h: Likewise.
92362         * posix/unistd.h: Likewise.
92363         * stdlib/stdlib.h: Likewise.
92364         * time/time.h: Likewise.
92365         * wcsmbs/wchar.h: Likewise.
92367         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
92368         open_by_handle): Add.
92369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
92370         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
92371         Augment a few comments.
92372         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92374         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92376         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92377         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
92378         open_by_handle.
92380         * io/fcntl.h (AT_EMPTY_PATH): Define.
92382 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
92384         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
92385         * sysdeps/unix/sysv/linux/bits/time.h: New file.
92386         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
92387         to...
92388         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
92389         * Versions.def: Add GLIBC_2.14.
92390         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
92391         Export.
92393 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
92395         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
92396         round counter.
92397         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92399 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
92401         [BZ #12597]
92402         * string/test-strncmp.c (do_page_test): New function.
92403         (check2): Likewise.
92404         (test_main): Call check2.
92405         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
92407 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
92409         [BZ #12587]
92410         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
92411         Handle cache information in CPU leaf 4.
92412         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
92414 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
92416         [BZ #12583]
92417         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
92418         character representation.
92419         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
92421 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
92423         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
92424         END(__isnan) to END(__isnanf) to match function entry point/label
92425         EALIGN(__isnanf,...).
92427 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
92429         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
92431 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
92433         [BZ #12510]
92434         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
92435         copy from the symbol referenced in the relocation to initialize the
92436         used variable.
92437         Patch by Piotr Bury <pbury@goahead.com>.
92438         * elf/Makefile: Add rules to build and tst-unique3.
92439         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
92440         * elf/tst-unique3.cc: New file.
92441         * elf/tst-unique3.h: New file.
92442         * elf/tst-unique3lib.cc: New file.
92443         * elf/tst-unique3lib2.cc: New file.
92445         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
92447 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
92449         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
92450         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
92451         to _start.
92453 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
92455         * elf/dl-load.c (_dl_map_object): If we are looking for the first
92456         to-be-loaded object along a path to loader is ld.so.
92458 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92459             Ulrich Drepper  <drepper@gmail.com>
92461         * sysdeps/x86_64/memset.S: After aligning destination, code
92462         branches to different locations depending on the value of
92463         misalignment, when multiarch is enabled. Fix this.
92465 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
92467         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
92468         Set _x86_64_preferred_memory_instruction for AMD processsors.
92469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92470         Set bit_Prefer_SSE_for_memop for AMD processors.
92472 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
92474         * libio/fmemopen.c (fmemopen): Optimize a bit.
92476 2011-03-03  Andreas Schwab  <schwab@redhat.com>
92478         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
92480 2011-03-03  Roland McGrath  <roland@redhat.com>
92482         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
92484 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
92486         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
92487         __bzero_ultra1 instead of __memset_ultra1.
92489 2011-02-23  Andreas Schwab  <schwab@redhat.com>
92490             Ulrich Drepper  <drepper@gmail.com>
92492         [BZ #12509]
92493         * include/link.h (struct link_map): Add l_orig_initfini.
92494         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
92495         returning unsuccessfully.
92496         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
92497         close of a file loaded at startup, restore the original l_initfini
92498         list.
92499         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
92500         list, store the pointer.
92501         * elf/Makefile ($(objpfx)noload-mem): New rule.
92502         (noload-ENV): Define.
92503         (tests): Add $(objpfx)noload-mem.
92504         * elf/noload.c: Include <memcheck.h>.
92505         (main): Call mtrace.  Close all opened handles.
92507 2011-02-17  Andreas Schwab  <schwab@redhat.com>
92509         [BZ #12454]
92510         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
92511         dependencies are missing.
92513 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92515         Fix __if_freereq crash: Unlike the generic version which uses free,
92516         Hurd needs munmap.
92517         * sysdeps/mach/hurd/ifreq.h: New file.
92519 2011-01-27  Petr Baudis  <pasky@suse.cz>
92520             Ulrich Drepper  <drepper@gmail.com>
92522         [BZ 12445]#
92523         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
92524         to extend_alloca().
92525         * stdio-common/bug23.c: New file.
92526         * stdio-common/Makefile (tests): Add bug23.
92528 2010-09-28  Andreas Schwab  <schwab@redhat.com>
92529             Ulrich Drepper  <drepper@gmail.com>
92531         [BZ #12489]
92532         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
92533         before performing relro protection.  At old place add assertion
92534         to make sure nothing changed.
92536 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
92537             Glauber de Oliveira Costa  <glommer@gmail.com>
92539         * elf/elf.h: Add new ARM TLS relocs.
92541 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
92543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
92544         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
92545         cast from r3.
92546         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
92547         'tests' variable.
92548         * sysdeps/wordsize-64/tst-writev.c: New file.
92550 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
92552         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
92553         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
92554         insns in _dl_start to prevent a TOC reference before relocs are
92555         resolved.
92557 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
92559         [BZ #12469]
92560         * Makeconfig: Remove RANLIB definition.
92561         * Makerules: Don't use RANLIB.
92562         * aclocal.m4: Remove ranlib test.
92563         * configure.in: No need to check for ranlib.
92564         * elf/rtld-Rules: Don't use RANLIB.
92566 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92568         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
92569         protection macro.
92570         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
92571         inclusion protection macro.
92573         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
92574         SIGRTMIN and SIGRTMAX and print information in that case only when
92575         SIGRTMIN is defined.
92577 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
92579         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
92580         arginfo fn returning -1.
92582         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
92583         and thousands string is zero terminated.
92585 2011-02-03  Andreas Schwab  <schwab@redhat.com>
92587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
92588         sysdeps/unix/sysv/linux/bits/socket.h.
92590 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92592         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
92593         (__CPU_COUNT): Remove old macros.
92594         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
92595         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
92596         (__CPU_ALLOC, __CPU_FREE): Add macros.
92597         (__sched_cpualloc, __sched_cpufree): Add declarations.
92599 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
92601         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
92602         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
92603         * nscd/aicache.c (addhstaiX): Return timeout of added value.
92604         (readdhstai): Return value of addhstaiX call.
92605         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
92606         (addgrbyX): Return value returned by cache_addgr.
92607         (readdgrbyname): Return value returned by addgrbyX.
92608         (readdgrbygid): Likewise.
92609         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
92610         (addpwbyX): Return value returned by cache_addpw.
92611         (readdpwbyname): Return value returned by addhstbyX.
92612         (readdpwbyuid): Likewise.
92613         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
92614         (addservbyX): Return value returned by cache_addserv.
92615         (readdservbyname): Return value returned by addservbyX:
92616         (readdservbyport): Likewise.
92617         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
92618         (addhstbyX): Return value returned by cache_addhst.
92619         (readdhstbyname): Return value returned by addhstbyX.
92620         (readdhstbyaddr): Likewise.
92621         (readdhstbynamev6): Likewise.
92622         (readdhstbyaddrv6): Likewise.
92623         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
92624         (readdinitgroups): Return value returned by addinitgroupsX.
92625         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
92626         (prune_cache): Keep track of timeout value of re-added entries.
92627         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
92628         * nscd/nscd.h: Adjust prototypes of readd* functions.
92630 2011-02-04  Roland McGrath  <roland@redhat.com>
92632         * nis/nis_server.c (nis_servstate): Use the right name for 0.
92633         (nis_stats): Likewise.
92634         * nis/nis_modify.c (nis_modify): Likewise.
92635         * nis/nis_remove.c (nis_remove): Likewise.
92636         * nis/nis_add.c (nis_add): Likewise.
92638         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
92640         * posix/fnmatch_loop.c: Add some consts.
92642         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
92644 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
92646         [BZ #12460]
92647         * config.make.in (config-cflags-novzeroupper): Define.
92648         * configure.in: Substitute libc_cv_cc_novzeroupper.
92649         * elf/Makefile (AVX-CFLAGS): Define.
92650         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
92651         (CFLAGS-tst-auditmod4a.c): Likewise.
92652         (CFLAGS-tst-auditmod4b.c): Likewise.
92653         (CFLAGS-tst-auditmod6b.c): Likewise.
92654         (CFLAGS-tst-auditmod6c.c): Likewise.
92655         (CFLAGS-tst-auditmod7b.c): Likewise.
92656         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
92658 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
92660         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
92661         function to the callback.
92662         Patch partly by Jiri Olsa <jolsa@redhat.com>.
92664 2011-02-02  Andreas Schwab  <schwab@redhat.com>
92666         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
92667         of errno.
92669 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
92671         [BZ #11724]
92672         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
92673         of constructors.
92674         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
92675         of destructors.
92676         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
92678         [BZ #11724]
92679         * elf/Makefile: Add rules to build and run new test.
92680         * elf/tst-initorder.c: New file.
92681         * elf/tst-initorder.exp: New file.
92682         * elf/tst-initordera1.c: New file.
92683         * elf/tst-initordera2.c: New file.
92684         * elf/tst-initordera3.c: New file.
92685         * elf/tst-initordera4.c: New file.
92686         * elf/tst-initorderb1.c: New file.
92687         * elf/tst-initorderb2.c: New file.
92688         * elf/tst-order-a1.c: New file.
92689         * elf/tst-order-a2.c: New file.
92690         * elf/tst-order-a3.c: New file.
92691         * elf/tst-order-a4.c: New file.
92692         * elf/tst-order-b1.c: New file.
92693         * elf/tst-order-b2.c: New file.
92694         * elf/tst-order-main.c: New file.
92695         New test case by George Gensure <werkt0@gmail.com>.
92697 2010-10-01  Andreas Schwab  <schwab@redhat.com>
92699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92700         decoding ACE if AI_CANONIDN.
92702 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
92704         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
92706 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
92708         * version.h (RELEASE): Bump for 2.13 release.
92709         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
92711         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
92713         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
92714         MADV_NOHUGEPAGE.
92715         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
92716         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
92717         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
92718         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
92719         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
92720         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92722         * posix/getconf.c: Update copyright year.
92723         * catgets/gencat.c: Likewise.
92724         * csu/version.c: Likewise.
92725         * debug/catchsegv.sh: Likewise.
92726         * debug/xtrace.sh: Likewise.
92727         * elf/ldconfig.c: Likewise.
92728         * elf/ldd.bash.in: Likewise.
92729         * elf/sprof.c (print_version): Likewise.
92730         * iconv/iconv_prog.c: Likewise.
92731         * iconv/iconvconfig.c: Likewise.
92732         * locale/programs/locale.c: Likewise.
92733         * locale/programs/localedef.c: Likewise.
92734         * malloc/memusage.sh: Likewise.
92735         * malloc/mtrace.pl: Likewise.
92736         * nscd/nscd.c (print_version): Likewise.
92737         * nss/getent.c: Likewise.
92739         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
92740         PF_CAIF, and PF_ALG.
92741         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92743 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
92745         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
92746         (modules-names): Use them.
92747         (ifunc-test-modules, ifunc-pie-tests): Define.
92748         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
92749         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
92750         (test-extras): Likewise.
92751         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
92752         $(compile-command.c).
92753         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
92754         (all-built-dso): Define.
92755         (check-textrel.out, check-execstack.out): Depend on it.
92757         * configure.in: Don't override --enable-multi-arch.
92759 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
92761         [BZ #6812]
92762         * nscd/hstcache.c (tryagain): Define.
92763         (cache_addhst): Return tryagain not notfound for temporary errors.
92764         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
92765         failed.
92767 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
92769         [BZ #10563]
92770         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
92771         to make the syscall.
92772         * sysdeps/unix/sysv/linux/setgroups.c: New file.
92774         [BZ #12378]
92775         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
92776         and fall back to matching as normal character if the string ends before
92777         the matching ']' is found.  This is what POSIX requires.
92778         * posix/testfnm.c: Adjust test result.
92779         * posix/globtest.sh: Adjust test result.  Add new test.
92780         * posix/tst-fnmatch.input: Likewise.
92781         * posix/tst-fnmatch2.c: Add new test.
92783 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
92785         * elf/Makefile (check-execstack): Revert last change.  Depend on
92786         check-execstack.h.
92787         (check-execstack.h): New target.
92788         (generated): Add check-execstack.h.
92789         * elf/check-execstack.c: Include "check-execstack.h".
92790         (main): Revert last change.
92791         (handle_file): Return zero if GNU_STACK is absent and
92792         DEFAULT_STACK_PERMS doesn't include PF_X.
92794 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92796         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92797         in child fails because the descriptor is already closed.
92798         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92799         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92800         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92802         [BZ #12397]
92803         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92804         syscall.
92806         [BZ #10484]
92807         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92808         temporary buffer used to handle multi lookups locally.
92809         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92811 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92813         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92814         loader is ld.so.
92816 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92818         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92819         alignment for SSE2.
92821 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92823         [BZ #12394]
92824         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92825         characters.  When rounding increased number of integer digits recompute
92826         number of groups.
92827         * stdio-common/tst-grouping.c: New file.
92828         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92830 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92832         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92833         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92835         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92836         void.
92837         * bits/select.h: Likewise.
92839 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92841         * po/ja.po: Update from translation team.
92843 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92845         [BZ #11155]
92846         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92847         implementation just like for lxstat, fxstatat, et al.
92849 2010-12-27  Jim Meyering  <meyering@redhat.com>
92851         [BZ #12348]
92852         * posix/regexec.c (build_trtable): Return failure indication upon
92853         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92855 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92857         [BZ #12201]
92858         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92859         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92860         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92861         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92863         [BZ #12207]
92864         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92866         [BZ #12204]
92867         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92868         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92870 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92872         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92873         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92874         script has SORT_BY_INIT_PRIORITY.
92875         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92876         NO_CTORS_DTORS_SECTIONS is defined.
92877         * elf/soinit.c: Likewise.
92878         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92879         NO_CTORS_DTORS_SECTIONS is defined.
92880         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92881         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92882         * sysdeps/sh/init-first.c: Likewise.
92883         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92885 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92887         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92888         always use the slow path.
92890 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92892         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92893         similar rule which adds the sysdep directories to the header search in
92894         order to pick up the correct platform stackinfo.h.
92895         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92896         perform test if it is, otherwise return successfully without testing.
92897         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92898         DEFAULT_STACK_PERMS define in stackinfo.h.
92899         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92900         defined in stackinfo.h.
92901         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92902         DEFAULT_STACK_PERMS defined in stackinfo.h.
92903         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92904         * sysdeps/ia64/stackinfo.h: Likewise.
92905         * sysdeps/s390/stackinfo.h: Likewise.
92906         * sysdeps/sh/stackinfo.h: Likewise.
92907         * sysdeps/sparc/stackinfo.h: Likewise.
92908         * sysdeps/x86_64/stackinfo.h: Likewise.
92909         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92910         PF_X for powerpc64.  Retain PF_X for powerpc32.
92912 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92914         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92915         accurately.
92916         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92917         GETDENTS_64BIT_ALIGNED.
92919 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92921         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92923 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92925         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92926         _GNU_SOURCE.
92928         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92929         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92930         Remove __restrict.
92931         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92932         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92934 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92936         [BZ #11655]
92937         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92938         are initialized.
92940 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92942         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92944 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92946         * po/it.po: Update from translation team.
92948 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92950         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92951         unused codes.
92953 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92955         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92957 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92959         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92960         specially.
92961         (gaih_getanswer_slice): Likewise.
92963 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92967 2010-05-31  Petr Baudis  <pasky@suse.cz>
92969         [BZ #11149]
92970         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92971         silently even in the chroot mode.
92973 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92975         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92976         last patch a bit.  Pretty printing
92978 2010-05-31  Petr Baudis <pasky@suse.cz>
92980         [BZ #10085]
92981         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92982         initialization of skip_initgroups_dyn.
92984 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
92986         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92987         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92989 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
92991         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92993 2010-11-11  Andreas Schwab  <schwab@redhat.com>
92995         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92996         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92997         (tst-fnmatch-ENV): Set MALLOC_TRACE.
92998         ($(objpfx)tst-fnmatch-mem): New rule.
92999         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93000         * posix/tst-fnmatch.c (main): Call mtrace.
93002 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93005         Support Intel processor model 6 and model 0x2c.
93007 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93009         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93010           signed comparison.
93012 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93014         [BZ #12205]
93015         * string/test-strncasecmp.c (check_result): New function.
93016         (do_one_test): Use it.
93017         (check1): New function.
93018         (test_main): Use it.
93019         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93020         Support strcasecmp and strncasecmp.
93022 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93024         [BZ #12194]
93025         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93026         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93028 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93030         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93031         IFUNC support.
93032         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93033         memset-x86-64.
93034         * sysdeps/x86_64/multiarch/bzero.S: New file.
93035         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93036         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93037         * sysdeps/x86_64/multiarch/memset.S: New file.
93038         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93039         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93040         Set bit_Prefer_SSE_for_memop for Intel processors.
93041         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93042         Define.
93043         (index_Prefer_SSE_for_memop): Define.
93044         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93046 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93048         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93049         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93051 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93053         [BZ #12191]
93054         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93055         (__x86_64_raw_data_cache_size_half): Likewise.
93056         (__x86_64_raw_shared_cache_size): Likewise.
93057         (__x86_64_raw_shared_cache_size_half): Likewise.
93059         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93060         (__x86_64_raw_data_cache_size_half): Likewise.
93061         (__x86_64_raw_shared_cache_size): Likewise.
93062         (__x86_64_raw_shared_cache_size_half): Likewise.
93063         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93064         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93065         and __x86_64_raw_shared_cache_size_half.  Round
93066         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93067         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93068         to multiple of 256 bytes.
93070 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93072         [BZ #12167]
93073         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93074         of inacessible symlinks.  Verify result of symlink before returning it.
93075         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93076         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93078 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93080         * math/math.h (isinf): Fix typo in comment.
93082 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93084         * po/da.po: Update from translation team.
93086 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93088         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93089         is added to the list.
93091 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93092             Ulrich Drepper  <drepper@gmail.com>
93094         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93095         the global list here.  Move code to...
93096         (_dl_add_to_namespace_list): ...here.  New function.
93097         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93098         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93099         * elf/dl-load.c (lose): Don't remove the element from the list.
93100         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93101         (_dl_map_object): Likewise.
93103 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93105         [BZ #12159]
93106         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93107         into all bytes of SSE register.
93108         Patch by Richard Li <richardpku@gmail.com>.
93110 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93112         [BZ #12140]
93113         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93114         perturbing.
93116 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93118         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93119         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93120         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93121         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93123         submachine.
93124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93126 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93128         * include/dlfcn.h (__RTLD_SECURE): Define.
93129         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93130         mode & __RTLD_SECURE instead.
93131         (open_path): Rename preloaded parameter to secure.
93132         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93133         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93134         * elf/dl-deps.c (openaux): Likewise.
93135         * elf/rtld.c (struct map_args): Remove is_preloaded.
93136         (map_doit): Don't use it.
93137         (dl_main): Likewise.
93138         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93139         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93141 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93143         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93144         (sysd-rules-targets): Remove duplicates.
93145         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93146         rtld-%.$o dependency.
93148 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93150         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93151         _dl_map_object do it.
93153 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93155         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93156         fast fma builtins, define the macros in the C99 standard.
93157         (FP_FAST_FMAF): Likewise.
93158         (FP_FAST_FMAL): Likewise.
93159         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93161         * bits/mathdef.h: Update copyright year.
93162         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93164 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93166         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93167         builtins, define the macros in the C99 standard.
93168         (FP_FAST_FMAF): Likewise.
93169         (FP_FAST_FMAL): Likewise.
93170         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93171         multiply/add.
93172         (FP_FAST_FMAF): Likewise.
93174 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93176         [BZ #3268]
93177         * math/libm-test.inc (fma_test): Some new testcases.
93178         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93179         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93180         y and infinite z.  Do multiplication by C already in long double.
93181         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93183         y and infinite z.  Do bitwise or of inexact bit into u.d.
93184         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93185         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93186         * sysdeps/i386/fpu/s_fma.S: Removed.
93187         * sysdeps/i386/fpu/s_fmal.S: Removed.
93189 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93191         [BZ #3268]
93192         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93193         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93194         computation is not scheduled after fetestexcept.  Fix value
93195         of minimum denormal long double.
93197 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93199         [BZ #3268]
93200         * math/libm-test.inc (fma_test): Add some more tests.
93201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93202         correctly.
93204 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93206         * scripts/data/localplt-s390-linux-gnu.data: New file.
93207         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93209 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93211         [BZ #3268]
93212         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93213         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93214         instead of dbl-64.
93215         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93216         inlines.
93217         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93218         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93219         if one of x and y is very large and the other is subnormal.
93220         * sysdeps/s390/fpu/s_fmaf.c: New file.
93221         * sysdeps/s390/fpu/s_fma.c: New file.
93222         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93223         * sysdeps/powerpc/fpu/s_fma.S: New file.
93224         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93225         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93226         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93228 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93230         [BZ #3268]
93231         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93232         fma tests.
93233         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93234         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93235         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93236         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93237         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93238         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93239         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93241 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93243         [BZ #12078]
93244         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93245         * posix/bug-regex31.input: Add test case.
93247 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93249         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93250         * posix/bug-regex31.input: New file.
93252         [BZ #12078]
93253         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93254         (parse_sub_exp): Fix last change, use postorder.
93256         * posix/bug-regex31.c: New file.
93257         * posix/Makefile: Add rules to build and run bug-regex31.
93259         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93261         [BZ #12078]
93262         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93264         [BZ #12108]
93265         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93266         to have entries in sys_siglist.
93268         [BZ #12093]
93269         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93270         be NULL.
93272 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93274         [BZ #3268]
93275         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93276         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93277         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93278         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93279         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93280         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93281         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93282         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93283         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93284         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93285         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93286         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93287         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93288         * math/ftestexcept.c (fetestexcept): Likewise.
93289         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93290         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93291         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93292         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93293         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93294         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93295         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93297 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93299         [BZ #12107]
93300         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93301         newline.
93303 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93305         * string/bug-strstr1.c: New file.
93306         * string/Makefile: Add rules to build and run bug-strstr1.
93308 2010-10-05  Eric Blake  <eblake@redhat.com>
93310         [BZ #12092]
93311         * string/str-two-way.h (two_way_long_needle): Always clear memory
93312         when skipping input due to the shift table.
93314 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93316         [BZ #12005]
93317         * malloc/mcheck.c: Handle large requests.
93319         [BZ #12077]
93320         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93321         for strncmp and strncasecmp.
93322         * string/stratcliff.c: Add tests for strcmp and strncmp.
93323         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93325 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93327         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
93328         __set_fpscr.
93330 2010-09-30  Andreas Jaeger  <aj@suse.de>
93332         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
93333         (CGROUP_SUPER_MAGIC): Define.
93334         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93335         Handle btrfs and cgroup file systems.
93336         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
93337         Likewise.
93339 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
93341         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
93342         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
93344 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93346         [BZ #12067]
93347         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
93348         trying to locate the ELF header.
93350 2010-09-27  Andreas Schwab  <schwab@redhat.com>
93352         [BZ #11611]
93353         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
93354         Mask out sign-bit copies when constructing f_fsid.
93356 2010-09-24  Petr Baudis <pasky@suse.cz>
93358         * debug/stack_chk_fail_local.c: Add missing licence exception.
93359         * debug/warning-nop.c: Likewise.
93361 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
93363         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93364         implementing getdents64 using getdents syscall, set d_type if
93365         __ASSUME_GETDENTS32_D_TYPE.
93367 2010-09-16  Andreas Schwab  <schwab@redhat.com>
93369         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
93370         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
93372 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
93374         [BZ #12037]
93375         * posix/unistd.h: Undo change of feature selection for ftruncate from
93376         2010-01-11.
93378 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
93380         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
93381         detection.
93383 2010-09-20  Andreas Schwab  <schwab@redhat.com>
93385         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
93386         fanotify_mark.
93387         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93389 2010-09-14  Andreas Schwab  <schwab@redhat.com>
93391         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
93392         variables after CHECK_SP call.
93393         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
93395 2010-09-13  Andreas Schwab  <schwab@redhat.com>
93396             Ulrich Drepper  <drepper@redhat.com>
93398         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
93399         re-relocationg ld.so.
93400         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
93401         _dl_init_paths call.
93402         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
93403         here anymore.
93405 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
93407         * resolv/res_init.c (__res_vinit): Count the default server we added.
93409 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
93410             Ulrich Drepper  <drepper@redhat.com>
93412         [BZ #11968]
93413         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
93414         (____longjmp_chk): Use %ebx for saving value across system call.
93415         Add unwind info.
93417 2010-09-06  Andreas Schwab  <schwab@redhat.com>
93419         * manual/Makefile: Don't mix pattern rules with normal rules.
93421 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
93423         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
93424         operation.
93425         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
93426         * libio/iofopncook.c (_IO_cookie_init): Likewise.
93427         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
93428         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
93429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
93430         Likewise.
93432 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
93434         [BZ #11979]
93435         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
93436         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
93438 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
93440         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
93441         * sysdeps/x86_64/addmul_1.S: Likewise.
93442         * sysdeps/x86_64/lshift.S: Likewise.
93443         * sysdeps/x86_64/mul_1.S: Likewise.
93444         * sysdeps/x86_64/rshift.S: Likewise.
93445         * sysdeps/x86_64/sub_n.S: Likewise.
93446         * sysdeps/x86_64/submul_1.S: Likewise.
93448 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93450         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
93451         Define __sched_param instead of SCHED_* and sched_param when
93452         <bits/sched.h> is included with __need_schedparam defined.
93453         * bits/sched.h [__need_schedparam]
93454         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
93455         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
93456         (__defined_schedparam): Define to 1.
93457         (__sched_param): New structure, identical to sched_param.
93458         (__need_schedparam): Undefine.
93460 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
93462         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
93463         (epoll_create1): Declare.
93465         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
93467 2010-08-31  Andreas Schwab  <schwab@redhat.com>
93469         [BZ #7066]
93470         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
93471         shifting retval into place.
93473 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
93475         * nis/rpcsvc/nis.h: Update copyright notice.
93476         * nis/rpcsvc/nis.x: Likewise.
93477         * nis/rpcsvc/nis_callback.h: Likewise.
93478         * nis/rpcsvc/nis_callback.x: Likewise.
93479         * nis/rpcsvc/nis_object.x: Likewise.
93480         * nis/rpcsvc/nis_tags.h: Likewise.
93481         * nis/rpcsvc/yp.h: Likewise.
93482         * nis/rpcsvc/yp.x: Likewise.
93483         * nis/rpcsvc/ypupd.h: Likewise.
93484         * nis/yp_xdr.c: Likewise.
93485         * nis/ypupdate_xdr.c: Likewise.
93487         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
93488         mainly the body of pmap_getport.  Add parameters to specify timeouts.
93489         (pmap_getport): Use __libc_rpc_getport.
93490         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
93491         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
93492         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
93494 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
93496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
93497         fanotify_mark.
93499 2010-08-27  Roland McGrath  <roland@redhat.com>
93501         * sysdeps/i386/i686/multiarch/Makefile
93502         (CFLAGS-varshift.c): New variable.
93504 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
93506         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
93507         * sysdeps/i386/i686/multiarch/varshift.c: New file.
93509         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
93511         * sysdeps/x86_64/strlen.S: Minimal code improvement.
93513 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
93515         * sysdeps/x86_64/strlen.S: Unroll the loop.
93516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93517         strlen-sse2 strlen-sse2-bsf.
93518         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
93519         __strlen_no_bsf if bit_Slow_BSF is set.
93520         (__strlen_sse42): Removed.
93521         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
93522         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93524 2010-08-25  Roland McGrath  <roland@redhat.com>
93526         * sysdeps/x86_64/multiarch/varshift.S: File removed.
93527         * sysdeps/x86_64/multiarch/varshift.c: New file.
93528         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
93529         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
93530         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
93531         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
93533 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
93535         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93536         strlen-sse2 strlen-sse2-bsf.
93537         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
93538         __strlen_sse2_bsf if bit_Slow_BSF is unset.
93539         (__strlen_sse2): Removed.
93540         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
93541         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
93542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
93543         bit_Slow_BSF for Atom.
93544         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
93545         (index_Slow_BSF): Define.
93546         (HAS_SLOW_BSF): Define.
93548 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
93550         [BZ #10851]
93551         * resolv/res_init.c (__res_vinit): When no server address at all
93552         is given default to loopback.
93554 2010-08-24  Roland McGrath  <roland@redhat.com>
93556         * configure.in: Remove config-name.h generation.
93557         * configure: Regenerated.
93558         * config-name.in: File removed.
93559         * scripts/config-uname.sh: New file.
93560         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
93561         ($(objdir)config-name.h): New target.
93563         * sunrpc/rpc_parse.h: Avoid nested comment.
93565 2010-08-24  Richard Henderson  <rth@redhat.com>
93566             Ulrich Drepper  <drepper@redhat.com>
93567             H.J. Lu  <hongjiu.lu@intel.com>
93569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
93570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
93571         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
93572         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
93573         _mm_alignr_epi8 with _mm_loadu_si128.
93574         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
93575         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
93576         (__m128i_shift_right): Removed.
93577         * sysdeps/i386/i686/multiarch/varshift.h: New file.
93578         * sysdeps/i386/i686/multiarch/varshift.S: New file.
93579         * sysdeps/x86_64/multiarch/varshift.h: New file.
93580         * sysdeps/x86_64/multiarch/varshift.S: New file.
93582 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
93584         * configure.in: Move assembler checks to before sysdep dir checking.
93586 2010-08-20  Petr Baudis  <pasky@suse.cz>
93588         * LICENSES: Sync the sunrpc license.
93590 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
93592         * sunrpc/auth_des.c: Update copyright notice once again.
93593         * sunrpc/auth_none.c: Likewise.
93594         * sunrpc/auth_unix.c: Likewise.
93595         * sunrpc/authdes_prot.c: Likewise.
93596         * sunrpc/authuxprot.c: Likewise.
93597         * sunrpc/bindrsvprt.c: Likewise.
93598         * sunrpc/clnt_gen.c: Likewise.
93599         * sunrpc/clnt_perr.c: Likewise.
93600         * sunrpc/clnt_raw.c: Likewise.
93601         * sunrpc/clnt_simp.c: Likewise.
93602         * sunrpc/clnt_tcp.c: Likewise.
93603         * sunrpc/clnt_udp.c: Likewise.
93604         * sunrpc/clnt_unix.c: Likewise.
93605         * sunrpc/des_crypt.c: Likewise.
93606         * sunrpc/des_soft.c: Likewise.
93607         * sunrpc/get_myaddr.c: Likewise.
93608         * sunrpc/getrpcport.c: Likewise.
93609         * sunrpc/key_call.c: Likewise.
93610         * sunrpc/key_prot.c: Likewise.
93611         * sunrpc/openchild.c: Likewise.
93612         * sunrpc/pm_getmaps.c: Likewise.
93613         * sunrpc/pm_getport.c: Likewise.
93614         * sunrpc/pmap_clnt.c: Likewise.
93615         * sunrpc/pmap_prot.c: Likewise.
93616         * sunrpc/pmap_prot2.c: Likewise.
93617         * sunrpc/pmap_rmt.c: Likewise.
93618         * sunrpc/rpc/auth.h: Likewise.
93619         * sunrpc/rpc/auth_unix.h: Likewise.
93620         * sunrpc/rpc/clnt.h: Likewise.
93621         * sunrpc/rpc/des_crypt.h: Likewise.
93622         * sunrpc/rpc/key_prot.h: Likewise.
93623         * sunrpc/rpc/netdb.h: Likewise.
93624         * sunrpc/rpc/pmap_clnt.h: Likewise.
93625         * sunrpc/rpc/pmap_prot.h: Likewise.
93626         * sunrpc/rpc/pmap_rmt.h: Likewise.
93627         * sunrpc/rpc/rpc.h: Likewise.
93628         * sunrpc/rpc/rpc_des.h: Likewise.
93629         * sunrpc/rpc/rpc_msg.h: Likewise.
93630         * sunrpc/rpc/svc.h: Likewise.
93631         * sunrpc/rpc/svc_auth.h: Likewise.
93632         * sunrpc/rpc/types.h: Likewise.
93633         * sunrpc/rpc/xdr.h: Likewise.
93634         * sunrpc/rpc_clntout.c: Likewise.
93635         * sunrpc/rpc_cmsg.c: Likewise.
93636         * sunrpc/rpc_common.c: Likewise.
93637         * sunrpc/rpc_cout.c: Likewise.
93638         * sunrpc/rpc_dtable.c: Likewise.
93639         * sunrpc/rpc_hout.c: Likewise.
93640         * sunrpc/rpc_main.c: Likewise.
93641         * sunrpc/rpc_parse.c: Likewise.
93642         * sunrpc/rpc_parse.h: Likewise.
93643         * sunrpc/rpc_prot.c: Likewise.
93644         * sunrpc/rpc_sample.c: Likewise.
93645         * sunrpc/rpc_scan.c: Likewise.
93646         * sunrpc/rpc_scan.h: Likewise.
93647         * sunrpc/rpc_svcout.c: Likewise.
93648         * sunrpc/rpc_tblout.c: Likewise.
93649         * sunrpc/rpc_util.c: Likewise.
93650         * sunrpc/rpc_util.h: Likewise.
93651         * sunrpc/rpcinfo.c: Likewise.
93652         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
93653         * sunrpc/rpcsvc/key_prot.x: Likewise.
93654         * sunrpc/rpcsvc/klm_prot.x: Likewise.
93655         * sunrpc/rpcsvc/mount.x: Likewise.
93656         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
93657         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
93658         * sunrpc/rpcsvc/rex.x: Likewise.
93659         * sunrpc/rpcsvc/rstat.x: Likewise.
93660         * sunrpc/rpcsvc/rusers.x: Likewise.
93661         * sunrpc/rpcsvc/sm_inter.x: Likewise.
93662         * sunrpc/rpcsvc/spray.x: Likewise.
93663         * sunrpc/rpcsvc/yppasswd.x: Likewise.
93664         * sunrpc/rtime.c: Likewise.
93665         * sunrpc/svc.c: Likewise.
93666         * sunrpc/svc_auth.c: Likewise.
93667         * sunrpc/svc_authux.c: Likewise.
93668         * sunrpc/svc_raw.c: Likewise.
93669         * sunrpc/svc_run.c: Likewise.
93670         * sunrpc/svc_simple.c: Likewise.
93671         * sunrpc/svc_tcp.c: Likewise.
93672         * sunrpc/svc_udp.c: Likewise.
93673         * sunrpc/svc_unix.c: Likewise.
93674         * sunrpc/svcauth_des.c: Likewise.
93675         * sunrpc/xcrypt.c: Likewise.
93676         * sunrpc/xdr.c: Likewise.
93677         * sunrpc/xdr_array.c: Likewise.
93678         * sunrpc/xdr_float.c: Likewise.
93679         * sunrpc/xdr_mem.c: Likewise.
93680         * sunrpc/xdr_rec.c: Likewise.
93681         * sunrpc/xdr_ref.c: Likewise.
93682         * sunrpc/xdr_sizeof.c: Likewise.
93683         * sunrpc/xdr_stdio.c: Likewise.
93685         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
93686         handling.
93688 2010-08-19  Andreas Schwab  <schwab@redhat.com>
93690         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
93692 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
93694         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
93695         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
93696         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
93697         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
93698         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
93699         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
93700         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
93701         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
93702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
93703         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
93704         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
93705         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
93706         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
93707         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
93709 2010-07-26  Anton Blanchard  <anton@samba.org>
93711         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
93712         * malloc/arena.c (heap_trim): Likewise.
93714 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
93716         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
93717         here.  Not...
93718         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
93719         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
93721 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
93723         * sysdeps/i386/elf/Makefile: New file.
93725 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93727         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
93728         from fanotify_init.
93729         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
93730         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93732 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
93734         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
93735         of strncasecmp_l.
93736         * sysdeps/multiarch/strcmp.S: Likewise.
93738 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
93740         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93741         strncase_l-nonascii.
93742         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93743         Add strncase_l-ssse3.
93744         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
93745         * sysdeps/x86_64/strcmp.S: Likewise.
93746         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
93747         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
93748         * sysdeps/x86_64/strncase.S: New file.
93749         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
93750         * sysdeps/x86_64/strncase_l.S: New file.
93751         * string/Makefile (strop-tests): Add strncasecmp.
93752         * string/test-strncasecmp.c: New file.
93754         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
93755         warning.
93757         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
93758         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
93760 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
93762         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
93764 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
93766         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
93767         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
93768         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
93770 2010-05-01  Alan Modra  <amodra@gmail.com>
93772         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
93773         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
93774         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
93775         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
93776         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
93777         tidying.  Don't tail-call __sigjmp_save for static lib.
93778         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
93779         save location.
93780         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
93781         (CALL_MCOUNT): Add eh info, and nop after bl.
93782         (TAIL_CALL_SYSCALL_ERROR): New macro.
93783         (PSEUDO_RET): Use it.
93784         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
93785         Correct save location of integer regs and cr.
93786         (_dl_profile_resolve): Correct cr save location.  Delete nops
93787         after bl when SHARED.  Reduce cfi size a little by better
93788         placement of cfi directives.
93789         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
93790         make a stack frame.  Instead use parm save area as a temp.
93791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
93792         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
93793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
93794         Don't make a stack frame for parent, use parm save area.
93795         Increase child stack frame to 112 bytes.  Don't save unused reg,
93796         and adjust reg usage.  Set up cfi on error recovery and
93797         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93799         (__makecontext): Add dummy nop after jump to exit.
93800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93801         Use correct parm save area and cr save, reduce stack frame.
93802         Correct cfi for possible PSEUDO_RET frame setup.
93803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93804         Branch to local label emitted by PSEUDO_RET rather than
93805         __syscall_error.
93807 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93809         [BZ #11904]
93810         * locale/programs/locale.c (print_assignment): New function.
93811         (show_locale_vars): Use it.
93813 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93815         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93816         field.
93817         (struct statfs64): Likewise.
93818         (_STATFS_F_FLAGS): Define.
93819         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93820         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93821         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93822         (ST_VALID): Define locally.
93823         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93824         __statvfs_getflags, use the provided value.
93825         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93826         __ASSUME_STATFS_F_FLAGS.
93828         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93830         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93831         Add sys/fanotify.h.
93832         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93833         fanotify_mask for GLIBC_2.13.
93834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93835         fanotify_init and fanotify_mark.
93836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93837         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93839         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93840         Add prlimit.
93841         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93842         prlimit64 for GLIBC_2.13.
93843         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93844         prlimit64.
93845         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93846         syscall.
93847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93848         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93849         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93850         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93852         add prlimit alias.
93853         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93855         [BZ #11903]
93856         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93857         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93859         * nss/Makefile: Add rules to build and run tst-nss-test1.
93860         * shlib-versions: Add entry for libnss_test1.
93861         * nss/nss_test1.c: New file.
93862         * nss/tst-nss-test1.c: New file.
93864         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93865         (__nss_configure_lookup): Set appropriate entry in
93866         __nss_configure_lookup to true.
93867         * nss/nsswitch.h: Define enum with indeces of databases in
93868         databases and __nss_database_custom arrays.  Declare
93869         __nss_database_custom.
93870         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93871         to avoid using nscd when custom rules are installed.
93872         * nss/getXXbyYY_r.c: Likewise.
93873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93875         * nss/nss_files/files-parse.c: Whitespace fixes.
93877 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93879         [BZ #11883]
93880         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93881         * posix/fnmatch_loop.c: Likewise.
93883 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93885         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93886         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93887         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93888         * Versions.def [GLIBC_2.13]: Add.
93890 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93892         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93893         Also fail if tpwd after pwuid call is NULL.
93895 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93897         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93898         when converting to ms.
93900 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93902         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93903         EOPNOTSUPP errors with ENOTTY.
93904         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93905         EOPNOTSUPP errors with ENOTTY.
93907 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93909         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93910         Add strcasecmp_l-ssse3.
93911         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93912         strcasecmp.
93913         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93914         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93915         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93917 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93919         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93921         * string/Makefile (strop-tests): Add strcasecmp.
93922         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93923         strcasecmp_l-nonascii.
93924         (gen-as-const-headers): Add locale-defines.sym.
93925         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93926         * sysdeps/x86_64/strcasecmp.S: New file.
93927         * sysdeps/x86_64/strcasecmp_l.S: New file.
93928         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93929         * sysdeps/x86_64/locale-defines.sym: New file.
93930         * string/test-strcasecmp.c: New file.
93932         * string/test-strcasestr.c: Test both ends of the range of characters.
93933         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93935 2010-07-29  Roland McGrath  <roland@redhat.com>
93937         [BZ #11856]
93938         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93940 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93942         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93943         for ld.so.
93945 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93947         * manual/memory.texi (Malloc Tunable Parameters): Document
93948         M_PERTURB.
93950 2010-07-26  Roland McGrath  <roland@redhat.com>
93952         [BZ #11840]
93953         * configure.in (-fgnu89-inline check): Set and substitute
93954         gnu89_inline, not libc_cv_gnu89_inline.
93955         * configure: Regenerated.
93956         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93958 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93960         * string/test-strnlen.c: New file.
93961         * string/Makefile (strop-tests): Add strnlen.
93962         * string/tester.c (test_strnlen): Add a few more test cases.
93963         * string/tst-strlen.c: Better error reporting.
93965         * sysdeps/x86_64/strnlen.S: New file.
93967 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93969         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93970         lower-latency instructions.
93972 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93974         * string/test-strcasestr.c: New file.
93975         * string/test-strstr.c: New file.
93976         * string/Makefile (strop-tests): Add strstr and strcasestr.
93977         * string/str-two-way.h: Don't undefine MAX.
93978         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93980 2010-07-21  Andreas Schwab  <schwab@redhat.com>
93982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93983         strcasestr-nonascii.
93984         (CFLAGS-strcasestr-nonascii.c): Define.
93985         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93986         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93987         Remove unused attribute.
93989 2010-07-20  Roland McGrath  <roland@redhat.com>
93991         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93992         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
93993         ld.so.cache was broken.  With it, there is no way to disable dsocaps
93994         like LD_HWCAP_MASK can disable hwcaps.
93996 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93998         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94000 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94002         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94003         call in strcasestr.
94004         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94005         __strcasestr_sse42_nonascii.
94006         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94007         strcasestr-nonascii.c.
94008         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94010 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94012         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94013         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94014         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94015         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94017 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94019         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94020         fcntl.
94022 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94024         [BZ #11577]
94025         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94026         dl_signal_cerror.
94028 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94030         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94031         _PC_PIPE_BUF using F_GETPIPE_SZ.
94033 2010-07-05  Roland McGrath  <roland@redhat.com>
94035         * manual/arith.texi (Rounding Functions): Fix rint description
94036         implicit in round description.
94038 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94040         * elf/Makefile: Fix linking for a few tests to make recent linker
94041         happy.
94043 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94045         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94046         $(common-objpfx)libc_nonshared.a.
94048 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94050         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94051         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94052         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94053         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94054         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94055         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94056         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94057         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94072         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94073         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94074         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94075         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94076         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94077         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94078         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94079         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94080         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94081         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94082         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94083         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94099 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94101         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94102         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94103         * string/memmove.c (memmove): Renamed to ...
94104         (MEMMOVE): ...this.  Default to memmove.
94105         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94106         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94107         (END_CHK): Define.
94108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94109         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94110         mempcpy-ssse3-back memmove-ssse3-back.
94111         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94112         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94113         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94114         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94115         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94116         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94117         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94118         * sysdeps/x86_64/multiarch/memmove.c: New file.
94119         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94120         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94121         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94122         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94123         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94125         Define.
94126         (index_Fast_Copy_Backward): Define.
94127         (HAS_ARCH_FEATURE): Define.
94128         (HAS_FAST_REP_STRING): Define.
94129         (HAS_FAST_COPY_BACKWARD): Define.
94131 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94133         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94134         Restore proper fallback handling.
94136 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94138         [BZ #11701]
94139         * posix/group_member.c (__group_member): Correct checking loop.
94141         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94142         OOM in getpwuid_r correctly.  Return error number when the caller
94143         should return, otherwise -1.
94144         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94145         call returning > 0 value.
94146         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94148 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94150         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94151         libc_nonshared.a from targets in modules-names.
94153 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94155         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94156         requires it.
94158 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94161         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94165 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94167         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94169 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94171         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94172         and F_GETPIPE_SZ.
94173         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94174         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94177         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94178         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94180 2010-06-14  Roland McGrath  <roland@redhat.com>
94182         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94184 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94186         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94187         __REDIRECT followed by __THROW.
94188         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94189         * posix/getopt.h (getopt): Likewise.
94191 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94193         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94194         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94195         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94196         in AT_FLAGS.
94197         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94198         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94200 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94202         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94204 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94206         [BZ #11640]
94207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94208         Properly check family and model.
94210 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94212         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94214 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94216         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94218 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94220         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94221         symbol reference.
94223 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94225         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94226         symbol reference.
94228 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94230         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94231         and internal_recvmmsg.
94232         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94233         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94234         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94235         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94237         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94238         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94239         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94241 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94243         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94245 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94247         POWER7 optimizations.
94248         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94249         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94251 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94253         * version.h: Update for 2.13 development version.
94255 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94257         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94258         exceptions.  Return 0.
94260 2010-05-07  Roland McGrath  <roland@redhat.com>
94262         * elf/ldconfig.c (main): Add a const.
94264 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94266         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94267         (args_options): Add no-idn option.
94268         (ahosts_keys_int): Add idn_flags to ai_flags.
94269         (parse_option): Handle 'i' option to clear idn_flags.
94271         * malloc/malloc.c (_int_free): Possible race in the most recently
94272         added check.  Only act on the data if no current modification
94273         happened.
94275 See ChangeLog.17 for earlier changes.